Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- game.StarterGui:SetCore("SendNotification", {
- Title = "Script";
- Text = "Script is on";
- Icon = "";
- Duration = 5;
- })
- function Health()
- for _,v in pairs(game:GetService("Workspace"):GetDescendants()) do
- if v.Name == "DeadHP" then
- v.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(0,2,0)
- end
- end
- end
- while wait() do
- if player.Character.Health.Value <= 99 then
- Health()
- print("Player has been given health!")
- end
- print("CHECKED")
- end
Add Comment
Please, Sign In to add comment