01-16-2014, 03:06 AM
(01-16-2014, 03:03 AM)daniel0916 Wrote: How can i make something for all player?
So i can heal all or something else.
cRoot:Get():ForEachPlayer(function(Player) Player:Heal(20) end)But since you propably know in what world the players are that need to get healed I would use:
local World = Player:GetWorld() World:ForEachPlayer(function(a_Player) a_Player:Heal(20) end)