Advertisement
raptorpack78

Untitled

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