
3.5k Views
121 Executions
Health maxiume
Universal Script 📌
anonfongem1995First script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
This script is first release it might little buggy (or visual on first release. more update of it will come soon) this script has featuire that if you load it again it destory ui and loads new one! more things coming soon.
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
-- Default keybind for hiding the GUI
local hideKey = Enum.KeyCode.F1
-- Function to create the GUI
local function createGUI()
-- Destroy existing GUI if it exists
local existingGui = player.PlayerGui:FindFirstChild("HealthCapGUI")
if existingGui then
existingGui:Destroy()
end
-- Create the new GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "HealthCapGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 150)
frame.Position = UDim2.new(0.5, -100, 0.5, -75)
frame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
frame.BorderSizePixel = 2
frame.Parent = screenGui
frame.Active = true
frame.Draggable = true -- Make the frame draggable
local healthLabel = Instance.new("TextLabel")
healthLabel.Size = UDim2.new(1, 0, 0.3, 0)
healthLabel.Position = UDim2.new(0, 0, 0, 0)
healthLabel.Text = "Set Max Health:"
healthLabel.TextColor3 = Color3.new(1, 1, 1)
healthLabel.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
healthLabel.Parent = frame
local healthInput = Instance.new("TextBox")
healthInput.Size = UDim2.new(1, 0, 0.3, 0)
healthInput.Position = UDim2.new(0, 0, 0.3, 0)








ChatGPT ahh script