Advertisement
SmokeDelsin

drk

Jul 25th, 2015
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game.Players.LocalPlayer
  2. local mouse = player:GetMouse()
  3. plr2 = game.Players.LocalPlayer
  4. Dark red = true
  5. Really black = false
  6. local plr = game.Players.LocalPlayer.Character
  7. cleanup = true
  8. path = false
  9.  
  10. local m = Instance.new("Model")
  11. m.Name = "m"
  12. m.Parent = plr
  13.  
  14. mouse.KeyDown:connect(function(key)
  15.     if key == "q" then
  16.         if path == true then path = false elseif path == false then path = true end
  17.     elseif key == "e" then
  18.         if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end
  19.     elseif key == "x" then
  20.         plr.m:ClearAllChildren()
  21.     end
  22. end)
  23. spawn(function()
  24.     while wait(1.35) do
  25.        if Dark red == true then
  26.             Really black = true
  27.             Dark red = false
  28.        
  29.         end
  30.     end
  31. end)
  32. function fade(part)
  33.     wait(0.15)
  34.     for i = 0.3,1,0.1 do wait()
  35.        part.Transparency = i
  36.        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
  37.            if Dark red == true then
  38.            part.BrickColor = BrickColor.new("Dark red")
  39.        elseif Really black == true then
  40.            part.BrickColor = BrickColor.new("Really black")
  41.             end
  42.            part.Material = "Neon"
  43.         end
  44.     end
  45.     part:remove''
  46. end
  47. local num = 0.1
  48. spawn(function()
  49. while true do coroutine.yield()
  50.     if path == true then
  51.         num = num + 3.5
  52.         local p = Instance.new("Part")
  53.         p.Name = "p"
  54.         p.Parent = plr.m
  55.         p.FormFactor = "Custom"
  56.         p.Size = Vector3.new(3,0.4,3)
  57.         p.CFrame = plr.Torso.CFrame * CFrame.new(0,-3-(p.Size.Y/2),0) * CFrame.Angles(0,math.rad(num),0)
  58.         p.Transparency = 0.3
  59.         p.BrickColor = BrickColor.new("Dark red")
  60.         p.Anchored = true
  61.         p.TopSurface = "Smooth"
  62.         p.BottomSurface = "Smooth"
  63.         spawn(function()
  64.             if cleanup == true then
  65.             fade(p)
  66.             end
  67.         end)
  68.         else
  69.     end
  70. end
  71. end)
  72. 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