Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Playerm = game.workspace.PabloRV.Head
- local Player = game.Workspace.PabloRV
- function HealthChanged(h)
- if Player.Humanoid.Health < 50 then
- Player["Body Colors"].HeadColor = BrickColor.new("Bright red")
- end
- end
- Player.Humanoid.HealthChanged:connect(HealthChanged) do
- for X = 1, math.huge, 0.1 do
- wait()
- game.Workspace.PabloRV.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) --Change 'YOURNAMEHERE' to your name
- game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name.
- game.Workspace.PabloRV.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) --Change 'YOURNAMEHERE' to your name
- game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name.
- game.Workspace.PabloRV.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) --Change 'YOURNAMEHERE' to your name
- game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name.
- game.Workspace.PabloRV.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) --Change 'YOURNAMEHERE' to your name
- game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name.
- game.Workspace.PabloRV.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X) --Change 'YOURNAMEHERE' to your name
- game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name.
- end
- if Player.humanoid.died then do
- Instance.new("Explosion", Playerm.Torso) end
- end
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Q then
- print("Blowing up now.") --This will appear in the 'Output' view. This is replaceable and unnecessary.
- Instance.new("Explosion", Playerm)
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement