|
| 05 Apr 2017 10:28 PM |
Please note that I took this from roblox wiki because I am not a good scripter :P
function onTouched(hit) local player = game.Players:GetPlayerFromCharacter(hit.Parent) if player then TeleportService:Teleport(level1Id, player) end end script.Parent.Touched:connect(onTouched)
|
|
|
| Report Abuse |
|
|
| 05 Apr 2017 10:29 PM |
then you should know how to use the wiki by now lmao wiki.roblox.com/index.php?title=API:Class/ClickDetector wiki.roblox.com/index.php?title=API:Class/GuiButton/MouseButton1Down |
|
|
| Report Abuse |
|