local healthgui = Instance.new("ScreenGui") local healthframe = Instance.new("Frame") local name = Instance.new("TextLabel") local info1 = Instance.new("TextLabel") local info2 = Instance.new("TextLabel") local plusimage = Instance.new("ImageLabel") local healbutton = Instance.new("TextButton") --basic "local"s local plr = game.Players.LocalPlayer local playerhealth = plr.Character.Humanoid.Health --properties healthgui.Parent = game.CoreGui healthframe.Parent = healthgui healthframe.Name = "HealthGui" healthframe.Position = UDim2.new(0.768, 0, 0.763, 0) healthframe.Size = UDim2.new(0, 227, 0, 135) healthframe.BackgroundColor3 = Color3.new(180, 255, 110) healthframe.BorderColor3 = Color3.new(107, 156, 28) healthframe.BorderSizePixel = 4 healthframe.BackgroundTransparency = 0.5 name.Parent = healthframe name.Name = "NameLabel" name.Size = UDim2.new(0, 227, 0, 29) name.Text = "Health gui" name.Font = "Cartoon" name.TextScaled = true name.BackgroundColor3 = Color3.new(107, 255, 96) name.BorderSizePixel = 3 name.BorderColor3 = Color3.new(107, 156, 28) plusimage.Name = "Plus" plusimage.Parent = healthframe plusimage.Size = UDim2.new(0, 28, 0, 28) plusimage.Image = "rbxassetid://21671687" info1.Parent = healthframe info1.Name = "InfoLabel" info1.Size = UDim2.new(0, 200, 0, 28) info1.Position = UDim2.new(0.053, 0, 0.652, 0) info1.Text = "pipka" info1.Font = "Cartoon" info1.TextSize = 23 info1.BackgroundTransparency = 1 info2.Parent = healthframe info2.Name = "InfoLabel2" info2.Size = UDim2.new(0, 86, 0, 19) info2.Position = UDim2.new(0.621, 0, 0.859, 0) info2.Text = "By Seonix" info2.Font = "Cartoon" info2.TextSize = 14 info2.BackgroundTransparency = 1 healbutton.Parent = healthframe healbutton.Name = "HealButton" healbutton.Size = UDim2.new(0, 200, 0, 36) healbutton.Position = UDim2.new(0.053, 0, 0.385, 0) healbutton.BackgroundColor3 = Color3.new(80, 255, 100) healbutton.BorderSizePixel = 2 healbutton.Text = "Heal" healbutton.Font = "Cartoon" healbutton.TextScaled = true --functions healbutton.MouseButton1Click:Connect(function(heal) game.Players.LocalPlayer.Character.Humanoid.Health = 100 end)