generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: The teleportation doesnt work ingame but works in studio

Previous Thread :: Next Thread 
fincreator8 is not online. fincreator8
Joined: 14 Jul 2013
Total Posts: 8156
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
fincreator8 is not online. fincreator8
Joined: 14 Jul 2013
Total Posts: 8156
14 Jun 2015 12:16 PM
bump


Behold Traffic cone V2! http://www.roblox.com/Traffic-cone-V2-item?id=247668135
Report Abuse
fincreator8 is not online. fincreator8
Joined: 14 Jul 2013
Total Posts: 8156
14 Jun 2015 12:24 PM
bump


Behold Traffic cone V2! http://www.roblox.com/Traffic-cone-V2-item?id=247668135
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
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
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
14 Jun 2015 12:30 PM
That wont work legit.

id is not a valid place id.
Report Abuse
LegitimatlyMe is not online. LegitimatlyMe
Joined: 30 Oct 2013
Total Posts: 1108
14 Jun 2015 12:30 PM
no duh, that's why you change it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image