Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- plr2 = game.Players.LocalPlayer
- cyan = true
- green = false
- red = false
- purple = false
- local plr = game.Players.LocalPlayer.Character
- cleanup = true
- path = false
- local m = Instance.new("Model")
- m.Name = "m"
- m.Parent = plr
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if path == true then path = false elseif path == false then path = true end
- elseif key == "e" then
- if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end
- elseif key == "x" then
- plr.m:ClearAllChildren()
- end
- end)
- spawn(function()
- while wait(1.35) do
- if cyan == true then
- green = true
- cyan = false
- elseif green == true then
- red = true
- green = false
- elseif red == true then
- purple = true
- red = false
- elseif purple == true then
- cyan = true
- purple = false
- end
- end
- end)
- function fade(part)
- wait(0.15)
- for i = 0.3,1,0.1 do wait()
- part.Transparency = i
- 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
- if cyan == true then
- part.BrickColor = BrickColor.new("Cyan")
- elseif green == true then
- part.BrickColor = BrickColor.new("Lime green")
- elseif red == true then
- part.BrickColor = BrickColor.new("Dark red")
- elseif purple == true then
- part.BrickColor = BrickColor.new("Royal purple")
- end
- part.Material = "Neon"
- end
- end
- part:remove''
- end
- local num = 0.1
- spawn(function()
- while true do coroutine.yield()
- if path == true then
- local C=0
- local KK={}
- coroutine.wrap(function()
- while wait(0) do
- local part=Instance.new("Part",char)
- local emitter=Instance.new("ParticleEmitter",Part)
- part.FormFactor='Custom'
- part.Transparency=0.5
- part.Size=Vector3.new(3.5,0.1,3.5)
- part.TopSurface='Smooth'
- part.BrickColor = BrickColor.new(C==0 and 'Dark red')
- part.Anchored=true
- game.Debris:AddItem(part,0.5)
- if KK['q'] then
- part.CanCollide=false
- char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
- elseif KK['e'] then
- char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
- end
- wait(0)
- part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
- end
- end)()
- mouse.KeyDown:connect(function(K)
- KK[K]=true
- if KK['y'] then
- C=C==0 and 1 or 0
- end
- end)
- --hi
- mouse.KeyUp:connect(function(K)
- KK[K]=false
- end)
- end)
- print("Controls: \nQ: Toggle path \nX: Clear all path \nE: Toggle path fade, ALSO EDITED/REMADE BY SMOKEDELSIN '_-")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement