I need this Server script to be a local script and since OnServerEvent can only be used on the server is their a alternative that can work on a local script?
local Remote = game:GetService("ReplicatedStorage").Chop
Remote.OnServerEvent:Connect(function(plr,Wood)
local V = Wood.Values.Health
local Amount = 25
V.Value = V.Value - Amount
end)

1 comment
OnClientEvent(player,arguments) https://developer.roblox.com/en-us/api-reference/class/RemoteEvent