#what do i do ?
38 messages · Page 1 of 1 (latest)
my 2nd time trying to learn scripting this is hard
@waxen flicker do you know what i need to do ?
im just trying to make a basic sword fight
hey!
hello
there is no handle in the sword
so whenever a sword is used, it doesn’t pop up, correct?
so im watching a tutorial on youtube and the sword he uses has a handle part and he wrote this in the script
if the sword is in starter gear/ wherever it is, bring it to workspace. then, create a part with collisions off + do not anchor it and name it “Handle” and put it where you want the holding place of a gear to go.
oh I see
I misread
sorry
lemme see
no problem
hm
possible reasonings:
- could be a syntax error; go back and check if anything was misspelt, specifically the name of the tool.
- logical error; create a handle in the gear and test again.
try create a handle and it should fix
oh ok ill try that
the script is probably unable to find a handle which is why it doesn’t work
also, how come you asked me?
idk you were active lol
were you the guy with the obby who I once helped?
ah I see
im not a scripter but i know some stuff ahaha
I hope this was able to help
😂
maybe
if it doesn’t, consider finding a new script
have you ever made tools before?
also dont ignore red lines under your code, in line 23 you are wanting to check if attacktype is equal to "slash1", therefore you need to put "==" not "="
yeah i fixed that but i eventually gave up cause i didnt understand why the sword wasnt appearing
and no i never made tools before
I can walk you through it if you want, it's pretty simple