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 » Scripting Helpers
Home Search
 

Teleporting GUI Issues:

Previous Thread :: Next Thread 
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
23 Jan 2012 04:13 PM
This is very peculiar, my script used to work, but now doesn't in online mode. When I test it in Play Solo, it works too, but again, not in online mode. It is supposed to teleport you to one of 5 places defined in the table. And if the player were to have a forcefield, it would be destroyed. Now, it doesn't respond in online, whether you have a forcefield or not. No output.

T = { "One", "Two", "Three", "Four", "Five" }

char = script.Parent.Parent.Parent.Parent.Character
tele = Workspace.Teles
gui = script.Parent.Parent

script.Parent.MouseButton1Down:connect(function()
local kids = char:GetChildren()
for c = 1, #kids do
if kids[c].Name=="ForceField" then
kids[c]:Destroy()
end
end

telepick = T[math.random(1, #T)]
char.Torso.CFrame = tele[telepick].CFrame
gui:Destroy()
end)

Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
23 Jan 2012 04:35 PM
So no one sees any errors?

† KMXD †
Report Abuse
ggfunny1234 is not online. ggfunny1234
Joined: 09 Jul 2010
Total Posts: 3432
23 Jan 2012 04:37 PM
Might I suggest looking for output?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
23 Jan 2012 04:38 PM
No output. But guess what? The button is a troll, as it worked now... o.e
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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