Advertisement
LanderDusty

Guardian of Reality FE (Broken)

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