Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Open = Instance.new("Frame")
- local OpenGUI = Instance.new("TextButton")
- local GUIFrame = Instance.new("Frame")
- local GodPlr = Instance.new("TextButton")
- local p = game.Players.LocalPlayer
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Open.Name = "Open"
- Open.Parent = game.CoreGui
- Open.BackgroundColor3 = Color3.new(0, 0, 0)
- Open.BackgroundTransparency = 0.5
- Open.Position = UDim2.new(0, 34, 0, 168)
- Open.Size = UDim2.new(0, 129, 0, 48)
- OpenGUI.Name = "OpenGUI"
- OpenGUI.Parent = Open
- OpenGUI.BackgroundColor3 = Color3.new(0, 0, 0)
- OpenGUI.BackgroundTransparency = 0.5
- OpenGUI.Size = UDim2.new(0, 129, 0, 50)
- OpenGUI.Text = "Open"
- OpenGUI.TextColor3 = Color3.new(0, 1, 1)
- OpenGUI.TextSize = 14
- GUIFrame.Name = "GUIFrame"
- GUIFrame.Parent = ScreenGui
- GUIFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- GUIFrame.BackgroundTransparency = 0.5
- GUIFrame.Position = UDim2.new(0, 260, 0, 85)
- GUIFrame.Size = UDim2.new(0, 340, 0, 159)
- GodPlr.Name = "GodPlr"
- GodPlr.Parent = GUIFrame
- GodPlr.BackgroundColor3 = Color3.new(0, 0, 0)
- GodPlr.BackgroundTransparency = 0.5
- GodPlr.Position = UDim2.new(0.188235298, 0, 0.347639471, 0)
- GodPlr.Size = UDim2.new(0, 200, 0, 50)
- GodPlr.Text = "Infhealth"
- GodPlr.TextColor3 = Color3.new(0, 1, 1)
- GodPlr.TextSize = 14
- -- Scripts:
- GodPlr.MouseButton1Down:connect(function()
- p.Character.Humanoid.MaxHealth = math.huge
- end)
- OpenGUI.MouseButton1Down:connect(function()
- game.CoreGui.ScreenGui.Open.Visible = false
- game.CoreGui.ScreenGui.GUIFrame.Visible = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement