Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local HealthFrame = Instance.new("Frame")
- local title = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local HealthBar = Instance.new("Frame")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- HealthFrame.Name = "HealthFrame"
- HealthFrame.Parent = ScreenGui
- HealthFrame.BackgroundColor3 = Color3.new(1, 0, 0)
- HealthFrame.BorderColor3 = Color3.new(1, 0.666667, 0)
- HealthFrame.BorderSizePixel = 5
- HealthFrame.Position = UDim2.new(0.0281162132, 0, 0.101391613, 0)
- HealthFrame.Size = UDim2.new(0, 344, 0, 23)
- title.Name = "title"
- title.Parent = HealthFrame
- title.BackgroundColor3 = Color3.new(1, 0.333333, 0)
- title.BorderColor3 = Color3.new(1, 0.666667, 0)
- title.BorderSizePixel = 5
- title.Position = UDim2.new(0, 0, -1.2899127, 0)
- title.Size = UDim2.new(0, 115, 0, 23)
- TextLabel.Parent = title
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(0, 115, 0, 23)
- TextLabel.Font = Enum.Font.SourceSansBold
- TextLabel.Text = "HEALTH"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- HealthBar.Name = "HealthBar"
- HealthBar.Parent = HealthFrame
- HealthBar.BackgroundColor3 = Color3.new(0, 1, 0)
- HealthBar.BorderSizePixel = 0
- HealthBar.Position = UDim2.new(-5.58793545e-09, 0, 1.1920929e-07, 0)
- HealthBar.Size = UDim2.new(0, 344, 0, 23)
- -- Scripts:
- function SCRIPT_XFYX68_FAKESCRIPT() -- HealthBar.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = HealthBar
- wait(.1)
- while true do
- hp = game.Players.LocalPlayer.Character.Humanoid.Health/100
- script.Parent:TweenSize(UDim2.new(hp,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.15)
- wait(.2)
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_XFYX68_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement