Advertisement
zephpsian

Untitled

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