|
| 27 Aug 2011 03:42 AM |
Why wont mah script work? D':
function Click(mouse) if script.Parent.Parent.Parent.Parent.Parent.Parent:IsInGroup(301601,328797) then script.Parent.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Bright red") script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(3295, 186.7, -95) wait(0.5) script.Parent.Parent.Parent:remove() end end end
script.Parent.MouseButton1Click:connect(Click) |
|
|
| Report Abuse |
|
|
smurf279
|
  |
| Joined: 15 Mar 2010 |
| Total Posts: 6871 |
|
| |
|
| |
|
| |
|
| |
|
smurf279
|
  |
| Joined: 15 Mar 2010 |
| Total Posts: 6871 |
|
|
| 27 Aug 2011 04:07 AM |
function Click(mouse) if script.Parent.Parent.Parent.Parent.Parent.Parent:IsInGroup(301601,328797) then script.Parent.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Bright red") script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(3295, 186.7, -95) wait(0.5) script.Parent.Parent.Parent:remove() end end
script.Parent.MouseButton1Down:connect(Click) |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 04:16 AM |
Still doesn't remove the gui or tele me. BUMPATROLL |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 04:16 AM |
"IsInGroup(301601,328797) "
since when did the IsInGroup method have two arguments? |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Aug 2011 04:19 AM |
| Oh because it's ment to tele two groups but i can deal with one |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 04:19 AM |
| You can't just make your own arguments, mate - you gotta follow the RBX.lua rules.. |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 04:20 AM |
| It's fixxed now thanks guys! |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 04:21 AM |
| Sorry but im quite new to roblox :/ |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2011 04:21 AM |
| That's fine. Make sure you revise your scripts. |
|
|
| Report Abuse |
|
|