This script only gives a tool when a player touches it ,but i want everyone to get the tool help?
function onTouched(fish)
local player = game.Players:playerFromCharacter(fish.Parent)
local h = fish.Parent:findFirstChild("Humanoid")
if h~=nil then
if player ~= nil then
game.Lighting.Hammer:Clone().Parent = player:FindFirstChild("Backpack")
script.Parent:remove()
end
end
end
script.Parent.Touched:connect(onTouched)

2 comments
its works for me :3
It's possible they are aliases for the same thing, but you should be using this one instead.