SHOW:
|
|
- or go back to the newest paste.
1 | local player = game.Players.LocalPlayer | |
2 | local mouse = player:GetMouse() | |
3 | plr2 = game.Players.LocalPlayer | |
4 | cyan = true | |
5 | green = false | |
6 | red = false | |
7 | purple = false | |
8 | local plr = game.Players.LocalPlayer.Character | |
9 | cleanup = true | |
10 | path = false | |
11 | ||
12 | local m = Instance.new("Model") | |
13 | m.Name = "m" | |
14 | m.Parent = plr | |
15 | ||
16 | mouse.KeyDown:connect(function(key) | |
17 | if key == "q" then | |
18 | if path == true then path = false elseif path == false then path = true end | |
19 | elseif key == "e" then | |
20 | if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end | |
21 | elseif key == "x" then | |
22 | plr.m:ClearAllChildren() | |
23 | end | |
24 | end) | |
25 | - | spawn(function() |
25 | + | local C=0 |
26 | - | while wait(1.35) do |
26 | + | local KK={} |
27 | - | if cyan == true then |
27 | + | coroutine.wrap(function() |
28 | - | green = true |
28 | + | while wait(0) do |
29 | - | cyan = false |
29 | + | local part=Instance.new("Part",char) |
30 | - | elseif green == true then |
30 | + | local emitter=Instance.new("ParticleEmitter",Part) |
31 | - | red = true |
31 | + | part.FormFactor='Custom' |
32 | - | green = false |
32 | + | part.Transparency=0.5 |
33 | - | elseif red == true then |
33 | + | part.Size=Vector3.new(3.5,0.1,3.5) |
34 | - | purple = true |
34 | + | part.TopSurface='Smooth' |
35 | - | red = false |
35 | + | part.BrickColor = BrickColor.new(C==0 and 'Dark red') |
36 | - | elseif purple == true then |
36 | + | part.Anchored=true |
37 | - | cyan = true |
37 | + | game.Debris:AddItem(part,0.5) |
38 | - | purple = false |
38 | + | if KK['z'] then |
39 | - | end |
39 | + | part.CanCollide=false |
40 | char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0) | |
41 | elseif KK['f'] then | |
42 | - | function fade(part) |
42 | + | char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0) |
43 | - | wait(0.15) |
43 | + | |
44 | - | for i = 0.3,1,0.1 do wait() |
44 | + | wait(0) |
45 | - | part.Transparency = i |
45 | + | part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0) |
46 | - | if i == 0.8 or i == 0.9 or i == 0.7 or i == 0.6 or i == 0.5 or i == 0.4 then |
46 | + | |
47 | - | if cyan == true then |
47 | + | |
48 | - | part.BrickColor = BrickColor.new("Cyan") |
48 | + | end)() |
49 | - | elseif green == true then |
49 | + | |
50 | - | part.BrickColor = BrickColor.new("Lime green") |
50 | + | mouse.KeyDown:connect(function(K) |
51 | - | elseif red == true then |
51 | + | KK[K]=true |
52 | - | part.BrickColor = BrickColor.new("Dark red") |
52 | + | if KK['y'] then |
53 | - | elseif purple == true then |
53 | + | C=C==0 and 1 or 0 |
54 | - | part.BrickColor = BrickColor.new("Royal purple") |
54 | + | |
55 | - | end |
55 | + | |
56 | - | part.Material = "Neon" |
56 | + | --hi |
57 | - | end |
57 | + | mouse.KeyUp:connect(function(K) |
58 | KK[K]=false | |
59 | - | part:remove'' |
59 | + | |
60 | print("Controls: \nQ: Toggle path \nX: Clear all path \nE: Toggle path fade, ALSO EDITED/REMADE BY SMOKEDELSIN '_-") |