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
 

Re: Easy 3 line scripttt

Previous Thread :: Next Thread 
tiger33333321 is not online. tiger33333321
Joined: 28 Mar 2010
Total Posts: 2115
12 Jan 2012 07:59 PM
What it's supposed to do:
You click it and it makes a value true.
What it doesn't do:
*Just that*


script.Parent.MouseButton1Down:connect(function()
script.Parent.TValue.Value = true
break end
Report Abuse
textmasterthe9th is not online. textmasterthe9th
Joined: 03 Oct 2008
Total Posts: 752
12 Jan 2012 08:04 PM
doen't you just use end? not break end?
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
12 Jan 2012 08:05 PM
script.Parent.MouseButton1Down:connect(function()
script.Parent.TValue.Value = true
end)

-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
Report Abuse
tiger33333321 is not online. tiger33333321
Joined: 28 Mar 2010
Total Posts: 2115
12 Jan 2012 08:06 PM
I want it to break after using it.
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
12 Jan 2012 08:07 PM
You can only use 'break' in loops.

-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
Report Abuse
tiger33333321 is not online. tiger33333321
Joined: 28 Mar 2010
Total Posts: 2115
12 Jan 2012 08:09 PM
it is part of a loop, but, I'll just make it it's own

script.Parent.MouseButton1Down:connect(function()
script.Parent.TValue.Value = true
wait(.1)
script.Parent:Remove()


**TELL ME I'M RIGHT**
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
12 Jan 2012 08:10 PM
You're not right, and there's still no loop. The script I supplied will work just fine.

-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
Report Abuse
tiger33333321 is not online. tiger33333321
Joined: 28 Mar 2010
Total Posts: 2115
12 Jan 2012 08:12 PM
I need it to only be clicked once.
Report Abuse
swimguy777 is not online. swimguy777
Joined: 30 May 2009
Total Posts: 17092
12 Jan 2012 08:13 PM
Mine will still work.

-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
12 Jan 2012 09:30 PM
Just remove the button after it is clicked, right?
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