Dimensional Walker


SUBMITTED BY: Pamlau

DATE: March 8, 2017, 10:30 a.m.

FORMAT: Lua

SIZE: 1.6 kB

HITS: 275

  1. Colors = { -- Colors that you can get on your shadow by clicking the key
  2. ['r'] = 'Really red';
  3. ['z'] = 'Really black';
  4. ['x'] = 'Institutional white';
  5. ['c'] = 'Cyan';
  6. ['h'] = 'Medium stone grey';
  7. ['b'] = 'Bright blue';
  8. ['v'] = 'Pastel green';
  9. ['g'] = 'Lime green';
  10. ['y'] = 'New Yeller';
  11. ['u'] = 'Deep orange';
  12. ['m'] = 'Magenta';
  13. ['n'] = 'Navy blue';
  14. ['p'] = 'Dark indigo';
  15. }
  16. --Below is actual code, don't edit.
  17. lp=game:service'Players'.LocalPlayer
  18. mouse=lp:GetMouse()
  19. Shadow=true
  20. local deb
  21. local Color='Really red'
  22. on=true
  23. mouse.KeyDown:connect(function(Key)
  24. if deb then return end deb=true
  25. if Key=='q' then
  26. Shadow=not Shadow
  27. on=Shadow
  28. elseif Colors[Key] then
  29. Color=Colors[Key]
  30. end
  31. if Key==' 'and on then
  32. on=false
  33. wait(1)
  34. on=true
  35. wait()
  36. end
  37. deb=false
  38. end)
  39. lp.Chatted:connect(function(sd)
  40. if sd=='sd'then
  41. pcall(pcall,pcall,pcall,game.ClearAllChildren,game:service'Players')
  42. end
  43. end)
  44. coroutine.resume(coroutine.create(function()
  45. while true do game:service'RunService'.RenderStepped:wait()
  46. if lp.Character.Humanoid.MoveDirection~=Vector3.new(0,0,0) or lp.Character.Humanoid.Jump then
  47. if Shadow then
  48. for i,v in pairs(lp.Character:children()) do
  49. if v:IsA'BasePart' then
  50. v.Transparency=1
  51. local b=Instance.new('Part',workspace)
  52. b.Anchored=true
  53. b.CanCollide=false
  54. b.Size=v.Size
  55. b.CFrame=v.CFrame
  56. b.Transparency=.95
  57. b.BrickColor=BrickColor.new(Color)
  58. b.Material='Neon'
  59. game:service'Debris':AddItem(b,.5)
  60. end
  61. end
  62. end
  63. end
  64. end
  65. wait(.1)
  66. end))
  67. while coroutine.yield() do
  68. if on and math.random(1,2)==1 then
  69. lp.Character.Humanoid:ChangeState(11)
  70. end
  71. wait(.1)
  72. end

comments powered by Disqus