Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local TutorialGUI = Instance.new("ScreenGui")
- local TutorialFrame = Instance.new("Frame")
- local SecondTutorialFrame = Instance.new("Frame")
- local Kill = Instance.new("TextButton")
- local PlayerName = Instance.new("TextBox")
- local TutorialScrollingFrame = Instance.new("ScrollingFrame")
- local God = Instance.new("TextButton")
- local Forcefield = Instance.new("TextButton")
- -- Properties
- TutorialGUI.Name = "TutorialGUI"
- TutorialGUI.Parent = game.StarterGui
- TutorialFrame.Name = "TutorialFrame"
- TutorialFrame.Parent = TutorialGUI
- TutorialFrame.Active = true
- TutorialFrame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- TutorialFrame.BackgroundTransparency = 0.25
- TutorialFrame.Position = UDim2.new(0.831018507, 0, 0.717948735, 0)
- TutorialFrame.Size = UDim2.new(0, 194, 0, 154)
- SecondTutorialFrame.Name = "SecondTutorialFrame"
- SecondTutorialFrame.Parent = TutorialFrame
- SecondTutorialFrame.Active = true
- SecondTutorialFrame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- SecondTutorialFrame.BackgroundTransparency = 0.25
- SecondTutorialFrame.Draggable = true
- SecondTutorialFrame.Position = UDim2.new(0.0371802151, 0, 0.0887446105, 0)
- SecondTutorialFrame.Size = UDim2.new(0, 85, 0, 126)
- Kill.Name = "Kill"
- Kill.Parent = SecondTutorialFrame
- Kill.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- Kill.Position = UDim2.new(0.0941176489, 0, 0.182539687, 0)
- Kill.Size = UDim2.new(0, 69, 0, 20)
- Kill.Font = Enum.Font.SourceSans
- Kill.Text = "Kill"
- Kill.TextColor3 = Color3.new(1, 1, 1)
- Kill.TextSize = 14
- Kill.MouseButton1Click:connect(function()
- game.Players[PlayerName.Text].Character.Humanoid.Health = 0
- end)
- PlayerName.Name = "PlayerName"
- PlayerName.Parent = Kill
- PlayerName.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- PlayerName.Position = UDim2.new(-0.00724636763, 0, 3.5999999, 0)
- PlayerName.Size = UDim2.new(0, 69, 0, 20)
- PlayerName.Font = Enum.Font.SourceSans
- PlayerName.Text = "Player"
- PlayerName.TextColor3 = Color3.new(1, 1, 1)
- PlayerName.TextSize = 14
- TutorialScrollingFrame.Name = "TutorialScrollingFrame"
- TutorialScrollingFrame.Parent = TutorialFrame
- TutorialScrollingFrame.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- TutorialScrollingFrame.Position = UDim2.new(0.525773168, 0, 0.0909090936, 0)
- TutorialScrollingFrame.Size = UDim2.new(0, 85, 0, 126)
- God.Name = "God"
- God.Parent = TutorialScrollingFrame
- God.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- God.Size = UDim2.new(0, 72, 0, 29)
- God.Font = Enum.Font.SourceSans
- God.Text = "God"
- God.TextColor3 = Color3.new(1, 1, 1)
- God.TextSize = 14
- God.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
- end)
- Forcefield.Name = "Forcefield"
- Forcefield.Parent = TutorialScrollingFrame
- Forcefield.BackgroundColor3 = Color3.new(0.32549, 0.32549, 0.32549)
- Forcefield.Position = UDim2.new(0, 0, 0.119047612, 0)
- Forcefield.Size = UDim2.new(0, 72, 0, 29)
- Forcefield.Font = Enum.Font.SourceSans
- Forcefield.Text = "Forcefield"
- Forcefield.TextColor3 = Color3.new(1, 1, 1)
- Forcefield.TextSize = 14
- Forcefield.MouseButton1Click:connect(function()
- Instance.new("ForceField", game.Players.LocalPlayer.Character)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement