Mada754
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 5285 |
|
|
| 08 Jul 2015 08:11 PM |
I made a gui, put a script In i learned to make from the wiki, but it doesn't teleport me to the place when i click the gui
local teleportService = game:GetService("TeleportService") local otherPlaceId = 186119153
game.ReplicatedStorage.TeleportRequestEvent.OnServerEvent:connect(function(player) local character = player.Character local forceField = Instance.new("ForceField", character) player.OnTeleport:connect(function(teleportState) if teleportState == Enum.TeleportState.Failed then game.ReplicatedStorage.TeleportRequestEvent:FireClient(player) forceField:Destroy() end end) teleportService:Teleport(otherPlaceId, player)
The Guardian of OT|Termed mains add 20k| |
|
|
| Report Abuse |
|
|
Mada754
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 5285 |
|
|
| 08 Jul 2015 08:15 PM |
Bump
The Guardian of OT|Termed mains add 20k| |
|
|
| Report Abuse |
|
|
Mada754
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 5285 |
|
|
| 08 Jul 2015 08:21 PM |
B.U.M.P
The Guardian of OT|Termed mains add 20k| |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 08:22 PM |
| *Doesn't provide LocalScript from GUI* |
|
|
| Report Abuse |
|
|
Mada754
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 5285 |
|
|
| 08 Jul 2015 08:30 PM |
???????????
The Guardian of OT|Termed mains add 20k| |
|
|
| Report Abuse |
|
|
Mada754
|
  |
| Joined: 22 Jan 2013 |
| Total Posts: 5285 |
|
|
| 08 Jul 2015 08:30 PM |
Oh, I see I need a local script too
The Guardian of OT|Termed mains add 20k| |
|
|
| Report Abuse |
|
|
|
| 08 Jul 2015 08:31 PM |
| You only provided the server script. Why not the localscript? |
|
|
| Report Abuse |
|
|