SHOW:
|
|
- or go back to the newest paste.
1 | Player = game:GetService("Players").LocalPlayer | |
2 | mouse = Player:GetMouse() | |
3 | hit = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso) | |
4 | hit.SoundId = "rbxassetid://260430060" | |
5 | hit.Volume = 5 | |
6 | hit1 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso) | |
7 | hit1.SoundId = "rbxassetid://138087186" | |
8 | hit1.Volume = 5 | |
9 | hit2 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso) | |
10 | hit2.SoundId = "rbxassetid://131237241" | |
11 | hit2.Volume = 5 | |
12 | hit3 = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso) | |
13 | hit3.SoundId = "rbxassetid://278062209" | |
14 | hit3.Volume = 5 | |
15 | hit3.TimePosition = 0.33 | |
16 | print("Press R to ragdollify") | |
17 | function respawn(key) | |
18 | key = key:lower() | |
19 | if key == "t" then | |
20 | if ragdolling then | |
21 | ragdolling = false | |
22 | lshclone.Parent = game.Players.LocalPlayer.Character.Torso | |
23 | glue:destroy() | |
24 | rshclone.Parent = game.Players.LocalPlayer.Character.Torso | |
25 | glue1:destroy() | |
26 | lhclone.Parent = game.Players.LocalPlayer.Character.Torso | |
27 | glue11:destroy() | |
28 | rhclone.Parent = game.Players.LocalPlayer.Character.Torso | |
29 | glue111:destroy() | |
30 | collider:destroy() | |
31 | collider1:destroy() | |
32 | collider11:destroy() | |
33 | collider111:destroy() | |
34 | sensoring:destroy() | |
35 | sensoring1:destroy() | |
36 | game.Players.LocalPlayer.Character.Torso.SpotLight:destroy() | |
37 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
38 | end | |
39 | end | |
40 | end | |
41 | - | key = key:lower() |
41 | + | |
42 | function ragdoll(key) | |
43 | key = key:lower() | |
44 | end |