My ServerScript In ServerScriptService
local hum = game.Players.LocalPlayer.Character.Humanoid
print(hum)
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function()
hum.Health = hum.Health + 2
end)
Local Script Inside My Tool
script.Parent.Activated:Connect(function()
game.ReplicatedStorage.RemoteEvent:FireServer()
end)
The Romote Event Is in ReplicatedStorage

1 comment
define player as local player = game.Players.LocalPlayer