|
| 06 Feb 2012 10:28 PM |
z = script.Parent.NumValue
function(x)
game.Workspace:BreakJoints()
print(x)
end
if z.Value >= 5 then (x) end
else if z.Value < 5 then return end
I have a feeling this won't work. D: |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 10:29 PM |
Already found one error. :|
*((elseif |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Feb 2012 10:40 PM |
| you never added a connector so the function will never start |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 10:41 PM |
not to mention other errors =/ at bottom of script you need a connector line though such as workspace.Part.Touched:connect(function name) |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 10:42 PM |
| You didn't name the function, you have a random argument, and you can't break workspace's joints anymore. |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 10:42 PM |
@callofrobloxia
No you don't, this is just a function, not a function that uses Touch and stuff. |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 10:47 PM |
| it still wouldnt run though unless he put a: functionname() after it |
|
|
| Report Abuse |
|
|
|
| 06 Feb 2012 10:57 PM |
function nameoffunction(argument)
He doesn't need a connection. |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 05:17 AM |
| Learn more about functions my friend :/ |
|
|
| Report Abuse |
|
|
|
| 07 Feb 2012 08:15 PM |
| well ya he would make the function but the function would be pointless because he never actually ran it just made it |
|
|
| Report Abuse |
|
|