So basically I have this script which is a remote event and when its fired it sets the head of the player on fire and slowly after that he gets eliminated. But this sctipt only affects the player who fired this event. How can I make that if one player fired the event that everyone gets eliminted??
Blockquote
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(plr)
local char = plr.Character
local Hum = char:FindFirstChild("Humanoid")
local head = char:FindFirstChild("Head")
if head then
local fire = game.ReplicatedStorage.Fire:Clone()
fire.Parent = head
if fire then
task.wait(5)
Hum.Health -= 100
end
end
end)