Advertisement
epicodascripter

Untitled

Feb 20th, 2015
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local chr = player.Character
  3. local trso = chr.Torso
  4.  
  5. --Colors = {"Really red", "Really blue", "Lime green", "Hot pink", "Bright red", "Bright blue", "New yeller", "Institutional white"}
  6.  
  7.  
  8. game:service'RunService'.Heartbeat:connect(function()
  9. trail = Instance.new("Part", trso)
  10. trail.FormFactor = "Custom"
  11. trail.Size = Vector3.new(2,2,2)
  12. trail.CanCollide = false
  13. trail.Transparency = 0
  14. trail.CFrame = chr['Right Arm'].CFrame*CFrame.new(0,-1.5,0)
  15. trail.TopSurface = 0
  16. trail.BottomSurface=0
  17. trail.BrickColor = BrickColor.new("Cyan")
  18. trail.Anchored = true
  19. trail.Transparency = 0.2
  20. local blockmesh = Instance.new("BlockMesh", trail)
  21. blockmesh.Scale = Vector3.new(1,1,1)
  22. trail2 = Instance.new("Part", trso)
  23. trail2.FormFactor = "Custom"
  24. trail2.Size = Vector3.new(2,2,2)
  25. trail2.CanCollide = false
  26. trail2.Transparency = 0
  27. trail2.CFrame = chr['Left Arm'].CFrame*CFrame.new(0,-1.5,0)
  28. trail2.TopSurface = 0
  29. trail2.BottomSurface=0
  30. trail2.BrickColor = BrickColor.new("Cyan")
  31. trail2.Anchored = true
  32. trail2.Transparency = 0.2
  33. local blokmesh = Instance.new("BlockMesh", trail2)
  34. blokmesh.Scale = Vector3.new(1,1,1)
  35. wait()
  36. for i = 1, 10 do
  37. blockmesh.Scale = Vector3.new(blockmesh.Scale.x - 0.1, blockmesh.Scale.y - 0.1, blockmesh.Scale.z - 0.1)
  38. blokmesh.Scale=Vector3.new(blokmesh.Scale.x - .1,blokmesh.Scale.y - .1,blockmesh.Scale.z - 1)
  39. wait()
  40. end
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement