#fixed
5 messages · Page 1 of 1 (latest)
im sorry, im dumb. How would i do that?
script.Parent.Heal.OnServerEvent:Connect(function(player, team)
if player.TeamColor == team then
player.Character.Humanoid.Health += 10
print("Healed")
end
end)
``` The player is passed as the first argument to OnServerEvent by the remote event
thank you sm