Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local PlayButton = Instance.new("TextButton")
- local OptionButton = Instance.new("TextButton")
- local LeaveButton = Instance.new("TextButton")
- local EasyButton = Instance.new("TextButton")
- local MediumButton = Instance.new("TextButton")
- local HardButton = Instance.new("TextButton")
- local Chapter = Instance.new("TextLabel")
- local BackButton = Instance.new("TextButton")
- local ClickSound = Instance.new("Sound")
- local Id = "9113651501"
- ScreenGui.Parent = game.CoreGui
- ClickSound.Parent = game.Workspace
- ClickSound.SoundId = "rbxassetid://"..Id
- ClickSound.Playing = true
- ClickSound.Looped = false
- ClickSound.Volume = 1
- ClickSound:Stop()
- Chapter.Parent = ScreenGui
- Chapter.BackgroundTransparency = 1
- Chapter.Size = UDim2.new(2, 0, 2, 0)
- Chapter.Position = UDim2.new(-3, 0, -0.6 ,0)
- Chapter.TextXAlignment = Enum.TextXAlignment.Center
- Chapter.TextScaled = true
- Chapter.Text = "My nightmare 3"
- Chapter.TextColor3 = Color3.new(255, 255, 255)
- Chapter.Font = Enum.Font.IndieFlower
- PlayButton.Name = "PlayButton"
- PlayButton.Parent = ScreenGui
- PlayButton.BackgroundTransparency = 1
- PlayButton.Position = UDim2.new(-0.8, 0, 0.15, 0)
- PlayButton.Size = UDim2.new(0, 125, 0, 50)
- PlayButton.Font = Enum.Font.IndieFlower
- PlayButton.Text = "Play"
- PlayButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- PlayButton.TextSize = 100
- PlayButton.MouseButton1Down:connect(function()
- ClickSound:Play()
- PlayButton:TweenPosition(UDim2.new(-0.8, 0, 0.15, 0), 'Out', 4, true)
- wait(0.1)
- OptionButton:TweenPosition(UDim2.new(-0.8, 0, 0.4, 0), 'Out', 4, true)
- wait(0.1)
- LeaveButton:TweenPosition(UDim2.new(-0.8, 0, 0.65, 0), 'Out', 4, true)
- wait(0.5)
- Chapter:TweenPosition(UDim2.new(-3, 0, -0.6 ,0), 'Out', 4, true)
- PlayButton.Visible = false
- OptionButton.Visible = false
- LeaveButton.Visible = false
- Chapter.Visivle = false
- EasyButton.Visible = false
- MediumButton.Visible = false
- HardButton.Visible = false
- BackButton.Visible = false
- end)
- OptionButton.Name = "OptionButton"
- OptionButton.Parent = ScreenGui
- OptionButton.BackgroundTransparency = 1
- OptionButton.Position = UDim2.new(-0.8, 0, 0.4, 0)
- OptionButton.Size = UDim2.new(0, 125, 0, 50)
- OptionButton.Font = Enum.Font.IndieFlower
- OptionButton.Text = "Options"
- OptionButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- OptionButton.TextSize = 100
- OptionButton.MouseButton1Down:connect(function()
- ClickSound:Play()
- EasyButton.Visible = true
- MediumButton.Visible = true
- HardButton.Visible = true
- BackButton.Visible = true
- PlayButton:TweenPosition(UDim2.new(-0.8, 0, 0.15, 0), 'Out', 4, true)
- wait(0.1)
- OptionButton:TweenPosition(UDim2.new(-0.8, 0, 0.4, 0), 'Out', 4, true)
- wait(0.1)
- LeaveButton:TweenPosition(UDim2.new(-0.8, 0, 0.65, 0), 'Out', 4, true)
- wait(0.5)
- Chapter:TweenPosition(UDim2.new(-0.5, 0, -0.9 ,0), 'Out', 4, true)
- wait(0.5)
- EasyButton:TweenPosition(UDim2.new(0.1, 0, 0.4, 0), 'Out', 4, true)
- wait(0.1)
- MediumButton:TweenPosition(UDim2.new(0.45, 0, 0.4, 0), 'Out', 4, true)
- wait(0.1)
- HardButton:TweenPosition(UDim2.new(0.75, 0, 0.4, 0), 'Out', 4, true)
- BackButton.Position = UDim2.new(0.45, 0, 0.8, 0)
- end)
- LeaveButton.Name = "LeaveButton"
- LeaveButton.Parent = ScreenGui
- LeaveButton.BackgroundTransparency = 1
- LeaveButton.Position = UDim2.new(-0.8, 0, 0.65, 0)
- LeaveButton.Size = UDim2.new(0, 125, 0, 50)
- LeaveButton.Font = Enum.Font.IndieFlower
- LeaveButton.Text = "Leave"
- LeaveButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- LeaveButton.TextSize = 100
- LeaveButton.MouseButton1Down:connect(function()
- ClickSound:Play()
- game.Players.LocalPlayer:Kick("Bye")
- end)
- EasyButton.Name = "EasyButton"
- EasyButton.Parent = ScreenGui
- EasyButton.BackgroundTransparency = 1
- EasyButton.Position = UDim2.new(0.1, 0, 1, 0)
- EasyButton.Size = UDim2.new(0, 125, 0, 50)
- EasyButton.Font = Enum.Font.IndieFlower
- EasyButton.Text = ">>Easy<<"
- EasyButton.TextColor3 = Color3.fromRGB(0, 255, 0)
- EasyButton.TextSize = 100
- EasyButton.MouseButton1Down:connect(function()
- ClickSound:Play()
- EasyButton.Text = ">>Easy<<"
- MediumButton.Text = "Medium"
- HardButton.Text = "Hard"
- Humanoid18.WalkSpeed = 16
- end)
- MediumButton.Name = "MediumButton"
- MediumButton.Parent = ScreenGui
- MediumButton.BackgroundTransparency = 1
- MediumButton.Position = UDim2.new(0.45, 0, 1, 0)
- MediumButton.Size = UDim2.new(0, 125, 0, 50)
- MediumButton.Font = Enum.Font.IndieFlower
- MediumButton.Text = "Medium"
- MediumButton.TextColor3 = Color3.fromRGB(255, 155, 0)
- MediumButton.TextSize = 100
- MediumButton.MouseButton1Down:connect(function()
- ClickSound:Play()
- EasyButton.Text = "Easy"
- MediumButton.Text = ">>Medium<<"
- HardButton.Text = "Hard"
- Humanoid18.WalkSpeed = 50
- end)
- HardButton.Name = "HardButton"
- HardButton.Parent = ScreenGui
- HardButton.BackgroundTransparency = 1
- HardButton.Position = UDim2.new(0.75, 0, 1, 0)
- HardButton.Size = UDim2.new(0, 125, 0, 50)
- HardButton.Font = Enum.Font.IndieFlower
- HardButton.Text = "Hard"
- HardButton.TextColor3 = Color3.fromRGB(255, 0, 0)
- HardButton.TextSize = 100
- HardButton.MouseButton1Down:connect(function()
- ClickSound:Play()
- EasyButton.Text = "Easy"
- MediumButton.Text = "Medium"
- HardButton.Text = ">>Hard<<"
- Humanoid18.WalkSpeed = 100
- end)
- BackButton.Name = "BackButton"
- BackButton.Parent = ScreenGui
- BackButton.BackgroundTransparency = 1
- BackButton.Position = UDim2.new(0.45, 0, 1, 0)
- BackButton.Size = UDim2.new(0, 125, 0, 50)
- BackButton.Font = Enum.Font.IndieFlower
- BackButton.Text = "Back"
- BackButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- BackButton.TextSize = 100
- BackButton.MouseButton1Down:connect(function()
- BackButton.Position = UDim2.new(0.45, 0, 1, 0)
- ClickSound:Play()
- HardButton:TweenPosition(UDim2.new(0.75, 0, 1, 0), 'Out', 4, true)
- wait(0.1)
- MediumButton:TweenPosition(UDim2.new(0.45, 0, 1, 0), 'Out', 4, true)
- wait(0.1)
- EasyButton:TweenPosition(UDim2.new(0.1, 0, 1, 0), 'Out', 4, true)
- wait(0.5)
- Chapter:TweenPosition(UDim2.new(-0.5, 0, -0.6 ,0), 'Out', 4, true)
- wait(0.5)
- PlayButton:TweenPosition(UDim2.new(0.8, 0, 0.15, 0), 'Out', 4, true)
- wait(0.1)
- OptionButton:TweenPosition(UDim2.new(0.8, 0, 0.4, 0), 'Out', 4, true)
- wait(0.1)
- LeaveButton:TweenPosition(UDim2.new(0.8, 0, 0.65, 0), 'Out', 4, true)
- wait(0.5)
- EasyButton.Visible = false
- MediumButton.Visible = false
- HardButton.Visible = false
- BackButton.Visible = false
- end)
- PlayButton:TweenPosition(UDim2.new(0.8, 0, 0.15, 0), 'Out', 4, true)
- wait(0.1)
- OptionButton:TweenPosition(UDim2.new(0.8, 0, 0.4, 0), 'Out', 4, true)
- wait(0.1)
- LeaveButton:TweenPosition(UDim2.new(0.8, 0, 0.65, 0), 'Out', 4, true)
- wait(0.5)
- Chapter:TweenPosition(UDim2.new(-0.5, 0, -0.6 ,0), 'Out', 4, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement