My sword won't work

Hey so I’m making a Legend of Zelda sorta’ game but the sword won’t attack.

Here’s an image of the sword giver script that I made:
script

And here’s a video of the sword not working:
robloxapp-20201117-1426596.wmv (1.8 MB)

Please let me know if you have a solution! Thanks!

You need to parent it to the player yes, but then you need to equip it with humanoid:EquipTool()

1 Like

Thank you so much! I was starting to get confused on why it wasn’t working! Thank you again!