Fuckmypussy12

Untitled

Mar 19th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1.  
  2. local player = game:GetService("Players").LocalPlayer or owner or game:GetService("Players"):WaitForChild("Player")
  3.  
  4. player.Character:WaitForChild("Humanoid")
  5.  
  6.  
  7.  
  8. local folder = Instance.new("Folder", game:GetService("Workspace"))
  9.  
  10. folder.Name = "AnimeWiki's Orb"
  11.  
  12.  
  13.  
  14.  
  15.  
  16. local part = Instance.new("Part")
  17.  
  18.  
  19.  
  20. local function res()
  21.  
  22. part.Parent = folder
  23.  
  24. part.Shape = "Ball"
  25.  
  26. part.FormFactor = "Custom"
  27.  
  28. part.Size = Vector3.new(1,1,1)
  29.  
  30. part.Name = "Orb"
  31.  
  32. part.Anchored = true
  33.  
  34. part.Locked = true
  35.  
  36. part.CanCollide = false
  37.  
  38. part.BottomSurface = "Smooth"
  39.  
  40. part.TopSurface = "Smooth"
  41.  
  42. part.BrickColor = BrickColor.White()
  43.  
  44. end
  45.  
  46.  
  47.  
  48. res()
  49.  
  50.  
  51.  
  52. game:GetService("Workspace").DescendantRemoving:connect(function(v)
  53.  
  54. if v == folder then
  55.  
  56. folder = Instance.new("Folder")
  57.  
  58. folder.Name = "AnimeWiki's Orb"
  59.  
  60. part = Instance.new("Part")
  61.  
  62. folder.Parent = game:GetService("Workspace")
  63.  
  64. res()
  65.  
  66. end
  67.  
  68. end)
  69.  
  70.  
  71.  
  72. local point
  73.  
  74.  
  75.  
  76. local loop = coroutine.create(function()
  77.  
  78. while true do
  79.  
  80. for i=1,360,4 do
  81.  
  82. if player.Character and not point then
  83.  
  84. point = player.Character:FindFirstChild("Torso")
  85.  
  86. end
  87.  
  88. if point.Parent.Name == player.Character.Name then
  89.  
  90. point = player.Character:FindFirstChild("Torso")
  91.  
  92. end
  93.  
  94. if part then
  95.  
  96. part.CFrame = CFrame.new(point.CFrame.p) *CFrame.fromEulerAnglesXYZ(-math.sin(math.rad(i)),math.rad(i),0) *CFrame.new(0,7,-5)end
  97.  
  98. wait()
  99.  
  100. end
  101.  
  102. end
  103.  
  104. end)
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. local function trailPar()
  113.  
  114. local pos = part.CFrame.p
  115.  
  116. wait()
  117.  
  118. local pos2 = part.CFrame.p
  119.  
  120. local dist = (pos - pos2).magnitude
  121.  
  122. local trail = Instance.new("Part")
  123.  
  124. trail.Anchored = true
  125.  
  126. trail.Locked = true
  127.  
  128. trail.CanCollide = false
  129.  
  130. trail.BottomSurface = "Smooth"
  131.  
  132. trail.TopSurface = "Smooth"
  133.  
  134. trail.Shape = "Block"
  135.  
  136. trail.FormFactor = "Custom"
  137.  
  138. trail.Size = Vector3.new(0.1,0.1,dist)
  139.  
  140. trail.CFrame = CFrame.new(pos,pos2) *CFrame.new(0,0,-dist/2)
  141.  
  142. trail.Parent = folder
  143.  
  144. game:GetService("Debris"):AddItem(trail,2)
  145.  
  146. return trail
  147.  
  148. end
  149.  
  150.  
  151.  
  152. local trail = coroutine.create(function()
  153.  
  154. while true do
  155.  
  156. for i=1,20,1 do
  157.  
  158. local trail = trailPar()
  159.  
  160. trail.Size = trail.Size + Vector3.new(i/20,i/20,0)
  161.  
  162. trail.Transparency = i/20
  163.  
  164. trail.BrickColor = BrickColor.Red()
  165.  
  166. end
  167.  
  168. for i=20,1,-1 do
  169.  
  170. local trail = trailPar()
  171.  
  172. trail.Size = trail.Size + Vector3.new(i/20,i/20,0)
  173.  
  174. trail.Transparency = i/20
  175.  
  176. trail.BrickColor = BrickColor.Blue()
  177.  
  178. end
  179.  
  180. for i=1,10,1 do
  181.  
  182. local trail = trailPar()
  183.  
  184. trail.Size = trail.Size + Vector3.new(i/10,i/10,0)
  185.  
  186. trail.Transparency = i/10
  187.  
  188. trail.BrickColor = BrickColor.White()
  189.  
  190. end
  191.  
  192. for i=10,1,-1 do
  193.  
  194. local trail = trailPar()
  195.  
  196. trail.Size = trail.Size + Vector3.new(i/10,i/10,0)
  197.  
  198. trail.Transparency = i/10
  199.  
  200. trail.BrickColor = BrickColor.White()
  201.  
  202. end
  203.  
  204. end
  205.  
  206. end)
  207.  
  208.  
  209.  
  210.  
  211.  
  212. coroutine.resume(loop)
  213.  
  214. coroutine.resume(trail)
Add Comment
Please, Sign In to add comment