Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Basic Admin [Made by mexicanbro1234]
- Name = "diamondpro112" -- Change name if you want it to be someone elses admin
- found = game.Players:FindFirstChild(Name)
- if found then
- wait(1)
- local Hint = Instance.new("Hint",workspace)
- Hint.Text = "..Admin Loading..
- wait(3)
- Hint:Destroy()
- game.Players.Name.Chatted:connect(funtion(message)
- if message == "cmds/" then
- print("day/ makes it day time")
- print("night/ makes it night time")
- print("shutdown/ shutdown game")
- print("reset/ will reset your character")
- print("Adding more commands soon!")
- print("credits/ shows who made this simple admin script")
- end
- if message == "day/" then
- local Hint2 = Instance.new("Hint",Workspace)
- Hint2.Text = "..Changing it to day.."
- wait(2)
- game.Lighting.TimeOfDay = "12:00:00"
- wait(1)
- Hint2:Destroy()
- end
- if message == "night/" then
- local Hint3 = Instance.new("Hint",Workspace)
- Hint3.Text = "..Changing it to night.."
- wait(2)
- game.Lighting.TimeOfDay = "20:00:00"
- wait(1)
- Hint3:Destroy()
- end
- if message == "shutdown/"
- local Msg = Instance.new("Message",Workspace)
- Msg.Text = "Warning Shutdown!"
- wait(0.90)
- Msg:Destroy()
- game.workspace.Gravity = 0/0/0
- end
- if message == "reset/" then
- print("Body resetting")
- wait(0.50)
- game.workspace.Name:BreakJoints()
- end
- if message == "credits/" then
- print("This very basic admin was made by mexicanbro1234")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement