SHOW:
|
|
- or go back to the newest paste.
1 | local Playerm = game.workspace.PabloRV.Head | |
2 | ||
3 | local Player = game.Workspace.PabloRV | |
4 | ||
5 | - | if Player.Humanoid.died then |
5 | + | |
6 | - | Instance.new("Explosion", Playerm)Playerm.Explosion.Position = Player.Torso.Position end |
6 | + | |
7 | - | |
7 | + | |
8 | - | |
8 | + | |
9 | - | |
9 | + | |
10 | end | |
11 | ||
12 | Player.Humanoid.HealthChanged:connect(HealthChanged) do | |
13 | for X = 1, math.huge, 0.1 do | |
14 | wait() | |
15 | 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 | |
16 | game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name. | |
17 | 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 | |
18 | game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name. | |
19 | 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 | |
20 | game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name. | |
21 | 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 | |
22 | game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name. | |
23 | 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 | |
24 | game.Workspace.PabloRV.Torso.Neck.C1 = CFrame.new(0,0,0) --Change 'YOURNAMEHERE' to your name. | |
25 | end | |
26 | ||
27 | if Player.humanoid.died then do | |
28 | Instance.new("Explosion", Playerm.Torso) end | |
29 | end | |
30 | function onKeyPress(inputObject, gameProcessedEvent) | |
31 | if inputObject.KeyCode == Enum.KeyCode.Q then | |
32 | print("Blowing up now.") --This will appear in the 'Output' view. This is replaceable and unnecessary. | |
33 | Instance.new("Explosion", Playerm) | |
34 | end | |
35 | end | |
36 | game:GetService("UserInputService").InputBegan:connect(onKeyPress) | |
37 | end |