Advertisement
Robloxian_Scripter

Untitled

Mar 31st, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1.  
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Open = Instance.new("Frame")
  4. local OpenGUI = Instance.new("TextButton")
  5. local GUIFrame = Instance.new("Frame")
  6. local GodPlr = Instance.new("TextButton")
  7. local p = game.Players.LocalPlayer
  8. --Properties:
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. Open.Name = "Open"
  13. Open.Parent = game.CoreGui
  14. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  15. Open.BackgroundTransparency = 0.5
  16. Open.Position = UDim2.new(0, 34, 0, 168)
  17. Open.Size = UDim2.new(0, 129, 0, 48)
  18.  
  19. OpenGUI.Name = "OpenGUI"
  20. OpenGUI.Parent = Open
  21. OpenGUI.BackgroundColor3 = Color3.new(0, 0, 0)
  22. OpenGUI.BackgroundTransparency = 0.5
  23. OpenGUI.Size = UDim2.new(0, 129, 0, 50)
  24. OpenGUI.Text = "Open"
  25. OpenGUI.TextColor3 = Color3.new(0, 1, 1)
  26. OpenGUI.TextSize = 14
  27.  
  28. GUIFrame.Name = "GUIFrame"
  29. GUIFrame.Parent = ScreenGui
  30. GUIFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  31. GUIFrame.BackgroundTransparency = 0.5
  32. GUIFrame.Position = UDim2.new(0, 260, 0, 85)
  33. GUIFrame.Size = UDim2.new(0, 340, 0, 159)
  34.  
  35. GodPlr.Name = "GodPlr"
  36. GodPlr.Parent = GUIFrame
  37. GodPlr.BackgroundColor3 = Color3.new(0, 0, 0)
  38. GodPlr.BackgroundTransparency = 0.5
  39. GodPlr.Position = UDim2.new(0.188235298, 0, 0.347639471, 0)
  40. GodPlr.Size = UDim2.new(0, 200, 0, 50)
  41. GodPlr.Text = "Infhealth"
  42. GodPlr.TextColor3 = Color3.new(0, 1, 1)
  43. GodPlr.TextSize = 14
  44. -- Scripts:
  45.  
  46. GodPlr.MouseButton1Down:connect(function()
  47. p.Character.Humanoid.MaxHealth = math.huge
  48. end)
  49.  
  50. OpenGUI.MouseButton1Down:connect(function()
  51. game.CoreGui.ScreenGui.Open.Visible = false
  52. game.CoreGui.ScreenGui.GUIFrame.Visible = true
  53. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement