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
 

Need help read all. :D

Previous Thread :: Next Thread 
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
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 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
27 Aug 2011 03:44 AM
Take off an end
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 03:48 AM
Still doesn't work.
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 03:52 AM
BUMPZILLA
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 03:54 AM
BUMPAROO
Report Abuse
smurf279 is not online. 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
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 04:16 AM
Still doesn't remove the gui or tele me.
BUMPATROLL
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
27 Aug 2011 04:16 AM
"IsInGroup(301601,328797) "

since when did the IsInGroup method have two arguments?
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 04:17 AM
Wait let me try again.
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 04:19 AM
Oh because it's ment to tele two groups but i can deal with one
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
27 Aug 2011 04:19 AM
You can't just make your own arguments, mate - you gotta follow the RBX.lua rules..
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 04:20 AM
It's fixxed now thanks guys!
Report Abuse
xDeathDrago is not online. xDeathDrago
Joined: 29 Apr 2011
Total Posts: 23
27 Aug 2011 04:21 AM
Sorry but im quite new to roblox :/
Report Abuse
SoulStealer9875 is not online. SoulStealer9875
Joined: 20 Jul 2009
Total Posts: 13119
27 Aug 2011 04:21 AM
That's fine. Make sure you revise your scripts.
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