Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local SetCooldown = "#s"
- local GetCooldown = "#g"
- local function ChatSystem(event, player, msg, _, lang)
- if (msg == SetCooldown) then
- player:SetLuaCooldown(60)
- elseif (msg == GetCooldown) then
- for _, v in pairs(GetPlayersInWorld()) do
- v:SendBroadcastMessage(""..player:GetLuaCooldown().."")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement