In todays video I show you how to make a teleporter in Roblox Studio. I Hope you enjoyed the video, Have a lovely rest of your day! If you are a bit confused what to do, Feel free to message me on Discord and Ill help you out!
Script 1 (Open Gui) :
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.YourFrameName.Visible = not script.Parent.Parent.Parent.YourFrameName.Visible
end)
Script 2 (Teleport Script) :
wait(1)
player = game.Players.LocalPlayer
button = script.Parent
local debounce = false
function teleport()
if not debounce then
debounce = true
local LowerTorso = player.Character.LowerTorso
LowerTorso.CFrame = game.Workspace.CHANGEYOURPARTNAME.CFrame -- Change "CHANGEYOURPARTNAME" to whatever you rename your part to.
script.Parent.Parent.Visible = false
end
end
button.MouseButton1Click:Connect(teleport)
while true do wait()
debounce = false
wait(2) -- This limits to how often a player can click the teleport button (In seconds).
end
If you would like to support me even more, Super Thanks is also another way to show your appreciation!
🌟 Floppys Discord Server: discord.gg/Vq2msxnR95
🌟 Floppys Roblox Game : www.roblox.com/games/11301003...
Roblox Studio Tutorial
Roblox Studio
Studio Tutorials
Негізгі бет Ойындар HOW TO MAKE A TELEPORTER GUI 🛠️ Roblox Studio Tutorial
Пікірлер: 339