Strmd12
|
|
Joined: 13 May 2020 |
Total Posts: 2 |
|
|
can somebody tell me a teleporter script
Posted: 28 Jun 2020 22:10 PM
|
i need teleporter script cuz i had a idea to make a game good, if anybody had a teleporter script please let me know. |
|
|
Report Abuse |
|
RGT
|
|
Joined: 31 Oct 2019 |
Total Posts: 76 |
|
|
Re: can somebody tell me a teleporter script
Posted: 28 Jun 2020 23:43 PM
|
put this script inside the part you want to teleport the player and name the part that'll be teleported to TeleportLocation
Script = script.Parent
tele = game.Workspace.TeleportLocation
Script.Touched:connect(function(playertouch) --checking for touch
if playertouch.Parent.Humanoid then --checking if it was a player that touched the tele
if playertouch.Parent.Humanoid.Health > 0 then --checking if the player is dead
playertouch.Parent:MoveTo(tele.Position) --teleports the player
end
end
end) |
|
|
Report Abuse |
|
Ke0morus
|
|
Joined: 25 Oct 2020 |
Total Posts: 262 |
|
|
Re: can somebody tell me a teleporter script
Posted: 18 Nov 2020 12:11 PM
|
Cool, |
|
|
Report Abuse |
|