brick = script.Parent
sword = game.Lighting:FindFirstChild("Sword")
brick.Touched:connect(function (player)
if player.Character.Humanoid then
local give = sword:clone()
give.Parent = player.Backpack
end
end)
This is a script that give you sword when you touch brick but when i step on the brick nothing happen can someone help ?

2 comments
parenthasi in what line ?
Line 4; brick.Touched:connect(function (player) --Space needs to be removed.