|
| 26 Aug 2014 07:29 PM |
script.Parent.MouseButton1Click:connect(function(plr) print("Button1 Clicked") b = script.Parent.Parent b.Frame.ImageLabel.Image = "rbxassetid://42535818" end)
script.Parent.MouseButton1Click:connect(function(plr) print("Ready to teleport") a = script.Parent wait (0.01) a.Text = "Are you sure?" script.Parent.MouseButton1Click:connect(function(plr) game:GetService("TeleportService"):Teleport(123989671) wait (10) a.Text = "Dispatchment Hub" end) end)
-------------- It's supposed to be a Universal GUI, everything else is working other than the teleportation to another game.
|
|
|
| Report Abuse |
|
|
cingwar73
|
  |
| Joined: 16 Aug 2009 |
| Total Posts: 358 |
|
|
| 26 Aug 2014 08:11 PM |
script.Parent.MouseButton1Click:connect(function(plr) print("Button1 Clicked") b = script.Parent.Parent b.Frame.ImageLabel.Image = "rbxassetid://42535818" end)
script.Parent.MouseButton1Click:connect(function(plr) print("Ready to teleport") a = script.Parent wait (0.01) a.Text = "Are you sure?" script.Parent.MouseButton1Click:connect(function(plr) game:GetService("TeleportService"):Teleport(123989671,plr) --Added the defined plr -- Old code : game:GetService("TeleportService"):Teleport(123989671) wait (10) a.Text = "Dispatchment Hub" end) end) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| 27 Aug 2014 01:05 AM |
wow 4 hours later 10/10 reliable
|
|
|
| Report Abuse |
|
|
|
| 27 Aug 2014 02:11 AM |
script.Parent.MouseButton1Click:connect(function(plr) print("Button1 Clicked") b = script.Parent.Parent b.Frame.ImageLabel.Image = "rbxassetid://42535818" end)
script.Parent.MouseButton1Click:connect(function(plr) print("Ready to teleport") a = script.Parent wait (0.01) a.Text = "Are you sure?" script.Parent.MouseButton1Click:connect(function(plr) game:GetService('TeleportService'):TeleportImpl(123989671, "") wait (10) a.Text = "Dispatchment Hub" end) end)
?? |
|
|
| Report Abuse |
|
|