|
| 19 Jul 2014 07:46 PM |
This is inside a LocalScript inside a TextButton, which is inside a SurfaceGui.
local TP = game:GetService("TeleportService")
function onClicked() TP:Teleport(167267381, game.Players.LocalPlayer) end
script.Parent.MouseButton1Down:connect(onClicked)
O script, why must thou not work?!
|
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 07:56 PM |
Really? No one? This works just fine in a normal GUI.
._. |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Jul 2014 08:00 PM |
| The output doesn't print anything. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2014 08:02 PM |
wel srfce uis dnt haz da evnt of onclk so u must haz a ui butn |
|
|
| Report Abuse |
|
|