local function onTouched(hit) --function
local sword = game.Lighting.ClassicSword:clone() --clones the tool
sword.Parent = hit.Parent:FindFirstChild("Backpack") --puts the tool in backpack
end --end
script.Parent.Touched:Connect(onTouched) --calls the function
i did a breakdown of every line in the script so it's easier to answer. pretty much what it is supposed to do is, when you touch the wedge, it puts a sword in your backpack. but when I test, it doesnt do that. there isnt any output errors. please help ty

1 comment
Capitalize the C in Clone()