I'm trying to make a simulator but when I try to do my script and I type - it says unexpected symbol near '-'
here's a screen shot
use this link to see it pls help me fix this
http://prnt.sc/ntczo3
It mean's pretty much what it states, "unexpected symbol". Try changing the top line to...
local tool = script.Parent
Let me know if that helps, if not leave a comment.
I think I know what you mean.
local tool = tool - script.parent
There. Lua doesn't recognise local tool = tool - script.parent
. follow the script above.