|
| 14 Jun 2015 12:13 PM |
I want it so when you click on this GUI TextButton it takes you to another place but it doesn't work in server (this is a local script)
DonateButton = script.Parent.Donate Donate = false
DonateButton.MouseButton1Down:connect(function(close) if Donate == false then game:GetService('TeleportService'):Teleport(258324825) Donate = true end end)
Behold Traffic cone V2! http://www.roblox.com/Traffic-cone-V2-item?id=247668135 |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 12:16 PM |
bump
Behold Traffic cone V2! http://www.roblox.com/Traffic-cone-V2-item?id=247668135 |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 12:24 PM |
bump
Behold Traffic cone V2! http://www.roblox.com/Traffic-cone-V2-item?id=247668135 |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 12:29 PM |
local Donate = false script.Parent:WaitForChild("Donate").MouseButton1Click:connect(function() if not Donate then Donate = false game:GetService("TeleportService"):Teleport(id) end end) |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 12:30 PM |
That wont work legit.
id is not a valid place id. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 12:30 PM |
| no duh, that's why you change it. |
|
|
| Report Abuse |
|
|