mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-25 01:20:04 +00:00
15 lines
324 B
Text
15 lines
324 B
Text
|
local std = game:GetService("ReplicatedStorage").std
|
||
|
local Players = game:GetService("Players")
|
||
|
|
||
|
local scheduler = require(std.scheduler)
|
||
|
local PHASE = scheduler.PHASE
|
||
|
|
||
|
return {
|
||
|
PlayerAdded = PHASE({
|
||
|
event = Players.PlayerAdded
|
||
|
}),
|
||
|
PlayerRemoved = PHASE({
|
||
|
event = Players.PlayerRemoving
|
||
|
})
|
||
|
}
|