Home   Search   Register  
Help Center  > Scripting Help  > can somebody tell me a teleporter script  
 
Display using:  
Previous Thread :: Next Thread 
 Author  Thread: can somebody tell me a teleporter script
Strmd12 is offline. Last active: 11/16/2024 10:19:40 PM 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 is offline. Last active: 2/27/2021 10:19:58 PM 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 is offline. Last active: 1/12/2021 10:34:23 PM 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
Previous Thread :: Next Thread 
Page 1 of 1
 
GoodBlox Forum  > Help Center  > Scripting Help  > can somebody tell me a teleporter script