View difference between Paste ID: A0djtz18 and EBQFiQ2U
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 'Bright blue')
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,-0.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,-3.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)
41+
42
local mouse=plr:GetMouse()
43
local char=plr.Character
44
45
local C=0
46
local KK={}
47
coroutine.wrap(function()
48
while wait(0) do
49
local part=Instance.new("Part",char)
50
local emitter=Instance.new("ParticleEmitter",Part)
51
part.FormFactor='Custom'
52
part.Transparency=0.5
53
part.Size=Vector3.new(3.5,0.1,3.5)
54
part.TopSurface='Smooth'
55
part.BrickColor = BrickColor.new(C==0 and 'Bright red')
56
part.Anchored=true
57
game.Debris:AddItem(part,0.5)
58
if KK['q'] then
59
  part.CanCollide=false
60
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
61
elseif KK['e'] then
62
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
63
end
64
wait(0)
65
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
66
67
end
68
end)()
69
70
mouse.KeyDown:connect(function(K)
71
KK[K]=true
72
if KK['y'] then
73
C=C==0 and 1 or 0
74
end
75
end)
76
--hi
77
mouse.KeyUp:connect(function(K)
78
KK[K]=false
79
end)
80
--------------------------------------------------------------------------
81
local plr=game.Players.LocalPlayer
82-
wait(6.2)
82+
83
local char=plr.Character
84
85
local C=0
86
local KK={}
87
coroutine.wrap(function()
88
while wait(0) do
89
local part=Instance.new("Part",char)
90
local emitter=Instance.new("ParticleEmitter",Part)
91
part.FormFactor='Custom'
92
part.Transparency=0.5
93
part.Size=Vector3.new(3.5,0.1,3.5)
94
part.TopSurface='Smooth'
95
part.BrickColor = BrickColor.new(C==0 and 'Bright green')
96
part.Anchored=true
97
game.Debris:AddItem(part,0.5)
98
if KK['q'] then
99
  part.CanCollide=false
100
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
101
elseif KK['e'] then
102
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
103
end
104
wait(0)
105
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
106
107
end
108
end)()
109
110
mouse.KeyDown:connect(function(K)
111
KK[K]=true
112
if KK['y'] then
113
C=C==0 and 1 or 0
114
end
115
end)
116
--hi
117
mouse.KeyUp:connect(function(K)
118
KK[K]=false
119
end)