View difference between Paste ID: HP9b52ww and JJY0Cw9k
SHOW: | | - or go back to the newest paste.
1
local plr=game.Players.LocalPlayer
2
local mouse=plr:GetMouse()
3
local char=plr.Character
4
5
local C=0
6
local KK={}
7
coroutine.wrap(function()
8
while wait(0) do
9
local part=Instance.new("Part",char)
10
local emitter=Instance.new("ParticleEmitter",Part)
11
part.FormFactor='Custom'
12
part.Transparency=0.5
13
part.Size=Vector3.new(3.5,0.1,3.5)
14
part.TopSurface='Smooth'
15
part.BrickColor = BrickColor.new(C==0 and 'Really black')
16
part.Anchored=true
17
game.Debris:AddItem(part,0.5)
18
if KK['q'] then
19
  part.CanCollide=false
20
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-20.5,0)
21
elseif KK['e'] then
22
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
23
end
24
wait(0)
25
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-20.3,0)
26
27
end
28
end)()
29
30
mouse.KeyDown:connect(function(K)
31
KK[K]=true
32
if KK['y'] then
33
C=C==0 and 1 or 0
34
end
35
end)
36
--hi
37
mouse.KeyUp:connect(function(K)
38
KK[K]=false
39
end)
40
--------------------------------------------------------------------------------------------
41
wait(3.1)
42
local plr=game.Players.LocalPlayer
43
local mouse=plr:GetMouse()
44
local char=plr.Character
45
46
local C=0
47
local KK={}
48
coroutine.wrap(function()
49
while wait(0) do
50
local part=Instance.new("Part",char)
51
local emitter=Instance.new("ParticleEmitter",Part)
52
part.FormFactor='Custom'
53
part.Transparency=0.5
54
part.Size=Vector3.new(3.5,0.1,3.5)
55
part.TopSurface='Smooth'
56
part.BrickColor = BrickColor.new(C==0 and 'Dark red')
57
part.Anchored=true
58
game.Debris:AddItem(part,0.5)
59
if KK['q'] then
60
  part.CanCollide=false
61
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
62
elseif KK['e'] then
63
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
64
end
65
wait(0)
66
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
67
68
end
69
end)()
70
71
mouse.KeyDown:connect(function(K)
72
KK[K]=true
73
if KK['y'] then
74
C=C==0 and 1 or 0
75
end
76
end)
77
--hi
78
mouse.KeyUp:connect(function(K)
79
KK[K]=false
80
end)