ok so i made this gear named "woodensword" --with all the animation done and all that, basically a sword that can swing and do damage. i wanted to make a script that gives the player the woodensword when they touch a part named "fire1".
function onTouch(fire1) local Toucher = fire1.Parent:FindFirstChild("Humanoid") --The toucher if Toucher ~= nil then --if someone touched fire1 local gear = game.ServerStorage.woodensword gear:Clone().Parent = Toucher:FindFirstChild("Backpack")
end
end --yea so basically when you touch the part(fire1), you will get that woodensword
however, i have no idea why it is not working.

1 comment
Click Here For The Instructions: https://pastebin.com/MJz80Mwt