Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RunHandled(WaitForever,
- OnEvery(Event(worldInfo.PlayerBorn)),
- function(payload)
- local player = payload:GetBornPlayer()
- --player : CPlayerPuppetEntity
- player:SetHealth(200)
- end,
- On(Delay(2)),
- function()
- worldInfo:ShowMessageToAll("Current difficulty: " .. worldInfo:GetGameDifficulty())
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement