|
| 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 |
|
|
| 23 Jan 2012 04:35 PM |
So no one sees any errors?
† KMXD † |
|
|
| Report Abuse |
|
|
| 23 Jan 2012 04:37 PM |
| Might I suggest looking for output? |
|
|
| Report Abuse |
|
|
| 23 Jan 2012 04:38 PM |
| No output. But guess what? The button is a troll, as it worked now... o.e |
|
|
| Report Abuse |
|