Advertisement
V3rmLua33

Trail idk ?

Mar 10th, 2015
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.86 KB | None | 0 0
  1. local plr=game.Players.LocalPlayer
  2. local mouse=plr:GetMouse()
  3. local char=plr.Character
  4.  
  5. local C=0
  6. local KK={}
  7. coroutine.wrap(function()
  8. while wait(0) do
  9. local part=Instance.new("Part",char)
  10. part.FormFactor='Custom'
  11. part.Transparency=0.5
  12. part.Size=Vector3.new(3.5,0.1,3.5)
  13. part.TopSurface='Smooth'
  14. part.BrickColor = BrickColor.new(C==0 and 'Really black' or 'Really white')
  15. part.Anchored=true
  16. game.Debris:AddItem(part,0.5)
  17. if KK['q'] then
  18.   part.CanCollide=false
  19. char['Right Leg'].CFrame=char['Right Leg'].CFrame*CFrame.new(0,-0.5,0)
  20. elseif KK['e'] then
  21. char['Head'].CFrame=char['Head'].CFrame*CFrame.new(0,0.1,0)
  22. end
  23. wait(0)
  24. part.CFrame = CFrame.new(char.Torso.Position)*CFrame.new(0,-3.3,0)
  25.  
  26. end
  27. end)()
  28.  
  29. mouse.KeyDown:connect(function(K)
  30. KK[K]=true
  31. if KK['y'] then
  32. C=C==0 and 1 or 0
  33. end
  34. end)
  35. --hi
  36. mouse.KeyUp:connect(function(K)
  37. KK[K]=false
  38. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement