Advertisement
REX_THE_LEAKER

SIX TANK EDIT FE

Nov 1st, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 147.61 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7. --//================================================================\\--
  8. --|| CREATED BY SHACKLUSTER | EDIT BY ITZPARTAPIKA | Personality
  9. --\\=================================================================//--
  10. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  11. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  12. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  13. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  14. local dmg = math.random(min,max)
  15. if humanoid.Health > 0 then
  16. if beserk == true then
  17. humanoid.Health = 0
  18. else
  19. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  20. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  21. if math.random(1,100) < critrate+ 1 then
  22. humanoid.Health = humanoid.Health - dmg*critmultiplier
  23. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  24. else
  25. humanoid.Health = humanoid.Health - dmg
  26. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  27. end
  28. local defence = Instance.new("BoolValue",hit.Parent)
  29. defence.Name = ("HitBy"..Player.Name)
  30. game:GetService("Debris"):AddItem(defence, 0.5)
  31. end
  32. end
  33. end
  34. end
  35. function turnto(position)
  36. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  37. end
  38. Player = game:GetService("Players").LocalPlayer
  39. PlayerGui = Player.PlayerGui
  40. Backpack = Player.Backpack
  41. Character = Player.Character
  42. Humanoid = Character.Humanoid
  43. Humanoid.Name = "Humanoid"
  44. Mouse = Player:GetMouse()
  45. RootPart = Character["HumanoidRootPart"]
  46. Torso = Character["Torso"]
  47. Head = Character["Head"]
  48. RightArm = Character["Right Arm"]
  49. LeftArm = Character["Left Arm"]
  50. RightLeg = Character["Right Leg"]
  51. LeftLeg = Character["Left Leg"]
  52. RootJoint = RootPart["RootJoint"]
  53. Neck = Torso["Neck"]
  54. RightShoulder = Torso["Right Shoulder"]
  55. LeftShoulder = Torso["Left Shoulder"]
  56. RightHip = Torso["Right Hip"]
  57. LeftHip = Torso["Left Hip"]
  58. local sick = Instance.new("Sound",Character)
  59. sick.SoundId = "rbxassetid://1140435341"
  60. sick.Looped = true
  61. sick.Pitch = 1
  62. sick.Volume = 50
  63. sick:Play()
  64. local SIZE = 15
  65. local TOBANISH = {}
  66.  
  67. IT = Instance.new
  68. CF = CFrame.new
  69. VT = Vector3.new
  70. RAD = math.rad
  71. C3 = Color3.new
  72. UD2 = UDim2.new
  73. BRICKC = BrickColor.new
  74. ANGLES = CFrame.Angles
  75. EULER = CFrame.fromEulerAnglesXYZ
  76. COS = math.cos
  77. ACOS = math.acos
  78. SIN = math.sin
  79. ASIN = math.asin
  80. ABS = math.abs
  81. MRANDOM = math.random
  82. FLOOR = math.floor
  83.  
  84. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  85. local NEWMESH = IT(MESH)
  86. if MESH == "SpecialMesh" then
  87. NEWMESH.MeshType = MESHTYPE
  88. if MESHID ~= "nil" and MESHID ~= "" then
  89. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  90. end
  91. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  92. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  93. end
  94. end
  95. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  96. NEWMESH.Scale = SCALE
  97. NEWMESH.Parent = PARENT
  98. return NEWMESH
  99. end
  100.  
  101. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  102. local NEWPART = IT("Part")
  103. NEWPART.formFactor = FORMFACTOR
  104. NEWPART.Reflectance = REFLECTANCE
  105. NEWPART.Transparency = TRANSPARENCY
  106. NEWPART.CanCollide = false
  107. NEWPART.Locked = true
  108. NEWPART.Anchored = true
  109. if ANCHOR == false then
  110. NEWPART.Anchored = false
  111. end
  112. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  113. NEWPART.Name = NAME
  114. NEWPART.Size = SIZE
  115. NEWPART.Position = Torso.Position
  116. NEWPART.Material = MATERIAL
  117. NEWPART:BreakJoints()
  118. NEWPART.Parent = PARENT
  119. return NEWPART
  120. end
  121.  
  122.  
  123. --//=================================\\
  124. --|| CUSTOMIZATION
  125. --\\=================================//
  126.  
  127. Player_Size = 1 --Size of the player.
  128. Animation_Speed = 3
  129. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  130.  
  131. local Speed = 16
  132. local Effects2 = {}
  133.  
  134. --//=================================\\
  135. --|| END OF CUSTOMIZATION
  136. --\\=================================//
  137.  
  138. local function weldBetween(a, b)
  139. local weldd = Instance.new("ManualWeld")
  140. weldd.Part0 = a
  141. weldd.Part1 = b
  142. weldd.C0 = CFrame.new()
  143. weldd.C1 = b.CFrame:inverse() * a.CFrame
  144. weldd.Parent = a
  145. return weldd
  146. end
  147.  
  148. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  149. local acs = Instance.new("Part")
  150. acs.CanCollide = false
  151. acs.Anchored = false
  152. acs.Size = Vector3.new(0,0,0)
  153. acs.CFrame = attachmentpart.CFrame
  154. acs.Parent = Character
  155. acs.BrickColor = color
  156. local meshs = Instance.new("SpecialMesh")
  157. meshs.MeshId = mesh
  158. meshs.TextureId = texture
  159. meshs.Parent = acs
  160. meshs.Scale = scale
  161. meshs.Offset = offset
  162. weldBetween(attachmentpart,acs)
  163. end
  164.  
  165. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  166. if TYPE == "Gem" then
  167. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  168. acs.Anchored = false
  169. acs.CanCollide = false
  170. acs.CFrame = PART.CFrame
  171. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  172. weldBetween(PART,acs)
  173. elseif TYPE == "Skull" then
  174. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  175. acs.Anchored = false
  176. acs.CanCollide = false
  177. acs.CFrame = PART.CFrame
  178. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  179. weldBetween(PART,acs)
  180. elseif TYPE == "Eye" then
  181. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  182. acs.Anchored = false
  183. acs.CanCollide = false
  184. acs.CFrame = PART.CFrame
  185. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  186. weldBetween(PART,acs)
  187. end
  188. end
  189.  
  190. --//=================================\\
  191. --|| USEFUL VALUES
  192. --\\=================================//
  193.  
  194. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  195. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  196. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  197. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  198. local CHANGEDEFENSE = 0
  199. local CHANGEDAMAGE = 0
  200. local CHANGEMOVEMENT = 0
  201. local ANIM = "Idle"
  202. local ATTACK = false
  203. local EQUIPPED = false
  204. local HOLD = false
  205. local COMBO = 1
  206. local Rooted = false
  207. local SINE = 0
  208. local KEYHOLD = false
  209. local CHANGE = 2 / Animation_Speed
  210. local WALKINGANIM = false
  211. local WALK = 0
  212. local VALUE1 = false
  213. local VALUE2 = false
  214.  
  215. local ROBLOXIDLEANIMATION = IT("Animation")
  216. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  217. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  218. --ROBLOXIDLEANIMATION.Parent = Humanoid
  219. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  220. WEAPONGUI.Name = "Weapon GUI"
  221. local Weapon = IT("Model")
  222. Weapon.Name = "Adds"
  223. local Effects = IT("Folder", Weapon)
  224. Effects.Name = "Effects"
  225. local ANIMATOR = Humanoid.Animator
  226. local ANIMATE = Character.Animate
  227. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]" ", "263032182", "263032200", "263032221", "263032252", "263033191"}
  228. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  229. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  230. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  231. local UNANCHOR = true
  232.  
  233. local SKILLTEXTCOLOR = C3(0,0,0)
  234. local CHOSENBRICK = "Royal purple"
  235.  
  236. --//=================================\\
  237. --\\=================================//
  238. Class_Name = "Personality"
  239. Editor_Name = "ItzPartapika"
  240. Creator_Name = "Shackluster"
  241. Original_Name = "Six-Tank Cyborg"
  242. local toggleTag = true
  243. local txt = Instance.new("BillboardGui", Head)
  244. txt.Adornee = nil
  245. txt.Name = "NameDetect"
  246. txt.Size = UDim2.new(4, 0, 1.2, 0)
  247. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  248. local text = Instance.new("TextLabel", txt)
  249. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  250. text.FontSize = "Size8"
  251. text.TextScaled = true
  252. text.TextTransparency = 0
  253. text.BackgroundTransparency = 1
  254. text.TextTransparency = 0
  255. text.TextStrokeTransparency = 0
  256. text.Font = "Fantasy"
  257. text.TextStrokeColor3 = Color3.new(170,0,170)
  258. text.TextColor3 = Color3.new(0,0,0)
  259. text.Text = "Void"
  260.  
  261.  
  262. function RecolorTextAndRename(name,col1,col2)
  263. text.TextStrokeColor3 = col2
  264. text.TextColor3 = col1
  265. text.Text = name
  266. end
  267. print(Class_Name.." has Loaded")
  268. print("The original creator of this script was "..Creator_Name.." Made This. All Credit to Them.")
  269. print("The person that editted this was "..Editor_Name..".")
  270. print("The original script is called "..Original_Name)
  271. print("Enjoy the script, "..Player.Name..".")
  272. --//=================================\\
  273. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  274. --\\=================================//
  275.  
  276. ArtificialHB = Instance.new("BindableEvent", script)
  277. ArtificialHB.Name = "ArtificialHB"
  278.  
  279. script:WaitForChild("ArtificialHB")
  280.  
  281. frame = Frame_Speed
  282. tf = 0
  283. allowframeloss = false
  284. tossremainder = false
  285. lastframe = tick()
  286. script.ArtificialHB:Fire()
  287.  
  288. game:GetService("RunService").Heartbeat:connect(function(s, p)
  289. tf = tf + s
  290. if tf >= frame then
  291. if allowframeloss then
  292. script.ArtificialHB:Fire()
  293. lastframe = tick()
  294. else
  295. for i = 1, math.floor(tf / frame) do
  296. script.ArtificialHB:Fire()
  297. end
  298. lastframe = tick()
  299. end
  300. if tossremainder then
  301. tf = 0
  302. else
  303. tf = tf - frame * math.floor(tf / frame)
  304. end
  305. end
  306. end)
  307.  
  308. --//=================================\\
  309. --\\=================================//
  310.  
  311.  
  312.  
  313.  
  314.  
  315. --//=================================\\
  316. --|| SOME FUNCTIONS
  317. --\\=================================//
  318.  
  319. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  320. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  321. end
  322.  
  323. function PositiveAngle(NUMBER)
  324. if NUMBER >= 0 then
  325. NUMBER = 0
  326. end
  327. return NUMBER
  328. end
  329.  
  330. function NegativeAngle(NUMBER)
  331. if NUMBER <= 0 then
  332. NUMBER = 0
  333. end
  334. return NUMBER
  335. end
  336.  
  337. function Swait(NUMBER)
  338. if NUMBER == 0 or NUMBER == nil then
  339. ArtificialHB.Event:wait()
  340. else
  341. for i = 1, NUMBER do
  342. ArtificialHB.Event:wait()
  343. end
  344. end
  345. end
  346.  
  347. function QuaternionFromCFrame(cf)
  348. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  349. local trace = m00 + m11 + m22
  350. if trace > 0 then
  351. local s = math.sqrt(1 + trace)
  352. local recip = 0.5 / s
  353. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  354. else
  355. local i = 0
  356. if m11 > m00 then
  357. i = 1
  358. end
  359. if m22 > (i == 0 and m00 or m11) then
  360. i = 2
  361. end
  362. if i == 0 then
  363. local s = math.sqrt(m00 - m11 - m22 + 1)
  364. local recip = 0.5 / s
  365. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  366. elseif i == 1 then
  367. local s = math.sqrt(m11 - m22 - m00 + 1)
  368. local recip = 0.5 / s
  369. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  370. elseif i == 2 then
  371. local s = math.sqrt(m22 - m00 - m11 + 1)
  372. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  373. end
  374. end
  375. end
  376.  
  377. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  378. local xs, ys, zs = x + x, y + y, z + z
  379. local wx, wy, wz = w * xs, w * ys, w * zs
  380. local xx = x * xs
  381. local xy = x * ys
  382. local xz = x * zs
  383. local yy = y * ys
  384. local yz = y * zs
  385. local zz = z * zs
  386. 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))
  387. end
  388.  
  389. function QuaternionSlerp(a, b, t)
  390. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  391. local startInterp, finishInterp;
  392. if cosTheta >= 0.0001 then
  393. if (1 - cosTheta) > 0.0001 then
  394. local theta = ACOS(cosTheta)
  395. local invSinTheta = 1 / SIN(theta)
  396. startInterp = SIN((1 - t) * theta) * invSinTheta
  397. finishInterp = SIN(t * theta) * invSinTheta
  398. else
  399. startInterp = 1 - t
  400. finishInterp = t
  401. end
  402. else
  403. if (1 + cosTheta) > 0.0001 then
  404. local theta = ACOS(-cosTheta)
  405. local invSinTheta = 1 / SIN(theta)
  406. startInterp = SIN((t - 1) * theta) * invSinTheta
  407. finishInterp = SIN(t * theta) * invSinTheta
  408. else
  409. startInterp = t - 1
  410. finishInterp = t
  411. end
  412. end
  413. 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
  414. end
  415.  
  416. function Clerp(a, b, t)
  417. local qa = {QuaternionFromCFrame(a)}
  418. local qb = {QuaternionFromCFrame(b)}
  419. local ax, ay, az = a.x, a.y, a.z
  420. local bx, by, bz = b.x, b.y, b.z
  421. local _t = 1 - t
  422. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  423. end
  424.  
  425. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  426. local frame = IT("Frame")
  427. frame.BackgroundTransparency = TRANSPARENCY
  428. frame.BorderSizePixel = BORDERSIZEPIXEL
  429. frame.Position = POSITION
  430. frame.Size = SIZE
  431. frame.BackgroundColor3 = COLOR
  432. frame.BorderColor3 = BORDERCOLOR
  433. frame.Name = NAME
  434. frame.Parent = PARENT
  435. return frame
  436. end
  437.  
  438. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  439. local label = IT("TextLabel")
  440. label.BackgroundTransparency = 1
  441. label.Size = UD2(1, 0, 1, 0)
  442. label.Position = UD2(0, 0, 0, 0)
  443. label.TextColor3 = TEXTCOLOR
  444. label.TextStrokeTransparency = STROKETRANSPARENCY
  445. label.TextTransparency = TRANSPARENCY
  446. label.FontSize = TEXTFONTSIZE
  447. label.Font = TEXTFONT
  448. label.BorderSizePixel = BORDERSIZEPIXEL
  449. label.TextScaled = false
  450. label.Text = TEXT
  451. label.Name = NAME
  452. label.Parent = PARENT
  453. return label
  454. end
  455.  
  456. function NoOutlines(PART)
  457. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  458. end
  459.  
  460.  
  461. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  462. local NEWWELD = IT(TYPE)
  463. NEWWELD.Part0 = PART0
  464. NEWWELD.Part1 = PART1
  465. NEWWELD.C0 = C0
  466. NEWWELD.C1 = C1
  467. NEWWELD.Parent = PARENT
  468. return NEWWELD
  469. end
  470.  
  471.  
  472. function CreateSound(ID, PARENT, VOLUME, PITCH)
  473. local NEWSOUND = nil
  474. coroutine.resume(coroutine.create(function()
  475. NEWSOUND = IT("Sound", PARENT)
  476. NEWSOUND.Volume = VOLUME
  477. NEWSOUND.Pitch = PITCH
  478. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  479. Swait()
  480. NEWSOUND:play()
  481. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  482. end))
  483. return NEWSOUND
  484. end
  485.  
  486. function CFrameFromTopBack(at, top, back)
  487. local right = top:Cross(back)
  488. 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)
  489. end
  490.  
  491. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  492. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  493. local mesh = IT("SpecialMesh",wave)
  494. mesh.MeshType = "FileMesh"
  495. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  496. mesh.Scale = SIZE
  497. mesh.Offset = VT(0,0,-SIZE.X/8)
  498. wave.CFrame = CFRAME
  499. coroutine.resume(coroutine.create(function(PART)
  500. for i = 1, WAIT do
  501. Swait()
  502. mesh.Scale = mesh.Scale + GROW
  503. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  504. if DOESROT == true then
  505. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  506. end
  507. wave.Transparency = wave.Transparency + (0.5/WAIT)
  508. if wave.Transparency > 0.99 then
  509. wave:remove()
  510. end
  511. end
  512. end))
  513. end
  514.  
  515. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  516. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  517. local mesh = IT("SpecialMesh",wave)
  518. mesh.MeshType = "FileMesh"
  519. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  520. mesh.Scale = SIZE
  521. mesh.Offset = VT(0,0,-SIZE.X/8)
  522. wave.CFrame = CFRAME
  523. coroutine.resume(coroutine.create(function(PART)
  524. for i = 1, WAIT do
  525. Swait()
  526. mesh.Scale = mesh.Scale + GROW
  527. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  528. if DOESROT == true then
  529. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  530. end
  531. wave.Transparency = wave.Transparency + (0.5/WAIT)
  532. if wave.Transparency > 0.99 then
  533. wave:remove()
  534. end
  535. end
  536. end))
  537. end
  538.  
  539. function clerp(a, b, t)
  540. return a:lerp(b, t)
  541. end
  542.  
  543. function newBezier(startpos, pos2, pos3, endpos, t)
  544. local A = clerp(startpos, pos2, t)
  545. local B = clerp(pos2, pos3, t)
  546. local C = clerp(pos3, endpos, t)
  547. local lerp1 = clerp(A, B, t)
  548. local lerp2 = clerp(B, C, t)
  549. local cubic = clerp(lerp1, lerp2, t)
  550. return cubic
  551. end
  552.  
  553. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  554. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  555. local mesh = IT("SpecialMesh",wave)
  556. mesh.MeshType = "FileMesh"
  557. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  558. mesh.Scale = SIZE
  559. mesh.Offset = VT(0,0,-SIZE.X/8)
  560. wave.CFrame = CFRAME
  561. coroutine.resume(coroutine.create(function(PART)
  562. for i = 1, WAIT do
  563. Swait()
  564. mesh.Scale = mesh.Scale + GROW
  565. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  566. if DOESROT == true then
  567. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  568. end
  569. wave.Transparency = wave.Transparency + (0.5/WAIT)
  570. if wave.Transparency > 0.99 then
  571. wave:remove()
  572. end
  573. end
  574. end))
  575. end
  576.  
  577. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  578. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  579. local mesh = IT("SpecialMesh",wave)
  580. mesh.MeshType = "FileMesh"
  581. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  582. mesh.Scale = SIZE
  583. mesh.Offset = VT(0,0,-SIZE.X/8)
  584. wave.CFrame = CFRAME
  585. coroutine.resume(coroutine.create(function(PART)
  586. for i = 1, WAIT do
  587. Swait()
  588. mesh.Scale = mesh.Scale + GROW
  589. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  590. if DOESROT == true then
  591. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  592. end
  593. wave.Transparency = wave.Transparency + (0.5/WAIT)
  594. if wave.Transparency > 0.99 then
  595. wave:remove()
  596. end
  597. end
  598. end))
  599. end
  600.  
  601. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  602. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  603. local mesh = IT("SpecialMesh",wave)
  604. mesh.MeshType = "FileMesh"
  605. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  606. mesh.Scale = SIZE
  607. wave.CFrame = CFRAME
  608. coroutine.resume(coroutine.create(function(PART)
  609. for i = 1, WAIT do
  610. Swait()
  611. mesh.Scale = mesh.Scale + GROW
  612. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  613. if DOESROT == true then
  614. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  615. end
  616. wave.Transparency = wave.Transparency + (0.5/WAIT)
  617. if wave.Transparency > 0.99 then
  618. wave:remove()
  619. end
  620. end
  621. end))
  622. end
  623.  
  624. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  625. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  626. local mesh = IT("SpecialMesh",wave)
  627. mesh.MeshType = "FileMesh"
  628. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  629. mesh.Scale = SIZE
  630. wave.CFrame = CFRAME
  631. coroutine.resume(coroutine.create(function(PART)
  632. for i = 1, WAIT do
  633. Swait()
  634. mesh.Scale = mesh.Scale + GROW
  635. if DOESROT == true then
  636. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  637. end
  638. wave.Transparency = wave.Transparency + (0.5/WAIT)
  639. if wave.Transparency > 0.99 then
  640. wave:remove()
  641. end
  642. end
  643. end))
  644. end
  645.  
  646. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  647. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  648. local mesh = IT("SpecialMesh",wave)
  649. mesh.MeshType = "FileMesh"
  650. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  651. mesh.Scale = SIZE
  652. mesh.Offset = VT(0,0,0)
  653. wave.CFrame = CFRAME
  654. coroutine.resume(coroutine.create(function(PART)
  655. for i = 1, WAIT do
  656. Swait()
  657. mesh.Scale = mesh.Scale + GROW
  658. if DOESROT == true then
  659. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  660. end
  661. wave.Transparency = wave.Transparency + (0.5/WAIT)
  662. if wave.Transparency > 0.99 then
  663. wave:remove()
  664. end
  665. end
  666. end))
  667. end
  668.  
  669. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  670. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  671. local mesh = IT("SpecialMesh",wave)
  672. mesh.MeshType = "Sphere"
  673. mesh.Scale = SIZE
  674. mesh.Offset = VT(0,0,0)
  675. wave.CFrame = CFRAME
  676. coroutine.resume(coroutine.create(function(PART)
  677. for i = 1, WAIT do
  678. Swait()
  679. mesh.Scale = mesh.Scale + GROW
  680. wave.Transparency = wave.Transparency + (1/WAIT)
  681. if wave.Transparency > 0.99 then
  682. wave:remove()
  683. end
  684. end
  685. end))
  686. end
  687.  
  688. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  689. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  690. local mesh = nil
  691. if KIND == "Base" then
  692. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  693. elseif KIND == "Thin" then
  694. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  695. elseif KIND == "Round" then
  696. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  697. end
  698. wave.CFrame = CFRAME
  699. coroutine.resume(coroutine.create(function(PART)
  700. for i = 1, WAIT do
  701. Swait()
  702. mesh.Scale = mesh.Scale + GROW/10
  703. wave.Transparency = wave.Transparency + (0.5/WAIT)
  704. if wave.Transparency > 0.99 then
  705. wave:remove()
  706. end
  707. end
  708. end))
  709. end
  710.  
  711. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  712. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  713. local mesh = IT("BlockMesh",wave)
  714. wave.CFrame = CFRAME
  715. coroutine.resume(coroutine.create(function(PART)
  716. for i = 1, WAIT do
  717. Swait()
  718. mesh.Scale = mesh.Scale + GROW
  719. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  720. wave.Transparency = wave.Transparency + (1/WAIT)
  721. if wave.Transparency > 0.99 then
  722. wave:remove()
  723. end
  724. end
  725. end))
  726. end
  727.  
  728. function MakeForm(PART,TYPE)
  729. if TYPE == "Cyl" then
  730. local MSH = IT("CylinderMesh",PART)
  731. elseif TYPE == "Ball" then
  732. local MSH = IT("SpecialMesh",PART)
  733. MSH.MeshType = "Sphere"
  734. elseif TYPE == "Wedge" then
  735. local MSH = IT("SpecialMesh",PART)
  736. MSH.MeshType = "Wedge"
  737. end
  738. end
  739.  
  740. function CheckTableForString(Table, String)
  741. for i, v in pairs(Table) do
  742. if string.find(string.lower(String), string.lower(v)) then
  743. return true
  744. end
  745. end
  746. return false
  747. end
  748.  
  749. function CheckIntangible(Hit)
  750. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  751. if Hit and Hit.Parent then
  752. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChildOfClass("Humanoid")) then
  753. return true
  754. end
  755. end
  756. return false
  757. end
  758.  
  759. Debris = game:GetService("Debris")
  760.  
  761. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  762. local Direction = CFrame.new(StartPos, Vec).lookVector
  763. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  764. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  765. if RayHit and CheckIntangible(RayHit) then
  766. if DelayIfHit then
  767. wait()
  768. end
  769. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  770. end
  771. return RayHit, RayPos, RayNormal
  772. end
  773.  
  774. function turnto(position)
  775. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  776. end
  777.  
  778. --//=================================\\
  779. --|| WEAPON CREATION
  780. --\\=================================//
  781. local EyeSizes={
  782. NumberSequenceKeypoint.new(0,2,0),
  783. NumberSequenceKeypoint.new(1,0,0)
  784. }
  785. local EyeTrans={
  786. NumberSequenceKeypoint.new(0,0.5,0),
  787. NumberSequenceKeypoint.new(1,1,0)
  788. }
  789. local PE=Instance.new("ParticleEmitter",nil)
  790. PE.LightEmission=.8
  791. PE.Color = ColorSequence.new(BRICKC("Really red").Color,BRICKC("Mulberry").Color)
  792. PE.Size=NumberSequence.new(EyeSizes)
  793. PE.Transparency=NumberSequence.new(EyeTrans)
  794. PE.Lifetime=NumberRange.new(0.35,1)
  795. PE.Rotation=NumberRange.new(0,360)
  796. PE.Rate=100
  797. PE.VelocitySpread = 10000
  798. PE.Acceleration = Vector3.new(0,85,0)
  799. PE.Drag = 5
  800. PE.Speed = NumberRange.new(0.1,5)
  801. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  802. PE.ZOffset = 0.5
  803. PE.Name = "PE"
  804. PE.Enabled = false
  805.  
  806. local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(15, 0, 15), true)
  807. FLOOR.Color = C3(0, 0, 0)
  808. MakeForm(FLOOR, "Cyl")
  809. local EYE1 = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "FaceGradient", VT(0.6,0.1,1)/2,false)
  810. MakeForm(EYE1,"Ball")
  811. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE1, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  812. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "FaceGradient", VT(0.1,1,1)/2,false)
  813. MakeForm(EYE2,"Ball")
  814. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  815.  
  816. for _, c in pairs(Weapon:GetChildren()) do
  817. if c.ClassName == "Part" then
  818. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  819. end
  820. end
  821.  
  822.  
  823. Weapon.Parent = Character
  824.  
  825. Humanoid.Died:connect(function()
  826. ATTACK = true
  827. end)
  828.  
  829. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  830. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  831. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  832. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.13, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  833.  
  834. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  835. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  836. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle tanks", C3(0,0,0), 8, "SciFi", 0, 2, 1, "Text 3")
  837. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[E] MERCY", Color3.fromRGB(255, 0, 0), 7, "SciFi", 1, 2, 1, "Text 4")
  838. --//=================================\\
  839. --|| DAMAGE FUNCTIONS
  840. --\\=================================//
  841.  
  842. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  843. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  844. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  845. local BODYGYRO = IT("BodyGyro", STATPART)
  846. local BODYPOSITION = IT("BodyPosition", STATPART)
  847. BODYPOSITION.P = 2000
  848. BODYPOSITION.D = 100
  849. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  850. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  851. game:GetService("Debris"):AddItem(STATPART ,5)
  852. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  853. BILLBOARDGUI.Adornee = STATPART
  854. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  855. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  856. BILLBOARDGUI.AlwaysOnTop = false
  857. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  858. TEXTLABEL.BackgroundTransparency = 1
  859. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  860. TEXTLABEL.Text = TEXT
  861. TEXTLABEL.Font = "SciFi"
  862. TEXTLABEL.FontSize="Size42"
  863. TEXTLABEL.TextColor3 = COLOR
  864. TEXTLABEL.TextStrokeTransparency = 1
  865. TEXTLABEL.TextScaled = true
  866. TEXTLABEL.TextWrapped = true
  867. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  868. if LABELTYPE == "Normal" then
  869. for i = 1, 30 do
  870. Swait()
  871. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  872. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  873. end
  874. elseif LABELTYPE == "Debuff" then
  875. for i = 1, 30 do
  876. Swait()
  877. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  878. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  879. end
  880. elseif LABELTYPE == "Shock" then
  881. local ORIGIN = STATPART.Position
  882. for i = 1, 30 do
  883. Swait()
  884. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  885. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  886. end
  887. end
  888. THEPART.Parent = nil
  889. end),STATPART, BODYPOSITION, TEXTLABEL)
  890. end
  891.  
  892. --//=================================\\
  893. --|| DAMAGING
  894. --\\=================================//
  895.  
  896. workspace.ChildAdded:connect(function(instance)
  897. for BANISH = 1, #TOBANISH do
  898. if TOBANISH[BANISH] ~= nil then
  899. if instance.Name == TOBANISH[BANISH] then
  900. coroutine.resume(coroutine.create(function()
  901. instance:ClearAllChildren()
  902. Debris:AddItem(instance,0.0005)
  903. end))
  904. end
  905. end
  906. end
  907. end)
  908.  
  909. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  910. local defence = Instance.new("BoolValue",Humanoid.Parent)
  911. defence.Name = ("HitBy"..Player.Name)
  912. game:GetService("Debris"):AddItem(defence, 0.5)
  913. Humanoid.Health = Humanoid.Health - Damage
  914. if Humanoid.Parent:FindFirstChild("Head") then
  915. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  916. end
  917. end
  918.  
  919.  
  920. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  921. local dmg = math.random(min,max)
  922. for i,v in ipairs(workspace:GetChildren()) do
  923. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  924. local body = v:GetChildren()
  925. for part = 1, #body do
  926. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  927. if(body[part].Position - position).Magnitude < radius then
  928. if v.ClassName == "Model" then
  929. if v:FindFirstChildOfClass("Humanoid") then
  930. if CanBeDodgedByJumping == true then
  931. if body[part].Position.Y < position.Y+5 then
  932. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  933. end
  934. else
  935. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  936. end
  937. local bv = Instance.new("BodyVelocity")
  938. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  939. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  940. bv.Parent = body[part]
  941. Debris:AddItem(bv,0.2)
  942. end
  943. end
  944. end
  945. end
  946. end
  947. end
  948. if v:FindFirstChild("HitBy"..Player.Name) then
  949. v:FindFirstChild("HitBy"..Player.Name):remove()
  950. end
  951. end
  952. end
  953.  
  954. function AoEStun(POS,RANGE,LAST)
  955. for i,v in ipairs(workspace:GetChildren()) do
  956. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  957. local body = v:GetChildren()
  958. for part = 1, #body do
  959. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  960. if(body[part].Position - POS).Magnitude < RANGE then
  961. if v.ClassName == "Model" then
  962. if v:FindFirstChildOfClass("Humanoid") then
  963. if v.Humanoid.Health ~= 0 then
  964. Stun(v.Humanoid,LAST)
  965. local defence = Instance.new("BoolValue",v)
  966. defence.Name = ("StunnedBy"..Player.Name)
  967. game:GetService("Debris"):AddItem(defence, 0.1)
  968. end
  969. end
  970. end
  971. end
  972. end
  973. end
  974. end
  975. end
  976. end
  977.  
  978. function Stun(HUMANOID,LAST)
  979. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  980. HUMANOID.PlatformStand = true
  981. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  982. defence.Name = ("StunnedBy"..Player.Name)
  983. game:GetService("Debris"):AddItem(defence, LAST)
  984. if HUMANOID.Parent:FindFirstChild("Head") then
  985. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  986. end
  987. coroutine.resume(coroutine.create(function()
  988. Swait(LAST*100)
  989. HUMANOID.PlatformStand = false
  990. end))
  991. end
  992. end
  993.  
  994. function Poison(HUMANOID,LAST,DAMAGE)
  995. if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  996. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  997. defence.Name = ("PoisonedBy"..Player.Name)
  998. game:GetService("Debris"):AddItem(defence, LAST)
  999. coroutine.resume(coroutine.create(function()
  1000. for i = 1, LAST/2 do
  1001. if HUMANOID.Parent:FindFirstChild("Head") then
  1002. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  1003. end
  1004. Swait(2)
  1005. HUMANOID.Health = HUMANOID.Health - DAMAGE
  1006. end
  1007. end))
  1008. end
  1009. end
  1010.  
  1011. function killnearest(position,range,maxstrength)
  1012. for i,v in ipairs(workspace:GetChildren()) do
  1013. local body = v:GetChildren()
  1014. for part = 1, #body do
  1015. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1016. if(body[part].Position - position).Magnitude < range then
  1017. if v.ClassName == "Model" then
  1018. v:BreakJoints()
  1019. end
  1020. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1021. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1022. end
  1023. end
  1024. end
  1025. if v.ClassName == "Part" then
  1026. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1027. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1028. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1029. end
  1030. end
  1031. end
  1032. end
  1033.  
  1034. --//=================================\\
  1035. --|| ATTACK FUNCTIONS AND STUFF --ATTACKS BOI
  1036. --\\=================================//
  1037. local LAUGHS = {834001699,834001752,834001797,834001828}
  1038.  
  1039. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1040. MakeForm(RightHole,"Cyl")
  1041. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1042. MakeForm(LeftHole,"Cyl")
  1043.  
  1044. function SpawnTrail(FROM,TO,BIG)
  1045. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1046. MakeForm(TRAIL,"Cyl")
  1047. local DIST = (FROM - TO).Magnitude
  1048. if BIG == true then
  1049. TRAIL.Size = VT(0.5,DIST,0.5)
  1050. else
  1051. TRAIL.Size = VT(0.25,DIST,0.25)
  1052. end
  1053. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1054. coroutine.resume(coroutine.create(function()
  1055. for i = 1, 5 do
  1056. Swait()
  1057. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1058. end
  1059. TRAIL:remove()
  1060. end))
  1061. end
  1062.  
  1063. function Deathbound()
  1064. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1065. ATTACK = true
  1066. Rooted = true
  1067. for i=0, 1, 0.1 / Animation_Speed do
  1068. Swait()
  1069. 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)
  1070. 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)
  1071. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1072. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1073. 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)
  1074. 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)
  1075. end
  1076. local DONE = false
  1077. local GATE = nil
  1078. local GATESPIN = true
  1079. coroutine.resume(coroutine.create(function()
  1080. repeat
  1081. Swait()
  1082. if GATE ~= nil then
  1083. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1084. end
  1085. until GATESPIN == false
  1086. end))
  1087. coroutine.resume(coroutine.create(function()
  1088. repeat
  1089. Swait()
  1090. 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)
  1091. 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)
  1092. 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)
  1093. 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)
  1094. 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)
  1095. 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)
  1096. until DONE == true
  1097. Swait(50)
  1098. for i = 1, 200 do
  1099. Swait(4)
  1100. local FIRED = false
  1101. local CHILDREN = workspace:GetDescendants()
  1102. for index, CHILD in pairs(CHILDREN) do
  1103. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1104. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1105. if HUM then
  1106. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1107. if TORSO then
  1108. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1109. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1110. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1111. 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})
  1112. 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})
  1113. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1114. Kill(CHILD)
  1115. FIRED = true
  1116. break
  1117. end
  1118. end
  1119. end
  1120. end
  1121. end
  1122. if FIRED == false then
  1123. 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)))
  1124. 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})
  1125. 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})
  1126. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1127. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1128. if HITBOD ~= nil then
  1129. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1130. Kill(HITBOD.Parent)
  1131. end
  1132. end
  1133. end
  1134. end
  1135. for i = 1, 45 do
  1136. Swait()
  1137. GATE.Size = GATE.Size - VT(3,0,3)
  1138. end
  1139. GATESPIN = false
  1140. GATE:remove()
  1141. end))
  1142. Swait(15)
  1143. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1144. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1145. local DECAL = IT("Decal",GATE)
  1146. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1147. DECAL.Face = "Top"
  1148. GATE.CFrame = CF(HITPOS)
  1149. CreateSound(160772554, GATE, 7, 1.3, false)
  1150. for i = 1, 45 do
  1151. Swait()
  1152. GATE.Size = GATE.Size + VT(3,0,3)
  1153. end
  1154. CreateSound(213603013, RightHole, 7, 1, false)
  1155. CreateSound(213603013, LeftHole, 7, 1, false)
  1156. 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})
  1157. 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})
  1158. ATTACK = false
  1159. Rooted = false
  1160. DONE = true
  1161. end
  1162.  
  1163. function WACKYEFFECT(Table)
  1164. local TYPE = (Table.EffectType or "Sphere")
  1165. local SIZE = (Table.Size or VT(1,1,1))
  1166. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1167. local TRANSPARENCY = (Table.Transparency or 0)
  1168. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1169. local CFRAME = (Table.CFrame or Torso.CFrame)
  1170. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1171. local ROTATION1 = (Table.RotationX or 0)
  1172. local ROTATION2 = (Table.RotationY or 0)
  1173. local ROTATION3 = (Table.RotationZ or 0)
  1174. local MATERIAL = (Table.Material or "Neon")
  1175. local COLOR = (Table.Color or C3(1,1,1))
  1176. local TIME = (Table.Time or 45)
  1177. local SOUNDID = (Table.SoundID or nil)
  1178. local SOUNDPITCH = (Table.SoundPitch or nil)
  1179. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1180. coroutine.resume(coroutine.create(function()
  1181. local PLAYSSOUND = false
  1182. local SOUND = nil
  1183. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1184. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1185. PLAYSSOUND = true
  1186. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1187. end
  1188. EFFECT.Color = COLOR
  1189. local MSH = nil
  1190. if TYPE == "Sphere" then
  1191. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1192. elseif TYPE == "Block" then
  1193. MSH = IT("BlockMesh",EFFECT)
  1194. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1195. elseif TYPE == "Wave" then
  1196. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1197. elseif TYPE == "Ring" then
  1198. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1199. elseif TYPE == "Slash" then
  1200. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1201. elseif TYPE == "Round Slash" then
  1202. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1203. elseif TYPE == "Swirl" then
  1204. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1205. elseif TYPE == "Skull" then
  1206. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1207. elseif TYPE == "Crystal" then
  1208. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1209. end
  1210. if MSH ~= nil then
  1211. local MOVESPEED = nil
  1212. if MOVEDIRECTION ~= nil then
  1213. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1214. end
  1215. local GROWTH = SIZE - ENDSIZE
  1216. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1217. if TYPE == "Block" then
  1218. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1219. else
  1220. EFFECT.CFrame = CFRAME
  1221. end
  1222. for LOOP = 1, TIME+1 do
  1223. Swait()
  1224. MSH.Scale = MSH.Scale - GROWTH/TIME
  1225. if TYPE == "Wave" then
  1226. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1227. end
  1228. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1229. if TYPE == "Block" then
  1230. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1231. else
  1232. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1233. end
  1234. if MOVEDIRECTION ~= nil then
  1235. local ORI = EFFECT.Orientation
  1236. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1237. EFFECT.Orientation = ORI
  1238. end
  1239. end
  1240. if PLAYSSOUND == false then
  1241. EFFECT:remove()
  1242. else
  1243. SOUND.Stopped:Connect(function()
  1244. EFFECT:remove()
  1245. end)
  1246. end
  1247. else
  1248. if PLAYSSOUND == false then
  1249. EFFECT:remove()
  1250. else
  1251. repeat Swait() until SOUND.Playing == false
  1252. EFFECT:remove()
  1253. end
  1254. end
  1255. end))
  1256. end
  1257.  
  1258. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1259. local CHILDREN = workspace:GetDescendants()
  1260. for index, CHILD in pairs(CHILDREN) do
  1261. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1262. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1263. if HUM then
  1264. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1265. if TORSO then
  1266. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1267. if BRUTAL == true then
  1268. Kill(CHILD)
  1269. else
  1270. CHILD:BreakJoints()
  1271. end
  1272. end
  1273. end
  1274. end
  1275. end
  1276. end
  1277. end
  1278.  
  1279. local asd = Instance.new("ParticleEmitter")
  1280. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1281. asd.LightEmission = .1
  1282. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1283. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1284. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1285. asd.Transparency = bbb
  1286. asd.Size = aaa
  1287. asd.ZOffset = .9
  1288. asd.Acceleration = Vector3.new(0, -15, 0)
  1289. asd.LockedToPart = false
  1290. asd.EmissionDirection = "Back"
  1291. asd.Lifetime = NumberRange.new(1, 2)
  1292. asd.Rotation = NumberRange.new(-100, 100)
  1293. asd.RotSpeed = NumberRange.new(-100, 100)
  1294. asd.Speed = NumberRange.new(10)
  1295. asd.Enabled = false
  1296. asd.VelocitySpread = 999
  1297.  
  1298. function getbloody(victim,amount)
  1299. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1300. PART.CFrame = victim.CFrame
  1301. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1302. Debris:AddItem(PART,5)
  1303. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1304. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1305. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1306. local prtcl = asd:Clone()
  1307. prtcl.Parent = PART
  1308. prtcl:Emit(amount*10)
  1309. end
  1310.  
  1311. function Kill(Char)
  1312. local NewCharacter = IT("Model",Effects)
  1313. NewCharacter.Name = "Ow im ded ;-;"
  1314. for _, c in pairs(Char:GetDescendants()) do
  1315. if c:IsA("BasePart") and c.Transparency == 0 then
  1316. if c.Parent == Char then
  1317. getbloody(c,5)
  1318. end
  1319. c:BreakJoints()
  1320. c.Material = "Glass"
  1321. c.Color = C3(0.5,0,0)
  1322. c.CanCollide = true
  1323. c.Transparency = 0.3
  1324. if c:FindFirstChildOfClass("SpecialMesh") then
  1325. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1326. end
  1327. if c.Name == "Head" then
  1328. c:ClearAllChildren()
  1329. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1330. end
  1331. if c.ClassName == "MeshPart" then
  1332. c.TextureID = ""
  1333. end
  1334. if c:FindFirstChildOfClass("BodyPosition") then
  1335. c:FindFirstChildOfClass("BodyPosition"):remove()
  1336. end
  1337. if c:FindFirstChildOfClass("ParticleEmitter") then
  1338. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1339. end
  1340. c.Parent = NewCharacter
  1341. c.Name = "DeadPart"
  1342. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1343. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1344. end
  1345. end
  1346. Char:remove()
  1347. Debris:AddItem(NewCharacter,5)
  1348. end
  1349.  
  1350. local LAUGHS = {834001699,834001752,834001797,834001828}
  1351. function Morning_Star()
  1352. ATTACK = true
  1353. Rooted = true
  1354. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1355. for i=0, 1, 0.1 / Animation_Speed do
  1356. Swait()
  1357. 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)
  1358. 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)
  1359. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1360. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1361. 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)
  1362. 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)
  1363. end
  1364. coroutine.resume(coroutine.create(function()
  1365. local POS = Mouse.Hit.p
  1366. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Strike", VT(0,2000,0))
  1367. MakeForm(RAY,"Cyl")
  1368. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Strike", VT(0,0,0))
  1369. MakeForm(SPHERE,"Ball")
  1370. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  1371. MakeForm(SHIELD,"Ball")
  1372. SHIELD.CFrame = CF(POS)
  1373. RAY.CFrame = CF(POS)
  1374. SPHERE.CFrame = CF(POS)
  1375. CreateSound(144699494, SPHERE, 10, 0.8, false)
  1376. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1377. for i = 1, 200 do
  1378. Swait()
  1379. 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(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1380. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1381. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1382. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1383. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1384. end
  1385. for i = 1, 45 do
  1386. Swait()
  1387. RAY.Transparency = RAY.Transparency + 1/45
  1388. SPHERE.Transparency = RAY.Transparency
  1389. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1390. end
  1391. RAY:remove()
  1392. SHIELD:remove()
  1393. SPHERE:remove()
  1394. end))
  1395. for i=0, 1, 0.1 / Animation_Speed do
  1396. Swait()
  1397. 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)
  1398. 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)
  1399. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1400. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1401. 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)
  1402. 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)
  1403. end
  1404. ATTACK = false
  1405. Rooted = false
  1406. end
  1407.  
  1408. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1409. if DoesCourontine == false then
  1410. local Direction = CF(Part.Position,ToLocation)
  1411. local Distance = (Part.Position - ToLocation).magnitude
  1412. for i = 1, AmountOfTime do
  1413. Swait()
  1414. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1415. Direction = Part.CFrame
  1416. end
  1417. elseif DoesCourontine == true then
  1418. coroutine.resume(coroutine.create(function()
  1419. local Direction = CF(Part.Position,ToLocation)
  1420. local Distance = (Part.Position - ToLocation).magnitude
  1421. for i = 1, AmountOfTime do
  1422. Swait()
  1423. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1424. Direction = Part.CFrame
  1425. end
  1426. end))
  1427. end
  1428. end
  1429.  
  1430. function impale(chain,hit)
  1431. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1432. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1433. if humanoid.Health ~= 0 then
  1434. hit.Parent:BreakJoints()
  1435. getbloody(hit,15)
  1436. local prtcl = asd:Clone()
  1437. prtcl.Parent = chain
  1438. prtcl.Enabled = true
  1439. prtcl.Speed = NumberRange.new(0)
  1440. prtcl.Size = NumberSequence.new(0.2)
  1441. end
  1442. end
  1443. end
  1444.  
  1445. function CreateMagicCircle()
  1446. local sinkhole = IT("Part")
  1447. sinkhole.Size = VT(0,0,0)
  1448. sinkhole.Parent = Effects
  1449. sinkhole.Material = "Neon"
  1450. sinkhole.Color = C3(0,0,0)
  1451. sinkhole.Anchored = true
  1452. sinkhole.CanCollide = false
  1453. sinkhole.Transparency = 1
  1454. local decal = IT("Decal",sinkhole)
  1455. decal.Face = "Top"
  1456. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1457. local decal2 = IT("Decal",sinkhole)
  1458. decal2.Face = "Bottom"
  1459. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1460. return sinkhole
  1461. end
  1462.  
  1463. function Chain()
  1464. ATTACK = true
  1465. Rooted = false
  1466. for i=0, 2, 0.1 / Animation_Speed do
  1467. turnto(Mouse.Hit.p)
  1468. Swait()
  1469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  1470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1473. 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)
  1474. 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)
  1475. end
  1476. CreateSound("1208650519", RightArm, 10, 2)
  1477. local RING = CreateMagicCircle()
  1478. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1479. for i = 1, 5 do
  1480. turnto(Mouse.Hit.p)
  1481. Swait()
  1482. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1483. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1484. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1485. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1486. RING.Size = RING.Size + VT(1,0,1)
  1487. end
  1488. coroutine.resume(coroutine.create(function()
  1489. local POS = Mouse.Hit.p
  1490. local A = IT("Attachment",RING)
  1491. for i = 1, 15 do
  1492. Swait(MRANDOM(0,5))
  1493. coroutine.resume(coroutine.create(function()
  1494. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1495. --print("Chain start")
  1496. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1497. Front.CanCollide = true
  1498. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1499. local B = IT("Attachment",Front)
  1500. local ChainLink = IT("Beam",RING)
  1501. ChainLink.Texture = "rbxassetid://1262544869"
  1502. ChainLink.TextureSpeed = 0
  1503. ChainLink.Width0 = 3
  1504. ChainLink.Attachment0 = A
  1505. ChainLink.Attachment1 = B
  1506. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1507. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1508. ChainLink.TextureMode = "Static"
  1509. local bv = Instance.new("BodyVelocity")
  1510. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1511. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1512. bv.Parent = Front
  1513. bv.Name = "MOVE"
  1514. --print("Chain made")
  1515. coroutine.resume(coroutine.create(function()
  1516. Swait(50)
  1517. bv:remove()
  1518. local POS = Front.Position
  1519. Front.CanCollide = false
  1520. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1521. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1522. for i = 0, 1, 0.07 do
  1523. Swait()
  1524. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1525. end
  1526. Front:remove()
  1527. ChainLink:remove()
  1528. end))
  1529. local harm = Front.Touched:Connect(function(hit)
  1530. impale(Front,hit)
  1531. end)
  1532. end))
  1533. end
  1534. Swait(60)
  1535. for i = 1, 5 do
  1536. Swait()
  1537. RING.Size = RING.Size - VT(1,0,1)
  1538. end
  1539. RING:remove()
  1540. end))
  1541. ATTACK = false
  1542. Rooted = false
  1543. end
  1544.  
  1545. function MegaChain()
  1546. ATTACK = true
  1547. Rooted = true
  1548. for i=0, 2, 0.1 / Animation_Speed do
  1549. Swait()
  1550. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1551. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1553. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1554. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1555. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1556. end
  1557. for i=0, 0.5, 0.1 / Animation_Speed do
  1558. Swait()
  1559. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1560. 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.5 / Animation_Speed)
  1561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1562. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1563. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1565. end
  1566. CreateSound("1208650519", Effects, 10, 1)
  1567. local GUI,GUI2 = CreateGUICircle(Torso)
  1568. local GUI3,GUI4 = CreateGUICircle(Torso)
  1569. for i = 1, 200 do
  1570. Swait()
  1571. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1572. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1573. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1574. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1575. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1576. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1577. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  1578. GUI2.Rotation = GUI2.Rotation + i/10
  1579. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  1580. GUI4.Rotation = GUI4.Rotation - i/10
  1581. end
  1582. AoEDamage(Torso.Position,100e10,100e10,0,0,false,0,0,false,true,true)
  1583. Swait(25)
  1584. for i = 1, 100 do
  1585. Swait()
  1586. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  1587. GUI2.Rotation = GUI2.Rotation - i/5
  1588. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  1589. GUI4.Rotation = GUI4.Rotation + i/5
  1590. end
  1591. GUI:remove()
  1592. GUI3:remove()
  1593. ATTACK = false
  1594. Rooted = false
  1595. end
  1596.  
  1597. local ENERGYSOUND = 1417051162
  1598. local BEAMSOUND = 1417056781
  1599. local EXPLOSIONSOUND = 1417056081
  1600.  
  1601. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Dark indigo", "BraceletPart", VT(1.01,0.3,1.01),false)
  1602. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1603. for i = 1, 3 do
  1604. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Royal purple", "BraceletPart", VT(0.2,1.02,0.2),false)
  1605. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1606. MakeForm(Part,"Cyl")
  1607. end
  1608.  
  1609. function Charge(TIME,GYRO)
  1610. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1611. local G = nil
  1612. if GYRO == true then
  1613. G = IT("BodyGyro",RootPart)
  1614. G.D = 250
  1615. G.P = 200000
  1616. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1617. end
  1618. for i=0, TIME, 0.1 / Animation_Speed do
  1619. Swait()
  1620. if G then
  1621. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1622. end
  1623. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1624. 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)
  1625. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1626. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1627. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1628. 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)
  1629. 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)
  1630. end
  1631. SND:remove()
  1632. if G then
  1633. return G
  1634. end
  1635. end
  1636.  
  1637. function PowerOutburst()
  1638. ATTACK = true
  1639. Rooted = true
  1640. Charge(2,false)
  1641. local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1642. local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
  1643. for i = 1, 60 do
  1644. Swait()
  1645. ApplyAoE(RootPart.Position,i*1.3,10,20,-200,true)
  1646. SND.Pitch = SND.Pitch - 1/60
  1647. SND2.Pitch = SND.Pitch
  1648. WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*2,10,i*2), Size2 = VT(i*2,10,i*2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1649. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,10,0), Size2 = VT(i*2,6,i*2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1650. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,6,0), Size2 = VT(i*1.6,10,i*1.6), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1651. 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)
  1652. 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)
  1653. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1654. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1655. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1656. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1657. end
  1658. SND:remove()
  1659. SND2:remove()
  1660. ATTACK = false
  1661. Rooted = false
  1662. end
  1663.  
  1664. function RadioactiveSludge()
  1665. ATTACK = true
  1666. Rooted = true
  1667. for i=0, 1, 0.1 / Animation_Speed do
  1668. Swait()
  1669. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
  1670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
  1671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1673. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1675. end
  1676. for i=0, 0.4, 0.1 / Animation_Speed do
  1677. Swait()
  1678. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1682. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1683. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1684. end
  1685. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Beam", VT(0,0,0))
  1686. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Beam", VT(0,0,0))
  1687. MakeForm(BEAM,"Ball")
  1688. MakeForm(BEAM2,"Ball")
  1689. BEAM.CFrame = CF(RootPart.Position)
  1690. BEAM2.CFrame = CF(RootPart.Position)
  1691. CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1692. for i=1, 100 do
  1693. Swait()
  1694. BEAM.Size = BEAM.Size + VT(0.7,8,0.7)
  1695. BEAM2.Size = BEAM2.Size + VT(2,2,2)
  1696. ApplyAoE(BEAM2.Position,BEAM2.Size.Z/2,5,5,15,true)
  1697. BEAM.CFrame = CF(RootPart.Position)
  1698. BEAM2.CFrame = CF(RootPart.Position)
  1699. WACKYEFFECT({TIME = 5+i, EffectType = "Swirl", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1700. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  1701. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  1702. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1703. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1704. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1705. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1706. end
  1707. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1708. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1709. BEAM2:remove()
  1710. BEAM:remove()
  1711. ATTACK = false
  1712. Rooted = false
  1713. end
  1714.  
  1715. function CastProperRay(StartPos, Vec, Length, Ignore)
  1716. local Direction = CFrame.new(StartPos, Vec).lookVector
  1717. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1718. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1719. return RayHit, RayPos, RayNormal
  1720. end
  1721.  
  1722. function BanishBullet()
  1723. ATTACK = true
  1724. Rooted = false
  1725. for i = 0, 0.4, 0.1 / Animation_Speed do
  1726. Swait()
  1727. turnto(Mouse.Hit.p)
  1728. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1729. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1730. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1731. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1732. 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)
  1733. 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)
  1734. end
  1735. repeat
  1736. for i = 0, 0.2, 0.1 / Animation_Speed do
  1737. Swait()
  1738. turnto(Mouse.Hit.p)
  1739. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1743. 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)
  1744. 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)
  1745. end
  1746. CreateSound("238353911", RightArm, 10, MRANDOM(9, 11) / 10)
  1747. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  1748. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  1749. local RayHit, Way = CastProperRay(RightArm.Position, Mouse.Hit.p, 1500, Character)
  1750. local distance = (RightArm.Position - Way).magnitude
  1751. local laser = Instance.new("Part", Effects)
  1752. for i = 1, 5 do
  1753. laser.Transparency = 0
  1754. laser.CanCollide = false
  1755. laser.Anchored = true
  1756. laser.Color = C3(1, 0, 0)
  1757. laser.Material = "Neon"
  1758. laser.formFactor = Enum.FormFactor.Custom
  1759. laser.Size = Vector3.new(0.15, 0.15, distance)
  1760. laser.CFrame = CFrame.new(RightArm.Position, Way) * CFrame.new(0, 0, -distance / 2)
  1761. MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Really red", VT(0.05, 0.05, 0.05))
  1762. for i = 1, 5 do
  1763. MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Really red", VT(0.001, 0.001, 0), 0.5)
  1764. end
  1765. table.insert(Effects2, {
  1766. laser,
  1767. "Disappear",
  1768. 0.1,
  1769. 1,
  1770. 1,
  1771. 1,
  1772. 2
  1773. })
  1774. if RayHit ~= nil then
  1775. local v = RayHit.Parent
  1776. if v ~= nil and v.ClassName == "Model" then
  1777. CastWarpOutlines(v)
  1778. v.Parent = nil
  1779. table.insert(TOBANISH, v.Name)
  1780. end
  1781. end
  1782. end
  1783. for i = 0, 0.3, 0.1 / Animation_Speed do
  1784. Swait()
  1785. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1786. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1787. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1788. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1789. 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)
  1790. 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)
  1791. end
  1792. laser:Remove()
  1793. until KEYHOLD == false
  1794. ATTACK = false
  1795. Rooted = false
  1796. end
  1797. function Dark_blade()
  1798. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1799. if HITFLOOR ~= nil then
  1800. ATTACK = true
  1801. Rooted = true
  1802. local GYRO = IT("BodyGyro",RootPart)
  1803. GYRO.D = 100
  1804. GYRO.P = 2000
  1805. GYRO.MaxTorque = VT(0,4000000,0)
  1806. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1807. CreateSound("429459101", RightArm, 10, 0.8)
  1808. for i=0, 3.5, 0.1 / Animation_Speed do
  1809. Swait()
  1810. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1811. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  1812. 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)
  1813. 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)
  1814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1816. 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)
  1817. 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)
  1818. end
  1819. GYRO:remove()
  1820. for i=0, 0.15, 0.1 / Animation_Speed do
  1821. Swait()
  1822. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1823. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  1824. 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(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1828. 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)
  1829. 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)
  1830. end
  1831. local BOMBSPOTS = {}
  1832. for i = 1, 25 do
  1833. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
  1834. SPOT.Color = SKILLTEXTCOLOR
  1835. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1836. table.insert(BOMBSPOTS,SPOT)
  1837. MakeForm(SPOT,"Cyl")
  1838. end
  1839. for i=0, 0.2, 0.1 / Animation_Speed do
  1840. Swait()
  1841. 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(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1842. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1843. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1844. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1845. 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)
  1846. 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)
  1847. end
  1848. ATTACK = false
  1849. Rooted = false
  1850. coroutine.resume(coroutine.create(function()
  1851. Swait(3)
  1852. for i = 1, #BOMBSPOTS do
  1853. if BOMBSPOTS[i] ~= nil then
  1854. local E = BOMBSPOTS[i]
  1855. coroutine.resume(coroutine.create(function()
  1856. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
  1857. BLADE.Color = SKILLTEXTCOLOR
  1858. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1859. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1860. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1861. for i = 1, 10 do
  1862. Swait()
  1863. MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  1864. killnearest(BLADE.Position,6,80)
  1865. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1866. BLADE.Transparency = BLADE.Transparency - 0.1
  1867. end
  1868. Swait(45)
  1869. for i = 1, 100 do
  1870. Swait()
  1871. BLADE.Transparency = BLADE.Transparency + 0.01
  1872. E.Transparency = E.Transparency + 0.01
  1873. end
  1874. BLADE:remove()
  1875. E:remove()
  1876. end))
  1877. end
  1878. end
  1879. end))
  1880. end
  1881. end
  1882.  
  1883. function CreateGUICircle(TARGET)
  1884. local GUI = Instance.new("BillboardGui",Character)
  1885. GUI.Size = UDim2.new(0,0,0,0)
  1886. GUI.Adornee = TARGET
  1887. local GUI2 = IT("ImageLabel",GUI)
  1888. GUI2.BackgroundTransparency = 1
  1889. GUI2.BorderSizePixel = 0
  1890. GUI2.Size = UDim2.new(1,0,1,0)
  1891. GUI2.SizeConstraint = "RelativeYY"
  1892. GUI.AlwaysOnTop = true
  1893. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1894. return GUI,GUI2
  1895. end
  1896.  
  1897. function CastWarpOutlines(TARGET)
  1898. coroutine.resume(coroutine.create(function()
  1899. local T = TARGET:GetChildren()
  1900. for i = 1, # T do
  1901. local child = T[i]
  1902. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1903. local clone = child:Clone()
  1904. clone.Parent = Effects
  1905. clone.Anchored = true
  1906. clone.CanCollide = false
  1907. clone:ClearAllChildren()
  1908. clone.CFrame = child.CFrame
  1909. if clone.Name == "Head" then
  1910. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1911. end
  1912. if clone.ClassName == "MeshPart" then
  1913. clone.TextureID = ""
  1914. end
  1915. clone.BrickColor = BRICKC"Black"
  1916. clone.Material = "Neon"
  1917. coroutine.resume(coroutine.create(function()
  1918. for i = 1, 200 do
  1919. Swait()
  1920. clone.Transparency = clone.Transparency + 0.005
  1921. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1922. end
  1923. clone:remove()
  1924. end))
  1925. end
  1926. end
  1927. end))
  1928. end
  1929.  
  1930. function Sink(position,radius)
  1931. for i,v in ipairs(workspace:GetChildren()) do
  1932. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1933. local body = v:GetChildren()
  1934. for part = 1, #body do
  1935. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1936. if(body[part].Position - position).Magnitude < radius then
  1937. if v.ClassName == "Model" then
  1938. if v:FindFirstChildOfClass("Humanoid") then
  1939. local defence = Instance.new("BoolValue",v)
  1940. defence.Name = ("Hit2By"..Player.Name)
  1941. if v:FindFirstChildOfClass("Humanoid").Health ~= 0 then
  1942. local TORS = v:FindFirstChildOfClass("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1943. if TORS ~= nil then
  1944. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1945. coroutine.resume(coroutine.create(function()
  1946. if HITFLOOR2 ~= nil then
  1947. TORS.Anchored = true
  1948. table.insert(Effects2,{v})
  1949. repeat
  1950. Swait()
  1951. TORS.CFrame = TORS.CFrame * CF(0,-1,0)
  1952. until TORS.Position.Y<position.Y-4
  1953. v:remove()
  1954. end
  1955. end))
  1956. end
  1957. end
  1958. end
  1959. end
  1960. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1961. end
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
  1967.  
  1968. function Taunt()
  1969. ATTACK = true
  1970. Rooted = false
  1971. if CHOSENBRICK == "Royal purple" then
  1972. CreateSound(649634100, Head, 10, 0.7, false)
  1973. elseif CHOSENBRICK == "Earth green" then
  1974. CreateSound(649634100, Head, 10, 0.85, false)
  1975. elseif CHOSENBRICK == "Really red" then
  1976. CreateSound(649634100, Head, 10, 1, false)
  1977. elseif CHOSENBRICK == "Carnation pink" then
  1978. CreateSound(649634100, Head, 10, 1.1, false)
  1979. elseif CHOSENBRICK == "New Yeller" then
  1980. CreateSound(649634100, Head, 10, 0.8, false)
  1981. elseif CHOSENBRICK == "Really black" then
  1982. CreateSound(649634100, Head, 10, 0.6, false)
  1983. elseif CHOSENBRICK == "White" then
  1984. CreateSound(649634100, Head, 10, 0.9, false)
  1985. elseif CHOSENBRICK == "Teal" then
  1986. CreateSound(1110489303, Head, 10, 1.05, false)
  1987. end
  1988. for i = 0, 2.5, 0.1 / Animation_Speed do
  1989. Swait()
  1990. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(180), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(-35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1994. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1996. end
  1997. ATTACK = false
  1998. Rooted = false
  1999. end
  2000.  
  2001. function Shadowpuddle()
  2002. ATTACK = true
  2003. Rooted = true
  2004. CreateSound(649634100, Head, 10, 1)
  2005. for i=0, 2, 0.1 / Animation_Speed do
  2006. Swait()
  2007. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2008. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2009. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2010. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2011. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2012. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2013. end
  2014. CreateSound("1075001850", RootPart, 10, 3)
  2015. UNANCHOR = false
  2016. RootPart.Anchored = true
  2017. local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Heart", VT(1,0.2,1))
  2018. MakeForm(GATE,"Cyl")
  2019. GATE.Color = C3(0,0,0)
  2020. GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
  2021. for i=1, 30 do
  2022. Swait()
  2023. UNANCHOR = false
  2024. GATE.Size = GATE.Size + VT(1,0,1)
  2025. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  2026. RootPart.Anchored = true
  2027. Sink(GATE.Position,GATE.Size.Z/2.2)
  2028. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
  2029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2032. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2033. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2034. end
  2035. repeat Swait() until #Effects2 == 0
  2036. for i=1, 3 do
  2037. Swait()
  2038. GATE.Size = GATE.Size - VT(10,0,10)
  2039. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  2040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2044. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2045. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2046. end
  2047. GATE:remove()
  2048. RootPart.Anchored = false
  2049. UNANCHOR = true
  2050. ATTACK = false
  2051. Rooted = false
  2052. end
  2053.  
  2054. function Mortar(Target)
  2055. local newball = Instance.new("Part", workspace)
  2056. newball.Anchored = true
  2057. newball.Shape = "Ball"
  2058. newball.Material = "Neon"
  2059. newball.Size = Vector3.new(0,0,0)
  2060. newball.CanCollide = false
  2061. newball.CFrame = CF(Target)
  2062. newball.Color = C3(1,1,1)
  2063. newball.Transparency = 1
  2064. local POS = Mouse.Hit.p
  2065. local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2066. local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2067. local A1 = IT("Attachment",newball)
  2068. A1.Position = Vector3.new(0, 2.5, 0)
  2069. local A2 = IT("Attachment",newball)
  2070. A2.Position = Vector3.new(0, -2.5, 0)
  2071. local Trail = IT("Trail",newball)
  2072. Trail.LightEmission = 1
  2073. Trail.Texture = "rbxassetid://945758042"
  2074. Trail.Attachment0 = A1
  2075. Trail.Attachment1 = A2
  2076. Trail.Lifetime = 1
  2077. Trail.MinLength = 0
  2078. Trail.Transparency = NumberSequence.new(0, 1)
  2079. Trail.Color = ColorSequence.new(newball.Color)
  2080. coroutine.resume(coroutine.create(function()
  2081. for i = 0, 1, 0.07 do
  2082. Swait()
  2083. MagicSphere(VT(2,2,2),50,newball.CFrame,"Pearl",VT(-0.01,-0.01,-0.01))
  2084. newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  2085. end
  2086. AoEDamage(newball.Position,100e10,100e10,100e10,0,false,2,2,false,true)
  2087. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], newball, 10, 1)
  2088. MagicSphere(VT(0,0,0),55,newball.CFrame,"Pearl",VT(0.06,0.5,0.06))
  2089. for i = 1, 10 do
  2090. MagicSphere(VT(0.5,0.5,3),50,CF(newball.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,newball.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  2091. end
  2092. game:GetService("Debris"):AddItem(newball, 5)
  2093. end))
  2094. end
  2095.  
  2096.  
  2097. function LightArray()
  2098. ATTACK = true
  2099. Rooted = false
  2100. for i=0, 1, 0.1 / Animation_Speed do
  2101. Swait()
  2102. turnto(Mouse.Hit.p)
  2103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  2105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2109. end
  2110. local LOOP = 0
  2111. for i = 1, 30 do
  2112. Swait()
  2113. turnto(Mouse.Hit.p)
  2114. LOOP = LOOP + 1
  2115. if LOOP == 10 then
  2116. LOOP = 0
  2117. Mortar(LeftArm.CFrame*CF(0,-1,0).p)
  2118. end
  2119. end
  2120. ATTACK = false
  2121. Rooted = false
  2122. end
  2123.  
  2124. function Oblivion()
  2125. ATTACK = true
  2126. Rooted = true
  2127. for i=0, 2, 0.1 / Animation_Speed do
  2128. Swait()
  2129. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2133. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2134. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2135. end
  2136. for i=0, 0.5, 0.1 / Animation_Speed do
  2137. Swait()
  2138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2139. 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.5 / Animation_Speed)
  2140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2142. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2144. end
  2145. for i = 1, 75 do
  2146. Swait()
  2147. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really black",VT(-0.005,-0.005,0.03),0)
  2148. end
  2149. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2150. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2151. AoEDamage(Torso.Position,100e10,100e10,100e10,0,false,2,2,false,true)
  2152. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Really black",VT(5,5,5))
  2153. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Really black",VT(2.5,2.5,2.5))
  2154. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
  2155. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Really black",VT(6,0,6))
  2156. ATTACK = false
  2157. Rooted = false
  2158. end
  2159.  
  2160. function kiss()
  2161. ATTACK = true
  2162. Rooted = false
  2163. local HASGRABBED = false
  2164. local GRABTARGET = nil
  2165. local TORS = nil
  2166. local WELD = nil
  2167. for i=0, 1, 0.1 / Animation_Speed do
  2168. Swait()
  2169. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2170. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2171. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2172. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2173. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2174. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2175. end
  2176. local GRAB1 = RightArm.Touched:Connect(function(hit)
  2177. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2178. if hit.Parent.Humanoid.Health ~= 0 then
  2179. UNANCHOR = false
  2180. RootPart.Anchored = true
  2181. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2182. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2183. WELD = weldBetween(RootPart,TORS)
  2184. HASGRABBED = true
  2185. Rooted = true
  2186. end
  2187. end
  2188. end)
  2189. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  2190. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2191. if hit.Parent.Humanoid.Health ~= 0 then
  2192. UNANCHOR = false
  2193. RootPart.Anchored = true
  2194. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2195. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2196. WELD = weldBetween(RootPart,TORS)
  2197. HASGRABBED = true
  2198. Rooted = true
  2199. end
  2200. end
  2201. end)
  2202. for i=0, 1, 0.1 / Animation_Speed do
  2203. Swait()
  2204. if HASGRABBED == true then
  2205. break
  2206. end
  2207. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2211. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2212. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2213. end
  2214. GRAB1:disconnect()
  2215. GRAB2:disconnect()
  2216. if HASGRABBED == true then
  2217. TORS.Anchored = false
  2218. GRABTARGET = TORS.Parent
  2219. local HED = GRABTARGET:FindFirstChild("Head")
  2220. for i=0, 2, 0.1 / Animation_Speed do
  2221. Swait()
  2222. 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)
  2223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2226. 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)
  2227. 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)
  2228. end
  2229. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
  2230. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  2231. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2232. local ECH = 0
  2233. CreateSound("247269322", Head, 10, 0.8)
  2234. Head.face.Texture = "rbxassetid://47425887"
  2235. for i=0, 8, 0.1 / Animation_Speed do
  2236. Swait()
  2237. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  2239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2241. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2242. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2243. end
  2244. WELD:remove()
  2245. end
  2246. UNANCHOR = true
  2247. ATTACK = false
  2248. Rooted = false
  2249. end
  2250.  
  2251. function friend()
  2252. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2253. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2254. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2255. local ARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightUpperArm")
  2256. if TORSO and ARM then
  2257. ATTACK = true
  2258. local FAKECHARACTER = IT("Model",Effects)
  2259. FAKECHARACTER.Name = "NeonDoll"
  2260. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  2261. CreateWeldOrSnapOrMotor("Weld", HUM, ARM, TORS, CF(0,1.2,0), CF(0,0,0))
  2262. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2263. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(15)), CF(0,0.15,0))
  2264. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2265. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(-15)), CF(0,0.15,0))
  2266. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2267. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  2268. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2269. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  2270. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  2271. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2272. ATTACK = false
  2273. repeat
  2274. wait(1)
  2275. ApplyDamage(HUM,5,5,2,5)
  2276. until HUM.health == 0
  2277. end
  2278. end
  2279. end
  2280.  
  2281. function Debree(POS, SWAIT)
  2282. coroutine.resume(coroutine.create(function()
  2283. local HOLDER = IT("Model", Effects)
  2284. HOLDER.Name = "Debree"
  2285. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  2286. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2287. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2288. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2289. repeat
  2290. Swait()
  2291. until HITFLOOR ~= nil
  2292. local O = 0
  2293. for i = 1, 18 do
  2294. do
  2295. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2296. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2297. O = O - 2.25 + i / 4
  2298. coroutine.resume(coroutine.create(function()
  2299. Swait(SWAIT)
  2300. for i = 1, 60 do
  2301. Swait()
  2302. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2303. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2304. end
  2305. for i = 1, 50 do
  2306. Swait()
  2307. Part.Size = Part.Size * 0.9
  2308. end
  2309. end))
  2310. end
  2311. end
  2312. local O = 0
  2313. for i = 1, 18 do
  2314. do
  2315. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2316. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2317. O = O + 2.25 - i / 4
  2318. coroutine.resume(coroutine.create(function()
  2319. Swait(SWAIT)
  2320. for i = 1, 60 do
  2321. Swait()
  2322. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2323. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2324. end
  2325. for i = 1, 50 do
  2326. Swait()
  2327. Part.Size = Part.Size * 0.9
  2328. end
  2329. end))
  2330. end
  2331. end
  2332. Swait(SWAIT + 110)
  2333. HOLDER:remove()
  2334. end))
  2335. end
  2336. function Soul(POS)
  2337. coroutine.resume(coroutine.create(function()
  2338. local SOULMODEL = IT("Model", Effects)
  2339. SOULMODEL.Name = "Soul"
  2340. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Part", VT(0.5, 0.5, 0.5))
  2341. SOUL.Color = C3(0, 0, 0)
  2342. SOUL.CFrame = CF(POS)
  2343. local A1 = IT("Attachment", SOUL)
  2344. A1.Position = Vector3.new(0, 0.25, 0)
  2345. local A2 = IT("Attachment", SOUL)
  2346. A2.Position = Vector3.new(0, -0.25, 0)
  2347. local Trail = IT("Trail", SOUL)
  2348. Trail.LightEmission = 0
  2349. Trail.FaceCamera = true
  2350. Trail.Texture = "rbxassetid://945758042"
  2351. Trail.Attachment0 = A1
  2352. Trail.Attachment1 = A2
  2353. Trail.Lifetime = 0.5
  2354. Trail.MinLength = 0
  2355. Trail.Transparency = NumberSequence.new(0)
  2356. Trail.Color = ColorSequence.new(SOUL.Color)
  2357. MakeForm(SOUL, "Ball")
  2358. local DISTANCE
  2359. local HUM = IT("Humanoid", SOULMODEL)
  2360. repeat
  2361. Swait()
  2362. SOUL.CFrame = Clerp(SOUL.CFrame, Torso.CFrame, 0.03)
  2363. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  2364. until DISTANCE < 0.4
  2365. SOUL.Transparency = 1
  2366. A1.Parent = Torso
  2367. A2.Parent = Torso
  2368. Trail.Parent = Torso
  2369. SOULMODEL:remove()
  2370. for i = 1, 100 do
  2371. Swait()
  2372. Trail.Transparency = NumberSequence.new(i / 100)
  2373. end
  2374. A1:remove()
  2375. A2:remove()
  2376. Trail:remove()
  2377. end))
  2378. end
  2379. function Blob(POSITION, RANGE)
  2380. for index, CHILD in pairs(workspace:GetChildren()) do
  2381. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD:FindFirstChild("AbsylumDrag") == nil then
  2382. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2383. if HUM then
  2384. do
  2385. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2386. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2387. do
  2388. local HITFLOOR, HITPOS = Raycast(TORSO.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, TORSO.Size.Y * 3, CHILD)
  2389. if HITFLOOR and HITFLOOR.Anchored == true then
  2390. TORSO.Anchored = true
  2391. CHILD.PrimaryPart = TORSO
  2392. coroutine.resume(coroutine.create(function()
  2393. local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "AbsylumFloor", VT(0, 0, 0), true)
  2394. FLOOR.Color = C3(0, 0, 0)
  2395. MakeForm(FLOOR, "Cyl")
  2396. FLOOR.CFrame = CF(HITPOS)
  2397. local E = IT("Folder", CHILD)
  2398. E.Name = "AbsylumDrag"
  2399. for i = 1, 35 do
  2400. Swait()
  2401. FLOOR.Size = FLOOR.Size + VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
  2402. end
  2403. local SOUND = CreateSound(838038142, FLOOR, 0, MRANDOM(8, 12) / 10, false)
  2404. repeat
  2405. Swait()
  2406. SOUND.Parent = FLOOR
  2407. SOUND.Volume = SOUND.Volume + 0.08888888888888889
  2408. CHILD:SetPrimaryPartCFrame(TORSO.CFrame * CF(0, -0.05, 0))
  2409. until TORSO.Position.Y < FLOOR.Position.Y - 2.3 * TORSO.Size.Z
  2410. for _, c in pairs(CHILD:GetChildren()) do
  2411. if c.ClassName == "Accessory" or c.ClassName == "Tool" or c.ClassName == "Hat" then
  2412. local H = c:FindFirstChild("Handle")
  2413. if H then
  2414. H.CanCollide = true
  2415. H.Parent = workspace
  2416. H.CFrame = TORSO.CFrame * CF(0, TORSO.Size.Y * 1.2, 0)
  2417. Debris:AddItem(H, 5)
  2418. end
  2419. end
  2420. end
  2421. CHILD:Remove()
  2422. local VOLUME = SOUND.Volume
  2423. for i = 1, 35 do
  2424. Swait()
  2425. SOUND.Volume = SOUND.Volume - VOLUME / 35
  2426. FLOOR.Size = FLOOR.Size - VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
  2427. end
  2428. Soul(FLOOR.Position)
  2429. SOUND:Stop()
  2430. FLOOR:remove()
  2431. end))
  2432. end
  2433. end
  2434. end
  2435. end
  2436. end
  2437. end
  2438. end
  2439. end
  2440. function Banishtele()
  2441. local POS = Mouse.Hit.p + VT(0, 4, 0)
  2442. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2443. if HITFLOOR and HITFLOOR.Anchored == true then
  2444. ATTACK = true
  2445. Rooted = true
  2446. do
  2447. local CLERPTO = CF(POS, VT(RootPart.Position.X, POS.Y, RootPart.Position.Z))
  2448. UNANCHOR = false
  2449. for i = 0, 0.3, 0.1 / Animation_Speed do
  2450. Swait()
  2451. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2452. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2453. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2454. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(25 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2455. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2456. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2457. end
  2458. for i = 1, 70 do
  2459. Swait()
  2460. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(180), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), i / 70 / 2 / Animation_Speed)
  2461. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2462. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, i / 70 / 2 / Animation_Speed)
  2463. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, i / 70 / 2 / Animation_Speed)
  2464. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), i / 70 / 2 / Animation_Speed)
  2465. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), i / 70 / 2 / Animation_Speed)
  2466. end
  2467. for i = 0, 0.6, 0.1 / Animation_Speed do
  2468. Swait()
  2469. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -7) * ANGLES(RAD(180), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 0.5 / Animation_Speed)
  2470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2475. end
  2476. CreateSound(1110489303, FLOOR, 7, 0.7, false)
  2477. local NEWFLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(15, 0, 15), true)
  2478. NEWFLOOR.Color = C3(0, 0, 0)
  2479. MakeForm(NEWFLOOR, "Cyl")
  2480. coroutine.resume(coroutine.create(function()
  2481. for i = 1, 450 do
  2482. Swait()
  2483. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  2484. NEWFLOOR.Size = VT(15, 0, 15) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
  2485. end
  2486. local SIZE = NEWFLOOR.Size.X
  2487. for i = 1, 70 do
  2488. Swait()
  2489. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  2490. NEWFLOOR.Size = NEWFLOOR.Size - VT(SIZE / 70, 0, SIZE / 70)
  2491. end
  2492. NEWFLOOR:remove()
  2493. end))
  2494. for _, c in pairs(Character:GetChildren()) do
  2495. if c:IsA("BasePart") and c ~= RootPart then
  2496. c.Transparency = 1
  2497. end
  2498. end
  2499. for i = 1, 170 do
  2500. Swait()
  2501. RootPart.CFrame = Clerp(RootPart.CFrame, CLERPTO, 0.05)
  2502. end
  2503. for _, c in pairs(Character:GetChildren()) do
  2504. if c:IsA("BasePart") and c ~= RootPart then
  2505. c.Transparency = 0
  2506. end
  2507. end
  2508. CreateSound(649634100, Head, 4, 0.8, false)
  2509. for i = 0, 0.3, 0.1 / Animation_Speed do
  2510. Swait()
  2511. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  2512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  2513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2515. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-33 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2516. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-33 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2517. end
  2518. for i = 0, 0.6, 0.1 / Animation_Speed do
  2519. Swait()
  2520. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  2521. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  2522. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2523. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2524. 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)), 0.3 / Animation_Speed)
  2525. 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)), 0.3 / Animation_Speed)
  2526. end
  2527. UNANCHOR = true
  2528. ATTACK = false
  2529. Rooted = false
  2530. end
  2531. end
  2532. end
  2533. function Open()
  2534. ATTACK = true
  2535. Rooted = true
  2536. HOLE = true
  2537. CreateSound(649634100, Head, 4, 0.8, false)
  2538. for i = 0, 1, 0.1 / Animation_Speed do
  2539. Swait()
  2540. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -2) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  2541. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2543. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2544. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2545. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2546. end
  2547. coroutine.resume(coroutine.create(function()
  2548. for i = 1, 280 do
  2549. Swait()
  2550. SIZE = SIZE + 0.5
  2551. WACKYEFFECT({
  2552. Time = 15,
  2553. EffectType = "Wave",
  2554. Size = FLOOR.Size / 2,
  2555. Size2 = FLOOR.Size * 1.02,
  2556. Transparency = 0.8,
  2557. Transparency2 = 1,
  2558. CFrame = CF(FLOOR.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2559. MoveToPos = nil,
  2560. RotationX = 0,
  2561. RotationY = 2,
  2562. RotationZ = 0,
  2563. Material = "Neon",
  2564. Color = C3(0, 0, 0),
  2565. SoundID = nil,
  2566. SoundPitch = nil,
  2567. SoundVolume = nil
  2568. })
  2569. end
  2570. wait(10)
  2571. for i = 1, 560 do
  2572. Swait()
  2573. SIZE = SIZE - 0.25
  2574. end
  2575. HOLE = false
  2576. end))
  2577. for i = 0, 0.2, 0.1 / Animation_Speed do
  2578. Swait()
  2579. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -2) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(35 + 2.5 * SIN(SINE / 12))), 0.3 / Animation_Speed)
  2580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2583. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2585. end
  2586. ATTACK = false
  2587. Rooted = false
  2588. end
  2589. function Wave()
  2590. ATTACK = true
  2591. Rooted = false
  2592. for i = 0, 0.2, 0.1 / Animation_Speed do
  2593. Swait()
  2594. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2595. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2596. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(160), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2597. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2598. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2599. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2600. end
  2601. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2602. if HITFLOOR and HITFLOOR.Anchored == true then
  2603. do
  2604. local NEWFLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(0, 0, 0), true)
  2605. NEWFLOOR.Color = C3(0, 0, 0)
  2606. MakeForm(NEWFLOOR, "Cyl")
  2607. NEWFLOOR.CFrame = CF(HITPOS)
  2608. CreateSound(1110489303, NEWFLOOR, 4, 1, false)
  2609. coroutine.resume(coroutine.create(function()
  2610. for i = 1, 25 do
  2611. Swait()
  2612. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  2613. NEWFLOOR.Size = NEWFLOOR.Size + VT(0.6, 0, 0.6)
  2614. end
  2615. for i = 1, 450 do
  2616. Swait()
  2617. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  2618. NEWFLOOR.Size = VT(15, 0, 15) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
  2619. end
  2620. local SIZE = NEWFLOOR.Size.X
  2621. for i = 1, 70 do
  2622. Swait()
  2623. Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
  2624. NEWFLOOR.Size = NEWFLOOR.Size - VT(SIZE / 70, 0, SIZE / 70)
  2625. end
  2626. NEWFLOOR:remove()
  2627. end))
  2628. end
  2629. end
  2630. for i = 0, 0.3, 0.1 / Animation_Speed do
  2631. Swait()
  2632. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2633. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2634. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(45), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2635. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2636. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2637. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2638. end
  2639. ATTACK = false
  2640. Rooted = false
  2641. end
  2642.  
  2643. function RAGEOUTBURST()
  2644. ATTACK = true
  2645. Rooted = true
  2646. local CHARGE = false
  2647. local BLASTS = {468991944, 468991990}
  2648. coroutine.resume(coroutine.create(function()
  2649. repeat
  2650. Swait()
  2651. 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)
  2652. 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)
  2653. 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)
  2654. 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)
  2655. 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)
  2656. 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)
  2657. until CHARGE == true
  2658. for i = 0, 0.4, 0.1 / Animation_Speed do
  2659. Swait()
  2660. WACKYEFFECT({
  2661. Time = 15,
  2662. EffectType = "Sphere",
  2663. Size = VT(60, 60, 60),
  2664. Size2 = VT(0, 0, 0),
  2665. Transparency = 1,
  2666. Transparency2 = 0.7,
  2667. CFrame = CF(RootPart.Position),
  2668. MoveToPos = nil,
  2669. RotationX = 0,
  2670. RotationY = 0,
  2671. RotationZ = 0,
  2672. Material = "Neon",
  2673. Color = BRICKC(CHOSENBRICK).Color,
  2674. SoundID = nil,
  2675. SoundPitch = nil,
  2676. SoundVolume = nil
  2677. })
  2678. 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)
  2679. 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)
  2680. 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)
  2681. 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)
  2682. 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)
  2683. 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)
  2684. end
  2685. coroutine.resume(coroutine.create(function()
  2686. local POS = RootPart.Position
  2687. wait(0.2)
  2688. for i = 1, 5 do
  2689. WACKYEFFECT({
  2690. Time = 65,
  2691. EffectType = "Sphere",
  2692. Size = VT(2, 2, 2),
  2693. Size2 = VT(0, 0, 500),
  2694. Transparency = 1,
  2695. Transparency2 = 0,
  2696. CFrame = CF(POS),
  2697. MoveToPos = nil,
  2698. RotationX = MRANDOM(-2, 2),
  2699. RotationY = MRANDOM(-12, 12),
  2700. RotationZ = MRANDOM(-2, 2),
  2701. Material = "Neon",
  2702. Color = BRICKC(CHOSENBRICK).Color,
  2703. SoundID = nil,
  2704. SoundPitch = nil,
  2705. SoundVolume = nil
  2706. })
  2707. end
  2708. wait(1)
  2709. ApplyAoE(POS, 450)
  2710. WACKYEFFECT({
  2711. Time = 85,
  2712. EffectType = "Sphere",
  2713. Size = VT(120, 120, 120),
  2714. Size2 = VT(350, 350, 350),
  2715. Transparency = 0,
  2716. Transparency2 = 1,
  2717. CFrame = CF(POS),
  2718. MoveToPos = nil,
  2719. RotationX = 0,
  2720. RotationY = 0,
  2721. RotationZ = 0,
  2722. Material = "Neon",
  2723. Color = BRICKC(CHOSENBRICK).Color,
  2724. SoundID = nil,
  2725. SoundPitch = 1,
  2726. SoundVolume = 10
  2727. })
  2728. for i = 1, 20 do
  2729. WACKYEFFECT({
  2730. Time = 85,
  2731. EffectType = "Sphere",
  2732. Size = VT(120, 120, 120),
  2733. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2734. Transparency = 0.8,
  2735. Transparency2 = 1,
  2736. CFrame = CF(POS),
  2737. MoveToPos = nil,
  2738. RotationX = 0,
  2739. RotationY = 0,
  2740. RotationZ = 0,
  2741. Material = "Neon",
  2742. Color = BRICKC(CHOSENBRICK).Color,
  2743. SoundID = nil,
  2744. SoundPitch = 1,
  2745. SoundVolume = 10
  2746. })
  2747. WACKYEFFECT({
  2748. Time = 100,
  2749. EffectType = "Wave",
  2750. Size = VT(25, 2, 25),
  2751. Size2 = VT(400, 0, 400) * 1.2,
  2752. Transparency = 0,
  2753. Transparency2 = 1,
  2754. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2755. MoveToPos = nil,
  2756. RotationX = 0,
  2757. RotationY = 0,
  2758. RotationZ = 0,
  2759. Material = "Neon",
  2760. Color = BRICKC(CHOSENBRICK).Color,
  2761. SoundID = nil,
  2762. SoundPitch = nil,
  2763. SoundVolume = nil
  2764. })
  2765. end
  2766. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2767. for i = 1, 5 do
  2768. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2769. WACKYEFFECT({
  2770. Time = 120,
  2771. EffectType = "Wave",
  2772. Size = VT(150, 2, 150),
  2773. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2774. Transparency = 0,
  2775. Transparency2 = 1,
  2776. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2777. MoveToPos = nil,
  2778. RotationX = 0,
  2779. RotationY = 0,
  2780. RotationZ = 0,
  2781. Material = "Neon",
  2782. Color = BRICKC(CHOSENBRICK).Color,
  2783. SoundID = nil,
  2784. SoundPitch = nil,
  2785. SoundVolume = nil
  2786. })
  2787. end
  2788. end))
  2789. for i = 0, 1, 0.1 / Animation_Speed do
  2790. Swait()
  2791. 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)
  2792. 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)
  2793. 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)
  2794. 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)
  2795. 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)
  2796. 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)
  2797. end
  2798. ATTACK = false
  2799. Rooted = false
  2800. end))
  2801. for i = 1, 30 do
  2802. wait(0.01)
  2803. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2804. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2805. if HITFLOOR then
  2806. ApplyAoE(HITPOS, 65, true)
  2807. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2808. WACKYEFFECT({
  2809. Time = 25,
  2810. EffectType = "Sphere",
  2811. Size = VT(22, 22, 22),
  2812. Size2 = VT(85, 85, 85),
  2813. Transparency = 0,
  2814. Transparency2 = 1,
  2815. CFrame = CF(HITPOS),
  2816. MoveToPos = nil,
  2817. RotationX = 0,
  2818. RotationY = 0,
  2819. RotationZ = 0,
  2820. Material = "Neon",
  2821. Color = BRICKC(CHOSENBRICK).Color,
  2822. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2823. SoundPitch = MRANDOM(9, 12) / 10,
  2824. SoundVolume = 10
  2825. })
  2826. for e = 1, 3 do
  2827. WACKYEFFECT({
  2828. EffectType = "Wave",
  2829. Size = VT(25, 0, 25),
  2830. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2831. Transparency = 0,
  2832. Transparency2 = 1,
  2833. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2834. MoveToPos = nil,
  2835. RotationX = 0,
  2836. RotationY = 3,
  2837. RotationZ = 0,
  2838. Material = "Neon",
  2839. Color = BRICKC(CHOSENBRICK).Color,
  2840. SoundID = nil,
  2841. SoundPitch = nil,
  2842. SoundVolume = nil
  2843. })
  2844. WACKYEFFECT({
  2845. Time = 35,
  2846. EffectType = "Sphere",
  2847. Size = VT(22, 45, 22),
  2848. Size2 = VT(25, 45 + e * 75, 25),
  2849. Transparency = 0,
  2850. Transparency2 = 1,
  2851. CFrame = CF(HITPOS) * TURN,
  2852. MoveToPos = nil,
  2853. RotationX = 0,
  2854. RotationY = 0,
  2855. RotationZ = 0,
  2856. Material = "Neon",
  2857. Color = BRICKC(CHOSENBRICK).Color,
  2858. SoundID = nil,
  2859. SoundPitch = MRANDOM(9, 12) / 10,
  2860. SoundVolume = 10
  2861. })
  2862. end
  2863. end
  2864. end
  2865. CHARGE = true
  2866. end
  2867.  
  2868. --//=================================\\
  2869. --|| ASSIGN THINGS TO KEYS
  2870. --\\=================================//
  2871.  
  2872. function MouseDown(Mouse)
  2873. if ATTACK == false then
  2874. end
  2875. end
  2876.  
  2877. function MouseUp(Mouse)
  2878. HOLD = false
  2879. end
  2880.  
  2881.  
  2882.  
  2883.  
  2884. function KeyDown(Key)
  2885. KEYHOLD = true
  2886. if Key == "z" and ATTACK == false then
  2887. if CHOSENBRICK == "Royal purple" then
  2888. Chain()
  2889. elseif CHOSENBRICK == "Earth green" then
  2890. PowerOutburst()
  2891. elseif CHOSENBRICK == "Really red" then
  2892. BanishBullet()
  2893. elseif CHOSENBRICK == "New Yeller" then
  2894. Morning_Star()
  2895. elseif CHOSENBRICK == "Carnation pink" then
  2896. kiss()
  2897. elseif CHOSENBRICK == "Really black" then
  2898. Wave()
  2899. elseif CHOSENBRICK == "White" then
  2900. LightArray()
  2901. elseif CHOSENBRICK == "Teal" then
  2902.  
  2903. end
  2904. end
  2905.  
  2906. if Key == "v" and ATTACK == false then
  2907. if CHOSENBRICK == "Royal purple" then
  2908. MegaChain()
  2909. elseif CHOSENBRICK == "Earth green" then
  2910. RadioactiveSludge()
  2911. elseif CHOSENBRICK == "Really red" then
  2912. Banishtele()
  2913. elseif CHOSENBRICK == "New Yeller" then
  2914. Deathbound()
  2915. elseif CHOSENBRICK == "Carnation pink" then
  2916. friend()
  2917. elseif CHOSENBRICK == "Really black" then
  2918. Open()
  2919. elseif CHOSENBRICK == "White" then
  2920. Oblivion()
  2921. elseif CHOSENBRICK == "Teal" then
  2922. RAGEOUTBURST()
  2923. return
  2924. end
  2925. end
  2926. if Key == "c" and ATTACK == false then
  2927. if CHOSENBRICK == "Royal purple" then
  2928. CHOSENBRICK = "Earth green"
  2929. elseif CHOSENBRICK == "Earth green" then
  2930. CHOSENBRICK = "Really red"
  2931. elseif CHOSENBRICK == "Really red" then
  2932. CHOSENBRICK = "New Yeller"
  2933. elseif CHOSENBRICK == "New Yeller" then
  2934. CHOSENBRICK = "Carnation pink"
  2935. elseif CHOSENBRICK == "Carnation pink" then
  2936. CHOSENBRICK = "Really black"
  2937. elseif CHOSENBRICK == "Really black" then
  2938. CHOSENBRICK = "White"
  2939. elseif CHOSENBRICK == "White" then
  2940. CHOSENBRICK = "Teal"
  2941. elseif CHOSENBRICK == "Teal" then
  2942. CHOSENBRICK = "Royal purple"
  2943. end
  2944. end
  2945.  
  2946. if Key == "e" and ATTACK == false then
  2947. if CHOSENBRICK == "Really red" then
  2948. TOBANISH = {}
  2949. end
  2950. end
  2951.  
  2952. if Key == "t" and ATTACK == false then
  2953. Taunt()
  2954. end
  2955. if Key == "q" and ATTACK == false then
  2956. Dark_blade()
  2957. end
  2958. end
  2959.  
  2960. function KeyUp(Key)
  2961. KEYHOLD = false
  2962. end
  2963.  
  2964. Mouse.Button1Down:connect(function(NEWKEY)
  2965. MouseDown(NEWKEY)
  2966. end)
  2967. Mouse.Button1Up:connect(function(NEWKEY)
  2968. MouseUp(NEWKEY)
  2969. end)
  2970. Mouse.KeyDown:connect(function(NEWKEY)
  2971. KeyDown(NEWKEY)
  2972. end)
  2973. Mouse.KeyUp:connect(function(NEWKEY)
  2974. KeyUp(NEWKEY)
  2975. end)
  2976.  
  2977. --//=================================\\
  2978. --\\=================================//
  2979. function refit()
  2980. RootJoint.Parent = RootPart
  2981. Neck.Parent = Torso
  2982. RightShoulder.Parent = Torso
  2983. LeftShoulder.Parent = Torso
  2984. RightHip.Parent = Torso
  2985. LeftHip.Parent = Torso
  2986. RootPart.Parent = Character
  2987. LeftArm.Parent = Character
  2988. RightArm.Parent = Character
  2989. RightLeg.Parent = Character
  2990. LeftLeg.Parent = Character
  2991. Torso.Parent = Character
  2992. Head.Parent = Character
  2993. end
  2994.  
  2995. Humanoid.Died:connect(function()
  2996. refit()
  2997. end)
  2998. refit()
  2999. function unanchor()
  3000. if UNANCHOR == true then
  3001. local g = Character:GetChildren()
  3002. for i = 1, #g do
  3003. if g[i].ClassName == "Part" then
  3004. g[i].Anchored = false
  3005. end
  3006. end
  3007. end
  3008. end
  3009.  
  3010.  
  3011. --//=================================\\
  3012. --|| WRAP THE WHOLE SCRIPT UP
  3013. --\\=================================//
  3014. Humanoid.Changed:connect(function(Jump)
  3015. if Jump == "Jump" and (Disable_Jump == true) then
  3016. Humanoid.Jump = false
  3017. end
  3018. end)
  3019.  
  3020. while true do
  3021. Swait()
  3022. ANIMATE.Parent = nil
  3023. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3024. IDLEANIMATION:Play()
  3025. SINE = SINE + CHANGE
  3026. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3027. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3028. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3029. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3030. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3031. hf, hp, no = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  3032. if HITFLOOR then
  3033. HITFLOOR2, HITPOS2 = Raycast(FLOOR.Position + VT(0, 0.2, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2, Character)
  3034. if HITFLOOR2 then
  3035. FLOOR.Transparency = 0
  3036. else
  3037. FLOOR.Transparency = 1
  3038. end
  3039. FLOOR.CFrame = Clerp(FLOOR.CFrame, CF(hp, hp + no) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.1)
  3040. Blob(FLOOR.Position, FLOOR.Size.X / 2)
  3041. end
  3042. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3043. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3044. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3045. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3046. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3047. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3048. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3049. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3050. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3051. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3052. end
  3053. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3054. ANIM = "Jump"
  3055. if ATTACK == false then
  3056. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3060. 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)
  3061. 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)
  3062. end
  3063. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3064. ANIM = "Fall"
  3065. if ATTACK == false then
  3066. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3070. 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)
  3071. 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)
  3072. end
  3073. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3074. ANIM = "Idle"
  3075. if ATTACK == false then
  3076. 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)
  3077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*Player_Size, 0.5*Player_Size, -1*Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*Player_Size, 0.2*Player_Size, -0.5*Player_Size) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3080. 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)
  3081. 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)
  3082. end
  3083. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3084. ANIM = "Walk"
  3085. WALK = WALK + 1 / Animation_Speed
  3086. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3087. WALK = 0
  3088. if WALKINGANIM == true then
  3089. WALKINGANIM = false
  3090. elseif WALKINGANIM == false then
  3091. WALKINGANIM = true
  3092. end
  3093. end
  3094. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3095. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3096. if ATTACK == false then
  3097. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3098. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*Player_Size, 0.5*Player_Size, -1*Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*Player_Size, 0.2*Player_Size, -0.5*Player_Size) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3101. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3102. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3103. end
  3104. end
  3105. unanchor()
  3106. Humanoid.MaxHealth = "inf"
  3107. Humanoid.Health = "inf"
  3108. if Rooted == false then
  3109. Disable_Jump = false
  3110. Humanoid.WalkSpeed = Speed
  3111. elseif Rooted == true then
  3112. Disable_Jump = true
  3113. Humanoid.WalkSpeed = 0
  3114. end
  3115. sick.Parent = Character
  3116.  
  3117. if Head:FindFirstChild("face") and ATTACK == false then
  3118. Head.face.Texture = "rbxassetid://1297067294"
  3119. end
  3120. for _, c in pairs(Weapon:GetChildren()) do
  3121. if c.Name == "Eon" then
  3122. c.BrickColor = BRICKC(CHOSENBRICK)
  3123. end
  3124. end
  3125. FLOOR.Color = BRICKC(CHOSENBRICK).Color
  3126. if CHOSENBRICK == "Carnation pink" then
  3127. SKILL1TEXT.TextColor3 = BrickColor.Random().Color
  3128. SKILL2TEXT.TextColor3 = BrickColor.Random().Color
  3129. EYE1.Color = BrickColor.Random().Color
  3130. EYE2.Color = BrickColor.Random().Color
  3131. elseif CHOSENBRICK == "White" then
  3132. SKILL1TEXT.TextColor3 = BRICKC("White").Color
  3133. SKILL2TEXT.TextColor3 = BRICKC("Really black").Color
  3134. EYE2.Color = BRICKC("White").Color
  3135. EYE1.Color = BRICKC("Really black").Color
  3136. else
  3137. SKILL1TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  3138. SKILL2TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  3139. EYE1.Color = BRICKC(CHOSENBRICK).Color
  3140. EYE2.Color = BRICKC(CHOSENBRICK).Color
  3141. end
  3142. for i, v in pairs(Character:GetChildren()) do
  3143. if v.ClassName == "CharacterMesh" then
  3144. v:Remove()
  3145. end
  3146. end
  3147. if CHOSENBRICK == "Royal purple" then
  3148. SKILL1TEXT.Text = "[Z] Corrupted Chains"
  3149. SKILL2TEXT.Text = "[V] Server Error"
  3150. sick.SoundId = "rbxassetid://1509634377"
  3151. sick.Pitch = 1
  3152. RecolorTextAndRename("₵ØⱤⱤɄP₮łØN",Color3.fromRGB(98, 37, 209),Color3.fromRGB(0,0,0))
  3153. elseif CHOSENBRICK == "Earth green" then
  3154. SKILL1TEXT.Text = "[Z] CHAOS STUN"
  3155. SKILL2TEXT.Text = "[V] CHAOS Explosion"
  3156. sick.SoundId = "rbxassetid://402948310"
  3157. sick.Pitch = 1
  3158. RecolorTextAndRename("₵Ⱨ₳Ø₴",Color3.new(0,0,0),Color3.new(39,70,45))
  3159. elseif CHOSENBRICK == "Really red" then
  3160. SKILL1TEXT.Text = "[Z] Say Our Goodbyes."
  3161. SKILL2TEXT.Text = "[V] Teleport"
  3162. SKILL4FRAME.Transparency = 0.5
  3163. SKILL4TEXT.TextTransparency = 0
  3164. sick.SoundId = "rbxassetid://458740896"
  3165. sick.Pitch = 0.9
  3166. RecolorTextAndRename("GØØĐBɎɆ",Color3.new(0,0,0),Color3.new(151,0,0))
  3167. elseif CHOSENBRICK == "Carnation pink" then
  3168. SKILL1TEXT.Text = "[Z] ~Gay Kizzu"
  3169. SKILL2TEXT.Text = "[V] ~Leaving Your Mark"
  3170. sick.SoundId = "rbxassetid://916843842"
  3171. sick.Pitch = 3
  3172. RecolorTextAndRename("G₳Ɏ",BrickColor.Random().Color,BrickColor.Random().Color)
  3173. elseif CHOSENBRICK == "New Yeller" then
  3174. SKILL1TEXT.Text = "[Z] Morning Star"
  3175. SKILL2TEXT.Text = "[V] DeathGround"
  3176. SKILL4FRAME.Transparency = 1
  3177. SKILL4TEXT.TextTransparency = 1
  3178. sick.SoundId = "rbxassetid://971019793"
  3179. sick.Pitch = 1
  3180. RecolorTextAndRename("ⱠØVɆ",Color3.new(0,0,0),Color3.new(255,255,0))
  3181. elseif CHOSENBRICK == "Really black" then
  3182. SKILL1TEXT.Text = "[Z] Cyber Ground"
  3183. SKILL2TEXT.Text = "[V] Data Burst"
  3184. sick.SoundId = "rbxassetid://1383202399"
  3185. sick.Pitch = 1
  3186. EYE2.Transparency = 1
  3187. RecolorTextAndRename("ɆⱠɆ₵TⱤØ",Color3.fromRGB(11, 21, 13),BrickColor.Random().Color)
  3188. elseif CHOSENBRICK == "White" then
  3189. SKILL1TEXT.Text = "[Z] Light"
  3190. SKILL2TEXT.Text = "[V] Oblivion"
  3191. sick.SoundId = "rbxassetid://580679750"
  3192. sick.Pitch = 1
  3193. EYE2.Transparency = 0
  3194. RecolorTextAndRename("ɆQɄ₳Ⱡł₮Ɏ",Color3.new(1,1,1),Color3.new(0,0,0))
  3195. elseif CHOSENBRICK == "Teal" then
  3196. SKILL1TEXT.Text = "[Z] ERRROR"
  3197. SKILL2TEXT.Text = "[V] OUTBURST OF RAGE"
  3198. sick.SoundId = "rbxassetid://1919071121"
  3199. sick.Pitch = 1
  3200. RecolorTextAndRename("₵ⱤɎłNG ₴ØɄⱠ",Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,0))
  3201. end
  3202. end
  3203.  
  3204. --//=================================\\
  3205. --\\=================================//
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211. --//====================================================\\--
  3212. --|| END OF SCRIPT
  3213. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement