Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- script.Parent = game.Players.ClockworkHorror.PlayerGui
- --[}{]--
- newgui = Instance.new("ScreenGui",game.Players.ClockworkHorror.PlayerGui)
- admframe = Instance.new("Frame",newgui)
- admframe.Size = UDim2.new(0, 150, 0, 300)
- admframe.BackgroundColor3 = Color3.new(151, 158, 255)
- kckall = Instance.new("TextButton",admframe)
- kckall.Size = UDim2.new(0, 150, 0, 20)
- kckall.Text = "Shutdown/kick all"
- daytm = Instance.new("TextButton",admframe)
- daytm.Text = "Day time"
- daytm.Position = UDim2.new(0, 0, 0, 22)
- daytm.Size = UDim2.new(0, 150, 0, 20)
- nighttm= Instance.new("TextButton",admframe)
- nighttm.Text = "Night time"
- nighttm.Position = UDim2.new(0, 0, 0, 42)
- nighttm.Size = UDim2.new(0, 150, 0, 20)
- clrwkspc= Instance.new("TextButton",admframe)
- clrwkspc.Text = "Clean workspace"
- clrwkspc.Position = UDim2.new(0, 0, 0, 62)
- clrwkspc.Size = UDim2.new(0, 150, 0, 20)
- function day()
- game.Lighting.TimeOfDay = 7
- end
- daytm.MouseButton1Click:connect(day)
- function night()
- game.Lighting.TimeOfDay = 18
- end
- nighttm.MouseButton1Click:connect(night)
- function night()
- game.Lighting.TimeOfDay = 18
- end
- clrwkspc.MouseButton1Click:connect(clrwkspc)
- function kickall()
- local p = game.Players:GetChildren()
- for i=1,#p do
- if p[i].className == "Player" then
- p[i]:Destroy()
- end
- end
- end
- kckall.MouseButton1Click:connect(kickall)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement