zephpsian

Untitled

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