zephpsian

Untitled

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