StarzoZero

Roblox UniB Script

Jan 3rd, 2019
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 179.40 KB | None | 0 0
  1. -- This script has been converted to FE by StarzoZero
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("YOUR MOM GAY!")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. script.Name = "Banisher Gun V3 / 1"
  88. --//====================================================\\--
  89. --|| CREATED BY SHACKLUSTER
  90. --|| EDITED BY : brolbrolplayz
  91. --\\====================================================//--
  92.  
  93. game:GetService("StarterGui"):SetCore("SendNotification", {
  94. Title = "Universal Shooter";
  95. Text = "Edited by brolbrolplayz,Dont forget Al3lpha. \Made by SHACKLUSTER ";
  96. })
  97.  
  98. script:ClearAllChildren()
  99. wait(0.2)
  100.  
  101. Player = owner
  102. PlayerGui = Player.PlayerGui
  103. Cam = workspace.CurrentCamera
  104. Backpack = Player.Backpack
  105. Character = Player.Character
  106. Humanoid = Character.Humanoid
  107. RootPart = Character["HumanoidRootPart"]
  108. Torso = Character["Torso"]
  109. Head = Character["Head"]
  110. RightArm = Character["Right Arm"]
  111. LeftArm = Character["Left Arm"]
  112. RightLeg = Character["Right Leg"]
  113. LeftLeg = Character["Left Leg"]
  114. RootJoint = RootPart["RootJoint"]
  115. Neck = Torso["Neck"]
  116. RightShoulder = Torso["Right Shoulder"]
  117. LeftShoulder = Torso["Left Shoulder"]
  118. RightHip = Torso["Right Hip"]
  119. LeftHip = Torso["Left Hip"]
  120. local TIME = 0
  121. local sick = Instance.new("Sound",Torso)
  122.  
  123. IT = Instance.new
  124. CF = CFrame.new
  125. VT = Vector3.new
  126. RAD = math.rad
  127. C3 = Color3.new
  128. UD2 = UDim2.new
  129. BRICKC = BrickColor.new
  130. ANGLES = CFrame.Angles
  131. EULER = CFrame.fromEulerAnglesXYZ
  132. COS = math.cos
  133. ACOS = math.acos
  134. SIN = math.sin
  135. ASIN = math.asin
  136. ABS = math.abs
  137. MRANDOM = math.random
  138. FLOOR = math.floor
  139.  
  140. --//=================================\\
  141. --|| USEFUL VALUES
  142. --\\=================================//
  143. local PLAYSONG = true
  144. Player_Size = 1
  145. Animation_Speed = 3
  146. local FORCERESET = false
  147. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  148. local Speed = 16
  149. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  150. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  151. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  152. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  153. local DAMAGEMULTIPLIER = 1
  154. local ANIM = "Idle"
  155. local ATTACK = false
  156. local EQUIPPED = false
  157. local LEFTWINGS = {}
  158. local RIGHTWINGS = {}
  159. local HOLD = false
  160. local COMBO = 1
  161. local Rooted = false
  162. local SINE = 0
  163. local CLOCKLOOP = 1
  164. local CLOCKTARGET = nil
  165. local CLOCKSPEED = 15
  166. local KEYHOLD = false
  167. local CHANGE = 2 / Animation_Speed
  168. local WALKINGANIM = false
  169. local VALUE1 = false
  170. local VALUE2 = false
  171. local ROBLOXIDLEANIMATION = IT("Animation")
  172. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  173. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  174. --ROBLOXIDLEANIMATION.Parent = Humanoid
  175. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  176. WEAPONGUI.Name = "BanishV3Gui"
  177. local Weapon = IT("Model")
  178. Weapon.Name = "Adds"
  179. local No = IT("Model")
  180. No.Name = "No"
  181. local Effects = IT("Folder", Weapon)
  182. Effects.Name = "Effects"
  183. local ANIMATOR = Humanoid.Animator
  184. local ANIMATE = Character:FindFirstChild("Animate")
  185. local UNANCHOR = true
  186. local TOBANISH = {}
  187. script.Parent = PlayerGui
  188. True = false
  189. local EXPLOSIONSOUND = 1417056081
  190. local MODE = "Main"
  191. local TERRAWRATH = {"824687369"}
  192. for i,v in pairs(Character:GetChildren()) do
  193. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
  194. v:Destroy()
  195. end
  196. end
  197.  
  198. local Shirt = Instance.new("Shirt",Character)
  199. local Pants = Instance.new("Pants",Character)
  200. Shirt.ShirtTemplate = "rbxassetid://236410507"
  201. Pants.PantsTemplate = "rbxassetid://236412261"
  202.  
  203. local sick = Instance.new("Sound",Character)
  204. sick.SoundId = "rbxassetid://1792838428"
  205. sick.Looped = true
  206. sick.Pitch = 1
  207. sick.Volume = 5
  208. sick:Play()
  209. --//=================================\\
  210. --\\=================================//
  211.  
  212.  
  213. --//=================================\\
  214. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  215. --\\=================================//
  216.  
  217. ArtificialHB = Instance.new("BindableEvent", script)
  218. ArtificialHB.Name = "ArtificialHB"
  219.  
  220. script:WaitForChild("ArtificialHB")
  221.  
  222. frame = Frame_Speed
  223. tf = 0
  224. allowframeloss = false
  225. tossremainder = false
  226. lastframe = tick()
  227. script.ArtificialHB:Fire()
  228.  
  229. game:GetService("RunService").Heartbeat:connect(function(s, p)
  230. tf = tf + s
  231. if tf >= frame then
  232. if allowframeloss then
  233. script.ArtificialHB:Fire()
  234. lastframe = tick()
  235. else
  236. for i = 1, math.floor(tf / frame) do
  237. script.ArtificialHB:Fire()
  238. end
  239. lastframe = tick()
  240. end
  241. if tossremainder then
  242. tf = 0
  243. else
  244. tf = tf - frame * math.floor(tf / frame)
  245. end
  246. end
  247. end)
  248.  
  249. --//=================================\\
  250. --\\=================================//
  251.  
  252. --//=================================\\
  253. --|| SOME FUNCTIONS
  254. --\\=================================//
  255.  
  256. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  257. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  258. end
  259.  
  260. function PositiveAngle(NUMBER)
  261. if NUMBER >= 0 then
  262. NUMBER = 0
  263. end
  264. return NUMBER
  265. end
  266.  
  267. function NegativeAngle(NUMBER)
  268. if NUMBER <= 0 then
  269. NUMBER = 0
  270. end
  271. return NUMBER
  272. end
  273.  
  274. function Swait(NUMBER)
  275. if NUMBER == 0 or NUMBER == nil then
  276. ArtificialHB.Event:wait()
  277. else
  278. for i = 1, NUMBER do
  279. ArtificialHB.Event:wait()
  280. end
  281. end
  282. end
  283.  
  284. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  285. local NEWMESH = IT(MESH)
  286. if MESH == "SpecialMesh" then
  287. NEWMESH.MeshType = MESHTYPE
  288. if MESHID ~= "nil" and MESHID ~= "" then
  289. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  290. end
  291. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  292. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  293. end
  294. end
  295. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  296. NEWMESH.Scale = SCALE
  297. NEWMESH.Parent = PARENT
  298. return NEWMESH
  299. end
  300.  
  301. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  302. local NEWPART = IT("Part")
  303. NEWPART.formFactor = FORMFACTOR
  304. NEWPART.Reflectance = REFLECTANCE
  305. NEWPART.Transparency = TRANSPARENCY
  306. NEWPART.CanCollide = false
  307. NEWPART.Locked = true
  308. NEWPART.Anchored = true
  309. if ANCHOR == false then
  310. NEWPART.Anchored = false
  311. end
  312. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  313. NEWPART.Name = NAME
  314. NEWPART.Size = SIZE
  315. NEWPART.Position = Torso.Position
  316. NEWPART.Material = MATERIAL
  317. NEWPART:BreakJoints()
  318. NEWPART.Parent = PARENT
  319. return NEWPART
  320. end
  321.  
  322. local function weldBetween(a, b)
  323. local weldd = Instance.new("ManualWeld")
  324. weldd.Part0 = a
  325. weldd.Part1 = b
  326. weldd.C0 = CFrame.new()
  327. weldd.C1 = b.CFrame:inverse() * a.CFrame
  328. weldd.Parent = a
  329. return weldd
  330. end
  331.  
  332.  
  333. function QuaternionFromCFrame(cf)
  334. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  335. local trace = m00 + m11 + m22
  336. if trace > 0 then
  337. local s = math.sqrt(1 + trace)
  338. local recip = 0.5 / s
  339. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  340. else
  341. local i = 0
  342. if m11 > m00 then
  343. i = 1
  344. end
  345. if m22 > (i == 0 and m00 or m11) then
  346. i = 2
  347. end
  348. if i == 0 then
  349. local s = math.sqrt(m00 - m11 - m22 + 1)
  350. local recip = 0.5 / s
  351. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  352. elseif i == 1 then
  353. local s = math.sqrt(m11 - m22 - m00 + 1)
  354. local recip = 0.5 / s
  355. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  356. elseif i == 2 then
  357. local s = math.sqrt(m22 - m00 - m11 + 1)
  358. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  359. end
  360. end
  361. end
  362.  
  363. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  364. local xs, ys, zs = x + x, y + y, z + z
  365. local wx, wy, wz = w * xs, w * ys, w * zs
  366. local xx = x * xs
  367. local xy = x * ys
  368. local xz = x * zs
  369. local yy = y * ys
  370. local yz = y * zs
  371. local zz = z * zs
  372. 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))
  373. end
  374.  
  375. function QuaternionSlerp(a, b, t)
  376. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  377. local startInterp, finishInterp;
  378. if cosTheta >= 0.0001 then
  379. if (1 - cosTheta) > 0.0001 then
  380. local theta = ACOS(cosTheta)
  381. local invSinTheta = 1 / SIN(theta)
  382. startInterp = SIN((1 - t) * theta) * invSinTheta
  383. finishInterp = SIN(t * theta) * invSinTheta
  384. else
  385. startInterp = 1 - t
  386. finishInterp = t
  387. end
  388. else
  389. if (1 + cosTheta) > 0.0001 then
  390. local theta = ACOS(-cosTheta)
  391. local invSinTheta = 1 / SIN(theta)
  392. startInterp = SIN((t - 1) * theta) * invSinTheta
  393. finishInterp = SIN(t * theta) * invSinTheta
  394. else
  395. startInterp = t - 1
  396. finishInterp = t
  397. end
  398. end
  399. 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
  400. end
  401.  
  402. function Clerp(a, b, t)
  403. local qa = {QuaternionFromCFrame(a)}
  404. local qb = {QuaternionFromCFrame(b)}
  405. local ax, ay, az = a.x, a.y, a.z
  406. local bx, by, bz = b.x, b.y, b.z
  407. local _t = 1 - t
  408. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  409. end
  410.  
  411. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  412. local frame = IT("Frame")
  413. frame.BackgroundTransparency = TRANSPARENCY
  414. frame.BorderSizePixel = BORDERSIZEPIXEL
  415. frame.Position = POSITION
  416. frame.Size = SIZE
  417. frame.BackgroundColor3 = COLOR
  418. frame.BorderColor3 = BORDERCOLOR
  419. frame.Name = NAME
  420. frame.Parent = PARENT
  421. return frame
  422. end
  423.  
  424. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  425. local label = IT("TextLabel")
  426. label.BackgroundTransparency = 1
  427. label.Size = UD2(1, 0, 1, 0)
  428. label.Position = UD2(0, 0, 0, 0)
  429. label.TextColor3 = TEXTCOLOR
  430. label.TextStrokeTransparency = STROKETRANSPARENCY
  431. label.TextTransparency = TRANSPARENCY
  432. label.FontSize = TEXTFONTSIZE
  433. label.Font = TEXTFONT
  434. label.BorderSizePixel = BORDERSIZEPIXEL
  435. label.TextScaled = false
  436. label.Text = TEXT
  437. label.Name = NAME
  438. label.Parent = PARENT
  439. return label
  440. end
  441.  
  442. function NoOutlines(PART)
  443. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  444. end
  445.  
  446. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  447. local NEWWELD = IT(TYPE)
  448. NEWWELD.Part0 = PART0
  449. NEWWELD.Part1 = PART1
  450. NEWWELD.C0 = C0
  451. NEWWELD.C1 = C1
  452. NEWWELD.Parent = PARENT
  453. return NEWWELD
  454. end
  455.  
  456. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  457. function Lightning(Table)
  458. local Color = Table.Color or C3(1,1,1)
  459. local StartPos = Table.Start or Torso.Position
  460. local EndPos = Table.End or Mouse.Hit.p
  461. local SegmentLength = Table.SegmentL or 2
  462. local Thickness = Table.Thickness or 0.1
  463. local Dissapear = Table.DoesFade or false
  464. local Parent = Table.Ignore or Character
  465. local MaxDist = Table.MaxDist or 400
  466. local Branches = Table.Branches or false
  467. local Thicken = Table.Thicken or false
  468. local FadeTime = Table.FadeTime or 15
  469. local FadeIn = Table.FadeIn or false
  470. local Material = Table.Material or "Neon"
  471. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  472. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  473. local LIGHTNINGMODEL = IT("Model",Effects)
  474. LIGHTNINGMODEL.Name = "Lightning"
  475. local LastBolt = nil
  476. for E = 1, DISTANCE do
  477. local ExtraSize = 0
  478. if Thicken == true then
  479. ExtraSize = (DISTANCE-E)/15
  480. end
  481. local TRANSPARENCY = 0
  482. if FadeIn == true then
  483. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  484. if TRANSPARENCY < 0 then
  485. TRANSPARENCY = 0
  486. end
  487. end
  488. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  489. PART.Color = Color
  490. MakeForm(PART,"Cyl")
  491. if LastBolt == nil then
  492. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  493. else
  494. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  495. end
  496. LastBolt = PART
  497. if Branches == true and E < (DISTANCE-5) then
  498. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  499. if CHOICE == 1 then
  500. local LASTBRANCH = nil
  501. for i = 1, MRANDOM(2,5) do
  502. local ExtraSize2 = 0
  503. if Thicken == true then
  504. ExtraSize = ((DISTANCE-E)/25)/i
  505. end
  506. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  507. PART.Color = Color
  508. MakeForm(PART,"Cyl")
  509. if LASTBRANCH == nil then
  510. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  511. else
  512. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  513. end
  514. LASTBRANCH = PART
  515. end
  516. end
  517. end
  518. end
  519. if Dissapear == true then
  520. coroutine.resume(coroutine.create(function()
  521. for i = 1, FadeTime do
  522. Swait()
  523. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  524. if c.ClassName == "Part" then
  525. c.Transparency = c.Transparency + (i/FadeTime)/10
  526. end
  527. end
  528. end
  529. LIGHTNINGMODEL:remove()
  530. end))
  531. elseif Dissapear == false then
  532. Debris:AddItem(LIGHTNINGMODEL,0.1)
  533. end
  534. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  535. end
  536.  
  537. --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,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  538. function WACKYEFFECT(Table)
  539. local TYPE = (Table.EffectType or "Sphere")
  540. local SIZE = (Table.Size or VT(1,1,1))
  541. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  542. local TRANSPARENCY = (Table.Transparency or 0)
  543. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  544. local CFRAME = (Table.CFrame or Torso.CFrame)
  545. local MOVEDIRECTION = (Table.MoveToPos or nil)
  546. local ROTATION1 = (Table.RotationX or 0)
  547. local ROTATION2 = (Table.RotationY or 0)
  548. local ROTATION3 = (Table.RotationZ or 0)
  549. local MATERIAL = (Table.Material or "Neon")
  550. local COLOR = (Table.Color or C3(1,1,1))
  551. local TIME = (Table.Time or 45)
  552. local SOUNDID = (Table.SoundID or nil)
  553. local SOUNDPITCH = (Table.SoundPitch or nil)
  554. local SOUNDVOLUME = (Table.SoundVolume or nil)
  555. coroutine.resume(coroutine.create(function()
  556. local PLAYSSOUND = false
  557. local SOUND = nil
  558. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Blue"), "Effect", VT(1,1,1), true)
  559. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  560. PLAYSSOUND = true
  561. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  562. end
  563. EFFECT.Color = COLOR
  564. local MSH = nil
  565. if TYPE == "Sphere" then
  566. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  567. elseif TYPE == "Block" then
  568. MSH = IT("BlockMesh",EFFECT)
  569. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  570. elseif TYPE == "Wave" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  572. elseif TYPE == "Ring" then
  573. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  574. elseif TYPE == "Slash" then
  575. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  576. elseif TYPE == "Round Slash" then
  577. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  578. elseif TYPE == "Swirl" then
  579. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  580. elseif TYPE == "Skull" then
  581. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  582. elseif TYPE == "Crystal" then
  583. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  584. end
  585. if MSH ~= nil then
  586. local MOVESPEED = nil
  587. if MOVEDIRECTION ~= nil then
  588. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  589. end
  590. local GROWTH = SIZE - ENDSIZE
  591. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  592. if TYPE == "Block" then
  593. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  594. else
  595. EFFECT.CFrame = CFRAME
  596. end
  597. for LOOP = 1, TIME+1 do
  598. Swait()
  599. MSH.Scale = MSH.Scale - GROWTH/TIME
  600. if TYPE == "Wave" then
  601. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  602. end
  603. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  604. if TYPE == "Block" then
  605. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  606. else
  607. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  608. end
  609. if MOVEDIRECTION ~= nil then
  610. local ORI = EFFECT.Orientation
  611. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  612. EFFECT.Orientation = ORI
  613. end
  614. end
  615. if PLAYSSOUND == false then
  616. EFFECT:remove()
  617. else
  618. SOUND.Stopped:Connect(function()
  619. EFFECT:remove()
  620. end)
  621. end
  622. else
  623. if PLAYSSOUND == false then
  624. EFFECT:remove()
  625. else
  626. repeat Swait() until SOUND.Playing == false
  627. EFFECT:remove()
  628. end
  629. end
  630. end))
  631. end
  632.  
  633. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  634. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  635. local mesh = IT("SpecialMesh",wave)
  636. mesh.MeshType = "Sphere"
  637. mesh.Scale = SIZE
  638. mesh.Offset = VT(0,0,0)
  639. wave.CFrame = CFRAME
  640. coroutine.resume(coroutine.create(function(PART)
  641. for i = 1, WAIT do
  642. Swait()
  643. mesh.Scale = mesh.Scale + GROW
  644. wave.Transparency = wave.Transparency + (1/WAIT)
  645. if wave.Transparency > 0.99 then
  646. wave:remove()
  647. end
  648. end
  649. end))
  650. end
  651.  
  652. local S = IT("Sound")
  653. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  654. local NEWSOUND = nil
  655. coroutine.resume(coroutine.create(function()
  656. NEWSOUND = S:Clone()
  657. NEWSOUND.Parent = PARENT
  658. NEWSOUND.Volume = VOLUME
  659. NEWSOUND.Pitch = PITCH
  660. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  661. NEWSOUND:play()
  662. if DOESLOOP == true then
  663. NEWSOUND.Looped = true
  664. else
  665. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  666. NEWSOUND:remove()
  667. end
  668. end))
  669. return NEWSOUND
  670. end
  671.  
  672. function CFrameFromTopBack(at, top, back)
  673. local right = top:Cross(back)
  674. 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)
  675. end
  676.  
  677. --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,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  678. function WACKYEFFECT(Table)
  679. local TYPE = (Table.EffectType or "Sphere")
  680. local SIZE = (Table.Size or VT(1,1,1))
  681. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  682. local TRANSPARENCY = (Table.Transparency or 0)
  683. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  684. local CFRAME = (Table.CFrame or Torso.CFrame)
  685. local MOVEDIRECTION = (Table.MoveToPos or nil)
  686. local ROTATION1 = (Table.RotationX or 0)
  687. local ROTATION2 = (Table.RotationY or 0)
  688. local ROTATION3 = (Table.RotationZ or 0)
  689. local MATERIAL = (Table.Material or "Neon")
  690. local COLOR = (Table.Color or C3(1,1,1))
  691. local TIME = (Table.Time or 45)
  692. local SOUNDID = (Table.SoundID or nil)
  693. local SOUNDPITCH = (Table.SoundPitch or nil)
  694. local SOUNDVOLUME = (Table.SoundVolume or nil)
  695. coroutine.resume(coroutine.create(function()
  696. local PLAYSSOUND = false
  697. local SOUND = nil
  698. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  699. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  700. PLAYSSOUND = true
  701. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  702. end
  703. EFFECT.Color = COLOR
  704. local MSH = nil
  705. if TYPE == "Sphere" then
  706. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  707. elseif TYPE == "Block" then
  708. MSH = IT("BlockMesh",EFFECT)
  709. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  710. elseif TYPE == "Wave" then
  711. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  712. elseif TYPE == "Ring" then
  713. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  714. elseif TYPE == "Slash" then
  715. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  716. elseif TYPE == "Round Slash" then
  717. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  718. elseif TYPE == "Swirl" then
  719. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  720. elseif TYPE == "Skull" then
  721. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  722. elseif TYPE == "Crystal" then
  723. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  724. end
  725. if MSH ~= nil then
  726. local MOVESPEED = nil
  727. if MOVEDIRECTION ~= nil then
  728. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  729. end
  730. local GROWTH = SIZE - ENDSIZE
  731. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  732. if TYPE == "Block" then
  733. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  734. else
  735. EFFECT.CFrame = CFRAME
  736. end
  737. for LOOP = 1, TIME+1 do
  738. Swait()
  739. MSH.Scale = MSH.Scale - GROWTH/TIME
  740. if TYPE == "Wave" then
  741. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  742. end
  743. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  744. if TYPE == "Block" then
  745. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  746. else
  747. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  748. end
  749. if MOVEDIRECTION ~= nil then
  750. local ORI = EFFECT.Orientation
  751. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  752. EFFECT.Orientation = ORI
  753. end
  754. end
  755. if PLAYSSOUND == false then
  756. EFFECT:remove()
  757. else
  758. SOUND.Stopped:Connect(function()
  759. EFFECT:remove()
  760. end)
  761. end
  762. else
  763. if PLAYSSOUND == false then
  764. EFFECT:remove()
  765. else
  766. repeat Swait() until SOUND.Playing == false
  767. EFFECT:remove()
  768. end
  769. end
  770. end))
  771. end
  772.  
  773. function MakeForm(PART,TYPE)
  774. if TYPE == "Cyl" then
  775. local MSH = IT("CylinderMesh",PART)
  776. elseif TYPE == "Ball" then
  777. local MSH = IT("SpecialMesh",PART)
  778. MSH.MeshType = "Sphere"
  779. elseif TYPE == "Wedge" then
  780. local MSH = IT("SpecialMesh",PART)
  781. MSH.MeshType = "Wedge"
  782. end
  783. end
  784.  
  785. function SpawnTrail(FROM,TO,BIG)
  786. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Trail", VT(0,0,0))
  787. MakeForm(TRAIL,"Cyl")
  788. local DIST = (FROM - TO).Magnitude
  789. if BIG == true then
  790. TRAIL.Size = VT(20,DIST,20)
  791. else
  792. TRAIL.Size = VT(15,DIST,15)
  793. end
  794. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  795. coroutine.resume(coroutine.create(function()
  796. for i = 1, 5 do
  797. Swait()
  798. TRAIL.Transparency = TRAIL.Transparency + 1
  799. end
  800. TRAIL:remove()
  801. end))
  802. end
  803.  
  804. Debris = game:GetService("Debris")
  805.  
  806. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  807. local DIRECTION = CF(StartPos,EndPos).lookVector
  808. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  809. end
  810.  
  811. function turnto(position)
  812. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  813. end
  814.  
  815. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  816. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  817. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  818. wave.CFrame = CFRAME
  819. coroutine.resume(coroutine.create(function(PART)
  820. for i = 1, WAIT do
  821. Swait()
  822. mesh.Scale = mesh.Scale + GROW
  823. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  824. if DOESROT == true then
  825. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  826. end
  827. wave.Transparency = wave.Transparency + 0.5 / WAIT
  828. if wave.Transparency > 0.99 then
  829. wave:remove()
  830. end
  831. end
  832. end))
  833. end
  834.  
  835. function MakeRing()
  836. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  837. local MSH = IT("BlockMesh", RING)
  838. local TOP = DECAL:Clone()
  839. local BOTTOM = DECAL:Clone()
  840. TOP.Parent = RING
  841. BOTTOM.Parent = RING
  842. TOP.Face = "Top"
  843. BOTTOM.Face = "Bottom"
  844. TOP.Texture = "http://www.roblox.com/asset/?id=http://www.roblox.com/asset/?id=59327778"
  845. BOTTOM.Texture = "http://www.roblox.com/asset/?id=http://www.roblox.com/asset/?id=59327778"
  846. local function REMOVE()
  847. coroutine.resume(coroutine.create(function()
  848. local SIZE = MSH.Scale.X
  849. for i = 1, 35 do
  850. Swait()
  851. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  852. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  853. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  854. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  855. end
  856. RING:remove()
  857. end))
  858. end
  859. return RING, MSH, REMOVE
  860. end
  861.  
  862. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  863. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  864. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  865. if RayHit and CheckIntangible(RayHit) then
  866. if DelayIfHit then
  867. wait()
  868. end
  869. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  870. end
  871. return RayHit, RayPos, RayNormal
  872. end
  873. BaseLightning = IT("Part")
  874. BaseLightning.Anchored = true
  875. BaseLightning.CanCollide = false
  876. BaseLightning.Material = "Neon"
  877. local LightningBolts = {}
  878. function Zap(Table)
  879. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  880. local Duration = Table.Duration or 2
  881. local Offset = Table.Offset or 2
  882. local Individualize = Table.Individualize or false
  883. local MaxRange = Table.MaxRange or 200
  884. local SegmentLength = Table.SegmentLength or 5
  885. local Transparency = Table.Transparency or 0
  886. local Ignore = Table.Ignore or {}
  887. local SIZE = Table.SIZE or 0.3
  888. if not (StartPos and TargetPos) or not Character then
  889. return
  890. end
  891. local LightningModel = IT("Folder", Effects)
  892. LightningModel.Name = "ZAPP"
  893. for i, v in pairs({Character, LightningModel}) do
  894. table.insert(Ignore, v)
  895. end
  896. local LastPos = StartPos
  897. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  898. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  899. local RayLength = (StartPos - RayPos).Magnitude
  900. local Struck = false
  901. local TotalSegments = math.ceil(RayLength / SegmentLength)
  902. Direction = CFrame.new(StartPos, RayPos).lookVector
  903. local LightningBolt = IT("Model", Effects)
  904. LightningBolt.Name = "Lightning"
  905. if not Individualize then
  906. table.insert(LightningBolts, LightningBolt)
  907. end
  908. LastBolt = LightningBolt
  909. Debris:AddItem(LightningBolt, Duration)
  910. LightningBolt.Parent = LightningModel
  911. for i = 1, TotalSegments do
  912. if not Struck then
  913. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  914. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  915. local SegmentVec = NewPos - LastPos
  916. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  917. local RayVec = LastPos - RayPos
  918. local LightningPart = BaseLightning:Clone()
  919. LightningPart.BrickColor = BrickColor.new(Color)
  920. LightningPart.Transparency = Transparency
  921. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  922. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  923. table.insert(Effects2, {
  924. LightningPart,
  925. "Disappear",
  926. 0.025,
  927. 1,
  928. 1,
  929. 1,
  930. 2
  931. })
  932. local CylinderMesh = IT("CylinderMesh", LightningPart)
  933. local OrigCF = LightningPart.CFrame
  934. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  935. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  936. LightningPart.Parent = LightningBolt
  937. LastPos = NewPos
  938. end
  939. end
  940. return {
  941. RayHit = RayHit,
  942. RayPos = RayPos,
  943. RayNormal = RayNormal,
  944. LightningModel = LightningModel
  945. }
  946. end
  947. local Decal = IT("Decal")
  948. function MagicRing()
  949. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  950. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  951. local decal = Decal:Clone()
  952. decal.Parent = O1
  953. decal.Face = "Top"
  954. decal.Texture = "http://www.roblox.com/asset/?id=917750924"
  955. local decal2 = Decal:Clone()
  956. decal2.Parent = O1
  957. decal2.Face = "Bottom"
  958. decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
  959. return O1
  960. end
  961.  
  962. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  963. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  964. local mesh = IT("SpecialMesh",wave)
  965. mesh.MeshType = "FileMesh"
  966. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  967. mesh.Scale = SIZE
  968. mesh.Offset = VT(0,0,0)
  969. wave.CFrame = CFRAME
  970. coroutine.resume(coroutine.create(function(PART)
  971. for i = 1, WAIT do
  972. Swait()
  973. mesh.Scale = mesh.Scale + GROW
  974. if DOESROT == true then
  975. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  976. end
  977. wave.Transparency = wave.Transparency + (0.5/WAIT)
  978. if wave.Transparency > 0.99 then
  979. wave:remove()
  980. end
  981. end
  982. end))
  983. end
  984.  
  985. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  986. local Direction = CFrame.new(StartPos, Vec).lookVector
  987. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  988. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  989. if RayHit and CheckIntangible(RayHit) then
  990. if DelayIfHit then
  991. wait()
  992. end
  993. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  994. end
  995. return RayHit, RayPos, RayNormal
  996. end
  997.  
  998. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  999. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Maroon"), "Effect", VT(1,1,1), true)
  1000. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1001. wave.CFrame = CFRAME
  1002. coroutine.resume(coroutine.create(function(PART)
  1003. for i = 1, WAIT do
  1004. Swait()
  1005. mesh.Scale = mesh.Scale * GROW
  1006. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1007. if wave.Transparency > 0.99 then
  1008. wave:remove()
  1009. end
  1010. end
  1011. end))
  1012. end
  1013.  
  1014. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1015. for _, c in pairs(PARENT:GetChildren()) do
  1016. if c.ClassName == "Model" then
  1017. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1018. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1019. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1020. if DIST > (TORSO.Position - FROM).Magnitude then
  1021. table.insert(TABLE, c)
  1022. end
  1023. AddChildrenToTable(FROM, c, DIST, TABLE)
  1024. elseif c.ClassName == "Folder" then
  1025. AddChildrenToTable(FROM, c, DIST, TABLE)
  1026. end
  1027. end
  1028. end
  1029. end
  1030.  
  1031. --// ================\\
  1032. --|| WEAPON CREATION
  1033. --\\=================================//
  1034.  
  1035. local PlayerSize = 1
  1036. local sick = Instance.new("Sound",Character)
  1037. CFuncs = {
  1038. ["Part"] = {
  1039. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1040. local Part = Create("Part"){
  1041. Parent = Parent,
  1042. Reflectance = Reflectance,
  1043. Transparency = Transparency,
  1044. CanCollide = false,
  1045. Locked = true,
  1046. BrickColor = BrickColor.new(tostring(BColor)),
  1047. Name = Name,
  1048. Size = Size,
  1049. Material = Material,
  1050. }
  1051. RemoveOutlines(Part)
  1052. return Part
  1053. end;
  1054. };
  1055.  
  1056. ["Mesh"] = {
  1057. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1058. local Msh = Create(Mesh){
  1059. Parent = Part,
  1060. Offset = OffSet,
  1061. Scale = Scale,
  1062. }
  1063. if Mesh == "SpecialMesh" then
  1064. Msh.MeshType = MeshType
  1065. Msh.MeshId = MeshId
  1066. end
  1067. return Msh
  1068. end;
  1069. };
  1070.  
  1071. ["Mesh"] = {
  1072. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1073. local Msh = Create(Mesh){
  1074. Parent = Part,
  1075. Offset = OffSet,
  1076. Scale = Scale,
  1077. }
  1078. if Mesh == "SpecialMesh" then
  1079. Msh.MeshType = MeshType
  1080. Msh.MeshId = MeshId
  1081. end
  1082. return Msh
  1083. end;
  1084. };
  1085.  
  1086. ["Weld"] = {
  1087. Create = function(Parent, Part0, Part1, C0, C1)
  1088. local Weld = Create("Weld"){
  1089. Parent = Parent,
  1090. Part0 = Part0,
  1091. Part1 = Part1,
  1092. C0 = C0,
  1093. C1 = C1,
  1094. }
  1095. return Weld
  1096. end;
  1097. };
  1098.  
  1099. ["Sound"] = {
  1100. Create = function(id, par, vol, pit)
  1101. coroutine.resume(coroutine.create(function()
  1102. local S = Create("Sound"){
  1103. Volume = vol,
  1104. Name = "EffectSoundo",
  1105. Pitch = pit or 1,
  1106. SoundId = id,
  1107. Parent = par or workspace,
  1108. }
  1109. wait()
  1110. S:play()
  1111. game:GetService("Debris"):AddItem(S, 10)
  1112. end))
  1113. end;
  1114. };
  1115.  
  1116. ["TimeSound"] = {
  1117. Create = function(id, par, vol, pit, timepos)
  1118. coroutine.resume(coroutine.create(function()
  1119. local S = Create("Sound"){
  1120. Volume = vol,
  1121. Name = "EffectSoundo",
  1122. Pitch = pit or 1,
  1123. SoundId = id,
  1124. TimePosition = timepos,
  1125. Parent = par or workspace,
  1126. }
  1127. wait()
  1128. S:play()
  1129. game:GetService("Debris"):AddItem(S, 10)
  1130. end))
  1131. end;
  1132. };
  1133. ["EchoSound"] = {
  1134. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1135. coroutine.resume(coroutine.create(function()
  1136. local Sas = Create("Sound"){
  1137. Volume = vol,
  1138. Name = "EffectSoundo",
  1139. Pitch = pit or 1,
  1140. SoundId = id,
  1141. TimePosition = timepos,
  1142. Parent = par or workspace,
  1143. }
  1144. local E = Create("EchoSoundEffect"){
  1145. Delay = echodelay,
  1146. Name = "Echo",
  1147. Feedback = fedb,
  1148. DryLevel = dryl,
  1149. Parent = Sas,
  1150. }
  1151. wait()
  1152. Sas:play()
  1153. game:GetService("Debris"):AddItem(Sas, delays)
  1154. end))
  1155. end;
  1156. };
  1157.  
  1158. ["LongSound"] = {
  1159. Create = function(id, par, vol, pit)
  1160. coroutine.resume(coroutine.create(function()
  1161. local S = Create("Sound"){
  1162. Volume = vol,
  1163. Pitch = pit or 1,
  1164. SoundId = id,
  1165. Parent = par or workspace,
  1166. }
  1167. wait()
  1168. S:play()
  1169. game:GetService("Debris"):AddItem(S, 60)
  1170. end))
  1171. end;
  1172. };
  1173.  
  1174. ["ParticleEmitter"] = {
  1175. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1176. local fp = Create("ParticleEmitter"){
  1177. Parent = Parent,
  1178. Color = ColorSequence.new(Color1, Color2),
  1179. LightEmission = LightEmission,
  1180. Size = Size,
  1181. Texture = Texture,
  1182. Transparency = Transparency,
  1183. ZOffset = ZOffset,
  1184. Acceleration = Accel,
  1185. Drag = Drag,
  1186. LockedToPart = LockedToPart,
  1187. VelocityInheritance = VelocityInheritance,
  1188. EmissionDirection = EmissionDirection,
  1189. Enabled = Enabled,
  1190. Lifetime = LifeTime,
  1191. Rate = Rate,
  1192. Rotation = Rotation,
  1193. RotSpeed = RotSpeed,
  1194. Speed = Speed,
  1195. VelocitySpread = VelocitySpread,
  1196. }
  1197. return fp
  1198. end;
  1199. };
  1200.  
  1201. CreateTemplate = {
  1202.  
  1203. };
  1204. }
  1205.  
  1206. local SIZE = 1.25
  1207.  
  1208. local Particle = IT("ParticleEmitter",nil)
  1209. Particle.Enabled = false
  1210. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1211. Particle.LightEmission = 0.5
  1212. Particle.Rate = 150
  1213. Particle.ZOffset = 0.2
  1214. Particle.Rotation = NumberRange.new(-180, 180)
  1215. Particle.RotSpeed = NumberRange.new(-180, 180)
  1216. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1217. Particle.Color = ColorSequence.new(C3(0,0,64),C3(0,0,0))
  1218.  
  1219. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1220. function ParticleEmitter(Table)
  1221. local PRTCL = Particle:Clone()
  1222. local Speed = Table.Speed or 5
  1223. local Drag = Table.Drag or 0
  1224. local Size1 = Table.Size1 or 1
  1225. local Size2 = Table.Size2 or 5
  1226. local Lifetime1 = Table.Lifetime1 or 1
  1227. local Lifetime2 = Table.Lifetime2 or 1.5
  1228. local Parent = Table.Parent or Torso
  1229. local Emit = Table.Emit or 100
  1230. local Offset = Table.Offset or 360
  1231. local Acel = Table.Acel or VT(0,0,0)
  1232. local Enabled = Table.Enabled or false
  1233. PRTCL.Parent = Parent
  1234. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1235. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1236. PRTCL.Speed = NumberRange.new(Speed)
  1237. PRTCL.VelocitySpread = Offset
  1238. PRTCL.Drag = Drag
  1239. PRTCL.Acceleration = Acel
  1240. if Enabled == false then
  1241. PRTCL:Emit(Emit)
  1242. Debris:AddItem(PRTCL,Lifetime2)
  1243. else
  1244. PRTCL.Enabled = true
  1245. end
  1246. return PRTCL
  1247. end
  1248.  
  1249. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1250. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1251. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1252. MakeForm(Part,"Wedge")
  1253. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1255. MakeForm(Part,"Wedge")
  1256. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1257. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1258. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1259. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1260. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1261. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1262. MakeForm(Part,"Cyl")
  1263. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1264. for i = 1, 8 do
  1265. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1266. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1267. end
  1268. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1269. MakeForm(Part,"Cyl")
  1270. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1271. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1272. MakeForm(Part,"Ball")
  1273. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1274. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1275. MakeForm(Part,"Wedge")
  1276. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1277. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1278. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1279. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1280. MakeForm(Part,"Cyl")
  1281. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1282. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1283. MakeForm(Part,"Cyl")
  1284. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1285. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1286. MakeForm(Part,"Cyl")
  1287. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1288. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1289. MakeForm(Part,"Wedge")
  1290. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1291. local LASTPART = Handle
  1292. for i = 1, 10 do
  1293. if LASTPART == Handle then
  1294. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1295. LASTPART = Part
  1296. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1297. else
  1298. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1300. LASTPART = Part
  1301. end
  1302. end
  1303.  
  1304. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1305. MakeForm(Barrel,"Cyl")
  1306. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1307. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1308. MakeForm(Part,"Cyl")
  1309. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1310. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1311. MakeForm(Part,"Wedge")
  1312. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1313. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1314. MakeForm(Hole2,"Cyl")
  1315. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1316. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1317. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1318. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1319. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1320. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1321. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1322. coroutine.resume(coroutine.create(function()
  1323. while wait() do
  1324. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1325. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1326. end
  1327. end))
  1328.  
  1329. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1330. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1331.  
  1332. for _, c in pairs(Weapon:GetDescendants()) do
  1333. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1334. c.Material = "Glass"
  1335. c.Color = C3(0,0,0)
  1336. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1337. c.Color = C3(0,0,64)
  1338. c.Material = "Neon"
  1339. end
  1340. end
  1341.  
  1342. Weapon.Parent = Character
  1343. for _, c in pairs(Weapon:GetChildren()) do
  1344. if c.ClassName == "Part" then
  1345. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1346. end
  1347. end
  1348.  
  1349. function ParticleEmitter(Table)
  1350. local PRTCL = Particle:Clone()
  1351. local Speed = Table.Speed or 5
  1352. local Drag = Table.Drag or 0
  1353. local Size1 = Table.Size1 or 1
  1354. local Size2 = Table.Size2 or 5
  1355. local Lifetime1 = Table.Lifetime1 or 1
  1356. local Lifetime2 = Table.Lifetime2 or 1.5
  1357. local Parent = Table.Parent or Torso
  1358. local Emit = Table.Emit or 100
  1359. local Offset = Table.Offset or 360
  1360. local Acel = Table.Acel or VT(0,0,0)
  1361. local Enabled = Table.Enabled or false
  1362. PRTCL.Parent = Parent
  1363. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1364. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1365. PRTCL.Speed = NumberRange.new(Speed)
  1366. PRTCL.VelocitySpread = Offset
  1367. PRTCL.Drag = Drag
  1368. PRTCL.Acceleration = Acel
  1369. if Enabled == false then
  1370. PRTCL:Emit(Emit)
  1371. Debris:AddItem(PRTCL,Lifetime2)
  1372. else
  1373. PRTCL.Enabled = true
  1374. end
  1375. return PRTCL
  1376. end
  1377.  
  1378. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1379. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1380. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1381. MakeForm(Part,"Wedge")
  1382. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1383. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1384. MakeForm(Part,"Wedge")
  1385. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1386. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1387. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1388. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1389. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1390. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1391. MakeForm(Part,"Cyl")
  1392. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1393. for i = 1, 8 do
  1394. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1395. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1396. end
  1397. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1398. MakeForm(Part,"Cyl")
  1399. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1400. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1401. MakeForm(Part,"Ball")
  1402. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1403. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1404. MakeForm(Part,"Wedge")
  1405. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1406. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1407. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1408. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1409. MakeForm(Part,"Cyl")
  1410. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1411. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1412. MakeForm(Part,"Cyl")
  1413. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1414. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1415. MakeForm(Part,"Cyl")
  1416. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1417. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1418. MakeForm(Part,"Wedge")
  1419. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1420. local LASTPART = Handle
  1421. for i = 1, 10 do
  1422. if LASTPART == Handle then
  1423. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1424. LASTPART = Part
  1425. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1426. else
  1427. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1428. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1429. LASTPART = Part
  1430. end
  1431. end
  1432.  
  1433. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1434. MakeForm(Barrel,"Cyl")
  1435. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1436. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1437. MakeForm(Part,"Cyl")
  1438. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1439. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1440. MakeForm(Part,"Wedge")
  1441. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1442. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1443. MakeForm(Hole,"Cyl")
  1444. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1445. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1446. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1447. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1448. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1449. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1450. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1451. coroutine.resume(coroutine.create(function()
  1452. while wait() do
  1453. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1454. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1455. end
  1456. end))
  1457.  
  1458. for _, c in pairs(Weapon:GetDescendants()) do
  1459. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1460. c.Material = "Glass"
  1461. c.Color = C3(0,0,0)
  1462. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1463. c.Color = C3(0,0,64)
  1464. c.Material = "Neon"
  1465. end
  1466. end
  1467.  
  1468. Weapon.Parent = Character
  1469. for _, c in pairs(Weapon:GetChildren()) do
  1470. if c.ClassName == "Part" then
  1471. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1472. end
  1473. end
  1474.  
  1475. local SKILLTEXTCOLOR = C3(0,0,64)
  1476. local SKILLFONT = "Antique"
  1477. local SKILLTEXTSIZE = 7
  1478.  
  1479. Humanoid.Died:connect(function()
  1480. ATTACK = true
  1481. end)
  1482.  
  1483. 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")
  1484. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0.90, 0., 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1485. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1486. 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")
  1487. 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")
  1488.  
  1489. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1490. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1491. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1492. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1493. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1494.  
  1495. function printbye(Name)
  1496. 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, "}
  1497. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1498. end
  1499.  
  1500. workspace.ChildAdded:connect(function(instance)
  1501. for BANISH = 1, #TOBANISH do
  1502. if TOBANISH[BANISH] ~= nil then
  1503. if instance.Name == TOBANISH[BANISH] then
  1504. coroutine.resume(coroutine.create(function()
  1505. printbye(instance.Name)
  1506. instance:ClearAllChildren()
  1507. Debris:AddItem(instance,0.0005)
  1508. end))
  1509. end
  1510. end
  1511. end
  1512. end)
  1513. Circle = nil
  1514. CircleParts = {}
  1515. Equipped = false
  1516.  
  1517. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1518. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1519. end
  1520. Equipped = true
  1521. Circle = IT("Model")
  1522. Circle.Name = "Circle"
  1523. Angle = 0
  1524. for i = 1, 1 do
  1525. local CirclePart = Instance.new("Part")
  1526. CirclePart.Name = "CirclePart"
  1527. CirclePart.Transparency = 1
  1528. CirclePart.BrickColor = BrickColor.new("Really black")
  1529. CirclePart.Material = Enum.Material.Plastic
  1530. CirclePart.Shape = Enum.PartType.Block
  1531. CirclePart.FormFactor = Enum.FormFactor.Custom
  1532. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  1533. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  1534. CirclePart.Anchored = true
  1535. CirclePart.CanCollide = false
  1536. CirclePart.Locked = true
  1537. CirclePart.Size = Vector3.new(15, 0.2, 15)
  1538. local Aura = IT('ParticleEmitter')
  1539. Aura.Name = "Aura"
  1540. Aura.Texture = "rbxassetid://357442018"
  1541. Aura.Parent = CirclePart
  1542. Aura.LightEmission = 0
  1543. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  1544. Aura.Color = ColorSequence.new(Color3.new(0, 0, 64),Color3.new(0, 0, 64))
  1545. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  1546. Aura.LockedToPart = false
  1547. Aura.Lifetime = NumberRange.new(1)
  1548. Aura.Rate = 60
  1549. Aura.Speed = NumberRange.new(2.5)
  1550. Aura.SpreadAngle = Vector2.new(80,80)
  1551. local BlockMesh = Instance.new("BlockMesh")
  1552. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  1553. BlockMesh.Parent = CirclePart
  1554. CirclePart.Parent = Circle
  1555. local Star = Instance.new("Decal", CirclePart)
  1556. Star.Texture = "http://roblox.com/asset/?id=357442018"
  1557. Star.Face = "Top"
  1558. local Light = Instance.new("PointLight", CirclePart)
  1559. Light.Color = Color3.new(0,0,64)
  1560. Light.Brightness = 100
  1561. Light.Range = 15
  1562. table.insert(CircleParts, CirclePart)
  1563. end
  1564. Spawn(function()
  1565. while Equipped and Humanoid.Parent and Torso.Parent do
  1566. if Angle == 360 then
  1567. Angle = 0
  1568. end
  1569. Angle = Angle + 0.05
  1570. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  1571. if Hit then
  1572. if not Circle.Parent then
  1573. Circle.Parent = Character
  1574. end
  1575. for i, v in pairs(CircleParts) do
  1576. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  1577. end
  1578. else
  1579. Circle.Parent = Character
  1580. end
  1581. wait()
  1582. end
  1583. end)
  1584.  
  1585. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 2, Size2 = 2, Lifetime1 = 0.2, Lifetime2 = 1, Parent = Hole2, Emit = 60, Offset = 360, Enabled = true})
  1586. PRT.LockedToPart = true
  1587. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 2, Size2 = 2, Lifetime1 = 0.2, Lifetime2 = 1, Parent = Hole, Emit = 60, Offset = 360, Enabled = true})
  1588. PRT.LockedToPart = true
  1589.  
  1590.  
  1591. local Back = CreatePart(3, Character, "Granite", 0, 0, "Dark blue", "Wing", VT(1,1,0.35),false)
  1592. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  1593.  
  1594. local ANGLE = 35
  1595. for i = 1, 8 do
  1596. local Wing = CreatePart(3, Character, "Granite", 0, 0, "Dark blue", "Wing", VT(0.15,2+(i/2),0.15),false)
  1597. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1598. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Dark blue", "Wing", VT(0.25,1,0.25),false)
  1599. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1600. ANGLE = ANGLE - 15
  1601. table.insert(LEFTWINGS,WingWeld)
  1602. end
  1603. ANGLE = 35
  1604. for i = 1, 8 do
  1605. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Blue", "Wing", VT(0.15,2+(i/2),0.15),false)
  1606. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1607. local Wing2 = CreatePart(3, Character, "Granite", 0, 0, "Blue", "Wing", VT(0.25,1,0.25),false)
  1608. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1609. ANGLE = ANGLE - 15
  1610. table.insert(RIGHTWINGS,WingWeld)
  1611. end
  1612.  
  1613. for i = 1, 16 do
  1614. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1615. FACE.Color = C3(0,0,0)
  1616. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1617. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1618. end
  1619. local LASTPART = Head
  1620. for i = 1, 20 do
  1621. local MATH = (1-(i/25))
  1622. if LASTPART == Head then
  1623. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dark blue", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1624. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1625. LASTPART = Horn
  1626. Horn.Color = Color3.new(0,0,64)
  1627. else
  1628. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dark blue", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1629. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1630. LASTPART = Horn
  1631. Horn.Color = Color3.new(0,0,64)
  1632. end
  1633. end
  1634. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Black", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1635. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1636. MakeForm(PRT,"Cyl")
  1637. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Black", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1638. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1639. MakeForm(PRT,"Cyl")
  1640. PRT.Color = Color3.new(0,0,64)
  1641. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Black", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1642. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1643. MakeForm(RING,"Cyl")
  1644. RING.Color = C3(0,0,64)
  1645. for i = 1, 12 do
  1646. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1647. PRT.Color = C3(0,0,64)
  1648. local MSH = IT("BlockMesh",PRT)
  1649. MSH.Scale = VT(0.6,1,1)
  1650. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1651. end
  1652. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1653. PRT.Color = C3(0,0,64)
  1654. local MSH = IT("BlockMesh",PRT)
  1655. MSH.Scale = VT(0.4,1,1)
  1656. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1657. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1658. PRT.Color = C3(0,0,64)
  1659. local MSH = IT("BlockMesh",PRT)
  1660. MSH.Scale = VT(0.4,1,1)
  1661. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1662. coroutine.resume(coroutine.create(function()
  1663. while true do
  1664. Swait()
  1665. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1666. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1667. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1668. if CLOCKLOOP <= -150 then
  1669. if VALUE1 == false then
  1670. CLOCKLOOP = 0
  1671. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,64), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  1672. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1673. ApplyAoE(HITPOS,10,15,45,75,false)
  1674. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,64), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1675. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = Color3.new(0,0,64), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1676. if CLOCKTARGET ~= nil then
  1677. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1678. if CLOCKTARGET.Torso ~= nil then
  1679. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1680. end
  1681. if CLOCKTARGET.Health == 0 then
  1682. CLOCKTARGET = nil
  1683. end
  1684. end
  1685. end
  1686. end
  1687. end
  1688. end))
  1689. --//=================================\\
  1690. --|| DAMAGING
  1691. --\\=================================//
  1692. function BAN(CHARACTER)
  1693. local BANFOLDER = IT("Folder",Effects)
  1694. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  1695. naeeym2.AlwaysOnTop = false
  1696. naeeym2.Size = UDim2.new(5,35,2,35)
  1697. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1698. naeeym2.Name = "AAAA"
  1699. local tecks2 = Instance.new("TextLabel",naeeym2)
  1700. tecks2.BackgroundTransparency = 1
  1701. tecks2.TextScaled = true
  1702. tecks2.BorderSizePixel = 0
  1703. tecks2.Text = "SPACED"
  1704. tecks2.Font = "Code"
  1705. tecks2.TextSize = 30
  1706. tecks2.TextStrokeTransparency = 1
  1707. tecks2.TextColor3 = Color3.new(0,0,64)
  1708. tecks2.TextStrokeColor3 = Color3.new(0,0,64)
  1709. tecks2.Size = UDim2.new(1,0,0.5,0)
  1710. tecks2.Parent = naeeym2
  1711. for i,v in ipairs(CHARACTER:GetChildren()) do
  1712. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1713. if v.Name ~= "HumanoidRootPart" then
  1714. local BOD = v:Clone()
  1715. BOD.CanCollide = false
  1716. BOD.Anchored = true
  1717. BOD.CFrame = v.CFrame
  1718. BOD.Parent = BANFOLDER
  1719. BOD.Material = "Neon"
  1720. BOD.Color = C3(0,0,64)
  1721. if BOD:FindFirstChildOfClass("Decal") then
  1722. BOD:FindFirstChildOfClass("Decal"):remove()
  1723. end
  1724. if BOD.Name == "Head" then
  1725. naeeym2.Adornee = BOD
  1726. end
  1727. if BOD.ClassName == "MeshPart" then
  1728. BOD.TextureID = ""
  1729. end
  1730. end
  1731. end
  1732. end
  1733. CHARACTER:remove()
  1734. coroutine.resume(coroutine.create(function()
  1735. for i = 1, 50 do
  1736. Swait()
  1737. for i,v in ipairs(BANFOLDER:GetChildren()) do
  1738. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1739. v.Transparency = 1
  1740. end
  1741. naeeym2.Enabled = false
  1742. end
  1743. Swait()
  1744. for i,v in ipairs(BANFOLDER:GetChildren()) do
  1745. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1746. v.Transparency = 0
  1747. end
  1748. naeeym2.Enabled = true
  1749. end
  1750. end
  1751. BANFOLDER:remove()
  1752. end))
  1753. end
  1754.  
  1755. function BANNEAREST(POS,RANGE)
  1756. for i,v in ipairs(workspace:GetChildren()) do
  1757. local body = v:GetChildren()
  1758. for part = 1, #body do
  1759. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1760. if(body[part].Position - POS).Magnitude < RANGE then
  1761. if v:FindFirstChildOfClass("Humanoid") then
  1762. BAN(v)
  1763. if game.Players:FindFirstChild(v.Name) then
  1764. local Value = IT("BoolValue",Delete)
  1765. Value.Name = v.Name
  1766. end
  1767. end
  1768. end
  1769. end
  1770. end
  1771. end
  1772. end
  1773.  
  1774.  
  1775. function Banish(Foe)
  1776. if Foe then
  1777. coroutine.resume(coroutine.create(function()
  1778. --if game.Players:FindFirstChild(Foe.Name) then
  1779. table.insert(TOBANISH,Foe.Name)
  1780. printbye(Foe.Name)
  1781. --end
  1782. Foe.Archivable = true
  1783. local CLONE = Foe:Clone()
  1784. Foe:Destroy()
  1785. CLONE.Parent = Effects
  1786. CLONE:BreakJoints()
  1787. local MATERIALS = {"Glass","Neon"}
  1788. for _, c in pairs(CLONE:GetDescendants()) do
  1789. if c:IsA("BasePart") then
  1790. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1791. CreateSound(340722848, c, 10, 1, false)
  1792. end
  1793. c.Anchored = true
  1794. c.Transparency = c.Transparency + 0.2
  1795. c.Material = MATERIALS[MRANDOM(1,2)]
  1796. c.Color = C3(0,0,64)
  1797. if c.ClassName == "MeshPart" then
  1798. c.TextureID = ""
  1799. end
  1800. if c:FindFirstChildOfClass("SpecialMesh") then
  1801. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1802. end
  1803. if c:FindFirstChildOfClass("Decal") then
  1804. c:FindFirstChildOfClass("Decal"):remove()
  1805. end
  1806. c.Name = "Banished"
  1807. c.CanCollide = false
  1808. else
  1809. c:remove()
  1810. end
  1811. end
  1812. local A = false
  1813. for i = 1, 35 do
  1814. if A == false then
  1815. A = true
  1816. elseif A == true then
  1817. A = false
  1818. end
  1819. for _, c in pairs(CLONE:GetDescendants()) do
  1820. if c:IsA("BasePart") then
  1821. c.Anchored = true
  1822. c.Material = MATERIALS[MRANDOM(1,2)]
  1823. c.Transparency = c.Transparency + 0.8/35
  1824. if A == false then
  1825. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1826. elseif A == true then
  1827. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1828. end
  1829. end
  1830. end
  1831. Swait()
  1832. end
  1833. CLONE:remove()
  1834. end))
  1835. end
  1836. end
  1837.  
  1838. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1839. local CHILDREN = workspace:GetDescendants()
  1840. for index, CHILD in pairs(CHILDREN) do
  1841. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1842. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1843. if HUM then
  1844. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1845. if TORSO then
  1846. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1847. if ISBANISH == true then
  1848. Banish(CHILD)
  1849. else
  1850. if ISBANISH == "Gravity" then
  1851. HUM.PlatformStand = true
  1852. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1853. local grav = Instance.new("BodyPosition",TORSO)
  1854. grav.D = 15
  1855. grav.P = 20000
  1856. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1857. grav.position = TORSO.Position
  1858. grav.Name = "V3BanishForce"..Player.Name
  1859. else
  1860. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1861. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1862. end
  1863. else
  1864. HUM.PlatformStand = false
  1865. end
  1866. end
  1867. elseif ISBANISH == "Gravity" then
  1868. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1869. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1870. HUM.PlatformStand = false
  1871. end
  1872. end
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878.  
  1879. m = owner
  1880. char = m.Character
  1881. local txt = Instance.new("BillboardGui", char)
  1882. txt.Adornee = char.Head
  1883. txt.Name = "_status"
  1884. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1885. txt.StudsOffset = Vector3.new(-9, 10, 0)
  1886. local text = Instance.new("TextLabel", txt)
  1887. text.Size = UDim2.new(10, 0, 7, 0)
  1888. text.FontSize = "Size24"
  1889. text.TextScaled = true
  1890. text.TextTransparency = 0
  1891. text.BackgroundTransparency = 1
  1892. text.TextTransparency = 0
  1893. text.TextStrokeTransparency = 0
  1894. text.Font = "SciFi"
  1895. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  1896. v = Instance.new("Part")
  1897. v.Name = "ColorBrick"
  1898. v.Parent = m.Character
  1899. v.FormFactor = "Symmetric"
  1900. v.Anchored = true
  1901. v.CanCollide = false
  1902. v.BottomSurface = "Smooth"
  1903. v.TopSurface = "Smooth"
  1904. v.Size = Vector3.new(10, 5, 3)
  1905. v.Transparency = 1
  1906. v.CFrame = char.Torso.CFrame
  1907. v.BrickColor = BrickColor.new("Really black")
  1908. v.Transparency = 1
  1909. v.Shape = "Block"
  1910. spawn(function()
  1911. local TweenService = game:GetService("TweenService")
  1912. local Colours = {Color3.fromRGB(0,0,255),Color3.fromRGB(0,0,0)}
  1913. local Int = 0
  1914. while wait(0.5) do
  1915. if Int == #Colours then Int = 0 end
  1916. Int = Int+1
  1917. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  1918. end
  1919. end)
  1920. text.Text = "Universal Shooter"
  1921.  
  1922. coroutine.resume(coroutine.create(function()
  1923. repeat
  1924. for i = 1, 15 do
  1925. Swait()
  1926. text.Rotation = MRANDOM(-15,15)
  1927. end
  1928. until Humanoid.Health == 0
  1929. end))
  1930.  
  1931. function chatfunc(text)
  1932. local chat = coroutine.wrap(function()
  1933. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1934. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1935. end
  1936. local Bill = Instance.new("BillboardGui",Character)
  1937. Bill.Size = UDim2.new(0,100,0,40)
  1938. Bill.StudsOffset = Vector3.new(0,3,0)
  1939. Bill.Adornee = Character.Head
  1940. Bill.Name = "TalkingBillBoard"
  1941. local Hehe = Instance.new("TextLabel",Bill)
  1942. Hehe.BackgroundTransparency = 1
  1943. Hehe.BorderSizePixel = 0
  1944. Hehe.Text = ""
  1945. Hehe.Font = "SciFi"
  1946. Hehe.TextSize = 40
  1947. Hehe.TextStrokeTransparency = 0
  1948. Hehe.Size = UDim2.new(1,0,0.5,0)
  1949. coroutine.resume(coroutine.create(function()
  1950. while Hehe ~= nil do
  1951. wait()
  1952. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1953. Hehe.Rotation = math.random(-5,5)
  1954. Hehe.TextColor3 = Color3.new(0,0,0)
  1955. Hehe.TextStrokeColor3 = Color3.new(0,0,64)
  1956. end
  1957. end))
  1958. for i = 1,string.len(text),1 do
  1959. wait()
  1960. Hehe.Text = string.sub(text,1,i)
  1961. end
  1962. wait(1.5)--Re[math.random(1, 93)]
  1963. for i = 0, 1, .025 do
  1964. wait()
  1965. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1966. Hehe.TextStrokeTransparency = i
  1967. Hehe.TextTransparency = i
  1968. end
  1969. Bill:Destroy()
  1970. end)
  1971. chat()
  1972. end
  1973.  
  1974. function onChatted(msg)
  1975. chatfunc(msg)
  1976. end
  1977.  
  1978. Player.Chatted:connect(onChatted)
  1979.  
  1980. --//=================================\\
  1981. --|| ATTACK FUNCTIONS AND STUFF
  1982. --\\=================================//
  1983. function ChainPunch()
  1984. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1985. if DIST > 180 then
  1986. DIST = 180
  1987. end
  1988. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1989. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1990. if HITFLOOR then
  1991. local POS = HITPOS
  1992. ATTACK = true
  1993. Rooted = true
  1994. local WARPED = false
  1995. local SMASHED = false
  1996. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1997. coroutine.resume(coroutine.create(function()
  1998. repeat
  1999. Swait()
  2000. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2004. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2006. until WARPED == true
  2007. repeat
  2008. Swait()
  2009. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2010. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2011. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2012. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2013. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2014. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2015. until SMASHED == true
  2016. repeat
  2017. Swait()
  2018. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2019. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  2020. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2021. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2022. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2023. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2024. until ATTACK == false
  2025. end))
  2026. VALUE1 = true
  2027. CreateSound(233856115, Torso, 5, 1.6, false)
  2028. for i = 1, 25 do
  2029. Swait()
  2030. for _, c in pairs(Character:GetChildren()) do
  2031. if c.ClassName == "Part" then
  2032. c.Transparency = c.Transparency + 1/25
  2033. end
  2034. end
  2035. for _, c in pairs(Weapon:GetChildren()) do
  2036. if c.ClassName == "Part" then
  2037. c.Transparency = c.Transparency + 1/25
  2038. end
  2039. end
  2040. end
  2041. UNANCHOR = false
  2042. RootPart.Anchored = true
  2043. RootPart.Velocity = VT(0,0,0)
  2044. local ROOTPOS = RootPart.Position
  2045. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2046. WARPED = true
  2047. for i = 1, 25 do
  2048. Swait()
  2049. for _, c in pairs(Character:GetChildren()) do
  2050. if c.ClassName == "Part" then
  2051. c.Transparency = c.Transparency - 1/25
  2052. end
  2053. end
  2054. for _, c in pairs(Weapon:GetChildren()) do
  2055. if c.ClassName == "Part" then
  2056. c.Transparency = c.Transparency - 1/25
  2057. end
  2058. end
  2059. end
  2060. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Part", VT(0,0,0))
  2061. SHELL.CFrame = RootPart.CFrame
  2062. MakeForm(SHELL,"Ball")
  2063. CreateSound(402981977, SHELL, 5, 1.6, false)
  2064. for i = 1, 10 do
  2065. Swait()
  2066. SHELL.Transparency = SHELL.Transparency - 1/10
  2067. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2068. end
  2069. for i = 1, math.ceil(75/2) do
  2070. Swait()
  2071. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2072. SHELL.CFrame = CF(RootPart.Position)
  2073. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2074. end
  2075. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2076. SHELL.CFrame = CF(RootPart.Position)
  2077. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2078. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2079. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2080. for i = 1, 5 do
  2081. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2082. end
  2083. SHELL:remove()
  2084. ApplyAoE(RootPart.Position,75,35,75,175,false)
  2085. SMASHED = true
  2086. wait(1)
  2087. VALUE1 = false
  2088. UNANCHOR = true
  2089. ATTACK = false
  2090. Rooted = false
  2091. end
  2092. end
  2093.  
  2094. local Cooldown1 = false
  2095.  
  2096. function Morning_Star()
  2097. ATTACK = true
  2098. Rooted = true
  2099. for i=0, 1, 0.1 / Animation_Speed do
  2100. Swait()
  2101. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2102. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.2 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2105. RightHip.C0 = Clerp(RightHip.C0, CF(0.5, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2106. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.5, 0.15, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2107. end
  2108. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,0,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = 1, SoundVolume = 6})
  2109. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,0,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = 1, SoundVolume = 6})
  2110. coroutine.resume(coroutine.create(function()
  2111. local POS = Mouse.Hit.p
  2112. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Blue", "Strike", VT(0,2000,0))
  2113. MakeForm(RAY,"Cyl")
  2114. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Blue", "Strike", VT(0,0,0))
  2115. MakeForm(SPHERE,"Ball")
  2116. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Blue", "Strike", VT(0,0,0))
  2117. MakeForm(SHIELD,"Ball")
  2118. SHIELD.CFrame = CF(POS)
  2119. RAY.CFrame = CF(POS)
  2120. SPHERE.CFrame = CF(POS)
  2121. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2122. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2123. for i = 1, 200 do
  2124. Swait()
  2125. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2126. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2127. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  2128. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  2129. BANNEAREST(SPHERE.Position,SPHERE.Size.X/2,true)
  2130. end
  2131. for i = 1, 45 do
  2132. Swait()
  2133. RAY.Transparency = RAY.Transparency + 1/45
  2134. SPHERE.Transparency = RAY.Transparency
  2135. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2136. end
  2137. RAY:remove()
  2138. SHIELD:remove()
  2139. SPHERE:remove()
  2140. end))
  2141. for i=0, 1, 0.1 / Animation_Speed do
  2142. Swait()
  2143. end
  2144. ATTACK = false
  2145. Rooted = false
  2146. end
  2147.  
  2148. function Spaced_Shot()
  2149. ATTACK = true
  2150. Rooted = false
  2151. for i=1, 1, 1 / Animation_Speed do
  2152. Swait()
  2153. turnto(Mouse.Hit.p)
  2154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2156. end
  2157. repeat
  2158. for i=0, 0.05, 0.1 / Animation_Speed do
  2159. Swait()
  2160. turnto(Mouse.Hit.p)
  2161. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2162. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2163. end
  2164. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2165. SpawnTrail(Hole2.Position,POS)
  2166. if HIT ~= nil then
  2167. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2168. BAN(HIT.Parent)
  2169. end
  2170. end
  2171. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2172. SpawnTrail(Hole.Position,POS)
  2173. if HIT ~= nil then
  2174. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2175. BAN(HIT.Parent)
  2176. end
  2177. end
  2178. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2179. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2180. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2181. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2182. for i=0, 0.05, 0.1 / Animation_Speed do
  2183. Swait()
  2184. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2185. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2186. end
  2187. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), 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,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2188. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2189. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), 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,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2190. 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,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2191. until KEYHOLD == false
  2192. ATTACK = false
  2193. Rooted = false
  2194. end
  2195.  
  2196. function Shot()
  2197. ATTACK = true
  2198. Rooted = false
  2199. for i=1, 1, 1 / Animation_Speed do
  2200. Swait()
  2201. turnto(Mouse.Hit.p)
  2202. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2203. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2204. end
  2205. repeat
  2206. for i=0, 0.05, 0.1 / Animation_Speed do
  2207. Swait()
  2208. turnto(Mouse.Hit.p)
  2209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2211. end
  2212. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2213. SpawnTrail(Hole2.Position,POS)
  2214. if HIT ~= nil then
  2215. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2216. Banish(HIT.Parent)
  2217. end
  2218. end
  2219. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2220. SpawnTrail(Hole.Position,POS)
  2221. if HIT ~= nil then
  2222. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2223. Banish(HIT.Parent)
  2224. end
  2225. end
  2226. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2227. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2228. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2229. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2230. for i=0, 0.05, 0.1 / Animation_Speed do
  2231. Swait()
  2232. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2233. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2234. end
  2235. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), 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,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2236. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2237. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(10,10,10), Size2 = VT(5,5,5), 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,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2238. 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,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2239. until KEYHOLD == false
  2240. ATTACK = false
  2241. Rooted = false
  2242. end
  2243.  
  2244. function Darkness()
  2245. ATTACK = true
  2246. Rooted = true
  2247. CreateSound(429459101,Torso,5,1.5,false)
  2248. for i=0, 1, 0.1 / Animation_Speed do
  2249. Swait()
  2250. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2251. 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)
  2252. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2253. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2254. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2255. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  2256. end
  2257. MagicSphere(VT(0,0,0),15,RootPart.CFrame,"Blue",VT(4,4,4))
  2258. MagicSphere(VT(0,0,0),15,RootPart.CFrame,"Blue",VT(4,4,4))
  2259. ATTACK = false
  2260. Rooted = false
  2261. coroutine.resume(coroutine.create(function()
  2262. local POS = RootPart.Position
  2263. wait(0.2)
  2264. for i = 1, 5 do
  2265. WACKYEFFECT({
  2266. Time = 65,
  2267. EffectType = "Sphere",
  2268. Size = VT(102, 102, 102),
  2269. Size2 = VT(0, 0, 500),
  2270. Transparency = 1,
  2271. Transparency2 = 0,
  2272. CFrame = CF(POS),
  2273. MoveToPos = nil,
  2274. RotationX = MRANDOM(-2, 2),
  2275. RotationY = MRANDOM(-12, 12),
  2276. RotationZ = MRANDOM(-2, 2),
  2277. Material = "Neon",
  2278. Color = C3(0, 0, 0),
  2279. SoundID = nil,
  2280. SoundPitch = nil,
  2281. SoundVolume = nil
  2282. })
  2283. end
  2284. wait(1)
  2285. BANNEAREST(POS, 450, true)
  2286. WACKYEFFECT({
  2287. Time = 85,
  2288. EffectType = "Sphere",
  2289. Size = VT(1120, 1120, 1120),
  2290. Size2 = VT(1350, 1350, 1350),
  2291. Transparency = 0,
  2292. Transparency2 = 1,
  2293. CFrame = CF(POS),
  2294. MoveToPos = nil,
  2295. RotationX = 0,
  2296. RotationY = 0,
  2297. RotationZ = 0,
  2298. Material = "Neon",
  2299. Color = C3(0, 0, 0),
  2300. SoundID = nil,
  2301. SoundPitch = 1,
  2302. SoundVolume = 10
  2303. })
  2304. for i = 1, 20 do
  2305. WACKYEFFECT({
  2306. Time = 85,
  2307. EffectType = "Sphere",
  2308. Size = VT(120, 120, 120),
  2309. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2310. Transparency = 0.8,
  2311. Transparency2 = 1,
  2312. CFrame = CF(POS),
  2313. MoveToPos = nil,
  2314. RotationX = 0,
  2315. RotationY = 0,
  2316. RotationZ = 0,
  2317. Material = "Neon",
  2318. Color = C3(0, 0, 0),
  2319. SoundID = nil,
  2320. SoundPitch = 1,
  2321. SoundVolume = 10
  2322. })
  2323. WACKYEFFECT({
  2324. Time = 100,
  2325. EffectType = "Wave",
  2326. Size = VT(25, 2, 25),
  2327. Size2 = VT(400, 0, 400) * 1.2,
  2328. Transparency = 0,
  2329. Transparency2 = 1,
  2330. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2331. MoveToPos = nil,
  2332. RotationX = 0,
  2333. RotationY = 0,
  2334. RotationZ = 0,
  2335. Material = "Neon",
  2336. Color = C3(0, 0, 0),
  2337. SoundID = nil,
  2338. SoundPitch = nil,
  2339. SoundVolume = nil
  2340. })
  2341. end
  2342. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2343. for i = 1, 5 do
  2344. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2345. WACKYEFFECT({
  2346. Time = 120,
  2347. EffectType = "Wave",
  2348. Size = VT(150, 2, 150),
  2349. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2350. Transparency = 0,
  2351. Transparency2 = 1,
  2352. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2353. MoveToPos = nil,
  2354. RotationX = 0,
  2355. RotationY = 0,
  2356. RotationZ = 0,
  2357. Material = "Neon",
  2358. Color = C3(0, 0, 0),
  2359. SoundID = nil,
  2360. SoundPitch = nil,
  2361. SoundVolume = nil
  2362. })
  2363. end
  2364. end))
  2365. CHARGE = true
  2366. end
  2367.  
  2368. function Jo()
  2369. ATTACK = true
  2370. Rooted = true
  2371. CreateSound("160212892", Head, 10, 1)
  2372. CreateSound("363808674", Head, 5, 2)
  2373. for i=0, 0.3, 0.08 / Animation_Speed do
  2374. Swait()
  2375. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2376. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(74), RAD(0)), 1 / Animation_Speed)
  2377. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2378. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2379. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2380. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2381. end
  2382. CreateSound("363808674", Head, 5, 2)
  2383. for i=0, 0.3, 0.08 / Animation_Speed do
  2384. Swait()
  2385. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2386. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 1 / Animation_Speed)
  2387. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(134), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2388. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2389. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2390. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2391. end
  2392. CreateSound("363808674", Head, 5, 2)
  2393. for i=0, 0.3, 0.08 / Animation_Speed do
  2394. Swait()
  2395. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2396. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(74), RAD(0)), 1 / Animation_Speed)
  2397. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2398. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2399. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2400. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2401. end
  2402. CreateSound("363808674", Head, 5, 2)
  2403. for i=0, 0.3, 0.08 / Animation_Speed do
  2404. Swait()
  2405. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2406. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 1 / Animation_Speed)
  2407. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(134), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2408. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2409. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2410. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2411. end
  2412. CreateSound("363808674", Head, 5, 2)
  2413. for i=0, 0.3, 0.08 / Animation_Speed do
  2414. Swait()
  2415. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2416. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(74), RAD(0)), 1 / Animation_Speed)
  2417. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2418. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2419. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2420. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2421. end
  2422. CreateSound("363808674", Head, 5, 2)
  2423. for i=0, 0.3, 0.08 / Animation_Speed do
  2424. Swait()
  2425. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2426. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 1 / Animation_Speed)
  2427. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(134), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2428. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2429. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2430. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2431. end
  2432. CreateSound("363808674", Head, 5, 2)
  2433. for i=0, 0.3, 0.08 / Animation_Speed do
  2434. Swait()
  2435. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2436. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(74), RAD(0)), 1 / Animation_Speed)
  2437. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2438. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2439. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2440. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2441. end
  2442. CreateSound("363808674", Head, 5, 2)
  2443. for i=0, 0.3, 0.08 / Animation_Speed do
  2444. Swait()
  2445. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2446. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 1 / Animation_Speed)
  2447. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(134), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2448. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2449. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2450. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2451. end
  2452. ATTACK = false
  2453. Rooted = false
  2454. end
  2455. function Mercy()
  2456. ATTACK = true
  2457. Rooted = true
  2458. TOBANISH = {}
  2459. CreateSound("907332856", Head, 5, 1)
  2460. chatfunc("Ill Give you Mercy")
  2461. ATTACK = false
  2462. Rooted = false
  2463. end
  2464.  
  2465. function XD()
  2466. ATTACK = true
  2467. Rooted = true
  2468. CreateSound(363808674, Torso, 10, 1, false)
  2469. for i=0, 0.6, 0.1 / Animation_Speed do
  2470. Swait()
  2471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(180), RAD(34), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(120), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-120), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2475. end
  2476. CreateSound(363808674, Torso, 10, 1, false)
  2477. for i=0, 0.6, 0.1 / Animation_Speed do
  2478. Swait()
  2479. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2480. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2482. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2485. end
  2486. ATTACK = false
  2487. Rooted = false
  2488. end
  2489.  
  2490. function FindNearestHead(Position, Distance, SinglePlayer)
  2491. if SinglePlayer then
  2492. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2493. end
  2494. local List = {}
  2495. for i, v in pairs(workspace:GetChildren()) do
  2496. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  2497. table.insert(List, v)
  2498. end
  2499. end
  2500. return List
  2501. end
  2502.  
  2503. function CameraEnshaking(Length, Intensity)
  2504. coroutine.resume(coroutine.create(function()
  2505. local intensity = 1 * Intensity
  2506. local rotM = 0.01 * Intensity
  2507. for i = 0, Length, 0.1 do
  2508. Swait()
  2509. intensity = intensity - 0.05 * Intensity / Length
  2510. rotM = rotM - 5.0E-4 * Intensity / Length
  2511. Humanoid.CameraOffset = Vector3.new(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  2512. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  2513. end
  2514. Humanoid.CameraOffset = Vec3(0, 0, 0)
  2515. end))
  2516. end
  2517.  
  2518. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2519. local type = type
  2520. local rng = Instance.new("Part", Character)
  2521. rng.Anchored = true
  2522. rng.BrickColor = color
  2523. rng.CanCollide = false
  2524. rng.FormFactor = 3
  2525. rng.Name = "Ring"
  2526. rng.Material = "Neon"
  2527. rng.Size = Vector3.new(1, 1, 1)
  2528. rng.Transparency = 0
  2529. rng.TopSurface = 0
  2530. rng.BottomSurface = 0
  2531. rng.CFrame = pos
  2532. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2533. local rngm = Instance.new("SpecialMesh", rng)
  2534. rngm.MeshType = "Sphere"
  2535. rngm.Scale = Vec3(x1, y1, z1)
  2536. if rainbowmode == true then
  2537. rng.Color = Color3.new(255 / 255, 255 / 255, 255 / 255)
  2538. end
  2539. local scaler2 = 1
  2540. local speeder = FastSpeed
  2541. if type == "Add" then
  2542. scaler2 = 1 * value
  2543. elseif type == "Divide" then
  2544. scaler2 = 1 / value
  2545. end
  2546. coroutine.resume(coroutine.create(function()
  2547. for i = 0, 10 / bonuspeed, 0.1 do
  2548. Swait()
  2549. if rainbowmode == true then
  2550. rng.Color = Color3.new(255 / 255, 0 / 255, 0 / 255)
  2551. end
  2552. if type == "Add" then
  2553. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2554. elseif type == "Divide" then
  2555. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2556. end
  2557. if chaosmode == true then
  2558. rng.BrickColor = BrickColor.random()
  2559. end
  2560. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2561. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2562. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2563. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2564. end
  2565. rng:Destroy()
  2566. end))
  2567. end
  2568. function sphere(bonuspeed, type, pos, scale, value, color)
  2569. local type = type
  2570. local rng = Instance.new("Part", Character)
  2571. rng.Anchored = true
  2572. rng.BrickColor = color
  2573. rng.CanCollide = false
  2574. rng.FormFactor = 3
  2575. rng.Name = "Ring"
  2576. rng.Material = "Neon"
  2577. rng.Size = Vector3.new(1, 1, 1)
  2578. rng.Transparency = 0
  2579. rng.TopSurface = 0
  2580. rng.BottomSurface = 0
  2581. rng.CFrame = pos
  2582. local rngm = Instance.new("SpecialMesh", rng)
  2583. rngm.MeshType = "Sphere"
  2584. rngm.Scale = scale
  2585. if rainbowmode == true then
  2586. rng.Color = Color3.new(255 / 255, 255 / 255, 255 / 255)
  2587. end
  2588. local scaler2 = 1
  2589. if type == "Add" then
  2590. scaler2 = 1 * value
  2591. elseif type == "Divide" then
  2592. scaler2 = 1 / value
  2593. end
  2594. coroutine.resume(coroutine.create(function()
  2595. for i = 0, 10 / bonuspeed, 0.1 do
  2596. Swait()
  2597. if rainbowmode == true then
  2598. rng.Color = Color3.new(255 / 255, 255 / 255, 255 / 255)
  2599. end
  2600. if type == "Add" then
  2601. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2602. elseif type == "Divide" then
  2603. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2604. end
  2605. if chaosmode == true then
  2606. rng.BrickColor = BrickColor.random()
  2607. end
  2608. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2609. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2610. end
  2611. rng:Destroy()
  2612. end))
  2613. end
  2614.  
  2615. function RemoveOutlines(part)
  2616. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2617. end
  2618.  
  2619. CFuncs = {
  2620. Part = {
  2621. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2622. local Part = Instance.new("Part")
  2623. Part.Parent = Parent
  2624. Part.Reflectance = Reflectance
  2625. Part.Transparency = Transparency
  2626. Part.CanCollide = false
  2627. Part.Locked = true
  2628. Part.BrickColor = BrickColor.new(tostring(BColor))
  2629. Part.Name = Name
  2630. Part.Size = Size
  2631. Part.Material = Material
  2632.  
  2633. RemoveOutlines(Part)
  2634. return Part
  2635. end
  2636. },
  2637. Mesh = {
  2638. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2639. local Msh = Instance.new(Mesh)
  2640. Msh.Parent = Part
  2641. Msh.Offset = OffSet
  2642. Msh.Scale = Scale
  2643. if Mesh == "SpecialMesh" then
  2644. Msh.MeshType = MeshType
  2645. Msh.MeshId = MeshId
  2646. end
  2647. return Msh
  2648. end
  2649. },
  2650. Weld = {
  2651. Create = function(Parent, Part0, Part1, C0, C1)
  2652. local Weld = Instance.new("Weld")
  2653. Weld.Parent = Parent
  2654. Weld.Part0 = Part0
  2655. Weld.Part1 = Part1
  2656. Weld.C0 = C0
  2657. Weld.C1 = C1
  2658.  
  2659. return Weld
  2660. end
  2661. },
  2662. Sound = {
  2663. Create = function(id, par, vol, pit)
  2664. coroutine.resume(coroutine.create(function()
  2665. local S = Instance.new("Sound")
  2666. S.Volume = vol
  2667. S.Pitch = pit or 1
  2668. S.SoundId = id
  2669. S.Parent = par or workspace
  2670.  
  2671. wait()
  2672. S:Play()
  2673. game:GetService("Debris"):AddItem(S, 6)
  2674. end))
  2675. end
  2676. },
  2677. ParticleEmitter = {
  2678. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2679. local fp = Instance.new("ParticleEmitter")
  2680. fp.Parent = Parent
  2681. fp.Color = ColorSequence.new(Color1, Color2)
  2682. fp.LightEmission = LightEmission
  2683. fp.Size = Size
  2684. fp.Texture = Texture
  2685. fp.Transparency = Transparency
  2686. fp.ZOffset = ZOffset
  2687. fp.Acceleration = Accel
  2688. fp.Drag = Drag
  2689. fp.LockedToPart = LockedToPart
  2690. fp.VelocityInheritance = VelocityInheritance
  2691. fp.EmissionDirection = EmissionDirection
  2692. fp.Enabled = Enabled
  2693. fp.Lifetime = LifeTime
  2694. fp.Rate = Rate
  2695. fp.Rotation = Rotation
  2696. fp.RotSpeed = RotSpeed
  2697. fp.Speed = Speed
  2698. fp.VelocitySpread = VelocitySpread
  2699. return fp
  2700. end
  2701. }
  2702. }
  2703.  
  2704. radian = math.rad
  2705. random = math.random
  2706. Vec3 = Vector3.new
  2707. Inst = Instance.new
  2708. cFrame = CFrame.new
  2709. Euler = CFrame.fromEulerAnglesXYZ
  2710. vt = Vector3.new
  2711. bc = BrickColor.new
  2712. br = BrickColor.random
  2713. it = Instance.new
  2714. cf = CFrame.new
  2715.  
  2716. function CameraEnshaking(Length, Intensity)
  2717. coroutine.resume(coroutine.create(function()
  2718. local intensity = 1 * Intensity
  2719. local rotM = 0.01 * Intensity
  2720. for i = 0, Length, 0.1 do
  2721. Swait()
  2722. intensity = intensity - 0.05 * Intensity / Length
  2723. rotM = rotM - 5.0E-4 * Intensity / Length
  2724. Humanoid.CameraOffset = Vector3.new(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  2725. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  2726. end
  2727. Humanoid.CameraOffset = Vec3(0, 0, 0)
  2728. end))
  2729. end
  2730.  
  2731. function dmg(dude)
  2732. if dude.Name ~= Character then
  2733. local bgf = Instance.new("BodyGyro", dude.Head)
  2734. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  2735. local val = Instance.new("BoolValue", dude)
  2736. val.Name = "IsHit"
  2737. local ds = coroutine.wrap(function()
  2738. dude:WaitForChild("Head"):BreakJoints()
  2739. wait(0.5)
  2740. targetted = nil
  2741. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  2742. coroutine.resume(coroutine.create(function()
  2743. for i, v in pairs(dude:GetChildren()) do
  2744. if v:IsA("Accessory") then
  2745. v:Destroy()
  2746. end
  2747. if v:IsA("Humanoid") then
  2748. v:Destroy()
  2749. end
  2750. if v:IsA("CharacterMesh") then
  2751. v:Destroy()
  2752. end
  2753. if v:IsA("Model") then
  2754. v:Destroy()
  2755. end
  2756. if v:IsA("Part") or v:IsA("MeshPart") then
  2757. for x, o in pairs(v:GetChildren()) do
  2758. if o:IsA("Decal") then
  2759. o:Destroy()
  2760. end
  2761. end
  2762. coroutine.resume(coroutine.create(function()
  2763. v.Material = "Neon"
  2764. v.CanCollide = false
  2765. local bld = Instance.new("ParticleEmitter", v)
  2766. bld.LightEmission = 1
  2767. bld.Texture = "rbxassetid://284205403"
  2768. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  2769. bld.Rate = 50
  2770. bld.Lifetime = NumberRange.new(1)
  2771. bld.Size = NumberSequence.new({
  2772. NumberSequenceKeypoint.new(0, 0.75, 0),
  2773. NumberSequenceKeypoint.new(1, 0, 0)
  2774. })
  2775. bld.Transparency = NumberSequence.new({
  2776. NumberSequenceKeypoint.new(0, 0, 0),
  2777. NumberSequenceKeypoint.new(1, 1, 0)
  2778. })
  2779. bld.Speed = NumberRange.new(0, 0)
  2780. bld.VelocitySpread = 50000
  2781. bld.Rotation = NumberRange.new(-500, 500)
  2782. bld.RotSpeed = NumberRange.new(-500, 500)
  2783. local sbs = Instance.new("BodyPosition", v)
  2784. sbs.P = 3000
  2785. sbs.D = 1000
  2786. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2787. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  2788. v.Color = Color3.new(1, 1, 1)
  2789. coroutine.resume(coroutine.create(function()
  2790. for i = 0, 49 do
  2791. Swait(1)
  2792. v.Transparency = v.Transparency + 0.02
  2793. end
  2794. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  2795. bld.Speed = NumberRange.new(1, 5)
  2796. bld.Acceleration = vt(0, 10, 0)
  2797. wait(0.5)
  2798. bld.Enabled = false
  2799. wait(3)
  2800. v:Destroy()
  2801. dude:Destroy()
  2802. end))
  2803. end))
  2804. end
  2805. end
  2806. end))
  2807. end)
  2808. ds()
  2809. end
  2810. end
  2811.  
  2812. function ChaosGroundStrike()
  2813. ATTACK = true
  2814. RH = RightHip
  2815. LH = LeftHip
  2816. RootCF = ROOTC0
  2817. necko = NECKC0
  2818. RW = RightShoulder
  2819. LW = LeftShoulder
  2820. angles = ANGLES
  2821. root = RootPart
  2822. ATTACK = true
  2823. for i = 0, 2, 0.1 do
  2824. Swait()
  2825. RightHip.C0 = Clerp(RightHip.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  2826. LeftHip.C0 = Clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  2827. RootJoint.C0 = Clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2828. Torso.Neck.C0 = Clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2829. RW.C0 = Clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  2830. LW.C0 = Clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  2831. end
  2832. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  2833. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  2834. CameraEnshaking(4, 12)
  2835. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  2836. if v:FindFirstChild("Head") then
  2837. dmg(v)
  2838. end
  2839. end
  2840. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  2841. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  2842. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  2843. spawn(function()
  2844. for i = 0, 2, 0.1 do
  2845. Swait()
  2846. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  2847. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  2848. RH.C0 = Clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  2849. LH.C0 = Clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  2850. RootJoint.C0 = Clerp()(RootJoint.C0, RootCF * cf(0.01, 0.01, 0.01) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2851. Torso.Neck.C0 = Clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2852. RW.C0 = Clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  2853. LW.C0 = Clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  2854. end
  2855. end)
  2856. for i = 0, 2, 0.1 do
  2857. Swait()
  2858. end
  2859. ATTACK = false
  2860. end
  2861.  
  2862. function oofistrike()
  2863. ATTACK = true
  2864. RH = RightHip
  2865. LH = LeftHip
  2866. RootCF = ROOTC0
  2867. necko = NECKC0
  2868. RW = RightShoulder
  2869. LW = LeftShoulder
  2870. angles = ANGLES
  2871. root = RootPart
  2872. ATTACK = true
  2873. for i = 0, 2, 0.1 do
  2874. Swait()
  2875. RightHip.C0 = Clerp(RightHip.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  2876. LeftHip.C0 = Clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  2877. RootJoint.C0 = Clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2878. Torso.Neck.C0 = Clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  2879. RW.C0 = Clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  2880. LW.C0 = Clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  2881. end
  2882. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  2883. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  2884. CameraEnshaking(4, 12)
  2885. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2563456345345652.5345634535353)) do
  2886. if v:FindFirstChild("Head") then
  2887. dmg(v)
  2888. end
  2889. end
  2890. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  2891. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  2892. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  2893. spawn(function()
  2894. for i = 0, 2, 0.1 do
  2895. Swait()
  2896. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  2897. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  2898. RH.C0 = Clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  2899. LH.C0 = Clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  2900. RootJoint.C0 = Clerp()(RootJoint.C0, RootCF * cf(0.01, 0.01, 0.01) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2901. Torso.Neck.C0 = Clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  2902. RW.C0 = Clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  2903. LW.C0 = Clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  2904. end
  2905. end)
  2906. for i = 0, 2, 0.1 do
  2907. Swait()
  2908. end
  2909. ATTACK = false
  2910. end
  2911.  
  2912.  
  2913. function BlueStar()
  2914. ATTACK = true
  2915. Rooted = true
  2916. local SPOTS = {}
  2917. for i = 1, 15 do
  2918. Swait()
  2919. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2923. end
  2924. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Dark blue".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  2925. for i=0, 0.5, 0.1 / Animation_Speed do
  2926. Swait()
  2927. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2931. end
  2932. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  2933. table.insert(SPOTS,HITPOS)
  2934. CreateSound(145080998, Hole, 2, 1, false)
  2935. Lightning({Material = "Neon", FadeIn = false, Color = C3(0,0,64), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  2936. coroutine.resume(coroutine.create(function()
  2937. local POS = Mouse.Hit.p
  2938. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2939. MakeForm(RAY,"Cyl")
  2940. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  2941. MakeForm(SPHERE,"Ball")
  2942. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  2943. MakeForm(SHIELD,"Ball")
  2944. SHIELD.CFrame = CF(POS)
  2945. RAY.CFrame = CF(POS)
  2946. SPHERE.CFrame = CF(POS)
  2947. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2948. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2949. for i = 1, 200 do
  2950. Swait()
  2951. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,64), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2952. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,64), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2953. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,64), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2954. RAY.Size = RAY.Size + VT(0.015,0,0.015)
  2955. SPHERE.Size = SPHERE.Size + VT(0.9,0.9,0.9)
  2956. SHIELD.Size = SPHERE.Size + VT(0.10,0.10,0.10)
  2957. BANNEAREST(SPHERE.Position,SPHERE.Size.X/2,true)
  2958. end
  2959. for i = 1, 45 do
  2960. Swait()
  2961. RAY.Transparency = RAY.Transparency + 1/45
  2962. SPHERE.Transparency = RAY.Transparency
  2963. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2964. end
  2965. RAY:remove()
  2966. SHIELD:remove()
  2967. SPHERE:remove()
  2968. end))
  2969. ATTACK = false
  2970. Rooted = false
  2971. end
  2972.  
  2973. local EYES = {}
  2974. function ApplyDamage9(Humanoid,Damage,TorsoPart)
  2975. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2976. defence.Name = ("HitBy"..Player.Name)
  2977. game:GetService("Debris"):AddItem(defence, 0.001)
  2978. Damage = Damage * DAMAGEMULTIPLIER
  2979. if Humanoid.Health ~= 0 then
  2980. local CritChance = MRANDOM(1,100)
  2981. if Damage > Humanoid.Health then
  2982. Damage = math.ceil(Humanoid.Health)
  2983. if Damage == 0 then
  2984. Damage = 0.1
  2985. end
  2986. end
  2987. Humanoid.Health = Humanoid.Health - Damage
  2988. end
  2989. end
  2990.  
  2991. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  2992. local CHILDREN = workspace:GetDescendants()
  2993. for index, CHILD in pairs(CHILDREN) do
  2994. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2995. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2996. if HUM then
  2997. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2998. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2999. if IZBANISH == true then
  3000. Banish(CHILD)
  3001. else
  3002. local DMG = MRANDOM(MINDMG, MAXDMG)
  3003. ApplyDamage9(HUM, DMG, TORSO)
  3004. end
  3005. if FLING > 0 then
  3006. for _, c in pairs(CHILD:GetChildren()) do
  3007. if c:IsA("BasePart") then
  3008. local bv = Instance.new("BodyVelocity")
  3009. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3010. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  3011. bv.Parent = c
  3012. Debris:AddItem(bv, 0.05)
  3013. end
  3014. end
  3015. end
  3016. end
  3017. end
  3018. end
  3019. end
  3020. end
  3021.  
  3022. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  3023. if FLOOR ~= nil then
  3024. coroutine.resume(coroutine.create(function()
  3025. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  3026. PART.CFrame = CF(POSITION)
  3027. for i = 1, 45 do
  3028. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3029. RingPiece.Material = FLOOR.Material
  3030. RingPiece.Color = FLOOR.Color
  3031. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3032. Debris:AddItem(RingPiece, SWAIT)
  3033. end
  3034. PART:remove()
  3035. end))
  3036. end
  3037. end
  3038. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  3039. if FLOOR ~= nil then
  3040. for i = 1, AMOUNT do
  3041. do
  3042. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  3043. DEBREE.Material = FLOOR.Material
  3044. DEBREE.Color = FLOOR.Color
  3045. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3046. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  3047. coroutine.resume(coroutine.create(function()
  3048. Swait(15)
  3049. DEBREE.Parent = workspace
  3050. DEBREE.CanCollide = true
  3051. Debris:AddItem(DEBREE, SWAIT)
  3052. end))
  3053. end
  3054. end
  3055. end
  3056. end
  3057.  
  3058. function Fire_At_Will()
  3059. ATTACK = true
  3060. Rooted = false
  3061. local GYRO = IT("BodyGyro", RootPart)
  3062. GYRO.D = 750
  3063. GYRO.P = 2000
  3064. GYRO.MaxTorque = VT(0, 40000, 0)
  3065. for i = 0, 0.2, 0.1 / Animation_Speed do
  3066. Swait()
  3067. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3068. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  3069. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  3070. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3071. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3072. if ANIM == "Idle" then
  3073. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3074. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3075. elseif ANIM == "Walk" then
  3076. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3077. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3078. elseif ANIM == "Jump" or ANIM == "Fall" then
  3079. 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)
  3080. 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)
  3081. end
  3082. end
  3083. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Sphere", VT(1, 1, 1), false)
  3084. MakeForm(BOMB, "Ball")
  3085. BOMB.Mesh.Scale = VT(2, 2, 2)
  3086. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  3087. for i = 0, 1.5, 0.1 / Animation_Speed do
  3088. Swait()
  3089. if MRANDOM(1, 2) == 1 then
  3090. for E = 1, #EYES do
  3091. if EYES[E] ~= nil then
  3092. local EY = EYES[E]
  3093. local LIGHTNING = Zap({
  3094. StartPosition = EY.Position,
  3095. TargetPosition = BOMB.Position,
  3096. Character = Character,
  3097. Color = "Really red",
  3098. Individual = false,
  3099. MaxRange = 7,
  3100. SegmentLength = 1,
  3101. Offset = 0.3,
  3102. SIZE = 0.05
  3103. })
  3104. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  3105. end
  3106. end
  3107. end
  3108. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  3109. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3110. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  3111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  3112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3114. if ANIM == "Idle" then
  3115. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3116. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3117. elseif ANIM == "Walk" then
  3118. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3119. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3120. elseif ANIM == "Jump" or ANIM == "Fall" then
  3121. 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)
  3122. 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)
  3123. end
  3124. end
  3125. WACKYEFFECT({
  3126. Time = 25,
  3127. EffectType = "Ring",
  3128. Size = VT(0, 0, 0),
  3129. Size2 = VT(3.75, 3.75, 0),
  3130. Transparency = 0.7,
  3131. Transparency2 = 1,
  3132. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  3133. MoveToPos = nil,
  3134. RotationX = 0,
  3135. RotationY = 0,
  3136. RotationZ = 0,
  3137. Material = "Neon",
  3138. Color = BOMB.Color,
  3139. SoundID = nil,
  3140. SoundPitch = nil,
  3141. SoundVolume = nil
  3142. })
  3143. WACKYEFFECT({
  3144. Time = 50,
  3145. EffectType = "Ring",
  3146. Size = VT(0, 0, 0),
  3147. Size2 = VT(75, 75, 0),
  3148. Transparency = 0.7,
  3149. Transparency2 = 1,
  3150. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  3151. MoveToPos = nil,
  3152. RotationX = 0,
  3153. RotationY = 0,
  3154. RotationZ = 0,
  3155. Material = "Neon",
  3156. Color = BOMB.Color,
  3157. SoundID = nil,
  3158. SoundPitch = nil,
  3159. SoundVolume = nil
  3160. })
  3161. BOMB.Anchored = true
  3162. WELD:remove()
  3163. GYRO:remove()
  3164. coroutine.resume(coroutine.create(function()
  3165. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  3166. for i = 1, 500 do
  3167. Swait()
  3168. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  3169. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  3170. if HITFLOOR ~= nil then
  3171. break
  3172. end
  3173. end
  3174. BANNEAREST(BOMB.Position, 75, 0, 0, 0, true)
  3175. for i = 1, 3 do
  3176. WACKYEFFECT({
  3177. Time = 35,
  3178. EffectType = "Swirl",
  3179. Size = VT(0, 0, 0),
  3180. Size2 = VT(250, 325, 250) + VT(50, 150, 50) * i,
  3181. Transparency = 0,
  3182. Transparency2 = 1,
  3183. CFrame = BOMB.CFrame,
  3184. MoveToPos = nil,
  3185. RotationX = 0,
  3186. RotationY = 5 * i,
  3187. RotationZ = 0,
  3188. Material = "Neon",
  3189. Color = BOMB.Color,
  3190. SoundID = nil,
  3191. SoundPitch = nil,
  3192. SoundVolume = nil
  3193. })
  3194. end
  3195. for i = 1, 5 do
  3196. WACKYEFFECT({
  3197. Time = 75,
  3198. EffectType = "Sphere",
  3199. Size = BOMB.Mesh.Scale,
  3200. Size2 = VT(100, 100, 100) * i,
  3201. Transparency = 0.5,
  3202. Transparency2 = 1,
  3203. CFrame = BOMB.CFrame,
  3204. MoveToPos = nil,
  3205. RotationX = 0,
  3206. RotationY = 0,
  3207. RotationZ = 0,
  3208. Material = "Neon",
  3209. Color = BOMB.Color,
  3210. SoundID = 1222405264,
  3211. SoundPitch = 1,
  3212. SoundVolume = 10
  3213. })
  3214. end
  3215. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  3216. if HITFLOOR then
  3217. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(18, 18, 18), 5)
  3218. end
  3219. BOMB.Transparency = 1
  3220. for i = 1, 35 do
  3221. Swait()
  3222. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  3223. end
  3224. BOMB:remove()
  3225. end))
  3226. ATTACK = false
  3227. Rooted = false
  3228. end
  3229.  
  3230. function Corrupted_Explosion()
  3231. ATTACK = true
  3232. Rooted = true
  3233. MagicSphere(VT(0,0,0),15,Head.CFrame,"Really black",VT(2,2,2))
  3234. for i=0, 1, 0.1 / Animation_Speed do
  3235. Swait()
  3236. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
  3237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
  3238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  3239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  3240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3242. end
  3243. for i=0, 0.4, 0.1 / Animation_Speed do
  3244. Swait()
  3245. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  3246. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  3247. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3248. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3249. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3250. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3251. end
  3252. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Beam", VT(0,0,0))
  3253. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Beam", VT(0,0,0))
  3254. MakeForm(BEAM,"Ball")
  3255. MakeForm(BEAM2,"Ball")
  3256. BEAM.CFrame = CF(RootPart.Position)
  3257. BEAM2.CFrame = CF(RootPart.Position)
  3258. CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  3259. for i=1, 100 do
  3260. Swait()
  3261. BEAM.Size = BEAM.Size + VT(0.7,8,0.7)
  3262. BEAM2.Size = BEAM2.Size + VT(2,2,2)
  3263. BANNEAREST(BEAM2.Position,BEAM2.Size.Z/2,5,5,15,true)
  3264. BEAM.CFrame = CF(RootPart.Position)
  3265. BEAM2.CFrame = CF(RootPart.Position)
  3266. WACKYEFFECT({TIME = 5+i, EffectType = "Swirl", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3267. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  3268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  3269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3271. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3272. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3273. end
  3274. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3275. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3276. BEAM2:remove()
  3277. BEAM:remove()
  3278. ATTACK = false
  3279. Rooted = false
  3280. end
  3281.  
  3282. local EYES = {}
  3283. function UNIVERSALBOMB()
  3284. ATTACK = true
  3285. Rooted = false
  3286. local GYRO = IT("BodyGyro", RootPart)
  3287. GYRO.D = 750
  3288. GYRO.P = 2000
  3289. GYRO.MaxTorque = VT(0, 40000, 0)
  3290. for i = 0, 0.3, 0.1 / Animation_Speed do
  3291. Swait()
  3292. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3293. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  3294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  3295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3297. if ANIM == "Idle" then
  3298. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3299. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3300. elseif ANIM == "Walk" then
  3301. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3302. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3303. elseif ANIM == "Jump" or ANIM == "Fall" then
  3304. 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)
  3305. 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)
  3306. end
  3307. end
  3308. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Dark blue", "Sphere", VT(3, 3, 3), false)
  3309. MakeForm(BOMB, "Ball")
  3310. BOMB.Mesh.Scale = VT(8, 8, 8)
  3311. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  3312. for i = 0, 1.5, 0.1 / Animation_Speed do
  3313. Swait()
  3314. if MRANDOM(1, 2) == 1 then
  3315. for E = 1, #EYES do
  3316. if EYES[E] ~= nil then
  3317. local EY = EYES[E]
  3318. local LIGHTNING = Zap({
  3319. StartPosition = EY.Position,
  3320. TargetPosition = BOMB.Position,
  3321. Character = Character,
  3322. Color = "Really red",
  3323. Individual = false,
  3324. MaxRange = 7,
  3325. SegmentLength = 1,
  3326. Offset = 0.3,
  3327. SIZE = 0.05
  3328. })
  3329. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  3330. end
  3331. end
  3332. end
  3333. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  3334. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3335. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  3336. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  3337. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3338. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3339. if ANIM == "Idle" then
  3340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3342. elseif ANIM == "Walk" then
  3343. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3344. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3345. elseif ANIM == "Jump" or ANIM == "Fall" then
  3346. 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)
  3347. 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)
  3348. end
  3349. end
  3350. WACKYEFFECT({
  3351. Time = 25,
  3352. EffectType = "Ring",
  3353. Size = VT(0, 0, 0),
  3354. Size2 = VT(25, 25, 0),
  3355. Transparency = 0.7,
  3356. Transparency2 = 1,
  3357. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  3358. MoveToPos = nil,
  3359. RotationX = 0,
  3360. RotationY = 0,
  3361. RotationZ = 0,
  3362. Material = "Neon",
  3363. Color = BOMB.Color,
  3364. SoundID = nil,
  3365. SoundPitch = nil,
  3366. SoundVolume = nil
  3367. })
  3368. WACKYEFFECT({
  3369. Time = 50,
  3370. EffectType = "Ring",
  3371. Size = VT(0, 0, 0),
  3372. Size2 = VT(105, 105, 0),
  3373. Transparency = 0.7,
  3374. Transparency2 = 1,
  3375. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  3376. MoveToPos = nil,
  3377. RotationX = 0,
  3378. RotationY = 0,
  3379. RotationZ = 0,
  3380. Material = "Neon",
  3381. Color = BOMB.Color,
  3382. SoundID = nil,
  3383. SoundPitch = nil,
  3384. SoundVolume = nil
  3385. })
  3386. BOMB.Anchored = true
  3387. WELD:remove()
  3388. GYRO:remove()
  3389. coroutine.resume(coroutine.create(function()
  3390. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  3391. for i = 1, 500 do
  3392. Swait()
  3393. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  3394. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  3395. if HITFLOOR ~= nil then
  3396. break
  3397. end
  3398. end
  3399. BANNEAREST(BOMB.Position, 75, 0, 0, 0, true)
  3400. for i = 1, 13 do
  3401. WACKYEFFECT({
  3402. Time = 35,
  3403. EffectType = "Swirl",
  3404. Size = VT(0, 0, 0),
  3405. Size2 = VT(250, 325, 250) + VT(150, 150, 150) * i,
  3406. Transparency = 0,
  3407. Transparency2 = 1,
  3408. CFrame = BOMB.CFrame,
  3409. MoveToPos = nil,
  3410. RotationX = 0,
  3411. RotationY = 10 * i,
  3412. RotationZ = 0,
  3413. Material = "Neon",
  3414. Color = BOMB.Color,
  3415. SoundID = nil,
  3416. SoundPitch = nil,
  3417. SoundVolume = nil
  3418. })
  3419. end
  3420. for i = 1, 25 do
  3421. WACKYEFFECT({
  3422. Time = 75,
  3423. EffectType = "Sphere",
  3424. Size = BOMB.Mesh.Scale,
  3425. Size2 = VT(200, 200, 200) * i,
  3426. Transparency = 0.5,
  3427. Transparency2 = 1,
  3428. CFrame = BOMB.CFrame,
  3429. MoveToPos = nil,
  3430. RotationX = 0,
  3431. RotationY = 0,
  3432. RotationZ = 0,
  3433. Material = "Neon",
  3434. Color = BOMB.Color,
  3435. SoundID = 1222405264,
  3436. SoundPitch = 1,
  3437. SoundVolume = 10
  3438. })
  3439. end
  3440. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  3441. if HITFLOOR then
  3442. CreateDebreeRing(HITFLOOR, HITPOS, 75, VT(78, 78, 78), 5)
  3443. end
  3444. BOMB.Transparency = 1
  3445. for i = 1, 75 do
  3446. Swait()
  3447. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  3448. end
  3449. BOMB:remove()
  3450. end))
  3451. ATTACK = false
  3452. Rooted = false
  3453. end
  3454.  
  3455. function Switch()
  3456. ATTACK = true
  3457. Rooted = true
  3458. if MODE == "Main" then
  3459. ATTACK = true
  3460. Rooted = true
  3461. for i=0, 1, 0.1 / Animation_Speed do
  3462. Swait()
  3463. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3466. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3467. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3468. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3469. end
  3470. CreateSound(363808674, Torso, 6, 1, false)
  3471. for i=0, 0.5, 0.1 / Animation_Speed do
  3472. Swait()
  3473. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
  3475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.5, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3477. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3478. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3479. end
  3480. for i=0, 0.5, 0.1 / Animation_Speed do
  3481. Swait()
  3482. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3483. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
  3484. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.5, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3485. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3486. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3488. end
  3489. CreateSound(363808674, Torso, 6, 1, false)
  3490. WACKYEFFECT({Time = 85, EffectType = "Block", Size = VT(0.55,0.55,0.55), Size2 = VT(55,55,55), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 743499393, SoundPitch = 0.8, SoundVolume = 10})
  3491. for i=0, 0.5, 0.1 / Animation_Speed do
  3492. Swait()
  3493. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-40)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3497. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3498. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3499. end
  3500. WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(3.55,3.55,3.55), Size2 = VT(95,95,95), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  3501. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.55,3.5,3.5), Size2 = VT(130,3.5,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3502. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.5,3.55), Size2 = VT(3.5,3.5,130), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3503. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.55,3.5), Size2 = VT(3.5,130,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3504. wait(0.8)
  3505. WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(3.55,3.55,3.55), Size2 = VT(95,95,95), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  3506. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.55,3.5,3.5), Size2 = VT(130,3.5,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3507. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.5,3.55), Size2 = VT(3.5,3.5,130), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3508. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.55,3.5), Size2 = VT(3.5,130,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3509. wait(0.8)
  3510. WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(3.55,3.55,3.55), Size2 = VT(95,95,95), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  3511. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.55,3.5,3.5), Size2 = VT(130,3.5,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3512. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.5,3.55), Size2 = VT(3.5,3.5,130), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3513. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.55,3.5), Size2 = VT(3.5,130,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3514. wait(0.8)
  3515. WACKYEFFECT({Time = 55, EffectType = "Sphere", Size = VT(3.55,3.55,3.55), Size2 = VT(95,95,95), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  3516. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.55,3.5,3.5), Size2 = VT(130,3.5,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3517. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.5,3.55), Size2 = VT(3.5,3.5,130), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3518. WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(3.5,3.55,3.5), Size2 = VT(3.5,130,3.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0, 0, 0), MoveToPos = nil, RotationX = 30, RotationY = 30, RotationZ = 30, Material = "Neon", Color = C3(1,0,0), SoundID = 0, SoundPitch = 0.95, SoundVolume = 6})
  3519. CameraEnshaking(5,25)
  3520. sick.SoundId = "rbxassetid://859912308"
  3521. sick.TimePosition = 0
  3522. text.Text = "InSaNiTy"
  3523. MODE = "Ds"
  3524. elseif MODE == "Ds" then
  3525. CreateSound(147722227, Torso, 4, 1.3, false)
  3526. for i=0, 0.3, 0.1 / Animation_Speed do
  3527. Swait()
  3528. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3530. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3532. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3533. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3534. end
  3535. text.Text = "Universal Shooter"
  3536. MODE = "Main"
  3537. Weapon.Parent = Character
  3538. end
  3539. ATTACK = false
  3540. Rooted = false
  3541. end
  3542.  
  3543. function Explosion()
  3544. ATTACK = true
  3545. Rooted = true
  3546. for i=0, 1, 0.1 / Animation_Speed do
  3547. Swait()
  3548. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
  3549. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
  3550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  3551. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  3552. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3554. end
  3555. for i=0, 0.4, 0.1 / Animation_Speed do
  3556. Swait()
  3557. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  3558. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  3559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3560. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3561. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3562. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3563. end
  3564. CreateSound(TERRAWRATH[MRANDOM(1,#TERRAWRATH)], Torso, 10, 1)
  3565. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "really red", "Beam", VT(0,0,0))
  3566. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Beam", VT(0,0,0))
  3567. MakeForm(BEAM,"Ball")
  3568. MakeForm(BEAM2,"Ball")
  3569. BEAM.CFrame = CF(RootPart.Position)
  3570. BEAM2.CFrame = CF(RootPart.Position)
  3571. for i=1, 120 do
  3572. Swait()
  3573. BEAM.Size = BEAM.Size + VT(1.7,9,1.7)
  3574. BEAM2.Size = BEAM2.Size + VT(4,4,4)
  3575. BANNEAREST(BEAM2.Position,BEAM2.Size.Z/4,8,7,35,true)
  3576. BEAM.CFrame = CF(RootPart.Position)
  3577. BEAM2.CFrame = CF(RootPart.Position)
  3578. WACKYEFFECT({TIME = 5+i, EffectType = "Ring", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3579. end
  3580. WACKYEFFECT({TIME = 75, EffectType = "Crystal", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3581. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3582. WACKYEFFECT({TIME = 75, EffectType = "Ring", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3583. BANNEAREST(Torso.Position, 9999, 0, 0, 0, true)
  3584. BEAM2:remove()
  3585. BEAM:remove()
  3586. ATTACK = false
  3587. Rooted = false
  3588. end
  3589.  
  3590. function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, ow)
  3591. local CHILDREN = workspace:GetDescendants()
  3592. for index, CHILD in pairs(CHILDREN) do
  3593. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3594. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3595. if HUM then
  3596. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3597. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3598. if ow == true then
  3599. Petrify(CHILD)
  3600. else
  3601. local DMG = MRANDOM(MINDMG, MAXDMG)
  3602. ApplyDamage(HUM, DMG, TORSO)
  3603. end
  3604. if FLING > 0 then
  3605. for _, c in pairs(CHILD:GetChildren()) do
  3606. if c:IsA("BasePart") then
  3607. local bv = Instance.new("BodyVelocity")
  3608. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3609. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  3610. bv.Parent = c
  3611. Debris:AddItem(bv, 0.05)
  3612. end
  3613. end
  3614. end
  3615. end
  3616. end
  3617. end
  3618. end
  3619. end
  3620.  
  3621. function Space_Hop()
  3622. ATTACK = true
  3623. Rooted = false
  3624. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  3625. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  3626. local decal = Decal:Clone()
  3627. decal.Parent = O1
  3628. decal.Face = "Top"
  3629. decal.Texture = "http://www.roblox.com/asset/?id=357442018"
  3630. local decal2 = Decal:Clone()
  3631. decal2.Parent = O1
  3632. decal2.Face = "Bottom"
  3633. decal2.Texture = "http://www.roblox.com/asset/?id=357442018"
  3634. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  3635. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  3636. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  3637. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0))
  3638. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  3639. local decal = Decal:Clone()
  3640. decal.Parent = O2
  3641. decal.Face = "Top"
  3642. decal.Texture = "http://www.roblox.com/asset/?id=357442018"
  3643. local decal2 = Decal:Clone()
  3644. decal2.Parent = O2
  3645. decal2.Face = "Bottom"
  3646. decal2.Texture = "http://www.roblox.com/asset/?id=357442018"
  3647. CreateSound("84005018", O1, 10, 0.7)
  3648. CreateSound("84005018", O2, 10, 0.7)
  3649. for i = 1, 75 do
  3650. Swait()
  3651. O1.Size = O1.Size + VT(0.1,0,0.1)
  3652. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  3653. O2.Size = O2.Size + VT(0.1,0,0.1)
  3654. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  3655. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3656. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3657. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3658. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3659. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3660. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3661. end
  3662. Rooted = true
  3663. UNANCHOR = false
  3664. RootPart.Anchored = true
  3665. VALUE1 = true
  3666. for i = 1, 15 do
  3667. Swait()
  3668. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  3669. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3673. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3675. end
  3676. RootPart.CFrame = ROOT.CFrame
  3677. ROOT:remove()
  3678. for i = 1, 15 do
  3679. Swait()
  3680. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  3681. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3682. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3683. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3684. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3685. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3686. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3687. end
  3688. VALUE1 = false
  3689. coroutine.resume(coroutine.create(function()
  3690. for i = 1, 75 do
  3691. Swait()
  3692. O1.Size = O1.Size - VT(0.1,0,0.1)
  3693. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  3694. O2.Size = O2.Size - VT(0.1,0,0.1)
  3695. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  3696. end
  3697. O1:remove()
  3698. O2:remove()
  3699. end))
  3700. UNANCHOR = true
  3701. RootPart.Anchored = false
  3702. ATTACK = false
  3703. Rooted = false
  3704. end
  3705. --//=================================\\
  3706. --|| ASSIGN THINGS TO KEYS
  3707. --\\=================================//
  3708.  
  3709. function MouseDown(Mouse)
  3710. if ATTACK == false then
  3711. end
  3712. end
  3713.  
  3714. function MouseUp(Mouse)
  3715. HOLD = false
  3716. end
  3717.  
  3718. function KeyDown(Key)
  3719. KEYHOLD = true
  3720. if Key == "z" and ATTACK == false then
  3721. Shot()
  3722. end
  3723.  
  3724. if Key == "t" and ATTACK == false then
  3725. XD()
  3726. end
  3727.  
  3728. if Key == "y" and ATTACK == false then
  3729. Switch()
  3730. end
  3731.  
  3732. if Key == "f" and ATTACK == false then
  3733. BlueStar()
  3734. end
  3735.  
  3736. if Key == "q" and ATTACK == false then
  3737. Space_Hop()
  3738. end
  3739.  
  3740. if Key == "e" and ATTACK == false then
  3741. if MODE == "Main" then
  3742. Fire_At_Will()
  3743. elseif MODE == "Ds" then
  3744. UNIVERSALBOMB()
  3745. end
  3746. end
  3747. if Key == "r" and ATTACK == false then
  3748. if MODE == "Main" then
  3749. Corrupted_Explosion()
  3750. elseif MODE == "Ds" then
  3751. Explosion()
  3752. end
  3753. end
  3754. if Key == "v" and ATTACK == false then
  3755. Morning_Star()
  3756. end
  3757. if Key == "b" and ATTACK == false then
  3758. if MODE == "Main" then
  3759. ChaosGroundStrike()
  3760. elseif MODE == "Ds" then
  3761. oofistrike()
  3762.  
  3763. end
  3764. end
  3765. if Key == "x" and ATTACK == false then
  3766. Spaced_Shot()
  3767. end
  3768. if Key == "c" and ATTACK == false then
  3769. Darkness()
  3770. end
  3771. if Key == "m" and ATTACK == false then
  3772. Mercy()
  3773. end
  3774. if RELAX == false and ATTACK == false or RELAX2 == true then
  3775. if Key == "y" then
  3776. if RELAX2 == false then
  3777. Taunt()
  3778. elseif RELAX2 == true then
  3779. RELAX2 = false
  3780. end
  3781. end
  3782. end
  3783. end
  3784.  
  3785. function KeyUp(Key)
  3786. KEYHOLD = false
  3787. end
  3788.  
  3789. Mouse.Button1Down:connect(function(NEWKEY)
  3790. MouseDown(NEWKEY)
  3791. end)
  3792. Mouse.Button1Up:connect(function(NEWKEY)
  3793. MouseUp(NEWKEY)
  3794. end)
  3795. Mouse.KeyDown:connect(function(NEWKEY)
  3796. KeyDown(NEWKEY)
  3797. end)
  3798. Mouse.KeyUp:connect(function(NEWKEY)
  3799. KeyUp(NEWKEY)
  3800. end)
  3801.  
  3802. --//=================================\\
  3803. --\\=================================//
  3804. Jo()
  3805.  
  3806. function unanchor()
  3807. if UNANCHOR == true then
  3808. g = Character:GetChildren()
  3809. for i = 1, #g do
  3810. if g[i].ClassName == "Part" then
  3811. g[i].Anchored = false
  3812. end
  3813. end
  3814. end
  3815. end
  3816.  
  3817.  
  3818. --//=================================\\
  3819. --|| WRAP THE WHOLE SCRIPT UP
  3820. --\\=================================//
  3821.  
  3822. Humanoid.Changed:connect(function(Jump)
  3823. if Jump == "Jump" and (Disable_Jump == true) then
  3824. Humanoid.Jump = false
  3825. end
  3826. end)
  3827.  
  3828. local CONNECT = nil
  3829.  
  3830. while true do
  3831. Swait()
  3832. ANIMATE.Parent = nil
  3833. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3834. Humanoid = IT("Humanoid",Character)
  3835. end
  3836. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3837. v:Stop();
  3838. end
  3839. SINE = SINE + CHANGE
  3840. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3841. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3842. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3843. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3844. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3845. ANIM = "Jump"
  3846. if ATTACK == false then
  3847. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3851. 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)
  3852. 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)
  3853. end
  3854. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3855. ANIM = "Fall"
  3856. if ATTACK == false then
  3857. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3861. 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)
  3862. 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)
  3863. end
  3864. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3865. ANIM = "Idle"
  3866. if ATTACK == false then
  3867. if MODE == "Main" then
  3868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(41), RAD(0)), 0.25 / Animation_Speed)
  3869. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3872. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3873. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3874. elseif MODE == "Ds" then
  3875. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3876. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3877. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3878. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3879. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3880. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3881. end
  3882. end
  3883. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3884. ANIM = "Walk"
  3885. if ATTACK == false then
  3886. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3887. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-Speed/3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3888. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3889. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3890. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3891. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3892. end
  3893. end
  3894. SKILL1FRAME.Rotation = MRANDOM(-5,5)/2
  3895. SKILL2FRAME.Rotation = MRANDOM(-5,5)/2
  3896. SKILL3FRAME.Rotation = MRANDOM(-5,5)/2
  3897. SKILL4FRAME.Rotation = MRANDOM(-5,5)/2
  3898. SKILL5FRAME.Rotation = MRANDOM(-5,5)/2
  3899. unanchor()
  3900. Humanoid.MaxHealth = "inf"
  3901. Humanoid.Health = "inf"
  3902. if Rooted == false then
  3903. Disable_Jump = false
  3904. Humanoid.WalkSpeed = Speed
  3905. elseif Rooted == true then
  3906. Disable_Jump = true
  3907. Humanoid.WalkSpeed = 0
  3908. elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then
  3909. c:remove()
  3910. end
  3911. if c == Head then
  3912. if c:FindFirstChild("face") then
  3913. c.face:remove()
  3914. end
  3915. end
  3916. for LW = 1, #LEFTWINGS do
  3917. if LEFTWINGS[LW] ~= nil then
  3918. LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3919. end
  3920. end
  3921. for RW = 1, #RIGHTWINGS do
  3922. if RIGHTWINGS[RW] ~= nil then
  3923. RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3924. end
  3925. end
  3926. end
  3927.  
  3928. --//=================================\\
  3929. --\\=================================//
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935. --//====================================================\\--
  3936. --|| END OF SCRIPT
  3937. --\\====================================================//--
Add Comment
Please, Sign In to add comment