Josherino
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 3261 |
|
|
| 24 Oct 2016 03:53 PM |
Just make this easy script
theres a gui with a textbutton id u click it, u get teleported to a different place |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 24 Oct 2016 03:58 PM |
--server
local re = game.ReplicatedStorage:WaitForChild('RemoteEvent') local ID = 0
re.OnServerEvent:connect(function(plr) game:GetService('TeleportService'):Teleport(ID,plr) end)
--local local re = game.ReplicatedStorage:WaitForChild('RemoteEvent') local gui = script.Parent
gui.MouseButton1Click:connect(function() re:FireServer() end)
|
|
|
| Report Abuse |
|
|
SSrcatch
|
  |
| Joined: 02 Jun 2016 |
| Total Posts: 3 |
|
|
| 24 Oct 2016 04:45 PM |
Here this is the script code to put in the game/place you own
--server
local re = game.ReplicatedStorage:WaitForChild('RemoteEvent') local ID = 0
re.OnServerEvent:connect(function(plr) game:GetService('TeleportService'):Teleport(ID,plr) end)
--local local re = game.ReplicatedStorage:WaitForChild('RemoteEvent') local gui = script.Parent
gui.MouseButton1Click:connect(function() re:FireServer() end) |
|
|
| Report Abuse |
|
|
Josherino
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 3261 |
|
|
| 25 Oct 2016 10:18 AM |
forgot to mention somebody needs to buy a dev product before they get teleported=
SIGN HERE! [ https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195201245 ] https://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=34254796 R$33,092 |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Oct 2016 10:21 AM |
you literally just copy it from the wiki
http://wiki.roblox.com/index.php?title=Developer_product#Handling_Purchase
then do a simple check
if purchase then re:FireServer() end
|
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 10:55 AM |
Lol, this guy might to some shady things.
|
|
|
| Report Abuse |
|
|