View difference between Paste ID: 9X2LBi0P and nJgJKsKN
SHOW: | | - or go back to the newest paste.
1
local P = game:GetService("Players").LocalPlayer
2
Hum = P.Character.HumanoidRootPart
3
Head = P.Character["Head"]
4
LArm = P.Character["Left Arm"]
5
LLeg = P.Character["Left Leg"]
6
RArm = P.Character["Right Arm"]
7
RLeg = P.Character["Right Leg"]
8
Torso = P.Character["Torso"]
9
Head.Transparency = 1
10
LArm.Transparency = 1
11
LLeg.Transparency = 1
12
RArm.Transparency = 1
13
RLeg.Transparency = 1
14
Torso.Transparency = 1
15
Hum.Transparency = 0
16
for _,v in pairs(game.Workspace:GetChildren())do
17
if v.Name == "SCP-Music" then
18
v:Destroy()
19
end
20
end
21
for _,v in pairs(Head:GetChildren())do
22
if v.ClassName == "Decal" then
23
v:Destroy()
24
end
25
end
26
for _,v in pairs(P.Character:GetChildren())do
27
if v.ClassName == "Accessory" then
28
v:Destroy()
29
end
30
end
31
function MeshUp()
32
local Mesh = Instance.new("SpecialMesh",Hum)
33
Mesh.MeshId = 'rbxassetid://430348199'
34
Mesh.TextureId = 'rbxassetid://430348224'
35
Mesh.Scale = Vector3.new(0.25,0.25,0.25)
36
end
37
function Song()
38
local So = Instance.new("Sound",game.Workspace)
39
So.Name = "Killed"
40
So.SoundId = 'rbxassetid://146311683'
41
So.Looped = true
42
So.Volume = 2
43
So:Play()
44
end
45
function PlayKill()
46
local S = Instance.new("Sound",P)
47
S.Name = "SCP-Music"
48
S.SoundId = 'rbxassetid://162194532'
49
S:Play()
50
wait(5)
51
S:Destroy()
52
end
53
Hum.Touched:connect(function(Touched)
54
PlayKill()
55
Touched:BreakJoints()
56
end)
57
MeshUp()
58
Song()