zephpsian

Untitled

Feb 5th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.33 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99. print([[
  100. ___________________________________
  101.  
  102. Kyutatsuki13's music player script
  103. Build 0161
  104. It's a music player of quality!
  105.  
  106. ___________________________________
  107. ]])
  108.  
  109. player = owner
  110. char = player.Character
  111. hed = char:WaitForChild("Head")
  112. root = char:WaitForChild("HumanoidRootPart")
  113.  
  114.  
  115. vismode = "rainbow"
  116. firstrun = true
  117. asdid = ""
  118. asdtext = ""
  119. asdtimeposition = 0
  120. asdvolume = 0
  121. asdpitch = 0
  122. asdmax = 0
  123. mode = "local"
  124. asdhi=0
  125. asdmi=0
  126. asdlo=0
  127. asddist=0
  128. asdopen=false
  129. asdcolor = false
  130. synctarget = nil
  131. foundsound = false
  132.  
  133. mathrandom={x=0;y=0;z=0;}
  134.  
  135. local rdmx = math.random(0,1)
  136. local rdmy = math.random(0,1)
  137. local rdmz = math.random(0,1)
  138. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  139. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  140. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  141.  
  142. local origcolor = BrickColor.new("Really red")
  143. bc = BrickColor.new
  144. br = BrickColor.random
  145. it = Instance.new
  146. cf = CFrame.new
  147. euler = CFrame.fromEulerAnglesXYZ
  148. angles = CFrame.Angles
  149. matr = math.random
  150. it = Instance.new
  151. vt = Vector3.new
  152. cf = CFrame.new
  153. bc = BrickColor.new
  154.  
  155.  
  156. local leftkey = false
  157. local rightkey = false
  158. local typerot = 1
  159. local rotspeed = 1
  160. local negrotspeed = -1
  161. function swait(num)
  162. if num==0 or num==nil then
  163. game:service'RunService'.Stepped:wait(0)
  164. else
  165. for i=0,num do
  166. game:service'RunService'.Stepped:wait(0)
  167. end
  168. end
  169. end
  170.  
  171. local Create = LoadLibrary("RbxUtility").Create
  172.  
  173. CFuncs = {
  174. ["Part"] = {
  175. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  176. local Part = Create("Part"){
  177. Parent = Parent,
  178. Reflectance = Reflectance,
  179. Transparency = Transparency,
  180. CanCollide = false,
  181. Locked = true,
  182. BrickColor = BrickColor.new(tostring(BColor)),
  183. Name = Name,
  184. Size = Size,
  185. Material = Material,
  186. }
  187. RemoveOutlines(Part)
  188. return Part
  189. end;
  190. };
  191.  
  192. ["Mesh"] = {
  193. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  194. local Msh = Create(Mesh){
  195. Parent = Part,
  196. Offset = OffSet,
  197. Scale = Scale,
  198. }
  199. if Mesh == "SpecialMesh" then
  200. Msh.MeshType = MeshType
  201. Msh.MeshId = MeshId
  202. end
  203. return Msh
  204. end;
  205. };
  206.  
  207. ["Mesh"] = {
  208. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  209. local Msh = Create(Mesh){
  210. Parent = Part,
  211. Offset = OffSet,
  212. Scale = Scale,
  213. }
  214. if Mesh == "SpecialMesh" then
  215. Msh.MeshType = MeshType
  216. Msh.MeshId = MeshId
  217. end
  218. return Msh
  219. end;
  220. };
  221.  
  222. ["Weld"] = {
  223. Create = function(Parent, Part0, Part1, C0, C1)
  224. local Weld = Create("Weld"){
  225. Parent = Parent,
  226. Part0 = Part0,
  227. Part1 = Part1,
  228. C0 = C0,
  229. C1 = C1,
  230. }
  231. return Weld
  232. end;
  233. };
  234.  
  235. ["Sound"] = {
  236. Create = function(id, par, vol, pit)
  237. coroutine.resume(coroutine.create(function()
  238. local S = Create("Sound"){
  239. Volume = vol,
  240. Pitch = pit or 1,
  241. SoundId = id,
  242. Parent = par or workspace,
  243. }
  244. wait()
  245. S:play()
  246. game:GetService("Debris"):AddItem(S, 10)
  247. end))
  248. end;
  249. };
  250.  
  251. ["ParticleEmitter"] = {
  252. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  253. local fp = Create("ParticleEmitter"){
  254. Parent = Parent,
  255. Color = ColorSequence.new(Color1, Color2),
  256. LightEmission = LightEmission,
  257. Size = Size,
  258. Texture = Texture,
  259. Transparency = Transparency,
  260. ZOffset = ZOffset,
  261. Acceleration = Accel,
  262. Drag = Drag,
  263. LockedToPart = LockedToPart,
  264. VelocityInheritance = VelocityInheritance,
  265. EmissionDirection = EmissionDirection,
  266. Enabled = Enabled,
  267. Lifetime = LifeTime,
  268. Rate = Rate,
  269. Rotation = Rotation,
  270. RotSpeed = RotSpeed,
  271. Speed = Speed,
  272. VelocitySpread = VelocitySpread,
  273. }
  274. return fp
  275. end;
  276. };
  277.  
  278. CreateTemplate = {
  279.  
  280. };
  281. }
  282.  
  283.  
  284.  
  285. New = function(Object, Parent, Name, Data)
  286. local Object = Instance.new(Object)
  287. for Index, Value in pairs(Data or {}) do
  288. Object[Index] = Value
  289. end
  290. Object.Parent = Parent
  291. Object.Name = Name
  292. return Object
  293. end
  294.  
  295. function CreateSound(asd)
  296. if synctarget == nil then
  297. if mode == "local" then
  298. soundparent=char:WaitForChild("Torso")
  299. else
  300. soundparent=char
  301. end
  302. local sound = Instance.new("Sound",soundparent)
  303. sound.Name = "KyuSound"
  304. sound.Looped = true
  305. effect = Instance.new("EqualizerSoundEffect",sound)
  306. coroutine.resume(coroutine.create(function()
  307. distort = Instance.new("DistortionSoundEffect",sound)
  308. end))
  309. if asd ~= nil then
  310. sound.SoundId = asdid
  311. sound.TimePosition = asdtimeposition
  312. end
  313. sound:Play()
  314. end
  315. end
  316.  
  317. function fetchName(id)
  318. cast = false
  319. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
  320. if cast == true then
  321. repeat rs:wait()
  322. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
  323. asdfname = product.Name
  324. until asdfname ~= nil
  325. else
  326. asdfname = ""
  327. end
  328. return asdfname
  329. end
  330.  
  331. function scan(instance)
  332. if instance.ClassName == "Sound" then
  333. if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then
  334. asdid = instance.SoundId
  335. sound = instance
  336. foundsound = true
  337. print("Sync to sound :)")
  338. end
  339. end
  340. for _,children in pairs(instance:GetChildren()) do scan(children) end
  341. end
  342.  
  343. function drawgui()
  344.  
  345. Prefix = "/"
  346. function findPlayer(name)
  347. for _, players in pairs(game:getService("Players"):GetPlayers()) do
  348. if players.Name:lower():find(name:lower()) then
  349. return players
  350. end
  351. end
  352. end
  353.  
  354. if firstrun == true then
  355. player.Chatted:connect(function(msg)
  356. if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then
  357. local v = msg:sub(#Prefix+#'sync '+1)
  358. foundsound = false
  359. synctarget = findPlayer(v)
  360. end
  361. end)
  362. end
  363.  
  364. naeeym2 = Instance.new("BillboardGui",root)
  365. naeeym2.Size = UDim2.new(10, 0, 4, 0)
  366. naeeym2.StudsOffset = Vector3.new(0, 7, 0)
  367. naeeym2.Adornee = root
  368. naeeym2.Name = "TalkingBillBoard"
  369. tecks2 = Instance.new("TextLabel",naeeym2)
  370. tecks2.BackgroundTransparency = 1
  371. tecks2.BorderSizePixel = 0
  372. if firstrun == true then
  373. tecks2.Text = ""
  374. else
  375. tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  376. end
  377. tecks2.Font = "Fantasy"
  378. tecks2.TextSize = 25
  379. tecks2.Size = UDim2.new(1,0,1,0)
  380. tecks2.TextStrokeTransparency = 0
  381. tecks2.TextTransparency = 0
  382.  
  383. parent = player.PlayerGui
  384. ScreenGui0 = Instance.new("ScreenGui")
  385. TextButton1 = Instance.new("TextButton")
  386. Frame2 = Instance.new("Frame")
  387. TextBox3 = Instance.new("TextBox")
  388. TextButton4 = Instance.new("TextButton")
  389. Frame5 = Instance.new("Frame")
  390. Frame6 = Instance.new("Frame")
  391. Frame7 = Instance.new("Frame")
  392. TextLabel8 = Instance.new("TextLabel")
  393. TextButton9 = Instance.new("TextButton")
  394. Frame10 = Instance.new("Frame")
  395. Frame11 = Instance.new("Frame")
  396. TextLabel12 = Instance.new("TextLabel")
  397. TextButton13 = Instance.new("TextButton")
  398. TextButton14 = Instance.new("TextButton")
  399. Frame15 = Instance.new("Frame")
  400. Frame16 = Instance.new("Frame")
  401. Frame17 = Instance.new("Frame")
  402. TextButton18 = Instance.new("TextButton")
  403. TextLabel19 = Instance.new("TextLabel")
  404. Frame20 = Instance.new("Frame")
  405. Frame21 = Instance.new("Frame")
  406. TextButton22 = Instance.new("TextButton")
  407. TextLabel23 = Instance.new("TextLabel")
  408. Frame24 = Instance.new("Frame")
  409. Frame25 = Instance.new("Frame")
  410. TextButton26 = Instance.new("TextButton")
  411. TextLabel27 = Instance.new("TextLabel")
  412. Frame28 = Instance.new("Frame")
  413. Frame29 = Instance.new("Frame")
  414. TextButton30 = Instance.new("TextButton")
  415. TextLabel31 = Instance.new("TextLabel")
  416. Frame32 = Instance.new("Frame")
  417. TextButton33 = Instance.new("TextButton")
  418. TextButton34 = Instance.new("TextButton")
  419. ScreenGui0.Name = "MusicPlayerKyu"
  420. ScreenGui0.Parent = parent
  421. TextButton1.AnchorPoint = Vector2.new(0, 0.5)
  422. TextButton1.Name = "Open/Close"
  423. TextButton1.Parent = ScreenGui0
  424. TextButton1.Size = UDim2.new(0, 20, 0, 300)
  425. TextButton1.Text = ">>"
  426. TextButton1.Position = UDim2.new(0, 0, 0.5, 0)
  427. TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
  428. TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
  429. TextButton1.Font = Enum.Font.Code
  430. Frame2.AnchorPoint = Vector2.new(0, 0.5)
  431. Frame2.Name = "Core"
  432. Frame2.Parent = ScreenGui0
  433. Frame2.Size = UDim2.new(0, 500, 0, 300)
  434. Frame2.Position = UDim2.new(0, 20, 0.5, 0)
  435. Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
  436. Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
  437. TextBox3.Name = "ID"
  438. TextBox3.Parent = Frame2
  439. TextBox3.Size = UDim2.new(0, 100, 0, 100)
  440. if firstrun == true then
  441. TextBox3.Text = "ID"
  442. else
  443. TextBox3.Text = asdtext
  444. end
  445. TextBox3.Position = UDim2.new(0, 50, 0, 20)
  446. TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
  447. TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
  448. TextBox3.Font = Enum.Font.SciFi
  449. TextBox3.FontSize = Enum.FontSize.Size14
  450. TextButton4.Name = "Play"
  451. TextButton4.Parent = TextBox3
  452. TextButton4.Size = UDim2.new(1, 0, 0, 20)
  453. TextButton4.Text = "PLAY"
  454. TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
  455. TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
  456. TextButton4.Font = Enum.Font.SciFi
  457. TextButton4.FontSize = Enum.FontSize.Size14
  458. TextButton4.AnchorPoint = Vector2.new(0.5, 0)
  459. Frame5.Name = "SettingsPanel"
  460. Frame5.Parent = Frame2
  461. Frame5.Size = UDim2.new(0, 300, 0, 150)
  462. Frame5.Position = UDim2.new(1, -20, 0, 20)
  463. Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  464. Frame5.AnchorPoint = Vector2.new(1, 0)
  465. Frame6.Name = "Volume"
  466. Frame6.Parent = Frame5
  467. Frame6.Transparency = 0
  468. Frame6.Size = UDim2.new(0, 100, 0, 100)
  469. Frame6.Position = UDim2.new(0, 100, 0.5, 0)
  470. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  471. Frame6.BackgroundTransparency = 1
  472. Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
  473. Frame7.Name = "Line"
  474. Frame7.Parent = Frame6
  475. Frame7.Size = UDim2.new(0, 1, 1, 0)
  476. Frame7.Position = UDim2.new(0.5, 0, 0, 0)
  477. Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  478. Frame7.BorderSizePixel = 0
  479. Frame7.AnchorPoint = Vector2.new(0.5, 0)
  480. TextLabel8.Name = "Text"
  481. TextLabel8.Parent = Frame6
  482. TextLabel8.Transparency = 0
  483. TextLabel8.Text = "Volume"
  484. TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
  485. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  486. TextLabel8.BackgroundTransparency = 1
  487. TextLabel8.Font = Enum.Font.SourceSans
  488. TextLabel8.FontSize = Enum.FontSize.Size10
  489. TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
  490. TextButton9.Name = "DragVol"
  491. TextButton9.Parent = Frame6
  492. TextButton9.Size = UDim2.new(0, 20, 0, 10)
  493. TextButton9.Text = ""
  494. if firstrun == true then
  495. TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
  496. else
  497. TextButton9.Position = asdvolume
  498. end
  499. TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  500. TextButton9.Font = Enum.Font.SourceSans
  501. TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
  502. Frame10.Name = "Pitch"
  503. Frame10.Parent = Frame5
  504. Frame10.Transparency = 0
  505. Frame10.Size = UDim2.new(0, 100, 0, 100)
  506. Frame10.Position = UDim2.new(0, 50, 0.5, 0)
  507. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  508. Frame10.BackgroundTransparency = 1
  509. Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
  510. Frame11.Name = "Line"
  511. Frame11.Parent = Frame10
  512. Frame11.Size = UDim2.new(0, 1, 1, 0)
  513. Frame11.Position = UDim2.new(0.5, 0, 0, 0)
  514. Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  515. Frame11.BorderSizePixel = 0
  516. Frame11.AnchorPoint = Vector2.new(0.5, 0)
  517. TextLabel12.Name = "Text"
  518. TextLabel12.Parent = Frame10
  519. TextLabel12.Transparency = 0
  520. TextLabel12.Text = "Pitch"
  521. TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
  522. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  523. TextLabel12.BackgroundTransparency = 1
  524. TextLabel12.Font = Enum.Font.SourceSans
  525. TextLabel12.FontSize = Enum.FontSize.Size10
  526. TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
  527. TextButton13.Name = "DragPitch"
  528. TextButton13.Parent = Frame10
  529. TextButton13.Size = UDim2.new(0, 20, 0, 10)
  530. TextButton13.Text = ""
  531. if firstrun == true then
  532. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  533. else
  534. TextButton13.Position = asdpitch
  535. end
  536. TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  537. TextButton13.Font = Enum.Font.SourceSans
  538. TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
  539. TextButton14.Name = "Reset"
  540. TextButton14.Parent = Frame10
  541. TextButton14.Size = UDim2.new(0, 20, 0, 20)
  542. TextButton14.Text = ""
  543. TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
  544. TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  545. TextButton14.Font = Enum.Font.SourceSans
  546. TextButton14.FontSize = Enum.FontSize.Size14
  547. TextButton14.AnchorPoint = Vector2.new(1, 0.5)
  548. Frame15.Name = "Others"
  549. Frame15.Parent = Frame5
  550. Frame15.Transparency = 0
  551. Frame15.Size = UDim2.new(0, 100, 0, 100)
  552. Frame15.Position = UDim2.new(0, 210, 0.5, 0)
  553. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  554. Frame15.BackgroundTransparency = 1
  555. Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
  556. Frame16.Name = "Low"
  557. Frame16.Parent = Frame15
  558. Frame16.Transparency = 0
  559. Frame16.Size = UDim2.new(0, 0, 1, 0)
  560. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  561. Frame16.BackgroundTransparency = 1
  562. Frame17.Name = "Line"
  563. Frame17.Parent = Frame16
  564. Frame17.Size = UDim2.new(0, 1, 1, 0)
  565. Frame17.Position = UDim2.new(0.5, 0, 0, 0)
  566. Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  567. Frame17.BorderSizePixel = 0
  568. Frame17.AnchorPoint = Vector2.new(0.5, 0)
  569. TextButton18.Name = "DragLow"
  570. TextButton18.Parent = Frame16
  571. TextButton18.Size = UDim2.new(0, 20, 0, 10)
  572. TextButton18.Text = ""
  573. if firstrun == true then
  574. TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
  575. else
  576. TextButton18.Position = asdlo
  577. end
  578. TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  579. TextButton18.Font = Enum.Font.SourceSans
  580. TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
  581. TextLabel19.Name = "Text"
  582. TextLabel19.Parent = Frame16
  583. TextLabel19.Transparency = 0
  584. TextLabel19.Text = "Low"
  585. TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
  586. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  587. TextLabel19.BackgroundTransparency = 1
  588. TextLabel19.Font = Enum.Font.SourceSans
  589. TextLabel19.FontSize = Enum.FontSize.Size10
  590. TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
  591. Frame20.Name = "Medium"
  592. Frame20.Parent = Frame15
  593. Frame20.Transparency = 0
  594. Frame20.Size = UDim2.new(0, 0, 1, 0)
  595. Frame20.Position = UDim2.new(0, 40, 0, 0)
  596. Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
  597. Frame20.BackgroundTransparency = 1
  598. Frame21.Name = "Line"
  599. Frame21.Parent = Frame20
  600. Frame21.Size = UDim2.new(0, 1, 1, 0)
  601. Frame21.Position = UDim2.new(0.5, 0, 0, 0)
  602. Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  603. Frame21.BorderSizePixel = 0
  604. Frame21.AnchorPoint = Vector2.new(0.5, 0)
  605. TextButton22.Name = "DragMed"
  606. TextButton22.Parent = Frame20
  607. TextButton22.Size = UDim2.new(0, 20, 0, 10)
  608. TextButton22.Text = ""
  609. if firstrun == true then
  610. TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
  611. else
  612. TextButton22.Position = asdmi
  613. end
  614. TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  615. TextButton22.Font = Enum.Font.SourceSans
  616. TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
  617. TextLabel23.Name = "Text"
  618. TextLabel23.Parent = Frame20
  619. TextLabel23.Transparency = 0
  620. TextLabel23.Text = "Medium"
  621. TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
  622. TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
  623. TextLabel23.BackgroundTransparency = 1
  624. TextLabel23.Font = Enum.Font.SourceSans
  625. TextLabel23.FontSize = Enum.FontSize.Size10
  626. TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
  627. Frame24.Name = "High"
  628. Frame24.Parent = Frame15
  629. Frame24.Transparency = 0
  630. Frame24.Size = UDim2.new(0, 0, 1, 0)
  631. Frame24.Position = UDim2.new(0, 80, 0, 0)
  632. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  633. Frame24.BackgroundTransparency = 1
  634. Frame25.Name = "Line"
  635. Frame25.Parent = Frame24
  636. Frame25.Size = UDim2.new(0, 1, 1, 0)
  637. Frame25.Position = UDim2.new(0.5, 0, 0, 0)
  638. Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  639. Frame25.BorderSizePixel = 0
  640. Frame25.AnchorPoint = Vector2.new(0.5, 0)
  641. TextButton26.Name = "DragHigh"
  642. TextButton26.Parent = Frame24
  643. TextButton26.Size = UDim2.new(0, 20, 0, 10)
  644. TextButton26.Text = ""
  645. if firstrun == true then
  646. TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
  647. else
  648. TextButton26.Position = asdhi
  649. end
  650. TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  651. TextButton26.Font = Enum.Font.SourceSans
  652. TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
  653. TextLabel27.Name = "Text"
  654. TextLabel27.Parent = Frame24
  655. TextLabel27.Transparency = 0
  656. TextLabel27.Text = "High"
  657. TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
  658. TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  659. TextLabel27.BackgroundTransparency = 1
  660. TextLabel27.Font = Enum.Font.SourceSans
  661. TextLabel27.FontSize = Enum.FontSize.Size10
  662. TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
  663. Frame28.Name = "Distortion"
  664. Frame28.Parent = Frame15
  665. Frame28.Transparency = 0
  666. Frame28.Size = UDim2.new(0, 0, 1, 0)
  667. Frame28.Position = UDim2.new(0, 120, 0, 0)
  668. Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
  669. Frame28.BackgroundTransparency = 1
  670. Frame29.Name = "Line"
  671. Frame29.Parent = Frame28
  672. Frame29.Size = UDim2.new(0, 1, 1, 0)
  673. Frame29.Position = UDim2.new(0.5, 0, 0, 0)
  674. Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  675. Frame29.BorderSizePixel = 0
  676. Frame29.AnchorPoint = Vector2.new(0.5, 0)
  677. TextButton30.Name = "DragDist"
  678. TextButton30.Parent = Frame28
  679. TextButton30.Size = UDim2.new(0, 20, 0, 10)
  680. TextButton30.Text = ""
  681. if firstrun == true then
  682. TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
  683. else
  684. TextButton30.Position = asddist
  685. end
  686. TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  687. TextButton30.Font = Enum.Font.SourceSans
  688. TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
  689. TextLabel31.Name = "Text"
  690. TextLabel31.Parent = Frame28
  691. TextLabel31.Transparency = 0
  692. TextLabel31.Text = "Dist"
  693. TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
  694. TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
  695. TextLabel31.BackgroundTransparency = 1
  696. TextLabel31.Font = Enum.Font.SourceSans
  697. TextLabel31.FontSize = Enum.FontSize.Size10
  698. TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
  699. Frame32.Name = "Line"
  700. Frame32.Parent = Frame5
  701. Frame32.Size = UDim2.new(0, 1, 1, -20)
  702. Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
  703. Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  704. Frame32.BorderSizePixel = 0
  705. Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
  706. TextButton33.Name = "Global/Local"
  707. TextButton33.Parent = Frame2
  708. TextButton33.Size = UDim2.new(0, 100, 0, 100)
  709. if mode == "local" then
  710. TextButton33.Text = "LOCAL"
  711. else
  712. TextButton33.Text = "GLOBAL"
  713. end
  714. TextButton33.Position = UDim2.new(0, 50, 0, 180)
  715. TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
  716. TextButton33.Font = Enum.Font.SciFi
  717. TextButton33.FontSize = Enum.FontSize.Size14
  718. TextButton34.Name = "Style"
  719. TextButton34.Parent = Frame2
  720. TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
  721. TextButton34.Text = "Style: "..vismode
  722. TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
  723. TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  724. TextButton34.Font = Enum.Font.SciFi
  725. TextButton34.FontSize = Enum.FontSize.Size14
  726. TextButton34.TextColor3 = Color3.new(1, 1, 0)
  727. TextButton34.AnchorPoint = Vector2.new(0.5, 0)
  728. Frame2.Visible = asdopen
  729.  
  730. draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
  731. held = false
  732. trigger = nil
  733. base = UDim2.new(0,0,0,0)
  734.  
  735. TextButton1.MouseButton1Click:connect(function()
  736. if Frame2.Visible == true then
  737. Frame2.Visible = false
  738. asdopen = false
  739. TextButton1.Text = ">>"
  740. else
  741. Frame2.Visible = true
  742. asdopen = true
  743. TextButton1.Text = "<<"
  744. end
  745. end)
  746.  
  747. TextButton4.MouseButton1Click:connect(function()
  748. if mode == "local" then
  749. if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
  750. else
  751. if not char:FindFirstChild("KyuSound") then CreateSound() end
  752. end
  753. synctarget = nil
  754. sound:Stop()
  755. soundname = fetchName(TextBox3.Text)
  756. tecks2.Text = soundname
  757. asdid = "rbxassetid://"..TextBox3.Text
  758. sound:Play()
  759. end)
  760.  
  761. TextButton14.MouseButton1Click:connect(function()
  762. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  763. end)
  764.  
  765. TextButton33.MouseButton1Click:connect(function()
  766. if synctarget == nil then
  767. if mode == "local" then
  768. mode = "global"
  769. TextButton33.Text = "GLOBAL"
  770. if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  771. sound:Pause()
  772. sound.Parent = char
  773. sound:Resume()
  774. end
  775. else
  776. mode = "local"
  777. TextButton33.Text = "LOCAL"
  778. if char:FindFirstChild("KyuSound") then
  779. sound:Pause()
  780. sound.Parent = char:WaitForChild("Torso")
  781. sound:Resume()
  782. end
  783. end
  784. end
  785. end)
  786.  
  787. function changemode()
  788. if vismode == "nothing" then
  789. vismode = "rainbow"
  790. local rdmx = math.random(0,1)
  791. local rdmy = math.random(0,1)
  792. local rdmz = math.random(0,1)
  793. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  794. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  795. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  796. elseif vismode == "rainbow" then
  797. vismode = "classic"
  798. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  799. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  800. part:Destroy()
  801. elseif vismode == "classic" then
  802. vismode = "trail"
  803. local rdmx = math.random(0,1)
  804. local rdmy = math.random(0,1)
  805. local rdmz = math.random(0,1)
  806. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  807. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  808. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  809. elseif vismode == "trail" then
  810. part:Destroy()
  811. vismode = "nooby"
  812. elseif vismode == "nooby" then
  813. vismode = "trail kyu"
  814. centralpart:Destroy()
  815. local rdmx = math.random(0,1)
  816. local rdmy = math.random(0,1)
  817. local rdmz = math.random(0,1)
  818. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  819. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  820. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  821. elseif vismode == "trail kyu" then
  822. part:Destroy()
  823. vismode = "nothing"
  824. end
  825. end
  826.  
  827. TextButton34.MouseButton1Click:connect(function()
  828. changemode()
  829. end)
  830.  
  831. for i,v in pairs(draggable) do
  832. v.MouseButton1Down:connect(function()
  833. trigger = v
  834. base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
  835. held = true
  836. end)
  837. v.MouseButton1Up:connect(function()
  838. base = UDim2.new(0.5,0,0.5,0)
  839. trigger = nil
  840. held = false
  841. end)
  842. end
  843.  
  844. mouse.Button1Up:connect(function()
  845. base = UDim2.new(0.5,0,0.5,0)
  846. trigger = nil
  847. held = false
  848. end)
  849.  
  850.  
  851. max = asdmax
  852. Visualiser = Instance.new("Model",char)
  853. Visualiser2 = Instance.new("Model",Visualiser)
  854. Visualiser2.Name = "VisualiserK"
  855. Main = Instance.new("Part",Visualiser)
  856. Main.Name = "VisualiserClassic"
  857. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  858. Main.CanCollide = false
  859. Main.Size = Vector3.new(1,1,1)
  860. Main.Transparency = 1
  861. Visualiserpos = Instance.new("Attachment",Main)
  862. Visualiserpos.Position = Vector3.new(5,0,0)
  863. Visualiserpos2 = Instance.new("Attachment",Main)
  864. Visualiserpos2.Position = Vector3.new(-5,0,0)
  865. bp = Instance.new("BodyPosition",Main)
  866. bp.P = 3500
  867. ba = Instance.new("BodyAngularVelocity",Main)
  868. firstrun = false
  869. end
  870.  
  871. local i = 0
  872.  
  873. while wait() do
  874.  
  875. script.Parent = nil
  876. char = player.Character
  877. root = char:WaitForChild("HumanoidRootPart")
  878.  
  879. if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
  880. drawgui()
  881. CreateSound("BACKUP")
  882. end
  883.  
  884. if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
  885. CreateSound("BACKUP")
  886. end
  887.  
  888. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  889. asdvolume = sound.Volume
  890. asdtimeposition = sound.TimePosition
  891. end
  892.  
  893. if sound.SoundId ~= asdid and synctarget == nil then
  894. sound:Stop()
  895. sound.SoundId = asdid
  896. soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  897. sound.TimePosition = asdtimeposition
  898. sound:Play()
  899. end
  900.  
  901. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  902. if max < sound.PlaybackLoudness then
  903. max = sound.PlaybackLoudness
  904. end
  905. if max > 0 then
  906. max = max -1
  907. end
  908. if not sound:FindFirstChild("EqualizerSoundEffect") then
  909. effect = Instance.new("EqualizerSoundEffect",sound)
  910. end
  911. if not sound:FindFirstChild("DistortionSoundEffect") then
  912. coroutine.resume(coroutine.create(function()
  913. distort = Instance.new("DistortionSoundEffect",sound)
  914. end))
  915. end
  916. sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
  917. sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  918. coroutine.resume(coroutine.create(function()
  919. distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
  920. end))
  921. effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
  922. effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
  923. effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
  924. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  925. local change = 0.1+(max/5000)
  926. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  927. v.Transparency = v.Transparency + 0.05
  928. local light = v:FindFirstChildOfClass("PointLight")
  929. light.Brightness = 2+sound.PlaybackLoudness/25
  930. light.Range = 5+sound.PlaybackLoudness/10
  931. if v.Transparency >= 1 then
  932. v:Destroy()
  933. end
  934. end
  935. else
  936. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  937. local change = 0.1
  938. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  939. v.Transparency = v.Transparency + 0.05
  940. if v.Transparency >= 1 then
  941. v:Destroy()
  942. end
  943. end
  944. end
  945. if vismode == "classic" then
  946. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  947. blockm = Instance.new("BlockMesh",block)
  948. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  949. change = sound.PlaybackLoudness/80
  950. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  951. end
  952. block.Anchored = true
  953. block.CanCollide = false
  954. block.Material = Enum.Material.Neon
  955. block.Size = Vector3.new(1,1,1)
  956. light = Instance.new("PointLight",block)
  957. light.Color = Color3.fromHSV(0,0,1)
  958. light.Brightness = 2+sound.PlaybackLoudness/25
  959. light.Range = 5+sound.PlaybackLoudness/10
  960. block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  961. --------------
  962. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  963. blockm = Instance.new("BlockMesh",block)
  964. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  965. change = sound.PlaybackLoudness/80
  966. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  967. end
  968. block.Anchored = true
  969. block.CanCollide = false
  970. block.Material = Enum.Material.Neon
  971. block.Size = Vector3.new(1,1,1)
  972. light = Instance.new("PointLight",block)
  973. light.Color = Color3.fromHSV(0,0,1)
  974. light.Brightness = 2+sound.PlaybackLoudness/25
  975. light.Range = 5+sound.PlaybackLoudness/10
  976. block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  977.  
  978. ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0)
  979. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  980. tecks2.TextColor3 = Color3.fromHSV(0,0,0)
  981. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1)
  982. elseif vismode == "rainbow" then
  983. if not char:FindFirstChild("VisualiserRGB") then
  984. part=Instance.new("Part",char)
  985. part.Name="VisualiserRGB"
  986. part.Position=root.Position + Vector3.new(0,10,0)
  987. part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  988. blockmesh=Instance.new("BlockMesh",part)
  989. end
  990. if not part:FindFirstChildOfClass("BodyPosition") then
  991. bp2=Instance.new("BodyPosition",part)
  992. end
  993. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  994. ba2=Instance.new("BodyAngularVelocity",part)
  995. end
  996. if not part:FindFirstChildOfClass("PointLight") then
  997. light=Instance.new("PointLight",part)
  998. end
  999. part.Color = Color3.fromHSV(i,1,1)
  1000. light.Color = Color3.fromHSV(i,1,1)
  1001. light.Brightness = 2+sound.PlaybackLoudness/25
  1002. light.Range = 5+sound.PlaybackLoudness/10
  1003. part:BreakJoints()
  1004. part.CanCollide = false
  1005. part.Material = Enum.Material.Neon
  1006. blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150))
  1007. part.Size = Vector3.new(1,1,1)
  1008. bp2.Position = root.Position + Vector3.new(0,10,0)
  1009. ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
  1010. tecks2.TextColor3 = Color3.fromHSV(0,0,1)
  1011. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  1012.  
  1013. if i >= 1 then
  1014. i = 0
  1015. else
  1016. i = i + 0.005
  1017. end
  1018.  
  1019. elseif vismode == "trail" then
  1020.  
  1021. if not char:FindFirstChild("VisualiserRGB") then
  1022. local function createtrail(part0,part1,parent)
  1023. local trail = Instance.new("Trail",parent)
  1024. trail.Attachment0 = part0
  1025. trail.Attachment1 = part1
  1026. trail.MinLength = 0
  1027. trail.Lifetime = 0.05
  1028. trail.LightEmission = 1
  1029. trail.LightInfluence = 0
  1030. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  1031. --trail.Transparency = NumberSequence.new(0,1)
  1032. end
  1033. part=Instance.new("Part",char)
  1034. part.Name="VisualiserRGB"
  1035. part.Position=root.Position + Vector3.new(0,10,0)
  1036. part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  1037. blockmesh=Instance.new("BlockMesh",part)
  1038. A = Instance.new("Attachment",part)
  1039. B = Instance.new("Attachment",part)
  1040. C = Instance.new("Attachment",part)
  1041. D = Instance.new("Attachment",part)
  1042. E = Instance.new("Attachment",part)
  1043. F = Instance.new("Attachment",part)
  1044. G = Instance.new("Attachment",part)
  1045. H = Instance.new("Attachment",part)
  1046. A.Position = Vector3.new(1,1,1)
  1047. B.Position = Vector3.new(1,-1,1)
  1048. C.Position = Vector3.new(-1,1,1)
  1049. D.Position = Vector3.new(-1,-1,1)
  1050.  
  1051. E.Position = Vector3.new(1,1,-1)
  1052. F.Position = Vector3.new(1,-1,-1)
  1053. G.Position = Vector3.new(-1,1,-1)
  1054. H.Position = Vector3.new(-1,-1,-1)
  1055. createtrail(A,E,part)
  1056. createtrail(B,F,part)
  1057. createtrail(C,G,part)
  1058. createtrail(D,H,part)
  1059. createtrail(A,B,part)
  1060. createtrail(C,D,part)
  1061. createtrail(E,F,part)
  1062. createtrail(G,H,part)
  1063. createtrail(A,C,part)
  1064. createtrail(B,D,part)
  1065. createtrail(E,G,part)
  1066. createtrail(F,H,part)
  1067. end
  1068. if not part:FindFirstChildOfClass("BodyPosition") then
  1069. bp2=Instance.new("BodyPosition",part)
  1070. end
  1071. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  1072. ba2=Instance.new("BodyAngularVelocity",part)
  1073. end
  1074. if not part:FindFirstChildOfClass("PointLight") then
  1075. light=Instance.new("PointLight",part)
  1076. end
  1077. part.Color = Color3.fromHSV(i,1,1)
  1078. light.Color = Color3.fromHSV(i,1,1)
  1079. light.Brightness = 2+sound.PlaybackLoudness/25
  1080. light.Range = 5+sound.PlaybackLoudness/10
  1081. part:BreakJoints()
  1082. part.CanCollide = false
  1083. part.Material = Enum.Material.Neon
  1084. local asd = 1+(sound.PlaybackLoudness/150)
  1085. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  1086. part.Size = Vector3.new(1,1,1)
  1087. bp2.Position = root.Position + Vector3.new(0,10,0)
  1088. ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
  1089. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  1090. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  1091. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  1092. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  1093. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  1094. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  1095.  
  1096. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  1097. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  1098. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  1099. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  1100.  
  1101. if i >= 0.8 then
  1102. asdcolor = true
  1103. elseif i <= 0.5 then
  1104. asdcolor = false
  1105. end
  1106.  
  1107. if asdcolor == true then
  1108. i = i - 0.001
  1109. else
  1110. i = i + 0.001
  1111. end
  1112. elseif vismode == "trail kyu" then
  1113.  
  1114. if not char:FindFirstChild("VisualiserRGB") then
  1115. local function createtrail(part0,part1,parent)
  1116. local trail = Instance.new("Trail",parent)
  1117. trail.Attachment0 = part0
  1118. trail.Attachment1 = part1
  1119. trail.MinLength = 0
  1120. trail.Lifetime = 0.05
  1121. trail.LightEmission = 1
  1122. trail.LightInfluence = 0
  1123. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  1124. --trail.Transparency = NumberSequence.new(0,1)
  1125. end
  1126. part=Instance.new("Part",char)
  1127. part.Name="VisualiserRGB"
  1128. part.Position=root.Position + Vector3.new(0,10,0)
  1129. part.CFrame = CFrame.new(part.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  1130. blockmesh=Instance.new("BlockMesh",part)
  1131. part2=part:Clone()
  1132. part2.Parent = part
  1133. part2.Transparency = 1
  1134. part2.CFrame = CFrame.new(part2.Position)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
  1135.  
  1136. A = Instance.new("Attachment",part)
  1137. B = Instance.new("Attachment",part)
  1138. C = Instance.new("Attachment",part)
  1139. D = Instance.new("Attachment",part)
  1140. E = Instance.new("Attachment",part)
  1141. F = Instance.new("Attachment",part)
  1142. G = Instance.new("Attachment",part)
  1143. H = Instance.new("Attachment",part)
  1144. A2 = Instance.new("Attachment",part2)
  1145. B2 = Instance.new("Attachment",part2)
  1146. C2 = Instance.new("Attachment",part2)
  1147. D2 = Instance.new("Attachment",part2)
  1148. E2 = Instance.new("Attachment",part2)
  1149. F2 = Instance.new("Attachment",part2)
  1150. G2 = Instance.new("Attachment",part2)
  1151. H2 = Instance.new("Attachment",part2)
  1152.  
  1153. A.Position = Vector3.new(1,1,1)
  1154. B.Position = Vector3.new(1,-1,1)
  1155. C.Position = Vector3.new(-1,1,1)
  1156. D.Position = Vector3.new(-1,-1,1)
  1157.  
  1158. E.Position = Vector3.new(1,1,-1)
  1159. F.Position = Vector3.new(1,-1,-1)
  1160. G.Position = Vector3.new(-1,1,-1)
  1161. H.Position = Vector3.new(-1,-1,-1)
  1162.  
  1163. createtrail(A,E,part)
  1164. createtrail(B,F,part)
  1165. createtrail(C,G,part)
  1166. createtrail(D,H,part)
  1167. createtrail(A,B,part)
  1168. createtrail(C,D,part)
  1169. createtrail(E,F,part)
  1170. createtrail(G,H,part)
  1171. createtrail(A,C,part)
  1172. createtrail(B,D,part)
  1173. createtrail(E,G,part)
  1174. createtrail(F,H,part)
  1175.  
  1176. A2.Position = Vector3.new(1,1,1)
  1177. B2.Position = Vector3.new(1,-1,1)
  1178. C2.Position = Vector3.new(-1,1,1)
  1179. D2.Position = Vector3.new(-1,-1,1)
  1180.  
  1181. E2.Position = Vector3.new(1,1,-1)
  1182. F2.Position = Vector3.new(1,-1,-1)
  1183. G2.Position = Vector3.new(-1,1,-1)
  1184. H2.Position = Vector3.new(-1,-1,-1)
  1185. createtrail(A2,E2,part)
  1186. createtrail(B2,F2,part)
  1187. createtrail(C2,G2,part)
  1188. createtrail(D2,H2,part)
  1189. createtrail(A2,B2,part)
  1190. createtrail(C2,D2,part)
  1191. createtrail(E2,F2,part)
  1192. createtrail(G2,H2,part)
  1193. createtrail(A2,C2,part)
  1194. createtrail(B2,D2,part)
  1195. createtrail(E2,G2,part)
  1196. createtrail(F2,H2,part)
  1197.  
  1198. end
  1199. if not part:FindFirstChildOfClass("BodyPosition") then
  1200. bp2=Instance.new("BodyPosition",part)
  1201. end
  1202. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  1203. ba2=Instance.new("BodyAngularVelocity",part)
  1204. end
  1205. if not part:FindFirstChildOfClass("PointLight") then
  1206. light=Instance.new("PointLight",part)
  1207. end
  1208. if not part2:FindFirstChildOfClass("BodyPosition") then
  1209. bp3=Instance.new("BodyPosition",part2)
  1210. end
  1211. if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
  1212. ba3=Instance.new("BodyAngularVelocity",part2)
  1213. end
  1214. part.Color = Color3.fromHSV(i,1,1)
  1215. light.Color = Color3.fromHSV(i,1,1)
  1216. light.Brightness = 2+sound.PlaybackLoudness/25
  1217. light.Range = 5+sound.PlaybackLoudness/10
  1218. part:BreakJoints()
  1219. part.Material = Enum.Material.Neon
  1220. local asd = 1+(sound.PlaybackLoudness/150)
  1221. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  1222. part.Size = Vector3.new(1,1,1)
  1223. part2.Size = Vector3.new(1,1,1)
  1224. part.CanCollide = false
  1225. part2.CanCollide = false
  1226. bp2.Position = root.Position + Vector3.new(0,10,0)
  1227. ba2.AngularVelocity = Vector3.new((mathrandom.x/100)+(sound.PlaybackLoudness/mathrandom.x),(mathrandom.y/100)+(sound.PlaybackLoudness/mathrandom.y),(mathrandom.z/100)+(sound.PlaybackLoudness/mathrandom.z))
  1228. bp3.Position = root.Position + Vector3.new(0,10,0)
  1229. ba3.AngularVelocity = Vector3.new(-(mathrandom.x/100)-(sound.PlaybackLoudness/mathrandom.x),-(mathrandom.y/100)-(sound.PlaybackLoudness/mathrandom.y),-(mathrandom.z/100)-(sound.PlaybackLoudness/mathrandom.z))
  1230. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  1231. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  1232. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  1233. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  1234. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  1235. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  1236.  
  1237. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  1238. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  1239. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  1240. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  1241.  
  1242. A2.Position = Vector3.new(asd,asd,asd)
  1243. B2.Position = Vector3.new(asd,-asd,asd)
  1244. C2.Position = Vector3.new(-asd,asd,asd)
  1245. D2.Position = Vector3.new(-asd,-asd,asd)
  1246.  
  1247. E2.Position = Vector3.new(asd,asd,-asd)
  1248. F2.Position = Vector3.new(asd,-asd,-asd)
  1249. G2.Position = Vector3.new(-asd,asd,-asd)
  1250. H2.Position = Vector3.new(-asd,-asd,-asd)
  1251.  
  1252. if i >= 0.8 then
  1253. asdcolor = true
  1254. elseif i <= 0.5 then
  1255. asdcolor = false
  1256. end
  1257.  
  1258. if asdcolor == true then
  1259. i = i - 0.001
  1260. else
  1261. i = i + 0.001
  1262. end
  1263.  
  1264. elseif vismode == "nothing" then
  1265.  
  1266. tecks2.Text = ""
  1267.  
  1268. elseif vismode == "nooby" then
  1269. if not char:FindFirstChild("noobyvis") then
  1270. centralpart = it("Part",char)
  1271. centralpart.Name = "noobyvis"
  1272. centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0)
  1273. centralpart.Anchored = true
  1274. centralpart.Size = vt(1,1,1)
  1275. centralpart.Transparency = 1
  1276. centralpart.CanCollide = false
  1277. centralpart2a = it("Part",centralpart)
  1278. centralpart2a.CFrame = centralpart.CFrame
  1279. centralpart2a.Anchored = true
  1280. centralpart2a.Transparency = 0
  1281. centralpart2a.BrickColor = origcolor
  1282. centralpart2a.Material = "Neon"
  1283. centralpart2a.Size = vt(1,1,1)
  1284. centralpart2a.CanCollide = false
  1285.  
  1286. meshy = Instance.new("SpecialMesh", centralpart2a)
  1287. meshy.Scale = vt(1.05,1.05,1.05)
  1288. meshy.MeshType = "Sphere"
  1289.  
  1290. centralpart2 = it("Part",centralpart)
  1291. centralpart2.CFrame = centralpart.CFrame
  1292. centralpart2.Anchored = true
  1293. centralpart2.Transparency = 0.65
  1294. centralpart2.BrickColor = BrickColor.new("Really black")
  1295. centralpart2.Material = "Neon"
  1296. centralpart2.Size = vt(1,1,1)
  1297. centralpart2.CanCollide = false
  1298.  
  1299. meshy2 = Instance.new("SpecialMesh", centralpart2)
  1300. meshy2.Scale = vt(1.075,1.075,1.075)
  1301. meshy2.MeshType = "Sphere"
  1302.  
  1303.  
  1304. centralpart3 = it("Part",centralpart)
  1305. centralpart3.CFrame = centralpart.CFrame
  1306. centralpart3.Anchored = true
  1307. centralpart3.Transparency = 0.5
  1308. centralpart3.BrickColor = origcolor
  1309. centralpart3.Material = "Neon"
  1310. centralpart3.Size = vt(0.5,1,0.5)
  1311. centralpart3.CanCollide = false
  1312.  
  1313. meshy3 = Instance.new("SpecialMesh", centralpart3)
  1314. meshy3.Scale = vt(1,0.035,1.075)
  1315. meshy3.MeshType = "Brick"
  1316.  
  1317. centralpart4 = it("Part",centralpart)
  1318. centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0)
  1319. centralpart4.Anchored = true
  1320. centralpart4.Transparency = 0.5
  1321. centralpart4.BrickColor = origcolor
  1322. centralpart4.Material = "Neon"
  1323. centralpart4.Size = vt(0.5,1,0.5)
  1324. centralpart4.CanCollide = false
  1325.  
  1326. meshy4 = Instance.new("SpecialMesh", centralpart4)
  1327. meshy4.Scale = vt(1,0.035,1.075)
  1328. meshy4.MeshType = "Brick"
  1329.  
  1330. centralpart5 = it("Part",centralpart)
  1331. centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0)
  1332. centralpart5.Anchored = true
  1333. centralpart5.Transparency = 0.5
  1334. centralpart5.BrickColor = origcolor
  1335. centralpart5.Material = "Neon"
  1336. centralpart5.Size = vt(0.5,1,0.5)
  1337. centralpart5.CanCollide = false
  1338.  
  1339. meshy5 = Instance.new("SpecialMesh", centralpart5)
  1340. meshy5.Scale = vt(1,0.035,1.075)
  1341. meshy5.MeshType = "Brick"
  1342.  
  1343. centralpart6 = it("Part",centralpart)
  1344. centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  1345. centralpart6.Anchored = true
  1346. centralpart6.Transparency = 0.5
  1347. centralpart6.BrickColor = origcolor
  1348. centralpart6.Material = "Neon"
  1349. centralpart6.Size = vt(0.5,1,0.5)
  1350. centralpart6.CanCollide = false
  1351.  
  1352. meshy6 = Instance.new("SpecialMesh", centralpart6)
  1353. meshy6.Scale = vt(1,0.035,1.075)
  1354. meshy6.MeshType = "Brick"
  1355.  
  1356. centralpart7 = it("Part",centralpart)
  1357. centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0)
  1358. centralpart7.Anchored = true
  1359. centralpart7.Transparency = 0.5
  1360. centralpart7.BrickColor = origcolor
  1361. centralpart7.Material = "Neon"
  1362. centralpart7.Size = vt(0.5,1,0.5)
  1363. centralpart7.CanCollide = false
  1364.  
  1365. meshy7 = Instance.new("SpecialMesh", centralpart7)
  1366. meshy7.Scale = vt(1,0.035,1.075)
  1367. meshy7.MeshType = "Brick"
  1368.  
  1369. centralpart8 = it("Part",centralpart)
  1370. centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0)
  1371. centralpart8.Anchored = true
  1372. centralpart8.Transparency = 0.5
  1373. centralpart8.BrickColor = origcolor
  1374. centralpart8.Material = "Neon"
  1375. centralpart8.Size = vt(0.5,1,0.5)
  1376. centralpart8.CanCollide = false
  1377.  
  1378. meshy8 = Instance.new("SpecialMesh", centralpart8)
  1379. meshy8.Scale = vt(1,0.035,1.075)
  1380. meshy8.MeshType = "Brick"
  1381.  
  1382. centralpart9 = it("Part",centralpart)
  1383. centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  1384. centralpart9.Anchored = true
  1385. centralpart9.Transparency = 0.5
  1386. centralpart9.BrickColor = origcolor
  1387. centralpart9.Material = "Neon"
  1388. centralpart9.Size = vt(0.5,1,0.5)
  1389. centralpart9.CanCollide = false
  1390.  
  1391. meshy9 = Instance.new("SpecialMesh", centralpart9)
  1392. meshy9.Scale = vt(1,0.035,1.075)
  1393. meshy9.MeshType = "Brick"
  1394.  
  1395. centralpart10 = it("Part",centralpart)
  1396. centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0)
  1397. centralpart10.Anchored = true
  1398. centralpart10.Transparency = 0.5
  1399. centralpart10.BrickColor = origcolor
  1400. centralpart10.Material = "Neon"
  1401. centralpart10.Size = vt(0.5,1,0.5)
  1402. centralpart10.CanCollide = false
  1403.  
  1404. meshy10 = Instance.new("SpecialMesh", centralpart10)
  1405. meshy10.Scale = vt(1,0.035,1.075)
  1406. meshy10.MeshType = "Brick"
  1407.  
  1408. centralpart11 = it("Part",centralpart)
  1409. centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0)
  1410. centralpart11.Anchored = true
  1411. centralpart11.Transparency = 0.5
  1412. centralpart11.BrickColor = origcolor
  1413. centralpart11.Material = "Neon"
  1414. centralpart11.Size = vt(0.5,1,0.5)
  1415. centralpart11.CanCollide = false
  1416.  
  1417. meshy11 = Instance.new("SpecialMesh", centralpart11)
  1418. meshy11.Scale = vt(1,0.035,1.075)
  1419. meshy11.MeshType = "Brick"
  1420.  
  1421. centralpart12 = it("Part",centralpart)
  1422. centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  1423. centralpart12.Anchored = true
  1424. centralpart12.Transparency = 0.5
  1425. centralpart12.BrickColor = origcolor
  1426. centralpart12.Material = "Neon"
  1427. centralpart12.Size = vt(0.5,1,0.5)
  1428. centralpart12.CanCollide = false
  1429.  
  1430. meshy12 = Instance.new("SpecialMesh", centralpart12)
  1431. meshy12.Scale = vt(1,0.035,1.075)
  1432. meshy12.MeshType = "Brick"
  1433.  
  1434. centralpart13 = it("Part",centralpart)
  1435. centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0)
  1436. centralpart13.Anchored = true
  1437. centralpart13.Transparency = 0.5
  1438. centralpart13.BrickColor = origcolor
  1439. centralpart13.Material = "Neon"
  1440. centralpart13.Size = vt(0.5,1,0.5)
  1441. centralpart13.CanCollide = false
  1442.  
  1443. meshy13 = Instance.new("SpecialMesh", centralpart13)
  1444. meshy13.Scale = vt(1,0.035,1.075)
  1445. meshy13.MeshType = "Brick"
  1446.  
  1447. centralpart14 = it("Part",centralpart)
  1448. centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0)
  1449. centralpart14.Anchored = true
  1450. centralpart14.Transparency = 0.5
  1451. centralpart14.BrickColor = origcolor
  1452. centralpart14.Material = "Neon"
  1453. centralpart14.Size = vt(0.5,1,0.5)
  1454. centralpart14.CanCollide = false
  1455.  
  1456. meshy14 = Instance.new("SpecialMesh", centralpart14)
  1457. meshy14.Scale = vt(1,0.035,1.075)
  1458. meshy14.MeshType = "Brick"
  1459.  
  1460. centralpart15 = it("Part",centralpart)
  1461. centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0)
  1462. centralpart15.Anchored = true
  1463. centralpart15.Transparency = 0.5
  1464. centralpart15.BrickColor = origcolor
  1465. centralpart15.Material = "Neon"
  1466. centralpart15.Size = vt(0.5,1,0.5)
  1467. centralpart15.CanCollide = false
  1468.  
  1469. meshy15 = Instance.new("SpecialMesh", centralpart15)
  1470. meshy15.Scale = vt(1,0.035,1.075)
  1471. meshy15.MeshType = "Brick"
  1472.  
  1473. centralparto = it("Part",centralpart)
  1474. centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0)
  1475. centralparto.Anchored = true
  1476. centralparto.Transparency = 0.5
  1477. centralparto.BrickColor = BrickColor.new("Really black")
  1478. centralparto.Material = "Neon"
  1479. centralparto.Size = vt(0.5,1,0.5)
  1480. centralparto.CanCollide = false
  1481.  
  1482. meshyo = Instance.new("SpecialMesh", centralparto)
  1483. meshyo.Scale = vt(1.05,0.05,0.25)
  1484. meshyo.MeshType = "Sphere"
  1485.  
  1486. centralparto2 = it("Part",centralpart)
  1487. centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  1488. centralparto2.Anchored = true
  1489. centralparto2.Transparency = 0.5
  1490. centralparto2.BrickColor = BrickColor.new("Really black")
  1491. centralparto2.Material = "Neon"
  1492. centralparto2.Size = vt(0.5,1,0.5)
  1493. centralparto2.CanCollide = false
  1494.  
  1495. meshyo2 = Instance.new("SpecialMesh", centralparto2)
  1496. meshyo2.Scale = vt(1.05,0.05,0.25)
  1497. meshyo2.MeshType = "Sphere"
  1498.  
  1499. centralparto3 = it("Part",centralpart)
  1500. centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  1501. centralparto3.Anchored = true
  1502. centralparto3.Transparency = 0.5
  1503. centralparto3.BrickColor = BrickColor.new("Maroon")
  1504. centralparto3.Material = "Neon"
  1505. centralparto3.Size = vt(0.5,1,0.5)
  1506. centralparto3.CanCollide = false
  1507.  
  1508. meshyo3 = Instance.new("SpecialMesh", centralparto3)
  1509. meshyo3.Scale = vt(1.05,0.075,0.25)
  1510. meshyo3.MeshType = "Sphere"
  1511.  
  1512. centralparto4 = it("Part",centralpart)
  1513. centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  1514. centralparto4.Anchored = true
  1515. centralparto4.Transparency = 0.5
  1516. centralparto4.BrickColor = BrickColor.new("Maroon")
  1517. centralparto4.Material = "Neon"
  1518. centralparto4.Size = vt(0.5,1,0.5)
  1519. centralparto4.CanCollide = false
  1520.  
  1521. meshyo4 = Instance.new("SpecialMesh", centralparto4)
  1522. meshyo4.Scale = vt(1.05,0.075,0.25)
  1523. meshyo4.MeshType = "Sphere"
  1524.  
  1525. eff = Instance.new("ParticleEmitter",centralpart)
  1526. eff.Texture = "http://www.roblox.com/asset/?id=243664672"
  1527. eff.LightEmission = 0.75
  1528. eff.Color = ColorSequence.new(Color3.new(255,0,0))
  1529. eff.Lifetime = NumberRange.new(2.5)
  1530. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  1531. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
  1532. eff.Acceleration = Vector3.new(0,-75,0)
  1533. eff.Rotation = NumberRange.new(-500,500)
  1534. eff.VelocitySpread = 90
  1535. eff.RotSpeed = NumberRange.new(-500,500)
  1536.  
  1537.  
  1538. ogsize = meshy.Scale
  1539. ogsize2 = meshy2.Scale
  1540. ogsize3 = meshy3.Scale
  1541. ogsize4 = meshy4.Scale
  1542. ogsize5 = meshy5.Scale
  1543. ogsize6 = meshy6.Scale
  1544. ogsize7 = meshy7.Scale
  1545. ogsize8 = meshy8.Scale
  1546. ogsize9 = meshy9.Scale
  1547. ogsize10 = meshy10.Scale
  1548. ogsize11 = meshy11.Scale
  1549. ogsize12 = meshy12.Scale
  1550. ogsize13 = meshy13.Scale
  1551. ogsize14 = meshy14.Scale
  1552. ogsize15 = meshy15.Scale
  1553.  
  1554. ogsizeo = meshyo.Scale
  1555. ogsizeo2 = meshyo2.Scale
  1556. ogsizeo3 = meshyo3.Scale
  1557. ogsizeo4 = meshyo4.Scale
  1558. end
  1559. meshy.Scale = meshy.Scale:lerp(Vector3.new(ogsize.X+sound.PlaybackLoudness/600*3.5,ogsize.Y+sound.PlaybackLoudness/600*3.5,ogsize.Z+sound.PlaybackLoudness/525*3.5),0.8)
  1560. meshy2.Scale = meshy2.Scale:lerp(Vector3.new(ogsize2.X+sound.PlaybackLoudness/500*3.5,ogsize2.Y+sound.PlaybackLoudness/500*3.5,ogsize2.Z+sound.PlaybackLoudness/500*3.5),0.8)
  1561. meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8)
  1562. meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8)
  1563. meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8)
  1564. meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8)
  1565. meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8)
  1566. meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8)
  1567. meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8)
  1568. meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8)
  1569. meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8)
  1570. meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8)
  1571. meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8)
  1572. meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8)
  1573. meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8)
  1574.  
  1575. meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8)
  1576. meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8)
  1577. meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8)
  1578. meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8)
  1579. centralpart.Position = root.Position + Vector3.new(0,5,0)
  1580. centralpart3.Position = centralpart.Position
  1581. centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1582. centralpart4.Position = centralpart.Position
  1583. centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1584. centralpart5.Position = centralpart.Position
  1585. centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1586. centralpart6.Position = centralpart.Position
  1587. centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1588. centralpart7.Position = centralpart.Position
  1589. centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1590. centralpart8.Position = centralpart.Position
  1591. centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1592. centralpart9.Position = centralpart.Position
  1593. centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1594. centralpart10.Position = centralpart.Position
  1595. centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1596. centralpart11.Position = centralpart.Position
  1597. centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1598. centralpart12.Position = centralpart.Position
  1599. centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1600. centralpart13.Position = centralpart.Position
  1601. centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1602. centralpart14.Position = centralpart.Position
  1603. centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1604. centralpart15.Position = centralpart.Position
  1605. centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1606.  
  1607. centralparto.Position = centralpart.Position
  1608. centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  1609. centralparto2.Position = centralpart.Position
  1610. centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  1611. centralparto3.Position = centralpart.Position
  1612. centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  1613. centralparto4.Position = centralpart.Position
  1614. centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  1615. centralpart.CFrame = centralpart.CFrame
  1616. centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  1617. centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  1618. eff.Rate = sound.PlaybackLoudness/3
  1619. eff.Speed = NumberRange.new(sound.PlaybackLoudness/5)
  1620. eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0))
  1621. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
  1622. centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0)
  1623. centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  1624. centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  1625.  
  1626. tecks2.TextColor3 = Color3.fromRGB(255,0,0)
  1627. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0)
  1628. end
  1629. Visualiserpos.Position = Vector3.new(5+(max/10),0,0)
  1630. Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0)
  1631. Main:BreakJoints()
  1632. Main.Anchored = false
  1633. TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  1634. TextButton34.Text = "Style: "..vismode
  1635. asdmax = max
  1636. asdvolume = TextButton9.Position
  1637. asdpitch = TextButton13.Position
  1638. asddist = TextButton30.Position
  1639. asdhi = TextButton26.Position
  1640. asdmi = TextButton22.Position
  1641. asdlo = TextButton18.Position
  1642. asdtext = TextBox3.Text
  1643. if synctarget == nil then
  1644. foundsound = false
  1645. else
  1646. if foundsound == false then
  1647. print("Trying to Sync...")
  1648. scan(synctarget.Character)
  1649. else
  1650. asdid = sound.SoundId
  1651. end
  1652. end
  1653. end
  1654.  
  1655. local hum = char:FindFirstChild("Humanoid")
  1656. local pet = part
  1657. local torso = char:FindFirstChild("Torso")
  1658.  
  1659. local maxFloat = 1
  1660. local floatInc = 0.025
  1661.  
  1662. local sw = false
  1663. local fl = 0
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669. while true do
  1670. wait()
  1671. if not sw then
  1672. fl = fl + floatInc
  1673. if fl >= maxFloat then
  1674. sw = true
  1675. end
  1676. else
  1677. fl = fl - floatInc
  1678. if fl <=-maxFloat then
  1679. sw = false
  1680. end
  1681. end
  1682. if pet ~= nil and hum ~= nil and torso ~= nil then
  1683. if hum.Health >= 0 then
  1684. local cf = torso.CFrame * CFrame.new(3,2+fl,3)
  1685. pet.BodyPosition.Position = Vector3.new(cf.x,cf.y,cf.z)
  1686. pet.BodyGyro.CFrame = torso.CFrame * CFrame.new(3,0,-3)
  1687. else
  1688. break
  1689. end
  1690. end
  1691. end
Add Comment
Please, Sign In to add comment