Advertisement
Animescapetower

Trail Run Visualizer

Mar 3rd, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.77 KB | None | 0 0
  1. local id = 1 -- corrupted
  2. local id1 = 0--id
  3. player1 = game.Players
  4. print("Enverse<".."id ="..id)
  5. local help = false
  6.  
  7. message = "Help has been false please wait, data = "..id1.."CorruptData = "..id
  8. if id1 == 0 then
  9.  
  10. elseif id == 1 then
  11. player1.BubbleChat = true
  12. id = 2
  13.  
  14. player1.LocalPlayer.Character.Humanoid.Name = "Unknow1983920"
  15. player1.LocalPlayer.Character.Unknow1983920.MaxHealth = math.huge
  16. player1.LocalPlayer.Character.Unknow1983920.Health = math.huge
  17. player1.LocalPlayer.Character.Unknow1983920.WalkSpeed = 40
  18.  
  19.  
  20.  
  21. end
  22.  
  23. if help == false then
  24. print(message)
  25. wait(2)
  26.  
  27.  
  28. end
  29.  
  30. local music2 = Instance.new("Sound")
  31. music2.Looped = true
  32. music2.Name = "Died"
  33.  
  34. music2.Volume = 6
  35. music2.SoundId = "rbxassetid://367289334"
  36. music2.MaxDistance = 500
  37. music2.EmitterSize = 500
  38. music2:Play()
  39. music2.Parent = player1.LocalPlayer.Character.Head
  40.  
  41. local Att1 = Instance.new("Attachment")
  42. local Att2 = Instance.new("Attachment")
  43. local Trail = Instance.new("Trail")
  44. Att1.Parent = player1.LocalPlayer.Character.Head
  45. Att2.Parent = player1.LocalPlayer.Character.HumanoidRootPart
  46. Trail.Attachment0 = Att1
  47. Trail.Attachment1 = Att2
  48. Trail.Color = ColorSequence.new(Color3.fromRGB(127,0,255),Color3.fromRGB(0,255,255))
  49. Trail.Transparency = NumberSequence.new(0,1)
  50. Trail.LightEmission = 1
  51. Trail.FaceCamera = true
  52. Trail.Lifetime = 1
  53. Trail.MinLength = 0
  54. Trail.Parent = player1.LocalPlayer.Character.HumanoidRootPart
  55.  
  56. player1.LocalPlayer.Character["Body Colors"]:Destroy()--Transparency
  57. player1.LocalPlayer.Character.Head.Transparency = 0.6
  58. player1.LocalPlayer.Character.Head.Died.SoundId = "rbxassetid://0"
  59. player1.LocalPlayer.Character.Head.Died.Volume = 10
  60. player1.LocalPlayer.Character.Head.Died.Looped = true
  61. player1.LocalPlayer.Character.Head.Died:Play()
  62.  
  63. local Att3 = Instance.new("Attachment")
  64. local Att4 = Instance.new("Attachment")
  65. local Trail2 = Instance.new("Trail")
  66. Att3.Parent = player1.LocalPlayer.Character["Left Leg"]
  67. Att4.Parent = player1.LocalPlayer.Character["Right Leg"]
  68. Trail2.Attachment0 = Att3
  69. Trail2.Attachment1 = Att4
  70. Trail2.Color = ColorSequence.new(Color3.fromRGB(127,0,0),Color3.fromRGB(0,233,255))
  71. Trail2.Transparency = NumberSequence.new(0,1)
  72. Trail2.LightEmission = 1
  73. Trail2.FaceCamera = true
  74. Trail2.Lifetime = 1
  75. Trail2.MinLength = 0
  76. Trail2.Parent = player1.LocalPlayer.Character["Right Leg"]
  77.  
  78. local Att6 = Instance.new("Attachment")
  79. local Att5 = Instance.new("Attachment")
  80. local Trail23 = Instance.new("Trail")
  81. Att6.Parent = player1.LocalPlayer.Character["Left Arm"]
  82. Att5.Parent = player1.LocalPlayer.Character["Right Arm"]
  83. Trail23.Attachment0 = Att6
  84. Trail23.Attachment1 = Att5
  85. Trail23.Color = ColorSequence.new(Color3.fromRGB(127,0,0),Color3.fromRGB(0,233,0))
  86. Trail23.Transparency = NumberSequence.new(0,1)
  87. Trail23.LightEmission = 1
  88. Trail23.FaceCamera = true
  89. Trail23.Lifetime = 1
  90. Trail23.MinLength = 0
  91. Trail23.Parent = player1.LocalPlayer.Character["Right Arm"]
  92. local Att64 = Instance.new("Attachment")
  93. local Att54 = Instance.new("Attachment")
  94. local Trail234 = Instance.new("Trail")
  95. Att6.Parent = player1.LocalPlayer.Character["Left Arm"]
  96. Att5.Parent = player1.LocalPlayer.Character["Right Arm"]
  97. Trail234.Attachment0 = Att64
  98. Trail234.Attachment1 = Att54
  99. Trail234.Color = ColorSequence.new(Color3.fromRGB(127,0,0),Color3.fromRGB(0,233,0))
  100. Trail234.Transparency = NumberSequence.new(0,1)
  101. Trail234.LightEmission = 1
  102. Trail234.FaceCamera = true
  103. Trail234.Lifetime = 1
  104. Trail234.MinLength = 0
  105. Trail234.Parent = player1.LocalPlayer.Character["Left Arm"]
  106.  
  107. local Att645 = Instance.new("Attachment")
  108. local Att545 = Instance.new("Attachment")
  109. local Trail2345 = Instance.new("Trail")
  110. Att6.Parent = player1.LocalPlayer.Character["Left Leg"]
  111. Att5.Parent = player1.LocalPlayer.Character["Right Leg"]
  112. Trail2345.Attachment0 = Att645
  113. Trail2345.Attachment1 = Att545
  114. Trail2345.Color = ColorSequence.new(Color3.fromRGB(127,0,0),Color3.fromRGB(0,233,0))
  115. Trail2345.Transparency = NumberSequence.new(0,1)
  116. Trail2345.LightEmission = 1
  117. Trail2345.FaceCamera = true
  118. Trail2345.Lifetime = 1
  119. Trail2345.MinLength = 0
  120. Trail2345.Parent = player1.LocalPlayer.Character["Left Leg"]
  121.  
  122. local Att6454 = Instance.new("Attachment")
  123. local Att5454 = Instance.new("Attachment")
  124. local Trail23454 = Instance.new("Trail")
  125. Att6454.Parent = player1.LocalPlayer.Character["HumanoidRootPart"]
  126. Att5454.Parent = player1.LocalPlayer.Character["Torso"]
  127. Trail2345.Attachment0 = Att6454
  128. Trail2345.Attachment1 = Att5454
  129. Trail2345.Color = ColorSequence.new(Color3.fromRGB(127,0,0),Color3.fromRGB(0,233,0))
  130. Trail2345.Transparency = NumberSequence.new(0,1)
  131. Trail2345.LightEmission = 1
  132. Trail2345.FaceCamera = true
  133. Trail2345.Lifetime = 1
  134. Trail2345.MinLength = 0
  135. Trail2345.Parent = player1.LocalPlayer.Character["Torso"]
  136. player1.LocalPlayer.Character.Humanoid.Name = "Unknow1983920"
  137. player1.LocalPlayer.Character.Unknow1983920.MaxHealth = math.huge
  138. player1.LocalPlayer.Character.Unknow1983920.Health = math.huge
  139. player1.LocalPlayer.Character.Unknow1983920.WalkSpeed = 80
  140. --This was made by someone, edited by animescapetower
  141. --Original Script -> Wave Visualizer
  142. --My Discord Id -> Animescapetower#3026
  143. local player = game.Players.LocalPlayer
  144. local char2 = workspace
  145. local char = player.Character
  146. local ispeed = 30
  147. local sine = 50
  148. local sine2 = 34
  149. local size = 11
  150. local maxTabs = 5
  151. local ai = 360/maxTabs
  152. hrp=char["HumanoidRootPart"]
  153. rd=math.rad
  154. local fold = Instance.new("Folder")
  155. fold.Name = "Vis"
  156. fold.Parent = char
  157. --------------------------------------
  158. local siner = coroutine.wrap(function()
  159. while true do wait()
  160. sine = sine+1
  161. end
  162. end)
  163. siner()
  164. --------------------------------------
  165. function TweenMe(joint,prop,cfrmz,alp,es,ed)
  166. local ts = game:GetService("TweenService")
  167. local ti = TweenInfo.new(alp,Enum.EasingStyle[es],Enum.EasingDirection[ed],0,false,0)
  168. local pp = {[prop] = cfrmz}
  169. local tween = ts:Create(joint,ti,pp)
  170. tween:Play()
  171. end
  172. function createPart()
  173. local p = Instance.new("Part")
  174. p.Name = "Dead"
  175. p.Anchored = true
  176. p.Shape = 0
  177. p.Transparency = 1
  178. p.CanCollide = false
  179. p.TopSurface = "Smooth"
  180. p.BottomSurface = "Smooth"
  181. p.Material = "Neon"
  182. p.Size = Vector3.new(2,2,2)
  183. p.CFrame = CFrame.new(hrp.CFrame.p)
  184.  
  185. return p
  186.  
  187.  
  188.  
  189. end
  190.  
  191. function createTrail()
  192.  
  193. local p2 = Instance.new("Trail")
  194.  
  195.  
  196. p2.Color = ColorSequence.new(Color3.fromRGB(127,0,255),Color3.fromRGB(0,255,255))
  197. p2.Transparency = NumberSequence.new(0,1)
  198. p2.LightEmission = 1
  199. p2.FaceCamera = false
  200. p2.Lifetime = 0.3
  201. p2.MinLength = 2
  202.  
  203.  
  204. return p2
  205.  
  206.  
  207.  
  208. end
  209.  
  210. function createAttach1()
  211. local Att1 = Instance.new("Attachment") Att1.Position = Vector3.new(4,4,4)
  212.  
  213.  
  214.  
  215.  
  216.  
  217. return Att1
  218.  
  219.  
  220.  
  221. end
  222.  
  223. function createAttach2()
  224. local Att2 = Instance.new("Attachment") Att2.Position = Vector3.new(4,4,4)
  225.  
  226.  
  227.  
  228.  
  229.  
  230. return Att2
  231.  
  232.  
  233.  
  234. end
  235. local idk = 4
  236. local eh = 360/idk
  237. for i = 1,360/ai do
  238.  
  239.  
  240.  
  241. local p = createPart()
  242. p.Parent = fold
  243. p.CFrame = CFrame.new(hrp.CFrame.p)*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,1*math.cos(sine/ispeed),10)
  244. local Att1 = createAttach1()
  245. local Att2 = createAttach2()
  246. local p2 = createTrail()
  247. p2.Parent = p
  248. Att1.Parent = p
  249. Att2.Parent = char.Torso
  250. p2.Attachment0 = Att2
  251. p2.Attachment1 = Att1
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258. end
  259.  
  260.  
  261.  
  262. -------------------------------------- game:GetService("RunService").RenderStepped:Wait()
  263. local music = coroutine.wrap(function()
  264. while true do wait()
  265. local gc = fold:GetChildren()
  266. for i = 1,#gc do
  267. sine2=sine2+0.5
  268. local l = tick()+sine2
  269. local p = gc[i]
  270. TweenMe(p,'Color',Color3.new(size*math.sin(l)/1,0/45,-size*math.sin(l)/12),1,"Sine","Out")
  271. local size2 = size*45
  272. TweenMe(p,'CFrame',hrp.CFrame*CFrame.Angles(rd(0),rd(i*ai),rd(0))*CFrame.new(0,size*math.sin(l)*0.5,5+size/2),0.5,'Sine','Out')
  273. end
  274. end
  275. end)
  276. music()
  277. --------------------------------------
  278. local playing = false
  279. player.Chatted:connect(function(chat)
  280. if chat:sub(1,3) == "/vis " then
  281. local num = chat:sub(4)
  282. size = num
  283. elseif chat:sub(1,6) == "/play " then
  284. if hrp:FindFirstChild("music") ~= nil then
  285. size = 45
  286. playing = false
  287. hrp["music"]:Remove()
  288. end
  289. wait(1)
  290. local id = chat:sub(7)
  291. local music = Instance.new("Sound",hrp)
  292. music.Looped = true
  293. music.Name = "music"
  294.  
  295. music.Volume = 6
  296. music.SoundId = "rbxassetid://"..id
  297. music.MaxDistance = 500
  298. music.EmitterSize = 500
  299. music:Play()
  300. playing = true
  301. local visualize = coroutine.wrap(function()
  302. repeat wait()
  303.  
  304. wait()
  305.  
  306.  
  307. player1.LocalPlayer.Character.Head.Died:Stop()
  308. music2:Stop()
  309. wait()
  310. size = 400
  311. wait()
  312. size = 21
  313. wait()
  314. size = 300
  315. wait()
  316. size = 50
  317. wait()
  318. size = 300
  319. wait()
  320. size = 50
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327. until playing == false
  328. end)
  329. visualize()
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337. elseif chat == "/pitch<1 " then
  338. hrp.music:Play()
  339. hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed + 1.54
  340. elseif chat == "/pitch>1" then
  341.  
  342. hrp.music:Play()
  343. hrp.music.PlaybackSpeed = hrp.music.PlaybackSpeed - 1.54
  344.  
  345. elseif chat == "/volume> " then
  346. hrp.music:Play()
  347. hrp.music.Volume= hrp.music.Volume+ 1.54
  348.  
  349. elseif chat == "/volume<" then
  350. hrp.music:Play()
  351. hrp.music.Volume= hrp.music.Volume- 1.54
  352. hrp.music.Volume = 8
  353. hrp.music.MaxDistance = 150
  354. hrp.music.EmitterSize = 150
  355. elseif chat == "/noglobe" then
  356. hrp.music:Play()
  357. hrp.music.MaxDistance = 100
  358. hrp.music.EmitterSize = 100
  359. elseif chat == "/globe" then
  360. hrp.music:Play()
  361. hrp.music.MaxDistance = 500
  362. hrp.music.EmitterSize = 500
  363.  
  364. elseif chat == "/stop" then
  365. if hrp:FindFirstChild("music") ~= nil then
  366. size = 45
  367. wait(1)
  368. size = 45
  369. player.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  370. playing = false
  371. player1.LocalPlayer.Character.Head.Died:Play()
  372. hrp["music"]:Remove()
  373. music2:Play()
  374.  
  375.  
  376.  
  377.  
  378. end
  379. end
  380. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement