View difference between Paste ID: qKqtYGKP and 63wbq3wn
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 'Dark red')
16
part.Anchored=true
17
game.Debris:AddItem(part,0.5)
18
mouse.KeyDown:connect(function(key)
19
    if key == "q" then
20
        if path == true then path = false elseif path == false then path = true end
21
    elseif key == "e" then
22
        if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end
23
    elseif key == "x" then
24
        plr.m:ClearAllChildren()
25
    end
26
end)
27
28-
if KK['q'] then
28+
if KK['x'] then
29
part.CanCollide=false
30
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
31-
elseif KK['e'] then
31+
elseif KK['z'] then
32
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
33
end
34
wait(0)
35
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
36
37
end
38
end)()
39
40
mouse.KeyDown:connect(function(K)
41
KK[K]=true
42
if KK['y'] then
43
C=C==0 and 1 or 0
44
end
45
end)
46
--hi
47
mouse.KeyUp:connect(function(K)
48
KK[K]=false
49
end)
50
--------------------------------------------------------------------------------------------
51
wait(3.1)
52
local plr=game.Players.LocalPlayer
53
local mouse=plr:GetMouse()
54
local char=plr.Character
55
56
local C=0
57
local KK={}
58
coroutine.wrap(function()
59
while wait(0) do
60
local part=Instance.new("Part",char)
61
local emitter=Instance.new("ParticleEmitter",Part)
62
part.FormFactor='Custom'
63
part.Transparency=0.5
64
part.Size=Vector3.new(3.5,0.1,3.5)
65
part.TopSurface='Smooth'
66
part.BrickColor = BrickColor.new(C==0 and 'Really black')
67
part.Anchored=true
68
game.Debris:AddItem(part,0.5)
69-
if KK['q'] then
69+
70
    if key == "q" then
71
        if path == true then path = false elseif path == false then path = true end
72-
elseif KK['e'] then
72+
73
        if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end
74
    elseif key == "x" then
75
        plr.m:ClearAllChildren()
76
    end
77
end)
78
79
if KK['x'] then
80
part.CanCollide=false
81
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-20.5,0)
82
elseif KK['z'] then
83
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
84
end
85
wait(0)
86
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-20.3,0)
87
88
end
89
end)()
90
91
mouse.KeyDown:connect(function(K)
92
KK[K]=true
93
if KK['y'] then
94
C=C==0 and 1 or 0
95
end
96
end)
97
--hi
98
mouse.KeyUp:connect(function(K)
99
KK[K]=false
100
end)
101
--------------------------------------------------------------------------
102
wait(6.2)
103
local plr=game.Players.LocalPlayer
104
local mouse=plr:GetMouse()
105
local char=plr.Character
106
107
local C=0
108
local KK={}
109
coroutine.wrap(function()
110-
if KK['q'] then
110+
111
local part=Instance.new("Part",char)
112
local emitter=Instance.new("ParticleEmitter",Part)
113-
elseif KK['e'] then
113+
114
part.Transparency=0.5
115
part.Size=Vector3.new(3.5,0.1,3.5)
116
part.TopSurface='Smooth'
117
part.BrickColor = BrickColor.new(C==0 and 'Really black')
118
part.Anchored=true
119
game.Debris:AddItem(part,0.5)
120
mouse.KeyDown:connect(function(key)
121
    if key == "q" then
122
        if path == true then path = false elseif path == false then path = true end
123
    elseif key == "e" then
124
        if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end
125
    elseif key == "x" then
126
        plr.m:ClearAllChildren()
127
    end
128
end)
129
130
if KK['x'] then
131
part.CanCollide=false
132
char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
133
elseif KK['z'] then
134
char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
135
end
136
wait(0)
137
part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
138
139
end
140
end)()
141
142
143
mouse.KeyDown:connect(function(K)
144
KK[K]=true
145
if KK['y'] then
146
C=C==0 and 1 or 0
147
end
148
end)
149
--hi
150
mouse.KeyUp:connect(function(K)
151
KK[K]=false
152
end)