My concept is that the damage of the player's sword changes from the value 0 to 30 when you enter a brick. And I would also like to make it so when they leave the brick it changes the value back from 30 to 0 again. I am using the default roblox sword by the way, the LinkedSword. I am having trouble doing this, so I would appreciate some help.
This is what I have so far:
local Arena = game.Workspace.Arena
Arena.Touched:connect(function(hit)
end)
Arena.TouchEnded:connect(function(leave)
end)
