HOW TO MAKE A TELEPORTER PAD IN ROBLOX STUDIO (2019)

Опубликовано: 10 Октябрь 2024
на канале: Foxman260
20,943
275

In This Video I will show you how to make a Teleporter Pad

Owner of the script: Knify

In Roblox Studio The Script is under this message

The Script:

local Teleport = "Part2" --Put the name of the Part between the ""s.
function Touch(hit) --Indicates that the Part has been Touched.
if script.Parent.Locked == false and script.Parent.Parent:findFirstChild(Teleport).Locked == false then script.Parent.Locked = true script.Parent.Parent:findFirstChild(Teleport).Locked = true --Checks Debounce.
local Pos = script.Parent.Parent:findFirstChild(Teleport) --Gets the Part to teleport to.
hit.Parent:moveTo(Pos.Position) wait(1) script.Parent.Locked = false script.Parent.Parent:findFirstChild(Teleport).Locked = false end end --Takes you there and Ends the Function.
script.Parent.Touched:connect(Touch) --Listens out for Touchers.