View difference between Paste ID: wFYCVKhQ and j2TeFRSe
SHOW: | | - or go back to the newest paste.
1-
local P = game:GetService("Players").LocalPlayer
1+
local P = owner
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.Looped = true
41
So.Volume = 2
42
So:Play()
43
end
44
function PlayKill()
45
local S = Instance.new("Sound",P)
46
S.Name = "SCP-Music"
47
S.SoundId = 'rbxassetid://150283123'
48
S:Play()
49
wait(5)
50
S:Destroy()
51
end
52
Hum.Touched:connect(function(Touched)
53
PlayKill()
54
Touched:BreakJoints()
55
end)
56
MeshUp()
57
Song()