|
| 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 |
|
|
|
| 12 Jan 2012 08:04 PM |
| doen't you just use end? not break end? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 12 Jan 2012 08:06 PM |
| I want it to break after using it. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2012 08:07 PM |
You can only use 'break' in loops.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
|
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 12 Jan 2012 08:12 PM |
| I need it to only be clicked once. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2012 08:13 PM |
Mine will still work.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2012 09:30 PM |
| Just remove the button after it is clicked, right? |
|
|
| Report Abuse |
|
|