SHOW:
|
|
- or go back to the newest paste.
1 | -- Farewell Infortality. | |
2 | -- Version: 2.82 | |
3 | -- Instances: | |
4 | local ScreenGui = Instance.new("ScreenGui") | |
5 | local HealthFrame = Instance.new("Frame") | |
6 | local HealthBar = Instance.new("Frame") | |
7 | local ImageLabel = Instance.new("ImageLabel") | |
8 | --Properties: | |
9 | ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") | |
10 | ||
11 | HealthFrame.Name = "HealthFrame" | |
12 | HealthFrame.Parent = ScreenGui | |
13 | HealthFrame.BackgroundColor3 = Color3.new(1, 1, 1) | |
14 | HealthFrame.BorderColor3 = Color3.new(1, 0.666667, 0) | |
15 | HealthFrame.BorderSizePixel = 5 | |
16 | HealthFrame.Position = UDim2.new(0.0835690796, 0, 0.0729286149, 0) | |
17 | HealthFrame.Size = UDim2.new(0, 344, 0, 23) | |
18 | ||
19 | HealthBar.Name = "HealthBar" | |
20 | HealthBar.Parent = HealthFrame | |
21 | HealthBar.BackgroundColor3 = Color3.new(0, 1, 0) | |
22 | HealthBar.BorderSizePixel = 0 | |
23 | HealthBar.Position = UDim2.new(0, 0, -0.0434781425, 0) | |
24 | HealthBar.Size = UDim2.new(0, 344, 0, 23) | |
25 | ||
26 | ImageLabel.Parent = ScreenGui | |
27 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
28 | ImageLabel.Position = UDim2.new(0.0120147876, 0, 0, 0) | |
29 | ImageLabel.Size = UDim2.new(0, 70, 0, 70) | |
30 | ImageLabel.Image = "rbxassetid://2890347241" | |
31 | -- Scripts: | |
32 | function SCRIPT_ZNBN72_FAKESCRIPT() -- HealthBar.LocalScript | |
33 | local script = Instance.new('LocalScript') | |
34 | script.Parent = HealthBar | |
35 | wait(.1) | |
36 | while true do | |
37 | hp = game.Players.LocalPlayer.Character.Humanoid.Health/100 | |
38 | script.Parent:TweenSize(UDim2.new(hp,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,0.15) | |
39 | wait(.2) | |
40 | end | |
41 | ||
42 | end | |
43 | - | coroutine.resume(coroutine.create(SCRIPT_ZNBN72_FAKESCRIPT)) |
43 | + | coroutine.resume(coroutine.create(SCRIPT_ZNBN72_FAKESCRIPT)) |