Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.09 KB | None | 0 0
  1. script.Name = "machine gun banisher v2 maded to destroy skids"
  2. --//====================================================\\--
  3. --|| EDITED BY ZaBlazy_y CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5.  
  6. print("Load Finished")
  7. print("Edited By InfiniteOneWithdank Hello User")
  8. warn("Make Them All Suffer For Their Sins")
  9. warn("stop spreading the script thanks")
  10.  
  11.  
  12. script:ClearAllChildren()
  13. wait(0.2)
  14.  
  15. Player = game:GetService("Players").LocalPlayer
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. Mouse = Player:GetMouse()
  22. RootPart = Character["HumanoidRootPart"]
  23. Torso = Character["Torso"]
  24. Head = Character["Head"]
  25. RightArm = Character["Right Arm"]
  26. LeftArm = Character["Left Arm"]
  27. RightLeg = Character["Right Leg"]
  28. LeftLeg = Character["Left Leg"]
  29. RootJoint = RootPart["RootJoint"]
  30. Neck = Torso["Neck"]
  31. RightShoulder = Torso["Right Shoulder"]
  32. LeftShoulder = Torso["Left Shoulder"]
  33. RightHip = Torso["Right Hip"]
  34. LeftHip = Torso["Left Hip"]
  35. local TIME = 0
  36. local sick = Instance.new("Sound",Torso)
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55. -- Thingy To Make Song Work
  56.  
  57. p = game.Players.LocalPlayer
  58. char = p.Character
  59.  
  60. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  61. local s = Instance.new("Sound",char)
  62. s.Name = "BGMusic"
  63. s.SoundId = "rbxassetid://1383202399"
  64. s.Pitch = 1
  65. s.Volume = 40
  66. s.Looped = true
  67. s.archivable = false
  68. s.Parent = char.Head
  69. wait(0.1)
  70. s:play()
  71.  
  72. -- Rest of Script
  73. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  74.  
  75. --//=================================\\
  76. --|| PARTICLES N STUFF
  77. --\\=================================//
  78.  
  79. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  80. particleemitter.VelocitySpread = 350
  81. particleemitter.Lifetime = NumberRange.new(1)
  82. particleemitter.Speed = NumberRange.new(0)
  83. cringememe= {}
  84. for i=0, 19 do
  85. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  86. end
  87. particleemitter.Size = NumberSequence.new(cringememe)
  88. particleemitter.Rate = 20
  89. particleemitter.LockedToPart = true
  90. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  91. particleemitter.LightEmission = 1
  92. particleemitter.Texture = "rbxassetid://38727848"
  93. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  94.  
  95. local particleemitter = Instance.new('ParticleEmitter', Torso)
  96. particleemitter.VelocitySpread = 250
  97. particleemitter.Lifetime = NumberRange.new(3)
  98. particleemitter.Speed = NumberRange.new(1.5)
  99. youAreATHOT = {}
  100. for i=0, 19 do
  101. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  102. end
  103. particleemitter.Size = NumberSequence.new(youAreATHOT)
  104. particleemitter.Rate = 10
  105. particleemitter.LockedToPart = false
  106. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  107. particleemitter.LightEmission = 1
  108. particleemitter.Texture = "rbxassetid://253188763"
  109. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  110.  
  111. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  112. particleemitter.VelocitySpread = 350
  113. particleemitter.Lifetime = NumberRange.new(1)
  114. particleemitter.Speed = NumberRange.new(0)
  115. cringememe2= {}
  116. for i=0, 19 do
  117. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  118. end
  119. particleemitter.Size = NumberSequence.new(cringememe2)
  120. particleemitter.Rate = 20
  121. particleemitter.LockedToPart = true
  122. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  123. particleemitter.LightEmission = 1
  124. particleemitter.Texture = "rbxassetid://38727848"
  125. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  126.  
  127. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  128. particleemitter.VelocitySpread = 350
  129. particleemitter.Lifetime = NumberRange.new(1)
  130. particleemitter.Speed = NumberRange.new(0)
  131. cringememe3= {}
  132. for i=0, 19 do
  133. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  134. end
  135. particleemitter.Size = NumberSequence.new(cringememe3)
  136. particleemitter.Rate = 30
  137. particleemitter.LockedToPart = true
  138. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  139. particleemitter.LightEmission = 1
  140. particleemitter.Texture = "rbxassetid://38727848"
  141. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  142.  
  143. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  144. particleemitter.VelocitySpread = 350
  145. particleemitter.Lifetime = NumberRange.new(1)
  146. particleemitter.Speed = NumberRange.new(0)
  147. cringememe4= {}
  148. for i=0, 19 do
  149. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  150. end
  151. particleemitter.Size = NumberSequence.new(cringememe4)
  152. particleemitter.Rate = 30
  153. particleemitter.LockedToPart = true
  154. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  155. particleemitter.LightEmission = 1
  156. particleemitter.Texture = "rbxassetid://38727848"
  157. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  158.  
  159. --//=================================\\
  160. --|| USEFUL VALUES
  161. --\\=================================//
  162.  
  163. Animation_Speed = 1.5
  164. local FORCERESET = false
  165. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  166. local Speed = 16
  167. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  168. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  169. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  170. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  171. local DAMAGEMULTIPLIER = 1
  172. local ANIM = "Idle"
  173. local ATTACK = false
  174. local EQUIPPED = false
  175. local HOLD = false
  176. local COMBO = 1
  177. local Rooted = false
  178. local SINE = 0
  179. local KEYHOLD = false
  180. local CHANGE = 2 / Animation_Speed
  181. local WALKINGANIM = false
  182. local VALUE1 = false
  183. local VALUE2 = false
  184. local ROBLOXIDLEANIMATION = IT("Animation")
  185. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  186. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  187. --ROBLOXIDLEANIMATION.Parent = Humanoid
  188. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  189. WEAPONGUI.Name = "BanishV3Gui"
  190. local Weapon = IT("Model")
  191. Weapon.Name = "Adds"
  192. local Effects = IT("Folder", Weapon)
  193. Effects.Name = "Effects"
  194. local ANIMATOR = Humanoid.Animator
  195. local ANIMATE = Character:FindFirstChild("Animate")
  196. local UNANCHOR = true
  197. local TOBANISH = {}
  198. script.Parent = PlayerGui
  199.  
  200. --//=================================\\
  201. --\\=================================//
  202.  
  203.  
  204. --//=================================\\
  205. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  206. --\\=================================//
  207.  
  208. ArtificialHB = Instance.new("BindableEvent", script)
  209. ArtificialHB.Name = "ArtificialHB"
  210.  
  211. script:WaitForChild("ArtificialHB")
  212.  
  213. frame = Frame_Speed
  214. tf = 0
  215. allowframeloss = false
  216. tossremainder = false
  217. lastframe = tick()
  218. script.ArtificialHB:Fire()
  219.  
  220. game:GetService("RunService").Heartbeat:connect(function(s, p)
  221. tf = tf + s
  222. if tf >= frame then
  223. if allowframeloss then
  224. script.ArtificialHB:Fire()
  225. lastframe = tick()
  226. else
  227. for i = 1, math.floor(tf / frame) do
  228. script.ArtificialHB:Fire()
  229. end
  230. lastframe = tick()
  231. end
  232. if tossremainder then
  233. tf = 0
  234. else
  235. tf = tf - frame * math.floor(tf / frame)
  236. end
  237. end
  238. end)
  239.  
  240. --//=================================\\
  241. --\\=================================//
  242.  
  243. --//=================================\\
  244. --|| SOME TAG EDIT
  245. --\\=================================//
  246.  
  247. m = game.Players.LocalPlayer
  248. char = m.Character
  249. local txt = Instance.new("BillboardGui", char)
  250. txt.Adornee = char.Head
  251. txt.Name = "_status"
  252. txt.Size = UDim2.new(2, 0, 1.2, 0)
  253. txt.StudsOffset = Vector3.new(-9, 8, 0)
  254. local text = Instance.new("TextLabel", txt)
  255. text.Size = UDim2.new(10, 0, 7, 0)
  256. text.FontSize = "Size24"
  257. text.TextScaled = true
  258. text.TextTransparency = 0
  259. text.BackgroundTransparency = 1
  260. text.TextTransparency = 0
  261. text.TextStrokeTransparency = 0
  262. text.Font = "Bodoni"
  263. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  264. v = Instance.new("Part")
  265. v.Name = "ColorBrick"
  266. v.Parent = m.Character
  267. v.FormFactor = "Symmetric"
  268. v.Anchored = true
  269. v.CanCollide = false
  270. v.BottomSurface = "Smooth"
  271. v.TopSurface = "Smooth"
  272. v.Size = Vector3.new(10, 5, 3)
  273. v.Transparency = 1
  274. v.CFrame = char.Torso.CFrame
  275. v.BrickColor = BrickColor.new("Really black")
  276. v.Transparency = 1
  277. v.Shape = "Block"
  278. spawn(function()
  279. local TweenService = game:GetService("TweenService")
  280. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  281. local Int = 0
  282. while wait(0.5) do
  283. if Int == #Colours then Int = 0 end
  284. Int = Int+1
  285. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  286. end
  287. end)
  288. text.Text = "Hax0r"
  289.  
  290. --//=================================\\
  291. --\\=================================//
  292.  
  293. --//=================================\\
  294. --|| SOME FUNCTIONS
  295. --\\=================================//
  296.  
  297. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  298. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  299. end
  300.  
  301. function PositiveAngle(NUMBER)
  302. if NUMBER >= 0 then
  303. NUMBER = 0
  304. end
  305. return NUMBER
  306. end
  307.  
  308. function NegativeAngle(NUMBER)
  309. if NUMBER <= 0 then
  310. NUMBER = 0
  311. end
  312. return NUMBER
  313. end
  314.  
  315. function Swait(NUMBER)
  316. if NUMBER == 0 or NUMBER == nil then
  317. ArtificialHB.Event:wait()
  318. else
  319. for i = 1, NUMBER do
  320. ArtificialHB.Event:wait()
  321. end
  322. end
  323. end
  324.  
  325. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  326. local NEWMESH = IT(MESH)
  327. if MESH == "SpecialMesh" then
  328. NEWMESH.MeshType = MESHTYPE
  329. if MESHID ~= "nil" and MESHID ~= "" then
  330. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  331. end
  332. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  333. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  334. end
  335. end
  336. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  337. NEWMESH.Scale = SCALE
  338. NEWMESH.Parent = PARENT
  339. return NEWMESH
  340. end
  341.  
  342. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  343. local NEWPART = IT("Part")
  344. NEWPART.formFactor = FORMFACTOR
  345. NEWPART.Reflectance = REFLECTANCE
  346. NEWPART.Transparency = TRANSPARENCY
  347. NEWPART.CanCollide = false
  348. NEWPART.Locked = true
  349. NEWPART.Anchored = true
  350. if ANCHOR == false then
  351. NEWPART.Anchored = false
  352. end
  353. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  354. NEWPART.Name = NAME
  355. NEWPART.Size = SIZE
  356. NEWPART.Position = Torso.Position
  357. NEWPART.Material = MATERIAL
  358. NEWPART:BreakJoints()
  359. NEWPART.Parent = PARENT
  360. return NEWPART
  361. end
  362.  
  363. local function weldBetween(a, b)
  364. local weldd = Instance.new("ManualWeld")
  365. weldd.Part0 = a
  366. weldd.Part1 = b
  367. weldd.C0 = CFrame.new()
  368. weldd.C1 = b.CFrame:inverse() * a.CFrame
  369. weldd.Parent = a
  370. return weldd
  371. end
  372.  
  373.  
  374. function QuaternionFromCFrame(cf)
  375. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  376. local trace = m00 + m11 + m22
  377. if trace > 0 then
  378. local s = math.sqrt(1 + trace)
  379. local recip = 0.5 / s
  380. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  381. else
  382. local i = 0
  383. if m11 > m00 then
  384. i = 1
  385. end
  386. if m22 > (i == 0 and m00 or m11) then
  387. i = 2
  388. end
  389. if i == 0 then
  390. local s = math.sqrt(m00 - m11 - m22 + 1)
  391. local recip = 0.5 / s
  392. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  393. elseif i == 1 then
  394. local s = math.sqrt(m11 - m22 - m00 + 1)
  395. local recip = 0.5 / s
  396. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  397. elseif i == 2 then
  398. local s = math.sqrt(m22 - m00 - m11 + 1)
  399. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  400. end
  401. end
  402. end
  403.  
  404. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  405. local xs, ys, zs = x + x, y + y, z + z
  406. local wx, wy, wz = w * xs, w * ys, w * zs
  407. local xx = x * xs
  408. local xy = x * ys
  409. local xz = x * zs
  410. local yy = y * ys
  411. local yz = y * zs
  412. local zz = z * zs
  413. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  414. end
  415.  
  416. function QuaternionSlerp(a, b, t)
  417. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  418. local startInterp, finishInterp;
  419. if cosTheta >= 0.0001 then
  420. if (1 - cosTheta) > 0.0001 then
  421. local theta = ACOS(cosTheta)
  422. local invSinTheta = 1 / SIN(theta)
  423. startInterp = SIN((1 - t) * theta) * invSinTheta
  424. finishInterp = SIN(t * theta) * invSinTheta
  425. else
  426. startInterp = 1 - t
  427. finishInterp = t
  428. end
  429. else
  430. if (1 + cosTheta) > 0.0001 then
  431. local theta = ACOS(-cosTheta)
  432. local invSinTheta = 1 / SIN(theta)
  433. startInterp = SIN((t - 1) * theta) * invSinTheta
  434. finishInterp = SIN(t * theta) * invSinTheta
  435. else
  436. startInterp = t - 1
  437. finishInterp = t
  438. end
  439. end
  440. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  441. end
  442.  
  443. function Clerp(a, b, t)
  444. local qa = {QuaternionFromCFrame(a)}
  445. local qb = {QuaternionFromCFrame(b)}
  446. local ax, ay, az = a.x, a.y, a.z
  447. local bx, by, bz = b.x, b.y, b.z
  448. local _t = 1 - t
  449. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  450. end
  451.  
  452. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  453. local frame = IT("Frame")
  454. frame.BackgroundTransparency = TRANSPARENCY
  455. frame.BorderSizePixel = BORDERSIZEPIXEL
  456. frame.Position = POSITION
  457. frame.Size = SIZE
  458. frame.BackgroundColor3 = COLOR
  459. frame.BorderColor3 = BORDERCOLOR
  460. frame.Name = NAME
  461. frame.Parent = PARENT
  462. return frame
  463. end
  464.  
  465. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  466. local label = IT("TextLabel")
  467. label.BackgroundTransparency = 1
  468. label.Size = UD2(1, 0, 1, 0)
  469. label.Position = UD2(0, 0, 0, 0)
  470. label.TextColor3 = TEXTCOLOR
  471. label.TextStrokeTransparency = STROKETRANSPARENCY
  472. label.TextTransparency = TRANSPARENCY
  473. label.FontSize = TEXTFONTSIZE
  474. label.Font = TEXTFONT
  475. label.BorderSizePixel = BORDERSIZEPIXEL
  476. label.TextScaled = false
  477. label.Text = TEXT
  478. label.Name = NAME
  479. label.Parent = PARENT
  480. return label
  481. end
  482.  
  483. function NoOutlines(PART)
  484. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  485. end
  486.  
  487. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  488. local NEWWELD = IT(TYPE)
  489. NEWWELD.Part0 = PART0
  490. NEWWELD.Part1 = PART1
  491. NEWWELD.C0 = C0
  492. NEWWELD.C1 = C1
  493. NEWWELD.Parent = PARENT
  494. return NEWWELD
  495. end
  496.  
  497. local S = IT("Sound")
  498. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  499. local NEWSOUND = nil
  500. coroutine.resume(coroutine.create(function()
  501. NEWSOUND = S:Clone()
  502. NEWSOUND.Parent = PARENT
  503. NEWSOUND.Volume = VOLUME
  504. NEWSOUND.Pitch = PITCH
  505. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  506. NEWSOUND:play()
  507. if DOESLOOP == true then
  508. NEWSOUND.Looped = true
  509. else
  510. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  511. NEWSOUND:remove()
  512. end
  513. end))
  514. return NEWSOUND
  515. end
  516.  
  517. function CFrameFromTopBack(at, top, back)
  518. local right = top:Cross(back)
  519. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  520. end
  521.  
  522. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,255,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  523. function WACKYEFFECT(Table)
  524. local TYPE = (Table.EffectType or "Sphere")
  525. local SIZE = (Table.Size or VT(1,1,1))
  526. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  527. local TRANSPARENCY = (Table.Transparency or 0)
  528. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  529. local CFRAME = (Table.CFrame or Torso.CFrame)
  530. local MOVEDIRECTION = (Table.MoveToPos or nil)
  531. local ROTATION1 = (Table.RotationX or 0)
  532. local ROTATION2 = (Table.RotationY or 0)
  533. local ROTATION3 = (Table.RotationZ or 0)
  534. local MATERIAL = (Table.Material or "Neon")
  535. local COLOR = (Table.Color or C3(0,255,0))
  536. local TIME = (Table.Time or 45)
  537. local SOUNDID = (Table.SoundID or nil)
  538. local SOUNDPITCH = (Table.SoundPitch or nil)
  539. local SOUNDVOLUME = (Table.SoundVolume or nil)
  540. coroutine.resume(coroutine.create(function()
  541. local PLAYSSOUND = false
  542. local SOUND = nil
  543. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  544. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  545. PLAYSSOUND = true
  546. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  547. end
  548. EFFECT.Color = COLOR
  549. local MSH = nil
  550. if TYPE == "Sphere" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  552. elseif TYPE == "Block" then
  553. MSH = IT("BlockMesh",EFFECT)
  554. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  555. elseif TYPE == "Wave" then
  556. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  557. elseif TYPE == "Ring" then
  558. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  559. elseif TYPE == "Slash" then
  560. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  561. elseif TYPE == "Round Slash" then
  562. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  563. elseif TYPE == "Swirl" then
  564. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  565. elseif TYPE == "Skull" then
  566. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  567. elseif TYPE == "Crystal" then
  568. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  569. end
  570. if MSH ~= nil then
  571. local MOVESPEED = nil
  572. if MOVEDIRECTION ~= nil then
  573. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  574. end
  575. local GROWTH = SIZE - ENDSIZE
  576. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  577. if TYPE == "Block" then
  578. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  579. else
  580. EFFECT.CFrame = CFRAME
  581. end
  582. for LOOP = 1, TIME+1 do
  583. Swait()
  584. MSH.Scale = MSH.Scale - GROWTH/TIME
  585. if TYPE == "Wave" then
  586. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  587. end
  588. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  589. if TYPE == "Block" then
  590. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  591. else
  592. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  593. end
  594. if MOVEDIRECTION ~= nil then
  595. local ORI = EFFECT.Orientation
  596. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  597. EFFECT.Orientation = ORI
  598. end
  599. end
  600. if PLAYSSOUND == false then
  601. EFFECT:remove()
  602. else
  603. SOUND.Stopped:Connect(function()
  604. EFFECT:remove()
  605. end)
  606. end
  607. else
  608. if PLAYSSOUND == false then
  609. EFFECT:remove()
  610. else
  611. repeat Swait() until SOUND.Playing == false
  612. EFFECT:remove()
  613. end
  614. end
  615. end))
  616. end
  617.  
  618. function MakeForm(PART,TYPE)
  619. if TYPE == "Cyl" then
  620. local MSH = IT("CylinderMesh",PART)
  621. elseif TYPE == "Ball" then
  622. local MSH = IT("SpecialMesh",PART)
  623. MSH.MeshType = "Sphere"
  624. elseif TYPE == "Wedge" then
  625. local MSH = IT("SpecialMesh",PART)
  626. MSH.MeshType = "Wedge"
  627. end
  628. end
  629.  
  630. function SpawnTrail(FROM,TO,BIG)
  631. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  632. MakeForm(TRAIL,"Cyl")
  633. local DIST = (FROM - TO).Magnitude
  634. if BIG == true then
  635. TRAIL.Size = VT(0.5,DIST,0.5)
  636. else
  637. TRAIL.Size = VT(0.25,DIST,0.25)
  638. end
  639. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  640. coroutine.resume(coroutine.create(function()
  641. for i = 1, 5 do
  642. Swait()
  643. TRAIL.Transparency = TRAIL.Transparency + 0.1
  644. end
  645. TRAIL:remove()
  646. end))
  647. end
  648.  
  649. Debris = game:GetService("Debris")
  650.  
  651. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  652. local DIRECTION = CF(StartPos,EndPos).lookVector
  653. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  654. end
  655.  
  656. function turnto(position)
  657. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  658. end
  659.  
  660. --//=================================\\
  661. --|| WEAPON CREATION
  662. --\\=================================//
  663.  
  664. local Particle = IT("ParticleEmitter",nil)
  665. Particle.Enabled = false
  666. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  667. Particle.LightEmission = 0.5
  668. Particle.Rate = 150
  669. Particle.ZOffset = 0.2
  670. Particle.Rotation = NumberRange.new(-180, 180)
  671. Particle.RotSpeed = NumberRange.new(-180, 180)
  672. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  673. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  674.  
  675. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  676. function ParticleEmitter(Table)
  677. local PRTCL = Particle:Clone()
  678. local Speed = Table.Speed or 5
  679. local Drag = Table.Drag or 0
  680. local Size1 = Table.Size1 or 1
  681. local Size2 = Table.Size2 or 5
  682. local Lifetime1 = Table.Lifetime1 or 1
  683. local Lifetime2 = Table.Lifetime2 or 1.5
  684. local Parent = Table.Parent or Torso
  685. local Emit = Table.Emit or 100
  686. local Offset = Table.Offset or 360
  687. local Acel = Table.Acel or VT(0,0,0)
  688. local Enabled = Table.Enabled or false
  689. PRTCL.Parent = Parent
  690. PRTCL.Size = NumberSequence.new(Size1,Size2)
  691. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  692. PRTCL.Speed = NumberRange.new(Speed)
  693. PRTCL.VelocitySpread = Offset
  694. PRTCL.Drag = Drag
  695. PRTCL.Acceleration = Acel
  696. if Enabled == false then
  697. PRTCL:Emit(Emit)
  698. Debris:AddItem(PRTCL,Lifetime2)
  699. else
  700. PRTCL.Enabled = true
  701. end
  702. return PRTCL
  703. end
  704.  
  705. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  706. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  707. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  708. MakeForm(Part,"Wedge")
  709. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  710. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  711. MakeForm(Part,"Wedge")
  712. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  713. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  714. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  715. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  716. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  717. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  718. MakeForm(Part,"Cyl")
  719. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  720. for i = 1, 8 do
  721. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  722. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  723. end
  724. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  725. MakeForm(Part,"Cyl")
  726. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  727. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  728. MakeForm(Part,"Ball")
  729. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  730. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  731. MakeForm(Part,"Wedge")
  732. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  733. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  734. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  735. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  736. MakeForm(Part,"Cyl")
  737. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  738. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  739. MakeForm(Part,"Cyl")
  740. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  741. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  742. MakeForm(Part,"Cyl")
  743. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  744. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  745. MakeForm(Part,"Wedge")
  746. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  747. local LASTPART = Handle
  748. for i = 1, 10 do
  749. if LASTPART == Handle then
  750. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  751. LASTPART = Part
  752. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  753. else
  754. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  755. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  756. LASTPART = Part
  757. end
  758. end
  759.  
  760. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  761. MakeForm(Barrel,"Cyl")
  762. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  763. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  764. MakeForm(Part,"Cyl")
  765. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  766. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  767. MakeForm(Part,"Wedge")
  768. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  769. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  770. MakeForm(Hole,"Cyl")
  771. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  772. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  773. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  774. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  775. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  776. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  777. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  778. coroutine.resume(coroutine.create(function()
  779. while wait() do
  780. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  781. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  782. end
  783. end))
  784.  
  785. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  786. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.8, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  787.  
  788.  
  789. for _, c in pairs(Weapon:GetDescendants()) do
  790. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  791. c.Material = "Glass"
  792. c.Color = C3(0,0,0)
  793. elseif c.ClassName == "Part" and c.Name == "Eye" then
  794. c.Color = C3(0,255,0)
  795. c.Material = "Neon"
  796. end
  797. end
  798.  
  799. Weapon.Parent = Character
  800. for _, c in pairs(Weapon:GetChildren()) do
  801. if c.ClassName == "Part" then
  802. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  803. end
  804. end
  805.  
  806. function swait(num)
  807. if num == 0 or num == nil then
  808. ArtificialHB.Event:wait()
  809. else
  810. for i = 0, num do
  811. ArtificialHB.Event:wait()
  812. end
  813. end
  814. end
  815.  
  816. function chatfunc(text)
  817. local chat = coroutine.wrap(function()
  818. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  819. Character:FindFirstChild("TalkingBillBoard"):destroy()
  820. end
  821. local Bill = Instance.new("BillboardGui",Character)
  822. Bill.Size = UDim2.new(0,100,0,40)
  823. Bill.StudsOffset = Vector3.new(0,3,0)
  824. Bill.Adornee = Character.Head
  825. Bill.Name = "TalkingBillBoard"
  826. local Hehe = Instance.new("TextLabel",Bill)
  827. Hehe.BackgroundTransparency = 1
  828. Hehe.BorderSizePixel = 0
  829. Hehe.Text = ""
  830. Hehe.Font = "Bodoni"
  831. Hehe.TextSize = 40
  832. Hehe.TextStrokeTransparency = 0
  833. Hehe.Size = UDim2.new(1,0,0.5,0)
  834. coroutine.resume(coroutine.create(function()
  835. while Hehe ~= nil do
  836. swait()
  837. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  838. Hehe.Rotation = math.random(-5,5)
  839. Hehe.TextColor3 = Color3.new(0,255,0)
  840. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  841. end
  842. end))
  843. for i = 1,string.len(text),1 do
  844. swait()
  845. Hehe.Text = string.sub(text,1,i)
  846. end
  847. swait(90)--Re[math.random(1, 93)]
  848. for i = 0, 1, .025 do
  849. swait()
  850. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  851. Hehe.TextStrokeTransparency = i
  852. Hehe.TextTransparency = i
  853. end
  854. Bill:Destroy()
  855. end)
  856. chat()
  857. end
  858.  
  859. function onChatted(msg)
  860. chatfunc(msg)
  861. end
  862.  
  863. Player.Chatted:connect(onChatted)
  864.  
  865. local BODY = {}
  866. for _, c in pairs(Character:GetDescendants()) do
  867. if c:IsA("BasePart") and c.Name ~= "Handle" then
  868. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  869. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  870. end
  871. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  872. elseif c:IsA("JointInstance") then
  873. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  874. end
  875. end
  876.  
  877. function refit()
  878. Character.Parent = workspace
  879. for e = 1, #BODY do
  880. if BODY[e] ~= nil then
  881. local STUFF = BODY[e]
  882. local PART = STUFF[1]
  883. local PARENT = STUFF[2]
  884. local MATERIAL = STUFF[3]
  885. local COLOR = STUFF[4]
  886. local TRANSPARENCY = STUFF[5]
  887. --local SIZE = STUFF[6]
  888. local NAME = STUFF[7]
  889. if PART.ClassName == "Part" and PART ~= RootPart then
  890. PART.Material = MATERIAL
  891. PART.Transparency = TRANSPARENCY
  892. PART.Name = NAME
  893. end
  894. if PART.Parent ~= PARENT then
  895. Humanoid:remove()
  896. PART.Parent = PARENT
  897. Humanoid = IT("Humanoid",Character)
  898. end
  899. end
  900. end
  901. end
  902.  
  903. local SKILLTEXTCOLOR = C3(0,255,0)
  904. local SKILLFONT = "Code"
  905. local SKILLTEXTSIZE = 7
  906.  
  907. Humanoid.Died:connect(function()
  908. refit()
  909. end)
  910.  
  911. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  912. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  913. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  914. --[[local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  915. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  916. ]]
  917. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] BrustBullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  918. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  919. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] DeathGround", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  920. --[[local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[B] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  921. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[C] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  922. ]]
  923. function printbye(Name)
  924. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  925. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  926. end
  927.  
  928. workspace.ChildAdded:connect(function(instance)
  929. for BANISH = 1, #TOBANISH do
  930. if TOBANISH[BANISH] ~= nil then
  931. if instance.Name == TOBANISH[BANISH] then
  932. coroutine.resume(coroutine.create(function()
  933. printbye(instance.Name)
  934. instance:ClearAllChildren()
  935. Debris:AddItem(instance,0.0005)
  936. end))
  937. end
  938. end
  939. end
  940. end)
  941.  
  942. --//=================================\\
  943. --|| DAMAGING
  944. --\\=================================//
  945.  
  946. function Banish(Foe)
  947. if Foe then
  948. coroutine.resume(coroutine.create(function()
  949. --if game.Players:FindFirstChild(Foe.Name) then
  950. table.insert(TOBANISH,Foe.Name)
  951. printbye(Foe.Name)
  952. --end
  953. Foe.Archivable = true
  954. local CLONE = Foe:Clone()
  955. Foe:Destroy()
  956. CLONE.Parent = Effects
  957. CLONE:BreakJoints()
  958. local MATERIALS = {"Glass","Neon"}
  959. for _, c in pairs(CLONE:GetDescendants()) do
  960. if c:IsA("BasePart") then
  961. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  962. CreateSound(340722848, c, 10, 1, false)
  963. end
  964. c.Anchored = true
  965. c.Transparency = c.Transparency + 0.2
  966. c.Material = MATERIALS[MRANDOM(1,2)]
  967. c.Color = C3(0,255,0)
  968. if c.ClassName == "MeshPart" then
  969. c.TextureID = ""
  970. end
  971. if c:FindFirstChildOfClass("SpecialMesh") then
  972. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  973. end
  974. if c:FindFirstChildOfClass("Decal") then
  975. c:FindFirstChildOfClass("Decal"):remove()
  976. end
  977. c.Name = "Banished"
  978. c.CanCollide = false
  979. else
  980. c:remove()
  981. end
  982. end
  983. local A = false
  984. for i = 1, 35 do
  985. if A == false then
  986. A = true
  987. elseif A == true then
  988. A = false
  989. end
  990. for _, c in pairs(CLONE:GetDescendants()) do
  991. if c:IsA("BasePart") then
  992. c.Anchored = true
  993. c.Material = MATERIALS[MRANDOM(1,2)]
  994. c.Transparency = c.Transparency + 0.8/35
  995. if A == false then
  996. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  997. elseif A == true then
  998. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  999. end
  1000. end
  1001. end
  1002. Swait()
  1003. end
  1004. CLONE:remove()
  1005. end))
  1006. end
  1007. end
  1008.  
  1009. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1010. local CHILDREN = workspace:GetDescendants()
  1011. for index, CHILD in pairs(CHILDREN) do
  1012. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1013. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1014. if HUM then
  1015. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1016. if TORSO then
  1017. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1018. if ISBANISH == true then
  1019. Banish(CHILD)
  1020. else
  1021. if ISBANISH == "Gravity" then
  1022. HUM.PlatformStand = true
  1023. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1024. local grav = Instance.new("BodyPosition",TORSO)
  1025. grav.D = 15
  1026. grav.P = 20000
  1027. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1028. grav.position = TORSO.Position
  1029. grav.Name = "V3BanishForce"..Player.Name
  1030. else
  1031. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1032. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1033. end
  1034. else
  1035. HUM.PlatformStand = false
  1036. end
  1037. end
  1038. elseif ISBANISH == "Gravity" then
  1039. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1040. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1041. HUM.PlatformStand = false
  1042. end
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end
  1048. end
  1049.  
  1050. --//=================================\\
  1051. --|| ATTACK FUNCTIONS AND STUFF
  1052. --\\=================================//
  1053. local LAUGHS = {"907329532"}
  1054.  
  1055. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1056. MakeForm(RightHole,"Cyl")
  1057. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1058. MakeForm(LeftHole,"Cyl")
  1059.  
  1060. function getbloody(victim,amount)
  1061. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1062. PART.CFrame = victim.CFrame
  1063. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1064. Debris:AddItem(PART,5)
  1065. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1066. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1067. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1068. local prtcl = asd:Clone()
  1069. prtcl.Parent = PART
  1070. prtcl:Emit(amount*10)
  1071. end
  1072.  
  1073. function Kill(Char)
  1074. local NewCharacter = IT("Model",Effects)
  1075. NewCharacter.Name = "Ow im ded ;-;"
  1076. for _, c in pairs(Char:GetDescendants()) do
  1077. if c:IsA("BasePart") and c.Transparency == 0 then
  1078. if c.Parent == Char then
  1079. getbloody(c,5)
  1080. end
  1081. c:BreakJoints()
  1082. c.Material = "Glass"
  1083. c.Color = C3(0.5,0,0)
  1084. c.CanCollide = true
  1085. c.Transparency = 0.3
  1086. if c:FindFirstChildOfClass("SpecialMesh") then
  1087. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1088. end
  1089. if c.Name == "Head" then
  1090. c:ClearAllChildren()
  1091. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1092. end
  1093. if c.ClassName == "MeshPart" then
  1094. c.TextureID = ""
  1095. end
  1096. if c:FindFirstChildOfClass("BodyPosition") then
  1097. c:FindFirstChildOfClass("BodyPosition"):remove()
  1098. end
  1099. if c:FindFirstChildOfClass("ParticleEmitter") then
  1100. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1101. end
  1102. c.Parent = NewCharacter
  1103. c.Name = "DeadPart"
  1104. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1105. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1106. end
  1107. end
  1108. Char:remove()
  1109. Debris:AddItem(NewCharacter,5)
  1110. end
  1111.  
  1112. function Banisher_Bullet()
  1113. ATTACK = true
  1114. Rooted = false
  1115. for i=0, 0.05, 0.1 / Animation_Speed do
  1116. Swait()
  1117. turnto(Mouse.Hit.p)
  1118. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1119. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1120. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1121. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1122. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1123. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1124. end
  1125. repeat
  1126. for i=0, 0.05, 0.1 / Animation_Speed do
  1127. Swait()
  1128. turnto(Mouse.Hit.p)
  1129. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1133. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1134. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1135. end
  1136. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1137. SpawnTrail(Hole.Position,POS)
  1138. if HIT ~= nil then
  1139. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1140. Banish(HIT.Parent)
  1141. end
  1142. end
  1143. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1144. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1145. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1146. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1147. for i=0, 0.05, 0.1 / Animation_Speed do
  1148. Swait()
  1149. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1153. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1154. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1155. end
  1156. until KEYHOLD == false
  1157. ATTACK = false
  1158. Rooted = false
  1159. end
  1160. function Teleport()
  1161. ATTACK = true
  1162. Rooted = false
  1163. for i=0, 0.5, 0.1 / Animation_Speed do
  1164. Swait()
  1165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1167. end
  1168. for e = 1, #BODY do
  1169. if BODY[e] ~= nil then
  1170. local STUFF = BODY[e]
  1171. local PART = STUFF[1]
  1172. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1173. local PRT = PART:Clone()
  1174. PRT.Anchored = true
  1175. PRT.CanCollide = false
  1176. PRT.Material = "Neon"
  1177. PRT.Color = C3(255,100,255)
  1178. PRT.Name = "WarpEffect"
  1179. PRT.Parent = Effects
  1180. PRT.CFrame = PART.CFrame
  1181. PRT:BreakJoints()
  1182. if PRT:FindFirstChildOfClass("Sound") then
  1183. PRT:FindFirstChildOfClass("Sound"):remove()
  1184. end
  1185. if PRT:FindFirstChildOfClass("Decal") then
  1186. PRT:FindFirstChildOfClass("Decal"):remove()
  1187. end
  1188. coroutine.resume(coroutine.create(function()
  1189. for i = 1, 100 do
  1190. Swait()
  1191. PRT.Transparency = PRT.Transparency + 1/100
  1192. end
  1193. PRT:remove()
  1194. end))
  1195. end
  1196. end
  1197. end
  1198. CreateSound(217767125, Torso, 10, 1)
  1199. local POS = RootPart.Orientation
  1200. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1201. RootPart.Orientation = POS
  1202. RootJoint.Parent = RootPart
  1203. for i=0, 0.5, 0.1 / Animation_Speed do
  1204. Swait()
  1205. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1206. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1207. end
  1208. for i=0, 0.1, 0.1 / Animation_Speed do
  1209. Swait()
  1210. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1211. end
  1212. ATTACK = false
  1213. Rooted = false
  1214. end
  1215. function Deathbound()
  1216. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1217. ATTACK = true
  1218. Rooted = true
  1219. for i=0, 1, 0.1 / Animation_Speed do
  1220. Swait()
  1221. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1222. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1225. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1226. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1227. end
  1228. local DONE = false
  1229. local GATE = nil
  1230. local GATESPIN = true
  1231. coroutine.resume(coroutine.create(function()
  1232. repeat
  1233. Swait()
  1234. if GATE ~= nil then
  1235. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1236. end
  1237. until GATESPIN == false
  1238. end))
  1239. coroutine.resume(coroutine.create(function()
  1240. repeat
  1241. Swait()
  1242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1246. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1247. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1248. until DONE == true
  1249. Swait(50)
  1250. for i = 1, 35 do
  1251. Swait(4)
  1252. local FIRED = false
  1253. local CHILDREN = workspace:GetDescendants()
  1254. for index, CHILD in pairs(CHILDREN) do
  1255. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1256. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1257. if HUM then
  1258. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1259. if TORSO then
  1260. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1261. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1262. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1263. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1264. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1265. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1266. Banish(CHILD)
  1267. FIRED = true
  1268. break
  1269. end
  1270. end
  1271. end
  1272. end
  1273. end
  1274. if FIRED == false then
  1275. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1276. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1277. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1278. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1279. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1280. if HITBOD ~= nil then
  1281. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1282. Kill(HITBOD.Parent)
  1283. end
  1284. end
  1285. end
  1286. end
  1287. for i = 1, 45 do
  1288. Swait()
  1289. GATE.Size = GATE.Size - VT(3,0,3)
  1290. end
  1291. GATESPIN = false
  1292. GATE:remove()
  1293. end))
  1294. Swait(15)
  1295. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1296. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1297. local DECAL = IT("Decal",GATE)
  1298. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1299. DECAL.Face = "Top"
  1300. GATE.CFrame = CF(HITPOS)
  1301. CreateSound(160772554, GATE, 7, 1.3, false)
  1302. for i = 1, 45 do
  1303. Swait()
  1304. GATE.Size = GATE.Size + VT(3,0,3)
  1305. end
  1306. CreateSound(213603013, RightHole, 7, 1, false)
  1307. CreateSound(213603013, LeftHole, 7, 1, false)
  1308. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1309. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1310. ATTACK = false
  1311. Rooted = false
  1312. DONE = true
  1313. end
  1314.  
  1315.  
  1316. --//=================================\\
  1317. --|| ASSIGN THINGS TO KEYS
  1318. --\\=================================//
  1319.  
  1320. function MouseDown(Mouse)
  1321. if ATTACK == false then
  1322. end
  1323. end
  1324.  
  1325. function MouseUp(Mouse)
  1326. HOLD = false
  1327. end
  1328.  
  1329. function KeyDown(Key)
  1330. KEYHOLD = true
  1331. if Key == "z" and ATTACK == false then
  1332. Banisher_Bullet()
  1333. end
  1334.  
  1335. if Key == "b" and ATTACK == false then
  1336. end
  1337.  
  1338. if Key == "c" and ATTACK == false then
  1339. end
  1340.  
  1341. if Key == "v" and ATTACK == false then
  1342. Teleport()
  1343. end
  1344.  
  1345. if Key == "x" and ATTACK == false then
  1346. Deathbound()
  1347. end
  1348. end
  1349.  
  1350. function KeyUp(Key)
  1351. KEYHOLD = false
  1352. end
  1353.  
  1354. Mouse.Button1Down:connect(function(NEWKEY)
  1355. MouseDown(NEWKEY)
  1356. end)
  1357. Mouse.Button1Up:connect(function(NEWKEY)
  1358. MouseUp(NEWKEY)
  1359. end)
  1360. Mouse.KeyDown:connect(function(NEWKEY)
  1361. KeyDown(NEWKEY)
  1362. end)
  1363. Mouse.KeyUp:connect(function(NEWKEY)
  1364. KeyUp(NEWKEY)
  1365. end)
  1366.  
  1367. --//=================================\\
  1368. --\\=================================//
  1369.  
  1370.  
  1371. function unanchor()
  1372. if UNANCHOR == true then
  1373. g = Character:GetChildren()
  1374. for i = 1, #g do
  1375. if g[i].ClassName == "Part" then
  1376. g[i].Anchored = false
  1377. end
  1378. end
  1379. end
  1380. end
  1381.  
  1382.  
  1383. --//=================================\\
  1384. --|| WRAP THE WHOLE SCRIPT UP
  1385. --\\=================================//
  1386.  
  1387. Humanoid.Changed:connect(function(Jump)
  1388. if Jump == "Jump" and (Disable_Jump == true) then
  1389. Humanoid.Jump = false
  1390. end
  1391. end)
  1392.  
  1393. local CONNECT = nil
  1394.  
  1395. while true do
  1396. Swait()
  1397. ANIMATE.Parent = nil
  1398. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1399. Humanoid = IT("Humanoid",Character)
  1400. end
  1401. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1402. v:Stop();
  1403. end
  1404. SINE = SINE + CHANGE
  1405. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1406. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1407. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1408. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  1409. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1410. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3)
  1411. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  1412. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  1413. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  1414. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1415. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1416. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1417. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1418. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  1419. end
  1420. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1421. ANIM = "Jump"
  1422. if ATTACK == false then
  1423. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1427. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1428. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1429. end
  1430. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1431. ANIM = "Fall"
  1432. if ATTACK == false then
  1433. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1437. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1439. end
  1440. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1441. ANIM = "Idle"
  1442. if ATTACK == false then
  1443. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3)
  1444. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3)
  1445. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3)
  1446. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3)
  1447. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
  1448. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
  1449. end
  1450. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1451. ANIM = "Walk"
  1452. if ATTACK == false then
  1453. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  1454. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3)
  1455. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  1456. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
  1457. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
  1458. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
  1459. end
  1460. end
  1461. unanchor()
  1462. Humanoid.MaxHealth = "inf"
  1463. Humanoid.Health = "inf"
  1464. if Rooted == false then
  1465. Disable_Jump = false
  1466. Humanoid.WalkSpeed = Speed
  1467. elseif Rooted == true then
  1468. Disable_Jump = true
  1469. Humanoid.WalkSpeed = 0
  1470. end
  1471. refit()
  1472. sick.Parent = Torso
  1473. sick:resume()
  1474. sick.Volume = 5
  1475. sick.Pitch = 0
  1476. sick.SoundId = "rbxassetid://1383202399"
  1477. sick.Name = "BanishV3Music"
  1478. end
  1479.  
  1480. --//=================================\\
  1481. --\\=================================//
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487. --//====================================================\\--
  1488. --|| END OF SCRIPT
  1489. --\\====================================================//--
  1490.  
  1491. print([[
  1492. ___________________________________
  1493.  
  1494. Kyutatsuki13's music player script
  1495. Build 0161
  1496. It's a music player of quality!
  1497.  
  1498. ___________________________________
  1499. ]])
  1500.  
  1501. player = game:GetService("Players").LocalPlayer
  1502. char = player.Character
  1503. hed = char:WaitForChild("Head")
  1504. root = char:WaitForChild("HumanoidRootPart")
  1505. rs = game:GetService("RunService").RenderStepped
  1506. mouse = player:GetMouse()
  1507. vismode = "rainbow"
  1508. firstrun = true
  1509. asdid = ""
  1510. asdtext = ""
  1511. asdtimeposition = 0
  1512. asdvolume = 0
  1513. asdpitch = 0
  1514. asdmax = 0
  1515. mode = "local"
  1516. asdhi=0
  1517. asdmi=0
  1518. asdlo=0
  1519. asddist=0
  1520. asdopen=false
  1521. asdcolor = false
  1522. synctarget = nil
  1523. foundsound = false
  1524.  
  1525. mathrandom={x=0;y=0;z=0;}
  1526.  
  1527. local rdmx = math.random(0,1)
  1528. local rdmy = math.random(0,1)
  1529. local rdmz = math.random(0,1)
  1530. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  1531. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  1532. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  1533.  
  1534. local origcolor = BrickColor.new("Really red")
  1535. bc = BrickColor.new
  1536. br = BrickColor.random
  1537. it = Instance.new
  1538. cf = CFrame.new
  1539. euler = CFrame.fromEulerAnglesXYZ
  1540. angles = CFrame.Angles
  1541. matr = math.random
  1542. it = Instance.new
  1543. vt = Vector3.new
  1544. cf = CFrame.new
  1545. bc = BrickColor.new
  1546.  
  1547.  
  1548. local leftkey = false
  1549. local rightkey = false
  1550. local typerot = 1
  1551. local rotspeed = 1
  1552. local negrotspeed = -1
  1553. function swait(num)
  1554. if num==0 or num==nil then
  1555. game:service'RunService'.Stepped:wait(0)
  1556. else
  1557. for i=0,num do
  1558. game:service'RunService'.Stepped:wait(0)
  1559. end
  1560. end
  1561. end
  1562.  
  1563. local Create = LoadLibrary("RbxUtility").Create
  1564.  
  1565. CFuncs = {
  1566. ["Part"] = {
  1567. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1568. local Part = Create("Part"){
  1569. Parent = Parent,
  1570. Reflectance = Reflectance,
  1571. Transparency = Transparency,
  1572. CanCollide = false,
  1573. Locked = true,
  1574. BrickColor = BrickColor.new(tostring(BColor)),
  1575. Name = Name,
  1576. Size = Size,
  1577. Material = Material,
  1578. }
  1579. RemoveOutlines(Part)
  1580. return Part
  1581. end;
  1582. };
  1583.  
  1584. ["Mesh"] = {
  1585. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1586. local Msh = Create(Mesh){
  1587. Parent = Part,
  1588. Offset = OffSet,
  1589. Scale = Scale,
  1590. }
  1591. if Mesh == "SpecialMesh" then
  1592. Msh.MeshType = MeshType
  1593. Msh.MeshId = MeshId
  1594. end
  1595. return Msh
  1596. end;
  1597. };
  1598.  
  1599. ["Mesh"] = {
  1600. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1601. local Msh = Create(Mesh){
  1602. Parent = Part,
  1603. Offset = OffSet,
  1604. Scale = Scale,
  1605. }
  1606. if Mesh == "SpecialMesh" then
  1607. Msh.MeshType = MeshType
  1608. Msh.MeshId = MeshId
  1609. end
  1610. return Msh
  1611. end;
  1612. };
  1613.  
  1614. ["Weld"] = {
  1615. Create = function(Parent, Part0, Part1, C0, C1)
  1616. local Weld = Create("Weld"){
  1617. Parent = Parent,
  1618. Part0 = Part0,
  1619. Part1 = Part1,
  1620. C0 = C0,
  1621. C1 = C1,
  1622. }
  1623. return Weld
  1624. end;
  1625. };
  1626.  
  1627. ["Sound"] = {
  1628. Create = function(id, par, vol, pit)
  1629. coroutine.resume(coroutine.create(function()
  1630. local S = Create("Sound"){
  1631. Volume = vol,
  1632. Pitch = pit or 1,
  1633. SoundId = id,
  1634. Parent = par or workspace,
  1635. }
  1636. wait()
  1637. S:play()
  1638. game:GetService("Debris"):AddItem(S, 10)
  1639. end))
  1640. end;
  1641. };
  1642.  
  1643. ["ParticleEmitter"] = {
  1644. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1645. local fp = Create("ParticleEmitter"){
  1646. Parent = Parent,
  1647. Color = ColorSequence.new(Color1, Color2),
  1648. LightEmission = LightEmission,
  1649. Size = Size,
  1650. Texture = Texture,
  1651. Transparency = Transparency,
  1652. ZOffset = ZOffset,
  1653. Acceleration = Accel,
  1654. Drag = Drag,
  1655. LockedToPart = LockedToPart,
  1656. VelocityInheritance = VelocityInheritance,
  1657. EmissionDirection = EmissionDirection,
  1658. Enabled = Enabled,
  1659. Lifetime = LifeTime,
  1660. Rate = Rate,
  1661. Rotation = Rotation,
  1662. RotSpeed = RotSpeed,
  1663. Speed = Speed,
  1664. VelocitySpread = VelocitySpread,
  1665. }
  1666. return fp
  1667. end;
  1668. };
  1669.  
  1670. CreateTemplate = {
  1671.  
  1672. };
  1673. }
  1674.  
  1675.  
  1676.  
  1677. New = function(Object, Parent, Name, Data)
  1678. local Object = Instance.new(Object)
  1679. for Index, Value in pairs(Data or {}) do
  1680. Object[Index] = Value
  1681. end
  1682. Object.Parent = Parent
  1683. Object.Name = Name
  1684. return Object
  1685. end
  1686.  
  1687. function CreateSound(asd)
  1688. if synctarget == nil then
  1689. if mode == "local" then
  1690. soundparent=char:WaitForChild("Torso")
  1691. else
  1692. soundparent=char
  1693. end
  1694. sound = Instance.new("Sound",soundparent)
  1695. sound.Name = "KyuSound"
  1696. sound.Looped = true
  1697. effect = Instance.new("EqualizerSoundEffect",sound)
  1698. coroutine.resume(coroutine.create(function()
  1699. distort = Instance.new("DistortionSoundEffect",sound)
  1700. end))
  1701. if asd ~= nil then
  1702. sound.SoundId = asdid
  1703. sound.TimePosition = asdtimeposition
  1704. end
  1705. sound:Play()
  1706. end
  1707. end
  1708.  
  1709. function fetchName(id)
  1710. cast = false
  1711. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) cast = true end))
  1712. if cast == true then
  1713. repeat rs:wait()
  1714. coroutine.resume(coroutine.create(function() product = game:GetService("MarketplaceService"):GetProductInfo(id, Enum.InfoType.Asset) end))
  1715. asdfname = product.Name
  1716. until asdfname ~= nil
  1717. else
  1718. asdfname = ""
  1719. end
  1720. return asdfname
  1721. end
  1722.  
  1723. function scan(instance)
  1724. if instance.ClassName == "Sound" then
  1725. if instance.TimeLength > 20 and instance.IsPlaying and foundsound == false then
  1726. asdid = instance.SoundId
  1727. sound = instance
  1728. foundsound = true
  1729. print("Sync to sound :)")
  1730. end
  1731. end
  1732. for _,children in pairs(instance:GetChildren()) do scan(children) end
  1733. end
  1734.  
  1735. function drawgui()
  1736.  
  1737. Prefix = "/"
  1738. function findPlayer(name)
  1739. for _, players in pairs(game:getService("Players"):GetPlayers()) do
  1740. if players.Name:lower():find(name:lower()) then
  1741. return players
  1742. end
  1743. end
  1744. end
  1745.  
  1746. if firstrun == true then
  1747. player.Chatted:connect(function(msg)
  1748. if msg:lower():sub(1,#Prefix+#'sync ')==Prefix..'sync ' then
  1749. local v = msg:sub(#Prefix+#'sync '+1)
  1750. foundsound = false
  1751. synctarget = findPlayer(v)
  1752. end
  1753. end)
  1754. end
  1755.  
  1756. naeeym2 = Instance.new("BillboardGui",root)
  1757. naeeym2.Size = UDim2.new(10, 0, 4, 0)
  1758. naeeym2.StudsOffset = Vector3.new(0, 7, 0)
  1759. naeeym2.Adornee = root
  1760. naeeym2.Name = "TalkingBillBoard"
  1761. tecks2 = Instance.new("TextLabel",naeeym2)
  1762. tecks2.BackgroundTransparency = 1
  1763. tecks2.BorderSizePixel = 0
  1764. if firstrun == true then
  1765. tecks2.Text = ""
  1766. else
  1767. tecks2.Text = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  1768. end
  1769. tecks2.Font = "Fantasy"
  1770. tecks2.TextSize = 25
  1771. tecks2.Size = UDim2.new(1,0,1,0)
  1772. tecks2.TextStrokeTransparency = 0
  1773. tecks2.TextTransparency = 0
  1774.  
  1775. parent = player.PlayerGui
  1776. ScreenGui0 = Instance.new("ScreenGui")
  1777. TextButton1 = Instance.new("TextButton")
  1778. Frame2 = Instance.new("Frame")
  1779. TextBox3 = Instance.new("TextBox")
  1780. TextButton4 = Instance.new("TextButton")
  1781. Frame5 = Instance.new("Frame")
  1782. Frame6 = Instance.new("Frame")
  1783. Frame7 = Instance.new("Frame")
  1784. TextLabel8 = Instance.new("TextLabel")
  1785. TextButton9 = Instance.new("TextButton")
  1786. Frame10 = Instance.new("Frame")
  1787. Frame11 = Instance.new("Frame")
  1788. TextLabel12 = Instance.new("TextLabel")
  1789. TextButton13 = Instance.new("TextButton")
  1790. TextButton14 = Instance.new("TextButton")
  1791. Frame15 = Instance.new("Frame")
  1792. Frame16 = Instance.new("Frame")
  1793. Frame17 = Instance.new("Frame")
  1794. TextButton18 = Instance.new("TextButton")
  1795. TextLabel19 = Instance.new("TextLabel")
  1796. Frame20 = Instance.new("Frame")
  1797. Frame21 = Instance.new("Frame")
  1798. TextButton22 = Instance.new("TextButton")
  1799. TextLabel23 = Instance.new("TextLabel")
  1800. Frame24 = Instance.new("Frame")
  1801. Frame25 = Instance.new("Frame")
  1802. TextButton26 = Instance.new("TextButton")
  1803. TextLabel27 = Instance.new("TextLabel")
  1804. Frame28 = Instance.new("Frame")
  1805. Frame29 = Instance.new("Frame")
  1806. TextButton30 = Instance.new("TextButton")
  1807. TextLabel31 = Instance.new("TextLabel")
  1808. Frame32 = Instance.new("Frame")
  1809. TextButton33 = Instance.new("TextButton")
  1810. TextButton34 = Instance.new("TextButton")
  1811. ScreenGui0.Name = "MusicPlayerKyu"
  1812. ScreenGui0.Parent = parent
  1813. TextButton1.AnchorPoint = Vector2.new(0, 0.5)
  1814. TextButton1.Name = "Open/Close"
  1815. TextButton1.Parent = ScreenGui0
  1816. TextButton1.Size = UDim2.new(0, 20, 0, 300)
  1817. TextButton1.Text = ">>"
  1818. TextButton1.Position = UDim2.new(0, 0, 0.5, 0)
  1819. TextButton1.BackgroundColor3 = Color3.new(1, 1, 1)
  1820. TextButton1.SizeConstraint = Enum.SizeConstraint.RelativeXX
  1821. TextButton1.Font = Enum.Font.Code
  1822. Frame2.AnchorPoint = Vector2.new(0, 0.5)
  1823. Frame2.Name = "Core"
  1824. Frame2.Parent = ScreenGui0
  1825. Frame2.Size = UDim2.new(0, 500, 0, 300)
  1826. Frame2.Position = UDim2.new(0, 20, 0.5, 0)
  1827. Frame2.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
  1828. Frame2.SizeConstraint = Enum.SizeConstraint.RelativeXX
  1829. TextBox3.Name = "ID"
  1830. TextBox3.Parent = Frame2
  1831. TextBox3.Size = UDim2.new(0, 100, 0, 100)
  1832. if firstrun == true then
  1833. TextBox3.Text = "ID"
  1834. else
  1835. TextBox3.Text = asdtext
  1836. end
  1837. TextBox3.Position = UDim2.new(0, 50, 0, 20)
  1838. TextBox3.BackgroundColor3 = Color3.new(1, 1, 1)
  1839. TextBox3.SizeConstraint = Enum.SizeConstraint.RelativeXX
  1840. TextBox3.Font = Enum.Font.SciFi
  1841. TextBox3.FontSize = Enum.FontSize.Size14
  1842. TextButton4.Name = "Play"
  1843. TextButton4.Parent = TextBox3
  1844. TextButton4.Size = UDim2.new(1, 0, 0, 20)
  1845. TextButton4.Text = "PLAY"
  1846. TextButton4.Position = UDim2.new(0.5, 0, 1, 0)
  1847. TextButton4.BackgroundColor3 = Color3.new(1, 1, 1)
  1848. TextButton4.Font = Enum.Font.SciFi
  1849. TextButton4.FontSize = Enum.FontSize.Size14
  1850. TextButton4.AnchorPoint = Vector2.new(0.5, 0)
  1851. Frame5.Name = "SettingsPanel"
  1852. Frame5.Parent = Frame2
  1853. Frame5.Size = UDim2.new(0, 300, 0, 150)
  1854. Frame5.Position = UDim2.new(1, -20, 0, 20)
  1855. Frame5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  1856. Frame5.AnchorPoint = Vector2.new(1, 0)
  1857. Frame6.Name = "Volume"
  1858. Frame6.Parent = Frame5
  1859. Frame6.Transparency = 0
  1860. Frame6.Size = UDim2.new(0, 100, 0, 100)
  1861. Frame6.Position = UDim2.new(0, 100, 0.5, 0)
  1862. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  1863. Frame6.BackgroundTransparency = 1
  1864. Frame6.AnchorPoint = Vector2.new(0.5, 0.5)
  1865. Frame7.Name = "Line"
  1866. Frame7.Parent = Frame6
  1867. Frame7.Size = UDim2.new(0, 1, 1, 0)
  1868. Frame7.Position = UDim2.new(0.5, 0, 0, 0)
  1869. Frame7.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  1870. Frame7.BorderSizePixel = 0
  1871. Frame7.AnchorPoint = Vector2.new(0.5, 0)
  1872. TextLabel8.Name = "Text"
  1873. TextLabel8.Parent = Frame6
  1874. TextLabel8.Transparency = 0
  1875. TextLabel8.Text = "Volume"
  1876. TextLabel8.Position = UDim2.new(0.5, 0, 1, 10)
  1877. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  1878. TextLabel8.BackgroundTransparency = 1
  1879. TextLabel8.Font = Enum.Font.SourceSans
  1880. TextLabel8.FontSize = Enum.FontSize.Size10
  1881. TextLabel8.AnchorPoint = Vector2.new(0.5, 0)
  1882. TextButton9.Name = "DragVol"
  1883. TextButton9.Parent = Frame6
  1884. TextButton9.Size = UDim2.new(0, 20, 0, 10)
  1885. TextButton9.Text = ""
  1886. if firstrun == true then
  1887. TextButton9.Position = UDim2.new(0.5, 0, 0.5, 0)
  1888. else
  1889. TextButton9.Position = asdvolume
  1890. end
  1891. TextButton9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  1892. TextButton9.Font = Enum.Font.SourceSans
  1893. TextButton9.AnchorPoint = Vector2.new(0.5, 0.5)
  1894. Frame10.Name = "Pitch"
  1895. Frame10.Parent = Frame5
  1896. Frame10.Transparency = 0
  1897. Frame10.Size = UDim2.new(0, 100, 0, 100)
  1898. Frame10.Position = UDim2.new(0, 50, 0.5, 0)
  1899. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  1900. Frame10.BackgroundTransparency = 1
  1901. Frame10.AnchorPoint = Vector2.new(0.5, 0.5)
  1902. Frame11.Name = "Line"
  1903. Frame11.Parent = Frame10
  1904. Frame11.Size = UDim2.new(0, 1, 1, 0)
  1905. Frame11.Position = UDim2.new(0.5, 0, 0, 0)
  1906. Frame11.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  1907. Frame11.BorderSizePixel = 0
  1908. Frame11.AnchorPoint = Vector2.new(0.5, 0)
  1909. TextLabel12.Name = "Text"
  1910. TextLabel12.Parent = Frame10
  1911. TextLabel12.Transparency = 0
  1912. TextLabel12.Text = "Pitch"
  1913. TextLabel12.Position = UDim2.new(0.5, 0, 1, 10)
  1914. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  1915. TextLabel12.BackgroundTransparency = 1
  1916. TextLabel12.Font = Enum.Font.SourceSans
  1917. TextLabel12.FontSize = Enum.FontSize.Size10
  1918. TextLabel12.AnchorPoint = Vector2.new(0.5, 0)
  1919. TextButton13.Name = "DragPitch"
  1920. TextButton13.Parent = Frame10
  1921. TextButton13.Size = UDim2.new(0, 20, 0, 10)
  1922. TextButton13.Text = ""
  1923. if firstrun == true then
  1924. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  1925. else
  1926. TextButton13.Position = asdpitch
  1927. end
  1928. TextButton13.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  1929. TextButton13.Font = Enum.Font.SourceSans
  1930. TextButton13.AnchorPoint = Vector2.new(0.5, 0.5)
  1931. TextButton14.Name = "Reset"
  1932. TextButton14.Parent = Frame10
  1933. TextButton14.Size = UDim2.new(0, 20, 0, 20)
  1934. TextButton14.Text = ""
  1935. TextButton14.Position = UDim2.new(0.5, -15, 0.5, 0)
  1936. TextButton14.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  1937. TextButton14.Font = Enum.Font.SourceSans
  1938. TextButton14.FontSize = Enum.FontSize.Size14
  1939. TextButton14.AnchorPoint = Vector2.new(1, 0.5)
  1940. Frame15.Name = "Others"
  1941. Frame15.Parent = Frame5
  1942. Frame15.Transparency = 0
  1943. Frame15.Size = UDim2.new(0, 100, 0, 100)
  1944. Frame15.Position = UDim2.new(0, 210, 0.5, 0)
  1945. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  1946. Frame15.BackgroundTransparency = 1
  1947. Frame15.AnchorPoint = Vector2.new(0.5, 0.5)
  1948. Frame16.Name = "Low"
  1949. Frame16.Parent = Frame15
  1950. Frame16.Transparency = 0
  1951. Frame16.Size = UDim2.new(0, 0, 1, 0)
  1952. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  1953. Frame16.BackgroundTransparency = 1
  1954. Frame17.Name = "Line"
  1955. Frame17.Parent = Frame16
  1956. Frame17.Size = UDim2.new(0, 1, 1, 0)
  1957. Frame17.Position = UDim2.new(0.5, 0, 0, 0)
  1958. Frame17.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  1959. Frame17.BorderSizePixel = 0
  1960. Frame17.AnchorPoint = Vector2.new(0.5, 0)
  1961. TextButton18.Name = "DragLow"
  1962. TextButton18.Parent = Frame16
  1963. TextButton18.Size = UDim2.new(0, 20, 0, 10)
  1964. TextButton18.Text = ""
  1965. if firstrun == true then
  1966. TextButton18.Position = UDim2.new(0.5, 0, 0.5, -25)
  1967. else
  1968. TextButton18.Position = asdlo
  1969. end
  1970. TextButton18.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  1971. TextButton18.Font = Enum.Font.SourceSans
  1972. TextButton18.AnchorPoint = Vector2.new(0.5, 0.5)
  1973. TextLabel19.Name = "Text"
  1974. TextLabel19.Parent = Frame16
  1975. TextLabel19.Transparency = 0
  1976. TextLabel19.Text = "Low"
  1977. TextLabel19.Position = UDim2.new(0.5, 0, 1, 10)
  1978. TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  1979. TextLabel19.BackgroundTransparency = 1
  1980. TextLabel19.Font = Enum.Font.SourceSans
  1981. TextLabel19.FontSize = Enum.FontSize.Size10
  1982. TextLabel19.AnchorPoint = Vector2.new(0.5, 0)
  1983. Frame20.Name = "Medium"
  1984. Frame20.Parent = Frame15
  1985. Frame20.Transparency = 0
  1986. Frame20.Size = UDim2.new(0, 0, 1, 0)
  1987. Frame20.Position = UDim2.new(0, 40, 0, 0)
  1988. Frame20.BackgroundColor3 = Color3.new(1, 1, 1)
  1989. Frame20.BackgroundTransparency = 1
  1990. Frame21.Name = "Line"
  1991. Frame21.Parent = Frame20
  1992. Frame21.Size = UDim2.new(0, 1, 1, 0)
  1993. Frame21.Position = UDim2.new(0.5, 0, 0, 0)
  1994. Frame21.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  1995. Frame21.BorderSizePixel = 0
  1996. Frame21.AnchorPoint = Vector2.new(0.5, 0)
  1997. TextButton22.Name = "DragMed"
  1998. TextButton22.Parent = Frame20
  1999. TextButton22.Size = UDim2.new(0, 20, 0, 10)
  2000. TextButton22.Text = ""
  2001. if firstrun == true then
  2002. TextButton22.Position = UDim2.new(0.5, 0, 0.5, -25)
  2003. else
  2004. TextButton22.Position = asdmi
  2005. end
  2006. TextButton22.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  2007. TextButton22.Font = Enum.Font.SourceSans
  2008. TextButton22.AnchorPoint = Vector2.new(0.5, 0.5)
  2009. TextLabel23.Name = "Text"
  2010. TextLabel23.Parent = Frame20
  2011. TextLabel23.Transparency = 0
  2012. TextLabel23.Text = "Medium"
  2013. TextLabel23.Position = UDim2.new(0.5, 0, 1, 10)
  2014. TextLabel23.BackgroundColor3 = Color3.new(1, 1, 1)
  2015. TextLabel23.BackgroundTransparency = 1
  2016. TextLabel23.Font = Enum.Font.SourceSans
  2017. TextLabel23.FontSize = Enum.FontSize.Size10
  2018. TextLabel23.AnchorPoint = Vector2.new(0.5, 0)
  2019. Frame24.Name = "High"
  2020. Frame24.Parent = Frame15
  2021. Frame24.Transparency = 0
  2022. Frame24.Size = UDim2.new(0, 0, 1, 0)
  2023. Frame24.Position = UDim2.new(0, 80, 0, 0)
  2024. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  2025. Frame24.BackgroundTransparency = 1
  2026. Frame25.Name = "Line"
  2027. Frame25.Parent = Frame24
  2028. Frame25.Size = UDim2.new(0, 1, 1, 0)
  2029. Frame25.Position = UDim2.new(0.5, 0, 0, 0)
  2030. Frame25.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  2031. Frame25.BorderSizePixel = 0
  2032. Frame25.AnchorPoint = Vector2.new(0.5, 0)
  2033. TextButton26.Name = "DragHigh"
  2034. TextButton26.Parent = Frame24
  2035. TextButton26.Size = UDim2.new(0, 20, 0, 10)
  2036. TextButton26.Text = ""
  2037. if firstrun == true then
  2038. TextButton26.Position = UDim2.new(0.5, 0, 0.5, -25)
  2039. else
  2040. TextButton26.Position = asdhi
  2041. end
  2042. TextButton26.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  2043. TextButton26.Font = Enum.Font.SourceSans
  2044. TextButton26.AnchorPoint = Vector2.new(0.5, 0.5)
  2045. TextLabel27.Name = "Text"
  2046. TextLabel27.Parent = Frame24
  2047. TextLabel27.Transparency = 0
  2048. TextLabel27.Text = "High"
  2049. TextLabel27.Position = UDim2.new(0.5, 0, 1, 10)
  2050. TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  2051. TextLabel27.BackgroundTransparency = 1
  2052. TextLabel27.Font = Enum.Font.SourceSans
  2053. TextLabel27.FontSize = Enum.FontSize.Size10
  2054. TextLabel27.AnchorPoint = Vector2.new(0.5, 0)
  2055. Frame28.Name = "Distortion"
  2056. Frame28.Parent = Frame15
  2057. Frame28.Transparency = 0
  2058. Frame28.Size = UDim2.new(0, 0, 1, 0)
  2059. Frame28.Position = UDim2.new(0, 120, 0, 0)
  2060. Frame28.BackgroundColor3 = Color3.new(1, 1, 1)
  2061. Frame28.BackgroundTransparency = 1
  2062. Frame29.Name = "Line"
  2063. Frame29.Parent = Frame28
  2064. Frame29.Size = UDim2.new(0, 1, 1, 0)
  2065. Frame29.Position = UDim2.new(0.5, 0, 0, 0)
  2066. Frame29.BackgroundColor3 = Color3.new(0.290196, 0.290196, 0.290196)
  2067. Frame29.BorderSizePixel = 0
  2068. Frame29.AnchorPoint = Vector2.new(0.5, 0)
  2069. TextButton30.Name = "DragDist"
  2070. TextButton30.Parent = Frame28
  2071. TextButton30.Size = UDim2.new(0, 20, 0, 10)
  2072. TextButton30.Text = ""
  2073. if firstrun == true then
  2074. TextButton30.Position = UDim2.new(0.5, 0, 0.5, 50)
  2075. else
  2076. TextButton30.Position = asddist
  2077. end
  2078. TextButton30.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  2079. TextButton30.Font = Enum.Font.SourceSans
  2080. TextButton30.AnchorPoint = Vector2.new(0.5, 0.5)
  2081. TextLabel31.Name = "Text"
  2082. TextLabel31.Parent = Frame28
  2083. TextLabel31.Transparency = 0
  2084. TextLabel31.Text = "Dist"
  2085. TextLabel31.Position = UDim2.new(0.5, 0, 1, 10)
  2086. TextLabel31.BackgroundColor3 = Color3.new(1, 1, 1)
  2087. TextLabel31.BackgroundTransparency = 1
  2088. TextLabel31.Font = Enum.Font.SourceSans
  2089. TextLabel31.FontSize = Enum.FontSize.Size10
  2090. TextLabel31.AnchorPoint = Vector2.new(0.5, 0)
  2091. Frame32.Name = "Line"
  2092. Frame32.Parent = Frame5
  2093. Frame32.Size = UDim2.new(0, 1, 1, -20)
  2094. Frame32.Position = UDim2.new(0.5, -20, 0.5, 0)
  2095. Frame32.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  2096. Frame32.BorderSizePixel = 0
  2097. Frame32.AnchorPoint = Vector2.new(0.5, 0.5)
  2098. TextButton33.Name = "Global/Local"
  2099. TextButton33.Parent = Frame2
  2100. TextButton33.Size = UDim2.new(0, 100, 0, 100)
  2101. if mode == "local" then
  2102. TextButton33.Text = "LOCAL"
  2103. else
  2104. TextButton33.Text = "GLOBAL"
  2105. end
  2106. TextButton33.Position = UDim2.new(0, 50, 0, 180)
  2107. TextButton33.BackgroundColor3 = Color3.new(1, 1, 1)
  2108. TextButton33.Font = Enum.Font.SciFi
  2109. TextButton33.FontSize = Enum.FontSize.Size14
  2110. TextButton34.Name = "Style"
  2111. TextButton34.Parent = Frame2
  2112. TextButton34.Size = UDim2.new(0.5, 50, 0, 100)
  2113. TextButton34.Text = "Style: "..vismode
  2114. TextButton34.Position = UDim2.new(0.5, 80, 0, 180)
  2115. TextButton34.BackgroundColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  2116. TextButton34.Font = Enum.Font.SciFi
  2117. TextButton34.FontSize = Enum.FontSize.Size14
  2118. TextButton34.TextColor3 = Color3.new(1, 1, 0)
  2119. TextButton34.AnchorPoint = Vector2.new(0.5, 0)
  2120. Frame2.Visible = asdopen
  2121.  
  2122. draggable = {TextButton9;TextButton13;TextButton18;TextButton22;TextButton26;TextButton30}
  2123. held = false
  2124. trigger = nil
  2125. base = UDim2.new(0,0,0,0)
  2126.  
  2127. TextButton1.MouseButton1Click:connect(function()
  2128. if Frame2.Visible == true then
  2129. Frame2.Visible = false
  2130. asdopen = false
  2131. TextButton1.Text = ">>"
  2132. else
  2133. Frame2.Visible = true
  2134. asdopen = true
  2135. TextButton1.Text = "<<"
  2136. end
  2137. end)
  2138.  
  2139. TextButton4.MouseButton1Click:connect(function()
  2140. if mode == "local" then
  2141. if not char:WaitForChild("Torso"):FindFirstChild("KyuSound") then CreateSound() end
  2142. else
  2143. if not char:FindFirstChild("KyuSound") then CreateSound() end
  2144. end
  2145. synctarget = nil
  2146. sound:Stop()
  2147. soundname = fetchName(TextBox3.Text)
  2148. tecks2.Text = soundname
  2149. asdid = "rbxassetid://"..TextBox3.Text
  2150. sound:Play()
  2151. end)
  2152.  
  2153. TextButton14.MouseButton1Click:connect(function()
  2154. TextButton13.Position = UDim2.new(0.5, 0, 0.5, 0)
  2155. end)
  2156.  
  2157. TextButton33.MouseButton1Click:connect(function()
  2158. if synctarget == nil then
  2159. if mode == "local" then
  2160. mode = "global"
  2161. TextButton33.Text = "GLOBAL"
  2162. if char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  2163. sound:Pause()
  2164. sound.Parent = char
  2165. sound:Resume()
  2166. end
  2167. else
  2168. mode = "local"
  2169. TextButton33.Text = "LOCAL"
  2170. if char:FindFirstChild("KyuSound") then
  2171. sound:Pause()
  2172. sound.Parent = char:WaitForChild("Torso")
  2173. sound:Resume()
  2174. end
  2175. end
  2176. end
  2177. end)
  2178.  
  2179. function changemode()
  2180. if vismode == "nothing" then
  2181. vismode = "rainbow"
  2182. local rdmx = math.random(0,1)
  2183. local rdmy = math.random(0,1)
  2184. local rdmz = math.random(0,1)
  2185. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  2186. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  2187. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  2188. elseif vismode == "rainbow" then
  2189. vismode = "classic"
  2190. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  2191. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  2192. part:Destroy()
  2193. elseif vismode == "classic" then
  2194. vismode = "trail"
  2195. local rdmx = math.random(0,1)
  2196. local rdmy = math.random(0,1)
  2197. local rdmz = math.random(0,1)
  2198. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  2199. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  2200. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  2201. elseif vismode == "trail" then
  2202. part:Destroy()
  2203. vismode = "nooby"
  2204. elseif vismode == "nooby" then
  2205. vismode = "trail kyu"
  2206. centralpart:Destroy()
  2207. local rdmx = math.random(0,1)
  2208. local rdmy = math.random(0,1)
  2209. local rdmz = math.random(0,1)
  2210. if rdmx == 0 then mathrandom.x = math.random(40,60) else mathrandom.x = -math.random(40,60) end
  2211. if rdmy == 0 then mathrandom.y = math.random(40,60) else mathrandom.y = -math.random(40,60) end
  2212. if rdmz == 0 then mathrandom.z = math.random(40,60) else mathrandom.z = -math.random(40,60) end
  2213. elseif vismode == "trail kyu" then
  2214. part:Destroy()
  2215. vismode = "nothing"
  2216. end
  2217. end
  2218.  
  2219. TextButton34.MouseButton1Click:connect(function()
  2220. changemode()
  2221. end)
  2222.  
  2223. for i,v in pairs(draggable) do
  2224. v.MouseButton1Down:connect(function()
  2225. trigger = v
  2226. base = UDim2.new(0.5,0,0.5,mouse.y) - trigger.Position
  2227. held = true
  2228. end)
  2229. v.MouseButton1Up:connect(function()
  2230. base = UDim2.new(0.5,0,0.5,0)
  2231. trigger = nil
  2232. held = false
  2233. end)
  2234. end
  2235.  
  2236. mouse.Button1Up:connect(function()
  2237. base = UDim2.new(0.5,0,0.5,0)
  2238. trigger = nil
  2239. held = false
  2240. end)
  2241.  
  2242. mouse.Move:connect(function()
  2243. if held then
  2244. trigger.Position = UDim2.new(0.5,0,0.5,mouse.y) - base
  2245. if trigger.Position.Y.Offset > 50 then
  2246. trigger.Position = UDim2.new(0.5, 0,0.5, 50)
  2247. end
  2248. if trigger.Position.Y.Offset < -50 then
  2249. trigger.Position = UDim2.new(0.5, 0,0.5, -50)
  2250. end
  2251. if trigger.Position.X.Offset ~= 0 then
  2252. trigger.Position = UDim2.new(0.5, 0,0.5, trigger.Position.Y.Offset)
  2253. end
  2254. end
  2255. end)
  2256. max = asdmax
  2257. Visualiser = Instance.new("Model",char)
  2258. Visualiser2 = Instance.new("Model",Visualiser)
  2259. Visualiser2.Name = "VisualiserK"
  2260. Main = Instance.new("Part",Visualiser)
  2261. Main.Name = "VisualiserClassic"
  2262. Main.Position = char.Head.Position+Vector3.new(0,2,0)
  2263. Main.CanCollide = false
  2264. Main.Size = Vector3.new(1,1,1)
  2265. Main.Transparency = 1
  2266. Visualiserpos = Instance.new("Attachment",Main)
  2267. Visualiserpos.Position = Vector3.new(5,0,0)
  2268. Visualiserpos2 = Instance.new("Attachment",Main)
  2269. Visualiserpos2.Position = Vector3.new(-5,0,0)
  2270. bp = Instance.new("BodyPosition",Main)
  2271. bp.P = 3500
  2272. ba = Instance.new("BodyAngularVelocity",Main)
  2273. firstrun = false
  2274. end
  2275.  
  2276. local i = 0
  2277.  
  2278. while rs:wait() do
  2279.  
  2280. script.Parent = nil
  2281. char = player.Character
  2282. root = char:WaitForChild("HumanoidRootPart")
  2283.  
  2284. if not player.PlayerGui:FindFirstChild("MusicPlayerKyu") then
  2285. drawgui()
  2286. CreateSound("BACKUP")
  2287. end
  2288.  
  2289. if not (foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound")) then
  2290. CreateSound("BACKUP")
  2291. end
  2292.  
  2293. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  2294. asdvolume = sound.Volume
  2295. asdtimeposition = sound.TimePosition
  2296. end
  2297.  
  2298. if sound.SoundId ~= asdid and synctarget == nil then
  2299. sound:Stop()
  2300. sound.SoundId = asdid
  2301. soundname = fetchName(tonumber(asdid:sub(#'rbxassetid://'+1)))
  2302. sound.TimePosition = asdtimeposition
  2303. sound:Play()
  2304. end
  2305.  
  2306. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  2307. if max < sound.PlaybackLoudness then
  2308. max = sound.PlaybackLoudness
  2309. end
  2310. if max > 0 then
  2311. max = max -1
  2312. end
  2313. if not sound:FindFirstChild("EqualizerSoundEffect") then
  2314. effect = Instance.new("EqualizerSoundEffect",sound)
  2315. end
  2316. if not sound:FindFirstChild("DistortionSoundEffect") then
  2317. coroutine.resume(coroutine.create(function()
  2318. distort = Instance.new("DistortionSoundEffect",sound)
  2319. end))
  2320. end
  2321. sound.Volume = 5-(TextButton9.Position.Y.Offset/10)
  2322. sound.PlaybackSpeed = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  2323. coroutine.resume(coroutine.create(function()
  2324. distort.Level = 0.5+(-TextButton30.Position.Y.Offset/50)
  2325. end))
  2326. effect.HighGain = -(TextButton26.Position.Y.Offset*1.2)
  2327. effect.MidGain = -(TextButton22.Position.Y.Offset*1.2)
  2328. effect.LowGain = -(TextButton18.Position.Y.Offset*1.2)
  2329. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  2330. local change = 0.1+(max/5000)
  2331. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  2332. v.Transparency = v.Transparency + 0.05
  2333. local light = v:FindFirstChildOfClass("PointLight")
  2334. light.Brightness = 2+sound.PlaybackLoudness/25
  2335. light.Range = 5+sound.PlaybackLoudness/10
  2336. if v.Transparency >= 1 then
  2337. v:Destroy()
  2338. end
  2339. end
  2340. else
  2341. for i,v in pairs(Visualiser:FindFirstChild("VisualiserK"):GetChildren()) do
  2342. local change = 0.1
  2343. v.Mesh.Scale = v.Mesh.Scale+Vector3.new(change,change,change)
  2344. v.Transparency = v.Transparency + 0.05
  2345. if v.Transparency >= 1 then
  2346. v:Destroy()
  2347. end
  2348. end
  2349. end
  2350. if vismode == "classic" then
  2351. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  2352. blockm = Instance.new("BlockMesh",block)
  2353. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  2354. change = sound.PlaybackLoudness/80
  2355. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  2356. end
  2357. block.Anchored = true
  2358. block.CanCollide = false
  2359. block.Material = Enum.Material.Neon
  2360. block.Size = Vector3.new(1,1,1)
  2361. light = Instance.new("PointLight",block)
  2362. light.Color = Color3.fromHSV(0,0,1)
  2363. light.Brightness = 2+sound.PlaybackLoudness/25
  2364. light.Range = 5+sound.PlaybackLoudness/10
  2365. block.CFrame = CFrame.new(Visualiserpos.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  2366. --------------
  2367. block = Instance.new("Part",Visualiser:FindFirstChild("VisualiserK"))
  2368. blockm = Instance.new("BlockMesh",block)
  2369. if foundsound == true or char:FindFirstChild("KyuSound") or char:WaitForChild("Torso"):FindFirstChild("KyuSound") then
  2370. change = sound.PlaybackLoudness/80
  2371. blockm.Scale = Vector3.new(1+change,1+change,1+change)
  2372. end
  2373. block.Anchored = true
  2374. block.CanCollide = false
  2375. block.Material = Enum.Material.Neon
  2376. block.Size = Vector3.new(1,1,1)
  2377. light = Instance.new("PointLight",block)
  2378. light.Color = Color3.fromHSV(0,0,1)
  2379. light.Brightness = 2+sound.PlaybackLoudness/25
  2380. light.Range = 5+sound.PlaybackLoudness/10
  2381. block.CFrame = CFrame.new(Visualiserpos2.WorldPosition,Vector3.new(math.random(0,3600)/10,math.random(0,3600)/10,math.random(0,3600)/10))
  2382.  
  2383. ba.AngularVelocity = Vector3.new(0,0.2+(max/100),0)
  2384. bp.Position = char.Head.Position+Vector3.new(0,2,0)
  2385. tecks2.TextColor3 = Color3.fromHSV(0,0,0)
  2386. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,1)
  2387. elseif vismode == "rainbow" then
  2388. if not char:FindFirstChild("VisualiserRGB") then
  2389. part=Instance.new("Part",char)
  2390. part.Name="VisualiserRGB"
  2391. part.Position=root.Position + Vector3.new(0,10,0)
  2392. 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)))
  2393. blockmesh=Instance.new("BlockMesh",part)
  2394. end
  2395. if not part:FindFirstChildOfClass("BodyPosition") then
  2396. bp2=Instance.new("BodyPosition",part)
  2397. end
  2398. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  2399. ba2=Instance.new("BodyAngularVelocity",part)
  2400. end
  2401. if not part:FindFirstChildOfClass("PointLight") then
  2402. light=Instance.new("PointLight",part)
  2403. end
  2404. part.Color = Color3.fromHSV(i,1,1)
  2405. light.Color = Color3.fromHSV(i,1,1)
  2406. light.Brightness = 2+sound.PlaybackLoudness/25
  2407. light.Range = 5+sound.PlaybackLoudness/10
  2408. part:BreakJoints()
  2409. part.CanCollide = false
  2410. part.Material = Enum.Material.Neon
  2411. blockmesh.Scale= Vector3.new(1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150),1+(sound.PlaybackLoudness/150))
  2412. part.Size = Vector3.new(1,1,1)
  2413. bp2.Position = root.Position + Vector3.new(0,10,0)
  2414. 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))
  2415. tecks2.TextColor3 = Color3.fromHSV(0,0,1)
  2416. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  2417.  
  2418. if i >= 1 then
  2419. i = 0
  2420. else
  2421. i = i + 0.005
  2422. end
  2423.  
  2424. elseif vismode == "trail" then
  2425.  
  2426. if not char:FindFirstChild("VisualiserRGB") then
  2427. local function createtrail(part0,part1,parent)
  2428. local trail = Instance.new("Trail",parent)
  2429. trail.Attachment0 = part0
  2430. trail.Attachment1 = part1
  2431. trail.MinLength = 0
  2432. trail.Lifetime = 0.05
  2433. trail.LightEmission = 1
  2434. trail.LightInfluence = 0
  2435. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  2436. --trail.Transparency = NumberSequence.new(0,1)
  2437. end
  2438. part=Instance.new("Part",char)
  2439. part.Name="VisualiserRGB"
  2440. part.Position=root.Position + Vector3.new(0,10,0)
  2441. 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)))
  2442. blockmesh=Instance.new("BlockMesh",part)
  2443. A = Instance.new("Attachment",part)
  2444. B = Instance.new("Attachment",part)
  2445. C = Instance.new("Attachment",part)
  2446. D = Instance.new("Attachment",part)
  2447. E = Instance.new("Attachment",part)
  2448. F = Instance.new("Attachment",part)
  2449. G = Instance.new("Attachment",part)
  2450. H = Instance.new("Attachment",part)
  2451. A.Position = Vector3.new(1,1,1)
  2452. B.Position = Vector3.new(1,-1,1)
  2453. C.Position = Vector3.new(-1,1,1)
  2454. D.Position = Vector3.new(-1,-1,1)
  2455.  
  2456. E.Position = Vector3.new(1,1,-1)
  2457. F.Position = Vector3.new(1,-1,-1)
  2458. G.Position = Vector3.new(-1,1,-1)
  2459. H.Position = Vector3.new(-1,-1,-1)
  2460. createtrail(A,E,part)
  2461. createtrail(B,F,part)
  2462. createtrail(C,G,part)
  2463. createtrail(D,H,part)
  2464. createtrail(A,B,part)
  2465. createtrail(C,D,part)
  2466. createtrail(E,F,part)
  2467. createtrail(G,H,part)
  2468. createtrail(A,C,part)
  2469. createtrail(B,D,part)
  2470. createtrail(E,G,part)
  2471. createtrail(F,H,part)
  2472. end
  2473. if not part:FindFirstChildOfClass("BodyPosition") then
  2474. bp2=Instance.new("BodyPosition",part)
  2475. end
  2476. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  2477. ba2=Instance.new("BodyAngularVelocity",part)
  2478. end
  2479. if not part:FindFirstChildOfClass("PointLight") then
  2480. light=Instance.new("PointLight",part)
  2481. end
  2482. part.Color = Color3.fromHSV(i,1,1)
  2483. light.Color = Color3.fromHSV(i,1,1)
  2484. light.Brightness = 2+sound.PlaybackLoudness/25
  2485. light.Range = 5+sound.PlaybackLoudness/10
  2486. part:BreakJoints()
  2487. part.CanCollide = false
  2488. part.Material = Enum.Material.Neon
  2489. local asd = 1+(sound.PlaybackLoudness/150)
  2490. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  2491. part.Size = Vector3.new(1,1,1)
  2492. bp2.Position = root.Position + Vector3.new(0,10,0)
  2493. 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))
  2494. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  2495. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  2496. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  2497. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  2498. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  2499. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  2500.  
  2501. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  2502. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  2503. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  2504. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  2505.  
  2506. if i >= 0.8 then
  2507. asdcolor = true
  2508. elseif i <= 0.5 then
  2509. asdcolor = false
  2510. end
  2511.  
  2512. if asdcolor == true then
  2513. i = i - 0.001
  2514. else
  2515. i = i + 0.001
  2516. end
  2517. elseif vismode == "trail kyu" then
  2518.  
  2519. if not char:FindFirstChild("VisualiserRGB") then
  2520. local function createtrail(part0,part1,parent)
  2521. local trail = Instance.new("Trail",parent)
  2522. trail.Attachment0 = part0
  2523. trail.Attachment1 = part1
  2524. trail.MinLength = 0
  2525. trail.Lifetime = 0.05
  2526. trail.LightEmission = 1
  2527. trail.LightInfluence = 0
  2528. trail.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(0,1,1))
  2529. --trail.Transparency = NumberSequence.new(0,1)
  2530. end
  2531. part=Instance.new("Part",char)
  2532. part.Name="VisualiserRGB"
  2533. part.Position=root.Position + Vector3.new(0,10,0)
  2534. 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)))
  2535. blockmesh=Instance.new("BlockMesh",part)
  2536. part2=part:Clone()
  2537. part2.Parent = part
  2538. part2.Transparency = 1
  2539. 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)))
  2540.  
  2541. A = Instance.new("Attachment",part)
  2542. B = Instance.new("Attachment",part)
  2543. C = Instance.new("Attachment",part)
  2544. D = Instance.new("Attachment",part)
  2545. E = Instance.new("Attachment",part)
  2546. F = Instance.new("Attachment",part)
  2547. G = Instance.new("Attachment",part)
  2548. H = Instance.new("Attachment",part)
  2549. A2 = Instance.new("Attachment",part2)
  2550. B2 = Instance.new("Attachment",part2)
  2551. C2 = Instance.new("Attachment",part2)
  2552. D2 = Instance.new("Attachment",part2)
  2553. E2 = Instance.new("Attachment",part2)
  2554. F2 = Instance.new("Attachment",part2)
  2555. G2 = Instance.new("Attachment",part2)
  2556. H2 = Instance.new("Attachment",part2)
  2557.  
  2558. A.Position = Vector3.new(1,1,1)
  2559. B.Position = Vector3.new(1,-1,1)
  2560. C.Position = Vector3.new(-1,1,1)
  2561. D.Position = Vector3.new(-1,-1,1)
  2562.  
  2563. E.Position = Vector3.new(1,1,-1)
  2564. F.Position = Vector3.new(1,-1,-1)
  2565. G.Position = Vector3.new(-1,1,-1)
  2566. H.Position = Vector3.new(-1,-1,-1)
  2567.  
  2568. createtrail(A,E,part)
  2569. createtrail(B,F,part)
  2570. createtrail(C,G,part)
  2571. createtrail(D,H,part)
  2572. createtrail(A,B,part)
  2573. createtrail(C,D,part)
  2574. createtrail(E,F,part)
  2575. createtrail(G,H,part)
  2576. createtrail(A,C,part)
  2577. createtrail(B,D,part)
  2578. createtrail(E,G,part)
  2579. createtrail(F,H,part)
  2580.  
  2581. A2.Position = Vector3.new(1,1,1)
  2582. B2.Position = Vector3.new(1,-1,1)
  2583. C2.Position = Vector3.new(-1,1,1)
  2584. D2.Position = Vector3.new(-1,-1,1)
  2585.  
  2586. E2.Position = Vector3.new(1,1,-1)
  2587. F2.Position = Vector3.new(1,-1,-1)
  2588. G2.Position = Vector3.new(-1,1,-1)
  2589. H2.Position = Vector3.new(-1,-1,-1)
  2590. createtrail(A2,E2,part)
  2591. createtrail(B2,F2,part)
  2592. createtrail(C2,G2,part)
  2593. createtrail(D2,H2,part)
  2594. createtrail(A2,B2,part)
  2595. createtrail(C2,D2,part)
  2596. createtrail(E2,F2,part)
  2597. createtrail(G2,H2,part)
  2598. createtrail(A2,C2,part)
  2599. createtrail(B2,D2,part)
  2600. createtrail(E2,G2,part)
  2601. createtrail(F2,H2,part)
  2602.  
  2603. end
  2604. if not part:FindFirstChildOfClass("BodyPosition") then
  2605. bp2=Instance.new("BodyPosition",part)
  2606. end
  2607. if not part:FindFirstChildOfClass("BodyAngularVelocity") then
  2608. ba2=Instance.new("BodyAngularVelocity",part)
  2609. end
  2610. if not part:FindFirstChildOfClass("PointLight") then
  2611. light=Instance.new("PointLight",part)
  2612. end
  2613. if not part2:FindFirstChildOfClass("BodyPosition") then
  2614. bp3=Instance.new("BodyPosition",part2)
  2615. end
  2616. if not part2:FindFirstChildOfClass("BodyAngularVelocity") then
  2617. ba3=Instance.new("BodyAngularVelocity",part2)
  2618. end
  2619. part.Color = Color3.fromHSV(i,1,1)
  2620. light.Color = Color3.fromHSV(i,1,1)
  2621. light.Brightness = 2+sound.PlaybackLoudness/25
  2622. light.Range = 5+sound.PlaybackLoudness/10
  2623. part:BreakJoints()
  2624. part.Material = Enum.Material.Neon
  2625. local asd = 1+(sound.PlaybackLoudness/150)
  2626. blockmesh.Scale= Vector3.new(asd/2,asd/2,asd/2)
  2627. part.Size = Vector3.new(1,1,1)
  2628. part2.Size = Vector3.new(1,1,1)
  2629. part.CanCollide = false
  2630. part2.CanCollide = false
  2631. bp2.Position = root.Position + Vector3.new(0,10,0)
  2632. 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))
  2633. bp3.Position = root.Position + Vector3.new(0,10,0)
  2634. 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))
  2635. tecks2.TextColor3 = Color3.fromHSV(i,1,0.8)
  2636. tecks2.TextStrokeColor3 = Color3.fromHSV(i,1,1)
  2637. A.Position = Vector3.new(asd/2,asd/2,asd/2)
  2638. B.Position = Vector3.new(asd/2,-asd/2,asd/2)
  2639. C.Position = Vector3.new(-asd/2,asd/2,asd/2)
  2640. D.Position = Vector3.new(-asd/2,-asd/2,asd/2)
  2641.  
  2642. E.Position = Vector3.new(asd/2,asd/2,-asd/2)
  2643. F.Position = Vector3.new(asd/2,-asd/2,-asd/2)
  2644. G.Position = Vector3.new(-asd/2,asd/2,-asd/2)
  2645. H.Position = Vector3.new(-asd/2,-asd/2,-asd/2)
  2646.  
  2647. A2.Position = Vector3.new(asd,asd,asd)
  2648. B2.Position = Vector3.new(asd,-asd,asd)
  2649. C2.Position = Vector3.new(-asd,asd,asd)
  2650. D2.Position = Vector3.new(-asd,-asd,asd)
  2651.  
  2652. E2.Position = Vector3.new(asd,asd,-asd)
  2653. F2.Position = Vector3.new(asd,-asd,-asd)
  2654. G2.Position = Vector3.new(-asd,asd,-asd)
  2655. H2.Position = Vector3.new(-asd,-asd,-asd)
  2656.  
  2657. if i >= 0.8 then
  2658. asdcolor = true
  2659. elseif i <= 0.5 then
  2660. asdcolor = false
  2661. end
  2662.  
  2663. if asdcolor == true then
  2664. i = i - 0.001
  2665. else
  2666. i = i + 0.001
  2667. end
  2668.  
  2669. elseif vismode == "nothing" then
  2670.  
  2671. tecks2.Text = ""
  2672.  
  2673. elseif vismode == "nooby" then
  2674. if not char:FindFirstChild("noobyvis") then
  2675. centralpart = it("Part",char)
  2676. centralpart.Name = "noobyvis"
  2677. centralpart.CFrame = hed.CFrame + Vector3.new(0,-2.5,0)
  2678. centralpart.Anchored = true
  2679. centralpart.Size = vt(1,1,1)
  2680. centralpart.Transparency = 1
  2681. centralpart.CanCollide = false
  2682. centralpart2a = it("Part",centralpart)
  2683. centralpart2a.CFrame = centralpart.CFrame
  2684. centralpart2a.Anchored = true
  2685. centralpart2a.Transparency = 0
  2686. centralpart2a.BrickColor = origcolor
  2687. centralpart2a.Material = "Neon"
  2688. centralpart2a.Size = vt(1,1,1)
  2689. centralpart2a.CanCollide = false
  2690.  
  2691. meshy = Instance.new("SpecialMesh", centralpart2a)
  2692. meshy.Scale = vt(1.05,1.05,1.05)
  2693. meshy.MeshType = "Sphere"
  2694.  
  2695. centralpart2 = it("Part",centralpart)
  2696. centralpart2.CFrame = centralpart.CFrame
  2697. centralpart2.Anchored = true
  2698. centralpart2.Transparency = 0.65
  2699. centralpart2.BrickColor = BrickColor.new("Really black")
  2700. centralpart2.Material = "Neon"
  2701. centralpart2.Size = vt(1,1,1)
  2702. centralpart2.CanCollide = false
  2703.  
  2704. meshy2 = Instance.new("SpecialMesh", centralpart2)
  2705. meshy2.Scale = vt(1.075,1.075,1.075)
  2706. meshy2.MeshType = "Sphere"
  2707.  
  2708.  
  2709. centralpart3 = it("Part",centralpart)
  2710. centralpart3.CFrame = centralpart.CFrame
  2711. centralpart3.Anchored = true
  2712. centralpart3.Transparency = 0.5
  2713. centralpart3.BrickColor = origcolor
  2714. centralpart3.Material = "Neon"
  2715. centralpart3.Size = vt(0.5,1,0.5)
  2716. centralpart3.CanCollide = false
  2717.  
  2718. meshy3 = Instance.new("SpecialMesh", centralpart3)
  2719. meshy3.Scale = vt(1,0.035,1.075)
  2720. meshy3.MeshType = "Brick"
  2721.  
  2722. centralpart4 = it("Part",centralpart)
  2723. centralpart4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(15),0)
  2724. centralpart4.Anchored = true
  2725. centralpart4.Transparency = 0.5
  2726. centralpart4.BrickColor = origcolor
  2727. centralpart4.Material = "Neon"
  2728. centralpart4.Size = vt(0.5,1,0.5)
  2729. centralpart4.CanCollide = false
  2730.  
  2731. meshy4 = Instance.new("SpecialMesh", centralpart4)
  2732. meshy4.Scale = vt(1,0.035,1.075)
  2733. meshy4.MeshType = "Brick"
  2734.  
  2735. centralpart5 = it("Part",centralpart)
  2736. centralpart5.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(30),0)
  2737. centralpart5.Anchored = true
  2738. centralpart5.Transparency = 0.5
  2739. centralpart5.BrickColor = origcolor
  2740. centralpart5.Material = "Neon"
  2741. centralpart5.Size = vt(0.5,1,0.5)
  2742. centralpart5.CanCollide = false
  2743.  
  2744. meshy5 = Instance.new("SpecialMesh", centralpart5)
  2745. meshy5.Scale = vt(1,0.035,1.075)
  2746. meshy5.MeshType = "Brick"
  2747.  
  2748. centralpart6 = it("Part",centralpart)
  2749. centralpart6.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  2750. centralpart6.Anchored = true
  2751. centralpart6.Transparency = 0.5
  2752. centralpart6.BrickColor = origcolor
  2753. centralpart6.Material = "Neon"
  2754. centralpart6.Size = vt(0.5,1,0.5)
  2755. centralpart6.CanCollide = false
  2756.  
  2757. meshy6 = Instance.new("SpecialMesh", centralpart6)
  2758. meshy6.Scale = vt(1,0.035,1.075)
  2759. meshy6.MeshType = "Brick"
  2760.  
  2761. centralpart7 = it("Part",centralpart)
  2762. centralpart7.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(60),0)
  2763. centralpart7.Anchored = true
  2764. centralpart7.Transparency = 0.5
  2765. centralpart7.BrickColor = origcolor
  2766. centralpart7.Material = "Neon"
  2767. centralpart7.Size = vt(0.5,1,0.5)
  2768. centralpart7.CanCollide = false
  2769.  
  2770. meshy7 = Instance.new("SpecialMesh", centralpart7)
  2771. meshy7.Scale = vt(1,0.035,1.075)
  2772. meshy7.MeshType = "Brick"
  2773.  
  2774. centralpart8 = it("Part",centralpart)
  2775. centralpart8.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(75),0)
  2776. centralpart8.Anchored = true
  2777. centralpart8.Transparency = 0.5
  2778. centralpart8.BrickColor = origcolor
  2779. centralpart8.Material = "Neon"
  2780. centralpart8.Size = vt(0.5,1,0.5)
  2781. centralpart8.CanCollide = false
  2782.  
  2783. meshy8 = Instance.new("SpecialMesh", centralpart8)
  2784. meshy8.Scale = vt(1,0.035,1.075)
  2785. meshy8.MeshType = "Brick"
  2786.  
  2787. centralpart9 = it("Part",centralpart)
  2788. centralpart9.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  2789. centralpart9.Anchored = true
  2790. centralpart9.Transparency = 0.5
  2791. centralpart9.BrickColor = origcolor
  2792. centralpart9.Material = "Neon"
  2793. centralpart9.Size = vt(0.5,1,0.5)
  2794. centralpart9.CanCollide = false
  2795.  
  2796. meshy9 = Instance.new("SpecialMesh", centralpart9)
  2797. meshy9.Scale = vt(1,0.035,1.075)
  2798. meshy9.MeshType = "Brick"
  2799.  
  2800. centralpart10 = it("Part",centralpart)
  2801. centralpart10.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(105),0)
  2802. centralpart10.Anchored = true
  2803. centralpart10.Transparency = 0.5
  2804. centralpart10.BrickColor = origcolor
  2805. centralpart10.Material = "Neon"
  2806. centralpart10.Size = vt(0.5,1,0.5)
  2807. centralpart10.CanCollide = false
  2808.  
  2809. meshy10 = Instance.new("SpecialMesh", centralpart10)
  2810. meshy10.Scale = vt(1,0.035,1.075)
  2811. meshy10.MeshType = "Brick"
  2812.  
  2813. centralpart11 = it("Part",centralpart)
  2814. centralpart11.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(120),0)
  2815. centralpart11.Anchored = true
  2816. centralpart11.Transparency = 0.5
  2817. centralpart11.BrickColor = origcolor
  2818. centralpart11.Material = "Neon"
  2819. centralpart11.Size = vt(0.5,1,0.5)
  2820. centralpart11.CanCollide = false
  2821.  
  2822. meshy11 = Instance.new("SpecialMesh", centralpart11)
  2823. meshy11.Scale = vt(1,0.035,1.075)
  2824. meshy11.MeshType = "Brick"
  2825.  
  2826. centralpart12 = it("Part",centralpart)
  2827. centralpart12.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  2828. centralpart12.Anchored = true
  2829. centralpart12.Transparency = 0.5
  2830. centralpart12.BrickColor = origcolor
  2831. centralpart12.Material = "Neon"
  2832. centralpart12.Size = vt(0.5,1,0.5)
  2833. centralpart12.CanCollide = false
  2834.  
  2835. meshy12 = Instance.new("SpecialMesh", centralpart12)
  2836. meshy12.Scale = vt(1,0.035,1.075)
  2837. meshy12.MeshType = "Brick"
  2838.  
  2839. centralpart13 = it("Part",centralpart)
  2840. centralpart13.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(150),0)
  2841. centralpart13.Anchored = true
  2842. centralpart13.Transparency = 0.5
  2843. centralpart13.BrickColor = origcolor
  2844. centralpart13.Material = "Neon"
  2845. centralpart13.Size = vt(0.5,1,0.5)
  2846. centralpart13.CanCollide = false
  2847.  
  2848. meshy13 = Instance.new("SpecialMesh", centralpart13)
  2849. meshy13.Scale = vt(1,0.035,1.075)
  2850. meshy13.MeshType = "Brick"
  2851.  
  2852. centralpart14 = it("Part",centralpart)
  2853. centralpart14.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(165),0)
  2854. centralpart14.Anchored = true
  2855. centralpart14.Transparency = 0.5
  2856. centralpart14.BrickColor = origcolor
  2857. centralpart14.Material = "Neon"
  2858. centralpart14.Size = vt(0.5,1,0.5)
  2859. centralpart14.CanCollide = false
  2860.  
  2861. meshy14 = Instance.new("SpecialMesh", centralpart14)
  2862. meshy14.Scale = vt(1,0.035,1.075)
  2863. meshy14.MeshType = "Brick"
  2864.  
  2865. centralpart15 = it("Part",centralpart)
  2866. centralpart15.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(180),0)
  2867. centralpart15.Anchored = true
  2868. centralpart15.Transparency = 0.5
  2869. centralpart15.BrickColor = origcolor
  2870. centralpart15.Material = "Neon"
  2871. centralpart15.Size = vt(0.5,1,0.5)
  2872. centralpart15.CanCollide = false
  2873.  
  2874. meshy15 = Instance.new("SpecialMesh", centralpart15)
  2875. meshy15.Scale = vt(1,0.035,1.075)
  2876. meshy15.MeshType = "Brick"
  2877.  
  2878. centralparto = it("Part",centralpart)
  2879. centralparto.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(0),0)
  2880. centralparto.Anchored = true
  2881. centralparto.Transparency = 0.5
  2882. centralparto.BrickColor = BrickColor.new("Really black")
  2883. centralparto.Material = "Neon"
  2884. centralparto.Size = vt(0.5,1,0.5)
  2885. centralparto.CanCollide = false
  2886.  
  2887. meshyo = Instance.new("SpecialMesh", centralparto)
  2888. meshyo.Scale = vt(1.05,0.05,0.25)
  2889. meshyo.MeshType = "Sphere"
  2890.  
  2891. centralparto2 = it("Part",centralpart)
  2892. centralparto2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(90),0)
  2893. centralparto2.Anchored = true
  2894. centralparto2.Transparency = 0.5
  2895. centralparto2.BrickColor = BrickColor.new("Really black")
  2896. centralparto2.Material = "Neon"
  2897. centralparto2.Size = vt(0.5,1,0.5)
  2898. centralparto2.CanCollide = false
  2899.  
  2900. meshyo2 = Instance.new("SpecialMesh", centralparto2)
  2901. meshyo2.Scale = vt(1.05,0.05,0.25)
  2902. meshyo2.MeshType = "Sphere"
  2903.  
  2904. centralparto3 = it("Part",centralpart)
  2905. centralparto3.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(45),0)
  2906. centralparto3.Anchored = true
  2907. centralparto3.Transparency = 0.5
  2908. centralparto3.BrickColor = BrickColor.new("Maroon")
  2909. centralparto3.Material = "Neon"
  2910. centralparto3.Size = vt(0.5,1,0.5)
  2911. centralparto3.CanCollide = false
  2912.  
  2913. meshyo3 = Instance.new("SpecialMesh", centralparto3)
  2914. meshyo3.Scale = vt(1.05,0.075,0.25)
  2915. meshyo3.MeshType = "Sphere"
  2916.  
  2917. centralparto4 = it("Part",centralpart)
  2918. centralparto4.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(135),0)
  2919. centralparto4.Anchored = true
  2920. centralparto4.Transparency = 0.5
  2921. centralparto4.BrickColor = BrickColor.new("Maroon")
  2922. centralparto4.Material = "Neon"
  2923. centralparto4.Size = vt(0.5,1,0.5)
  2924. centralparto4.CanCollide = false
  2925.  
  2926. meshyo4 = Instance.new("SpecialMesh", centralparto4)
  2927. meshyo4.Scale = vt(1.05,0.075,0.25)
  2928. meshyo4.MeshType = "Sphere"
  2929.  
  2930. eff = Instance.new("ParticleEmitter",centralpart)
  2931. eff.Texture = "http://www.roblox.com/asset/?id=243664672"
  2932. eff.LightEmission = 0.75
  2933. eff.Color = ColorSequence.new(Color3.new(255,0,0))
  2934. eff.Lifetime = NumberRange.new(2.5)
  2935. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2936. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.45,0),NumberSequenceKeypoint.new(1,1,0)})
  2937. eff.Acceleration = Vector3.new(0,-75,0)
  2938. eff.Rotation = NumberRange.new(-500,500)
  2939. eff.VelocitySpread = 90
  2940. eff.RotSpeed = NumberRange.new(-500,500)
  2941.  
  2942.  
  2943. ogsize = meshy.Scale
  2944. ogsize2 = meshy2.Scale
  2945. ogsize3 = meshy3.Scale
  2946. ogsize4 = meshy4.Scale
  2947. ogsize5 = meshy5.Scale
  2948. ogsize6 = meshy6.Scale
  2949. ogsize7 = meshy7.Scale
  2950. ogsize8 = meshy8.Scale
  2951. ogsize9 = meshy9.Scale
  2952. ogsize10 = meshy10.Scale
  2953. ogsize11 = meshy11.Scale
  2954. ogsize12 = meshy12.Scale
  2955. ogsize13 = meshy13.Scale
  2956. ogsize14 = meshy14.Scale
  2957. ogsize15 = meshy15.Scale
  2958.  
  2959. ogsizeo = meshyo.Scale
  2960. ogsizeo2 = meshyo2.Scale
  2961. ogsizeo3 = meshyo3.Scale
  2962. ogsizeo4 = meshyo4.Scale
  2963. end
  2964. 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)
  2965. 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)
  2966. meshy3.Scale = meshy3.Scale:lerp(Vector3.new(1,0.035,ogsize3.Z+sound.PlaybackLoudness/100*7),0.8)
  2967. meshy4.Scale = meshy4.Scale:lerp(Vector3.new(1,0.035,ogsize4.Z+sound.PlaybackLoudness/100*7.25),0.8)
  2968. meshy5.Scale = meshy5.Scale:lerp(Vector3.new(1,0.035,ogsize5.Z+sound.PlaybackLoudness/100*7.5),0.8)
  2969. meshy6.Scale = meshy6.Scale:lerp(Vector3.new(1,0.035,ogsize6.Z+sound.PlaybackLoudness/100*7.75),0.8)
  2970. meshy7.Scale = meshy7.Scale:lerp(Vector3.new(1,0.035,ogsize7.Z+sound.PlaybackLoudness/100*8),0.8)
  2971. meshy8.Scale = meshy8.Scale:lerp(Vector3.new(1,0.035,ogsize8.Z+sound.PlaybackLoudness/100*8.25),0.8)
  2972. meshy9.Scale = meshy9.Scale:lerp(Vector3.new(1,0.035,ogsize9.Z+sound.PlaybackLoudness/100*8.5),0.8)
  2973. meshy10.Scale = meshy10.Scale:lerp(Vector3.new(1,0.035,ogsize10.Z+sound.PlaybackLoudness/100*8.75),0.8)
  2974. meshy11.Scale = meshy11.Scale:lerp(Vector3.new(1,0.035,ogsize11.Z+sound.PlaybackLoudness/100*9),0.8)
  2975. meshy12.Scale = meshy12.Scale:lerp(Vector3.new(1,0.035,ogsize12.Z+sound.PlaybackLoudness/100*9.25),0.8)
  2976. meshy13.Scale = meshy13.Scale:lerp(Vector3.new(1,0.035,ogsize13.Z+sound.PlaybackLoudness/100*9.5),0.8)
  2977. meshy14.Scale = meshy14.Scale:lerp(Vector3.new(1,0.035,ogsize14.Z+sound.PlaybackLoudness/100*9.75),0.8)
  2978. meshy15.Scale = meshy15.Scale:lerp(Vector3.new(1,0.035,ogsize15.Z+sound.PlaybackLoudness/100*10),0.8)
  2979.  
  2980. meshyo.Scale = meshyo.Scale:lerp(Vector3.new(ogsizeo.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo.Z+sound.PlaybackLoudness/1000*250),0.8)
  2981. meshyo2.Scale = meshyo2.Scale:lerp(Vector3.new(ogsizeo2.X+sound.PlaybackLoudness/250*7.5,0.15,ogsizeo2.Z+sound.PlaybackLoudness/1000*250),0.8)
  2982. meshyo3.Scale = meshyo3.Scale:lerp(Vector3.new(ogsizeo3.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo3.Z+sound.PlaybackLoudness/500*100),0.8)
  2983. meshyo4.Scale = meshyo4.Scale:lerp(Vector3.new(ogsizeo4.X+sound.PlaybackLoudness/250*5,0.225,ogsizeo4.Z+sound.PlaybackLoudness/500*100),0.8)
  2984. centralpart.Position = root.Position + Vector3.new(0,5,0)
  2985. centralpart3.Position = centralpart.Position
  2986. centralpart3.CFrame = centralpart3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2987. centralpart4.Position = centralpart.Position
  2988. centralpart4.CFrame = centralpart4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2989. centralpart5.Position = centralpart.Position
  2990. centralpart5.CFrame = centralpart5.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2991. centralpart6.Position = centralpart.Position
  2992. centralpart6.CFrame = centralpart6.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2993. centralpart7.Position = centralpart.Position
  2994. centralpart7.CFrame = centralpart7.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2995. centralpart8.Position = centralpart.Position
  2996. centralpart8.CFrame = centralpart8.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2997. centralpart9.Position = centralpart.Position
  2998. centralpart9.CFrame = centralpart9.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  2999. centralpart10.Position = centralpart.Position
  3000. centralpart10.CFrame = centralpart10.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  3001. centralpart11.Position = centralpart.Position
  3002. centralpart11.CFrame = centralpart11.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  3003. centralpart12.Position = centralpart.Position
  3004. centralpart12.CFrame = centralpart12.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  3005. centralpart13.Position = centralpart.Position
  3006. centralpart13.CFrame = centralpart13.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  3007. centralpart14.Position = centralpart.Position
  3008. centralpart14.CFrame = centralpart14.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  3009. centralpart15.Position = centralpart.Position
  3010. centralpart15.CFrame = centralpart15.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/750*25),0)
  3011.  
  3012. centralparto.Position = centralpart.Position
  3013. centralparto.CFrame = centralparto.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  3014. centralparto2.Position = centralpart.Position
  3015. centralparto2.CFrame = centralparto2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*75),0)
  3016. centralparto3.Position = centralpart.Position
  3017. centralparto3.CFrame = centralparto3.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  3018. centralparto4.Position = centralpart.Position
  3019. centralparto4.CFrame = centralparto4.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/1000*15),0)
  3020. centralpart.CFrame = centralpart.CFrame
  3021. centralpart2.CFrame = centralpart.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  3022. centralpart2a.CFrame = centralpart2.CFrame*CFrame.Angles(0,math.rad(sound.PlaybackLoudness/250),0)
  3023. eff.Rate = sound.PlaybackLoudness/3
  3024. eff.Speed = NumberRange.new(sound.PlaybackLoudness/5)
  3025. eff.Color = ColorSequence.new(Color3.new(sound.PlaybackLoudness/255,0,0))
  3026. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,sound.PlaybackLoudness/75,0),NumberSequenceKeypoint.new(1,0,0)})
  3027. centralpart2a.Color = Color3.new(sound.PlaybackLoudness/400,0,0)
  3028. centralparto3.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  3029. centralparto4.Color = Color3.new(sound.PlaybackLoudness/375,0,0)
  3030.  
  3031. tecks2.TextColor3 = Color3.fromRGB(255,0,0)
  3032. tecks2.TextStrokeColor3 = Color3.fromHSV(0,0,0)
  3033. end
  3034. Visualiserpos.Position = Vector3.new(5+(max/10),0,0)
  3035. Visualiserpos2.Position = Vector3.new(-5-(max/10),0,0)
  3036. Main:BreakJoints()
  3037. Main.Anchored = false
  3038. TextButton14.Text = math.ceil((1-(TextButton13.Position.Y.Offset/50))*40)/40
  3039. TextButton34.Text = "Style: "..vismode
  3040. asdmax = max
  3041. asdvolume = TextButton9.Position
  3042. asdpitch = TextButton13.Position
  3043. asddist = TextButton30.Position
  3044. asdhi = TextButton26.Position
  3045. asdmi = TextButton22.Position
  3046. asdlo = TextButton18.Position
  3047. asdtext = TextBox3.Text
  3048. if synctarget == nil then
  3049. foundsound = false
  3050. else
  3051. if foundsound == false then
  3052. print("Trying to Sync...")
  3053. scan(synctarget.Character)
  3054. else
  3055. asdid = sound.SoundId
  3056. end
  3057. end
  3058. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement