Advertisement
XxMichaelGamingxX

Inf Health!

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