View difference between Paste ID: vcZysVj6 and n79B400d
SHOW: | | - or go back to the newest paste.
1
lp=game:service'Players'.LocalPlayer
2
mouse=lp:GetMouse()
3
Shadow=true
4
local deb
5-
local Color='Really red'
5+
local Color='Cyan'
6
on=true
7
mouse.KeyDown:connect(function(Key)
8
if deb then return end deb=true
9
if Key=='q' then
10
Shadow=not Shadow
11
on=Shadow
12
elseif Colors[Key] then
13
Color=Colors[Key]
14
end
15
if Key==' 'and on then
16
on=false
17
wait(1)
18
on=true
19
end
20
deb=false
21
22
end)
23
lp.Chatted:connect(function(sd)
24
if sd=='sd'then
25
pcall(pcall,pcall,pcall,game.ClearAllChildren,game:service'Players')
26
end
27
end)
28
coroutine.resume(coroutine.create(function()
29
while true do game:service'RunService'.RenderStepped:wait()
30
if lp.Character.Humanoid.MoveDirection~=Vector3.new(0,0,0) or lp.Character.Humanoid.Jump then
31
if Shadow then
32
for i,v in pairs(lp.Character:children()) do
33
if v:IsA'BasePart' then
34
v.Transparency=1
35
local b=Instance.new('Part',workspace)
36
b.Anchored=true
37
b.CanCollide=false
38
b.Size=v.Size
39
b.CFrame=v.CFrame
40
b.Transparency=.95
41
b.BrickColor=BrickColor.new(Color)
42
b.Material='Neon'
43
game:service'Debris':AddItem(b,.5)
44
end
45
end
46
end
47
end
48
end
49
end))
50
while coroutine.yield() do
51
if on and math.random(1,2)==1 then
52
lp.Character.Humanoid:ChangeState(11)
53
end