Fires when a bed alarm is triggered.
-- Send out a broadcast to the game server when a bed alarm is triggered Events.BedAlarmTriggered(function(event) local alert = event.intruder.displayName .. " invaded " .. event.team.name .. "'s base!" MessageService.broadcast(alert) end)
The intruder player that triggered the bed alarm.
The team whose bed alarm went off.
Last updated 6 months ago