PerpetualZblack

Untitled

Mar 23rd, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.52 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. 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()}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;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 t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)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 self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({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")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5.  
  6.  
  7. --//====================================================\\--
  8. --|| EDIT by Penien23
  9. --\\====================================================//--
  10.  
  11. Player = game.Players.LocalPlayer
  12. Character = Player.Character
  13. local txt = Instance.new("BillboardGui", Character)
  14. txt.Adornee = Character.Head
  15. txt.Name = "_status"
  16. txt.Size = UDim2.new(2, 0, 1.2, 0)
  17. txt.StudsOffset = Vector3.new(-9, 8, 0)
  18. local text = Instance.new("TextLabel", txt)
  19. text.Size = UDim2.new(10, 0, 7, 0)
  20. text.FontSize = "Size24"
  21. text.TextScaled = true
  22. text.TextTransparency = 0
  23. text.BackgroundTransparency = 1
  24. text.TextTransparency = 0
  25. text.TextStrokeTransparency = 0
  26. text.Font = "Antique"
  27. text.TextStrokeColor3 = Color3.new(160,0,0)
  28. text.Text = "TANK"
  29. print("Edited by Penien23")
  30.  
  31. --//====================================================\\--
  32. --|| CREATED BY SHACKLUSTER
  33. --\\====================================================//--
  34. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  35. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  36. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  37. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  38. local dmg = math.random(min,max)
  39. if humanoid.Health > 0 then
  40. if beserk == true then
  41. humanoid.Health = 0
  42. else
  43. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  44. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  45. if math.random(1,100) < critrate+ 1 then
  46. humanoid.Health = humanoid.Health - dmg*critmultiplier
  47. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  48. else
  49. humanoid.Health = humanoid.Health - dmg
  50. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  51. end
  52. local defence = Instance.new("BoolValue",hit.Parent)
  53. defence.Name = ("HitBy"..Player.Name)
  54. game:GetService("Debris"):AddItem(defence, 0.5)
  55. end
  56. end
  57. end
  58. end
  59. function turnto(position)
  60. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  61. end
  62. Player = game:GetService("Players").LocalPlayer
  63. PlayerGui = Player.PlayerGui
  64. Cam = workspace.CurrentCamera
  65. Backpack = Player.Backpack
  66. Character = Player.Character
  67. Humanoid = Character.Humanoid
  68. Humanoid.Name = "Six Tank is error :(:"
  69. Mouse = Player:GetMouse()
  70. RootPart = Character["HumanoidRootPart"]
  71. Torso = Character["Torso"]
  72. Head = Character["Head"]
  73. RightArm = Character["Right Arm"]
  74. LeftArm = Character["Left Arm"]
  75. RightLeg = Character["Right Leg"]
  76. LeftLeg = Character["Left Leg"]
  77. RootJoint = RootPart["RootJoint"]
  78. Neck = Torso["Neck"]
  79. RightShoulder = Torso["Right Shoulder"]
  80. LeftShoulder = Torso["Left Shoulder"]
  81. RightHip = Torso["Right Hip"]
  82. LeftHip = Torso["Left Hip"]
  83. local sick = Instance.new("Sound",Character)
  84. sick.SoundId = "rbxassetid://1140435341"
  85. sick.Looped = true
  86. sick.Pitch = 1
  87. sick.Volume = 50
  88. sick:Play()
  89.  
  90.  
  91. IT = Instance.new
  92. CF = CFrame.new
  93. VT = Vector3.new
  94. RAD = math.rad
  95. C3 = Color3.new
  96. UD2 = UDim2.new
  97. BRICKC = BrickColor.new
  98. ANGLES = CFrame.Angles
  99. EULER = CFrame.fromEulerAnglesXYZ
  100. COS = math.cos
  101. ACOS = math.acos
  102. SIN = math.sin
  103. ASIN = math.asin
  104. ABS = math.abs
  105. MRANDOM = math.random
  106. FLOOR = math.floor
  107.  
  108. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  109. local NEWMESH = IT(MESH)
  110. if MESH == "SpecialMesh" then
  111. NEWMESH.MeshType = MESHTYPE
  112. if MESHID ~= "nil" and MESHID ~= "" then
  113. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  114. end
  115. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  116. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  117. end
  118. end
  119. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  120. NEWMESH.Scale = SCALE
  121. NEWMESH.Parent = PARENT
  122. return NEWMESH
  123. end
  124.  
  125. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  126. local NEWPART = IT("Part")
  127. NEWPART.formFactor = FORMFACTOR
  128. NEWPART.Reflectance = REFLECTANCE
  129. NEWPART.Transparency = TRANSPARENCY
  130. NEWPART.CanCollide = false
  131. NEWPART.Locked = true
  132. NEWPART.Anchored = true
  133. if ANCHOR == false then
  134. NEWPART.Anchored = false
  135. end
  136. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  137. NEWPART.Name = NAME
  138. NEWPART.Size = SIZE
  139. NEWPART.Position = Torso.Position
  140. NEWPART.Material = MATERIAL
  141. NEWPART:BreakJoints()
  142. NEWPART.Parent = PARENT
  143. return NEWPART
  144. end
  145.  
  146.  
  147. --//=================================\\
  148. --|| CUSTOMIZATION
  149. --\\=================================//
  150.  
  151. Player_Size = 5 --Size of the player.
  152. Animation_Speed = 3
  153. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  154.  
  155. local Speed = 16
  156. local Effects2 = {}
  157.  
  158. --//=================================\\
  159. --|| END OF CUSTOMIZATION
  160. --\\=================================//
  161.  
  162. local function weldBetween(a, b)
  163. local weldd = Instance.new("ManualWeld")
  164. weldd.Part0 = a
  165. weldd.Part1 = b
  166. weldd.C0 = CFrame.new()
  167. weldd.C1 = b.CFrame:inverse() * a.CFrame
  168. weldd.Parent = a
  169. return weldd
  170. end
  171.  
  172. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  173. local acs = Instance.new("Part")
  174. acs.CanCollide = false
  175. acs.Anchored = false
  176. acs.Size = Vector3.new(0,0,0)
  177. acs.CFrame = attachmentpart.CFrame
  178. acs.Parent = Character
  179. acs.BrickColor = color
  180. local meshs = Instance.new("SpecialMesh")
  181. meshs.MeshId = mesh
  182. meshs.TextureId = texture
  183. meshs.Parent = acs
  184. meshs.Scale = scale
  185. meshs.Offset = offset
  186. weldBetween(attachmentpart,acs)
  187. end
  188.  
  189. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  190. if TYPE == "Gem" then
  191. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  192. acs.Anchored = false
  193. acs.CanCollide = false
  194. acs.CFrame = PART.CFrame
  195. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  196. weldBetween(PART,acs)
  197. elseif TYPE == "Skull" then
  198. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  199. acs.Anchored = false
  200. acs.CanCollide = false
  201. acs.CFrame = PART.CFrame
  202. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  203. weldBetween(PART,acs)
  204. elseif TYPE == "Eye" then
  205. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  206. acs.Anchored = false
  207. acs.CanCollide = false
  208. acs.CFrame = PART.CFrame
  209. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  210. weldBetween(PART,acs)
  211. end
  212. end
  213.  
  214. --//=================================\\
  215. --|| USEFUL VALUES
  216. --\\=================================//
  217.  
  218. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  219. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  220. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  221. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  222. local CHANGEDEFENSE = 0
  223. local CHANGEDAMAGE = 0
  224. local CHANGEMOVEMENT = 0
  225. local ANIM = "Idle"
  226. local ATTACK = false
  227. local EQUIPPED = false
  228. local HOLD = false
  229. local COMBO = 1
  230. local Rooted = false
  231. local SINE = 0
  232. local KEYHOLD = false
  233. local CHANGE = 2 / Animation_Speed
  234. local WALKINGANIM = false
  235. local WALK = 0
  236. local VALUE1 = false
  237. local VALUE2 = false
  238.  
  239. local ROBLOXIDLEANIMATION = IT("Animation")
  240. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  241. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  242. --ROBLOXIDLEANIMATION.Parent = Humanoid
  243. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  244. WEAPONGUI.Name = "Weapon GUI"
  245. local Weapon = IT("Model")
  246. Weapon.Name = "Adds"
  247. local Effects = IT("Folder", Weapon)
  248. Effects.Name = "Effects"
  249. local ANIMATOR = Humanoid.Animator
  250. local ANIMATE = Character.Animate
  251. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]" ", "263032182", "263032200", "263032221", "263032252", "263033191"}
  252. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  253. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  254. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  255. local UNANCHOR = true
  256.  
  257. local SKILLTEXTCOLOR = C3(0,0,0)
  258. local CHOSENBRICK = "Royal purple"
  259.  
  260. --//=================================\\
  261. --\\=================================//
  262.  
  263.  
  264. --//=================================\\
  265. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  266. --\\=================================//
  267.  
  268. ArtificialHB = Instance.new("BindableEvent", script)
  269. ArtificialHB.Name = "ArtificialHB"
  270.  
  271. script:WaitForChild("ArtificialHB")
  272.  
  273. frame = Frame_Speed
  274. tf = 0
  275. allowframeloss = false
  276. tossremainder = false
  277. lastframe = tick()
  278. script.ArtificialHB:Fire()
  279.  
  280. game:GetService("RunService").Heartbeat:connect(function(s, p)
  281. tf = tf + s
  282. if tf >= frame then
  283. if allowframeloss then
  284. script.ArtificialHB:Fire()
  285. lastframe = tick()
  286. else
  287. for i = 1, math.floor(tf / frame) do
  288. script.ArtificialHB:Fire()
  289. end
  290. lastframe = tick()
  291. end
  292. if tossremainder then
  293. tf = 0
  294. else
  295. tf = tf - frame * math.floor(tf / frame)
  296. end
  297. end
  298. end)
  299.  
  300. --//=================================\\
  301. --\\=================================//
  302.  
  303.  
  304.  
  305.  
  306.  
  307. --//=================================\\
  308. --|| SOME FUNCTIONS
  309. --\\=================================//
  310.  
  311. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  312. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  313. end
  314.  
  315. function PositiveAngle(NUMBER)
  316. if NUMBER >= 0 then
  317. NUMBER = 0
  318. end
  319. return NUMBER
  320. end
  321.  
  322. function NegativeAngle(NUMBER)
  323. if NUMBER <= 0 then
  324. NUMBER = 0
  325. end
  326. return NUMBER
  327. end
  328.  
  329. function Swait(NUMBER)
  330. if NUMBER == 0 or NUMBER == nil then
  331. ArtificialHB.Event:wait()
  332. else
  333. for i = 1, NUMBER do
  334. ArtificialHB.Event:wait()
  335. end
  336. end
  337. end
  338.  
  339. function QuaternionFromCFrame(cf)
  340. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  341. local trace = m00 + m11 + m22
  342. if trace > 0 then
  343. local s = math.sqrt(1 + trace)
  344. local recip = 0.5 / s
  345. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  346. else
  347. local i = 0
  348. if m11 > m00 then
  349. i = 1
  350. end
  351. if m22 > (i == 0 and m00 or m11) then
  352. i = 2
  353. end
  354. if i == 0 then
  355. local s = math.sqrt(m00 - m11 - m22 + 1)
  356. local recip = 0.5 / s
  357. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  358. elseif i == 1 then
  359. local s = math.sqrt(m11 - m22 - m00 + 1)
  360. local recip = 0.5 / s
  361. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  362. elseif i == 2 then
  363. local s = math.sqrt(m22 - m00 - m11 + 1)
  364. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  365. end
  366. end
  367. end
  368.  
  369. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  370. local xs, ys, zs = x + x, y + y, z + z
  371. local wx, wy, wz = w * xs, w * ys, w * zs
  372. local xx = x * xs
  373. local xy = x * ys
  374. local xz = x * zs
  375. local yy = y * ys
  376. local yz = y * zs
  377. local zz = z * zs
  378. 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))
  379. end
  380.  
  381. function QuaternionSlerp(a, b, t)
  382. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  383. local startInterp, finishInterp;
  384. if cosTheta >= 0.0001 then
  385. if (1 - cosTheta) > 0.0001 then
  386. local theta = ACOS(cosTheta)
  387. local invSinTheta = 1 / SIN(theta)
  388. startInterp = SIN((1 - t) * theta) * invSinTheta
  389. finishInterp = SIN(t * theta) * invSinTheta
  390. else
  391. startInterp = 1 - t
  392. finishInterp = t
  393. end
  394. else
  395. if (1 + cosTheta) > 0.0001 then
  396. local theta = ACOS(-cosTheta)
  397. local invSinTheta = 1 / SIN(theta)
  398. startInterp = SIN((t - 1) * theta) * invSinTheta
  399. finishInterp = SIN(t * theta) * invSinTheta
  400. else
  401. startInterp = t - 1
  402. finishInterp = t
  403. end
  404. end
  405. 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
  406. end
  407.  
  408. function Clerp(a, b, t)
  409. local qa = {QuaternionFromCFrame(a)}
  410. local qb = {QuaternionFromCFrame(b)}
  411. local ax, ay, az = a.x, a.y, a.z
  412. local bx, by, bz = b.x, b.y, b.z
  413. local _t = 1 - t
  414. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  415. end
  416.  
  417. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  418. local frame = IT("Frame")
  419. frame.BackgroundTransparency = TRANSPARENCY
  420. frame.BorderSizePixel = BORDERSIZEPIXEL
  421. frame.Position = POSITION
  422. frame.Size = SIZE
  423. frame.BackgroundColor3 = COLOR
  424. frame.BorderColor3 = BORDERCOLOR
  425. frame.Name = NAME
  426. frame.Parent = PARENT
  427. return frame
  428. end
  429.  
  430. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  431. local label = IT("TextLabel")
  432. label.BackgroundTransparency = 1
  433. label.Size = UD2(1, 0, 1, 0)
  434. label.Position = UD2(0, 0, 0, 0)
  435. label.TextColor3 = TEXTCOLOR
  436. label.TextStrokeTransparency = STROKETRANSPARENCY
  437. label.TextTransparency = TRANSPARENCY
  438. label.FontSize = TEXTFONTSIZE
  439. label.Font = TEXTFONT
  440. label.BorderSizePixel = BORDERSIZEPIXEL
  441. label.TextScaled = false
  442. label.Text = TEXT
  443. label.Name = NAME
  444. label.Parent = PARENT
  445. return label
  446. end
  447.  
  448. function NoOutlines(PART)
  449. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  450. end
  451.  
  452.  
  453. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  454. local NEWWELD = IT(TYPE)
  455. NEWWELD.Part0 = PART0
  456. NEWWELD.Part1 = PART1
  457. NEWWELD.C0 = C0
  458. NEWWELD.C1 = C1
  459. NEWWELD.Parent = PARENT
  460. return NEWWELD
  461. end
  462.  
  463.  
  464. function CreateSound(ID, PARENT, VOLUME, PITCH)
  465. local NEWSOUND = nil
  466. coroutine.resume(coroutine.create(function()
  467. NEWSOUND = IT("Sound", PARENT)
  468. NEWSOUND.Volume = VOLUME
  469. NEWSOUND.Pitch = PITCH
  470. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  471. Swait()
  472. NEWSOUND:play()
  473. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  474. end))
  475. return NEWSOUND
  476. end
  477.  
  478. function CFrameFromTopBack(at, top, back)
  479. local right = top:Cross(back)
  480. 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)
  481. end
  482.  
  483. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  484. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  485. local mesh = IT("SpecialMesh",wave)
  486. mesh.MeshType = "FileMesh"
  487. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  488. mesh.Scale = SIZE
  489. mesh.Offset = VT(0,0,-SIZE.X/8)
  490. wave.CFrame = CFRAME
  491. coroutine.resume(coroutine.create(function(PART)
  492. for i = 1, WAIT do
  493. Swait()
  494. mesh.Scale = mesh.Scale + GROW
  495. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  496. if DOESROT == true then
  497. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  498. end
  499. wave.Transparency = wave.Transparency + (0.5/WAIT)
  500. if wave.Transparency > 0.99 then
  501. wave:remove()
  502. end
  503. end
  504. end))
  505. end
  506.  
  507. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  508. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  509. local mesh = IT("SpecialMesh",wave)
  510. mesh.MeshType = "FileMesh"
  511. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  512. mesh.Scale = SIZE
  513. mesh.Offset = VT(0,0,-SIZE.X/8)
  514. wave.CFrame = CFRAME
  515. coroutine.resume(coroutine.create(function(PART)
  516. for i = 1, WAIT do
  517. Swait()
  518. mesh.Scale = mesh.Scale + GROW
  519. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  520. if DOESROT == true then
  521. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  522. end
  523. wave.Transparency = wave.Transparency + (0.5/WAIT)
  524. if wave.Transparency > 0.99 then
  525. wave:remove()
  526. end
  527. end
  528. end))
  529. end
  530.  
  531. function clerp(a, b, t)
  532. return a:lerp(b, t)
  533. end
  534.  
  535. function newBezier(startpos, pos2, pos3, endpos, t)
  536. local A = clerp(startpos, pos2, t)
  537. local B = clerp(pos2, pos3, t)
  538. local C = clerp(pos3, endpos, t)
  539. local lerp1 = clerp(A, B, t)
  540. local lerp2 = clerp(B, C, t)
  541. local cubic = clerp(lerp1, lerp2, t)
  542. return cubic
  543. end
  544.  
  545. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  546. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  547. local mesh = IT("SpecialMesh",wave)
  548. mesh.MeshType = "FileMesh"
  549. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  550. mesh.Scale = SIZE
  551. mesh.Offset = VT(0,0,-SIZE.X/8)
  552. wave.CFrame = CFRAME
  553. coroutine.resume(coroutine.create(function(PART)
  554. for i = 1, WAIT do
  555. Swait()
  556. mesh.Scale = mesh.Scale + GROW
  557. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  558. if DOESROT == true then
  559. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  560. end
  561. wave.Transparency = wave.Transparency + (0.5/WAIT)
  562. if wave.Transparency > 0.99 then
  563. wave:remove()
  564. end
  565. end
  566. end))
  567. end
  568.  
  569. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  570. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  571. local mesh = IT("SpecialMesh",wave)
  572. mesh.MeshType = "FileMesh"
  573. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  574. mesh.Scale = SIZE
  575. mesh.Offset = VT(0,0,-SIZE.X/8)
  576. wave.CFrame = CFRAME
  577. coroutine.resume(coroutine.create(function(PART)
  578. for i = 1, WAIT do
  579. Swait()
  580. mesh.Scale = mesh.Scale + GROW
  581. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  582. if DOESROT == true then
  583. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  584. end
  585. wave.Transparency = wave.Transparency + (0.5/WAIT)
  586. if wave.Transparency > 0.99 then
  587. wave:remove()
  588. end
  589. end
  590. end))
  591. end
  592.  
  593. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  594. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  595. local mesh = IT("SpecialMesh",wave)
  596. mesh.MeshType = "FileMesh"
  597. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  598. mesh.Scale = SIZE
  599. wave.CFrame = CFRAME
  600. coroutine.resume(coroutine.create(function(PART)
  601. for i = 1, WAIT do
  602. Swait()
  603. mesh.Scale = mesh.Scale + GROW
  604. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  605. if DOESROT == true then
  606. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  607. end
  608. wave.Transparency = wave.Transparency + (0.5/WAIT)
  609. if wave.Transparency > 0.99 then
  610. wave:remove()
  611. end
  612. end
  613. end))
  614. end
  615.  
  616. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  617. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  618. local mesh = IT("SpecialMesh",wave)
  619. mesh.MeshType = "FileMesh"
  620. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  621. mesh.Scale = SIZE
  622. wave.CFrame = CFRAME
  623. coroutine.resume(coroutine.create(function(PART)
  624. for i = 1, WAIT do
  625. Swait()
  626. mesh.Scale = mesh.Scale + GROW
  627. if DOESROT == true then
  628. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  629. end
  630. wave.Transparency = wave.Transparency + (0.5/WAIT)
  631. if wave.Transparency > 0.99 then
  632. wave:remove()
  633. end
  634. end
  635. end))
  636. end
  637.  
  638. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  639. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  640. local mesh = IT("SpecialMesh",wave)
  641. mesh.MeshType = "FileMesh"
  642. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  643. mesh.Scale = SIZE
  644. mesh.Offset = VT(0,0,0)
  645. wave.CFrame = CFRAME
  646. coroutine.resume(coroutine.create(function(PART)
  647. for i = 1, WAIT do
  648. Swait()
  649. mesh.Scale = mesh.Scale + GROW
  650. if DOESROT == true then
  651. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  652. end
  653. wave.Transparency = wave.Transparency + (0.5/WAIT)
  654. if wave.Transparency > 0.99 then
  655. wave:remove()
  656. end
  657. end
  658. end))
  659. end
  660.  
  661. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  662. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  663. local mesh = IT("SpecialMesh",wave)
  664. mesh.MeshType = "Sphere"
  665. mesh.Scale = SIZE
  666. mesh.Offset = VT(0,0,0)
  667. wave.CFrame = CFRAME
  668. coroutine.resume(coroutine.create(function(PART)
  669. for i = 1, WAIT do
  670. Swait()
  671. mesh.Scale = mesh.Scale + GROW
  672. wave.Transparency = wave.Transparency + (1/WAIT)
  673. if wave.Transparency > 0.99 then
  674. wave:remove()
  675. end
  676. end
  677. end))
  678. end
  679.  
  680. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  681. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  682. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  683. wave.CFrame = CFRAME
  684. coroutine.resume(coroutine.create(function(PART)
  685. for i = 1, WAIT do
  686. Swait()
  687. mesh.Scale = mesh.Scale * GROW
  688. wave.Transparency = wave.Transparency + (0.5/WAIT)
  689. if wave.Transparency > 0.99 then
  690. wave:remove()
  691. end
  692. end
  693. end))
  694. end
  695.  
  696. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  697. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  698. local mesh = IT("BlockMesh",wave)
  699. wave.CFrame = CFRAME
  700. coroutine.resume(coroutine.create(function(PART)
  701. for i = 1, WAIT do
  702. Swait()
  703. mesh.Scale = mesh.Scale + GROW
  704. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  705. wave.Transparency = wave.Transparency + (1/WAIT)
  706. if wave.Transparency > 0.99 then
  707. wave:remove()
  708. end
  709. end
  710. end))
  711. end
  712.  
  713. function MakeForm(PART,TYPE)
  714. if TYPE == "Cyl" then
  715. local MSH = IT("CylinderMesh",PART)
  716. elseif TYPE == "Ball" then
  717. local MSH = IT("SpecialMesh",PART)
  718. MSH.MeshType = "Sphere"
  719. elseif TYPE == "Wedge" then
  720. local MSH = IT("SpecialMesh",PART)
  721. MSH.MeshType = "Wedge"
  722. end
  723. end
  724.  
  725. function CheckTableForString(Table, String)
  726. for i, v in pairs(Table) do
  727. if string.find(string.lower(String), string.lower(v)) then
  728. return true
  729. end
  730. end
  731. return false
  732. end
  733.  
  734. function CheckIntangible(Hit)
  735. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  736. if Hit and Hit.Parent then
  737. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  738. return true
  739. end
  740. end
  741. return false
  742. end
  743.  
  744. Debris = game:GetService("Debris")
  745.  
  746. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  747. local Direction = CFrame.new(StartPos, Vec).lookVector
  748. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  749. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  750. if RayHit and CheckIntangible(RayHit) then
  751. if DelayIfHit then
  752. wait()
  753. end
  754. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  755. end
  756. return RayHit, RayPos, RayNormal
  757. end
  758.  
  759. function turnto(position)
  760. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  761. end
  762.  
  763. --//=================================\\
  764. --|| WEAPON CREATION
  765. --\\=================================//
  766.  
  767. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  768. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(15)), CF(0, 0, 0))
  769. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false)
  770. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  771. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Flame", VT(0.65,1.4,0.65),false)
  772. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  773. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  774. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  775.  
  776. local DECAL = IT("Decal",Part)
  777. DECAL.Texture = "http://www.roblox.com/asset/?id=1260793696"
  778. DECAL.Face = "Top"
  779.  
  780. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  781. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(15)), CF(0, 0, 0))
  782. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false)
  783. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  784. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Earth green", "Radioactive", VT(0.45,1.4,0.45),false)
  785. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  786. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  787. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  788.  
  789. local DECAL = IT("Decal",Part)
  790. DECAL.Texture = "http://www.roblox.com/asset/?id=1172964487"
  791. DECAL.Face = "Top"
  792.  
  793. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  794. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(15)), CF(0, 0, 0))
  795. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
  796. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  797. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Light", VT(0.35,1.4,0.35),false)
  798. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  799. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  800. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  801.  
  802. local DECAL = IT("Decal",Part)
  803. DECAL.Texture = "http://www.roblox.com/asset/?id=68854060"
  804. DECAL.Face = "Top"
  805.  
  806. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  807. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  808. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  809. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  810. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  811. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.28, 0, 0) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0))
  812. MakeForm(Part,"Wedge")
  813.  
  814. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  815. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  816. MakeForm(Part,"Wedge")
  817.  
  818. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  819. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  820. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  821. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  822. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  823. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  824. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  825. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  826. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  827. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  828.  
  829. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.1,0.2,0.1),false)
  830. CreateWeldOrSnapOrMotor("Weld", Head, Head, Part, CF(-0.2, 0.2, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  831. MakeForm(Part,"Ball")
  832. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.1,0.2,0.1),false)
  833. CreateWeldOrSnapOrMotor("Weld", Head, Head, Part, CF(0.2, 0.2, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  834. MakeForm(Part,"Ball")
  835.  
  836. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  837. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(-15)), CF(0, 0, 0))
  838. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false)
  839. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  840. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Carnation pink", "Love", VT(0.65,1.4,0.65),false)
  841. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  842. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  843. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  844.  
  845. local FAKECHARACTER = IT("Model",Effects)
  846. FAKECHARACTER.Name = "NeonDoll"
  847. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  848. CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0.5,0), CF(0,0,0))
  849. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  850. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(15)), CF(0,0.15,0))
  851. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  852. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(-15)), CF(0,0.15,0))
  853. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  854. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  855. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  856. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  857. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  858. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  859.  
  860. local DECAL = IT("Decal",Part)
  861. DECAL.Texture = "http://www.roblox.com/asset/?id=301069998"
  862. DECAL.Face = "Top"
  863.  
  864. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  865. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(-15)), CF(0, 0, 0))
  866. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false)
  867. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  868. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Dark Matter", VT(0.10,1.4,0.10),false)
  869. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  870. local FAKECHARACTER = IT("Model",Effects)
  871. FAKECHARACTER.Name = "NeonDoll"
  872.  
  873. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.3,0.3,0.15),false)
  874. CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0,0), CF(0,0,0))
  875. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  876. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  877. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  878. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  879. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  880. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(10)), CF(0,0.15,0))
  881. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  882. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-10)), CF(0,0.15,0))
  883. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.15,0.15),false)
  884. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  885. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  886. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  887.  
  888. local DECAL = IT("Decal",Part)
  889. DECAL.Texture = "http://www.roblox.com/asset/?id=332392312"
  890. DECAL.Face = "Top"
  891.  
  892. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  893. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0))
  894. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
  895. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  896. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Light", VT(0.35,1.4,0.35),false)
  897. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  898. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  899. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  900.  
  901. local DECAL = IT("Decal",Part)
  902. DECAL.Texture = "http://www.roblox.com/asset/?id=50184258"
  903. DECAL.Face = "Top"
  904.  
  905. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  906. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  907. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  908. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  909. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  910. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0.28, 0, 0) * ANGLES(RAD(-180), RAD(-90), RAD(0)), CF(0, 0, 0))
  911. MakeForm(Part,"Wedge")
  912.  
  913. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  914. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0.75, 0.51, 0) * ANGLES(RAD(-180), RAD(90), RAD(0)), CF(0, 0, 0))
  915. MakeForm(Part,"Wedge")
  916.  
  917. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  918. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  919. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  920. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  921. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  922. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  923. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  924. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  925. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  926. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  927.  
  928. for _, c in pairs(Weapon:GetChildren()) do
  929. if c.ClassName == "Part" then
  930. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  931. end
  932. end
  933.  
  934.  
  935. Weapon.Parent = Character
  936.  
  937. Humanoid.Died:connect(function()
  938. ATTACK = true
  939. end)
  940.  
  941. 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")
  942. 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")
  943. 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")
  944.  
  945. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  946. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  947. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle tanks", C3(0,0,0), 8, "SciFi", 0, 2, 1, "Text 3")
  948. --//=================================\\
  949. --|| DAMAGE FUNCTIONS
  950. --\\=================================//
  951.  
  952. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  953. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  954. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  955. local BODYGYRO = IT("BodyGyro", STATPART)
  956. local BODYPOSITION = IT("BodyPosition", STATPART)
  957. BODYPOSITION.P = 2000
  958. BODYPOSITION.D = 100
  959. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  960. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  961. game:GetService("Debris"):AddItem(STATPART ,5)
  962. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  963. BILLBOARDGUI.Adornee = STATPART
  964. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  965. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  966. BILLBOARDGUI.AlwaysOnTop = false
  967. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  968. TEXTLABEL.BackgroundTransparency = 1
  969. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  970. TEXTLABEL.Text = TEXT
  971. TEXTLABEL.Font = "SciFi"
  972. TEXTLABEL.FontSize="Size42"
  973. TEXTLABEL.TextColor3 = COLOR
  974. TEXTLABEL.TextStrokeTransparency = 1
  975. TEXTLABEL.TextScaled = true
  976. TEXTLABEL.TextWrapped = true
  977. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  978. if LABELTYPE == "Normal" then
  979. for i = 1, 30 do
  980. Swait()
  981. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  982. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  983. end
  984. elseif LABELTYPE == "Debuff" then
  985. for i = 1, 30 do
  986. Swait()
  987. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  988. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  989. end
  990. elseif LABELTYPE == "Shock" then
  991. local ORIGIN = STATPART.Position
  992. for i = 1, 30 do
  993. Swait()
  994. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  995. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  996. end
  997. end
  998. THEPART.Parent = nil
  999. end),STATPART, BODYPOSITION, TEXTLABEL)
  1000. end
  1001.  
  1002. --//=================================\\
  1003. --|| DAMAGING
  1004. --\\=================================//
  1005.  
  1006. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1007. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1008. defence.Name = ("HitBy"..Player.Name)
  1009. game:GetService("Debris"):AddItem(defence, 0.5)
  1010. Humanoid.Health = Humanoid.Health - Damage
  1011. if Humanoid.Parent:FindFirstChild("Head") then
  1012. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1013. end
  1014. end
  1015.  
  1016.  
  1017. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1018. local dmg = math.random(min,max)
  1019. for i,v in ipairs(workspace:GetChildren()) do
  1020. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1021. local body = v:GetChildren()
  1022. for part = 1, #body do
  1023. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1024. if(body[part].Position - position).Magnitude < radius then
  1025. if v.ClassName == "Model" then
  1026. if v:FindFirstChildOfClass("Humanoid") then
  1027. if CanBeDodgedByJumping == true then
  1028. if body[part].Position.Y < position.Y+5 then
  1029. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1030. end
  1031. else
  1032. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1033. end
  1034. local bv = Instance.new("BodyVelocity")
  1035. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1036. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1037. bv.Parent = body[part]
  1038. Debris:AddItem(bv,0.2)
  1039. end
  1040. end
  1041. end
  1042. end
  1043. end
  1044. end
  1045. if v:FindFirstChild("HitBy"..Player.Name) then
  1046. v:FindFirstChild("HitBy"..Player.Name):remove()
  1047. end
  1048. end
  1049. end
  1050.  
  1051. function AoEStun(POS,RANGE,LAST)
  1052. for i,v in ipairs(workspace:GetChildren()) do
  1053. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1054. local body = v:GetChildren()
  1055. for part = 1, #body do
  1056. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1057. if(body[part].Position - POS).Magnitude < RANGE then
  1058. if v.ClassName == "Model" then
  1059. if v:FindFirstChild("Humanoid") then
  1060. if v.Humanoid.Health ~= 0 then
  1061. Stun(v.Humanoid,LAST)
  1062. local defence = Instance.new("BoolValue",v)
  1063. defence.Name = ("StunnedBy"..Player.Name)
  1064. game:GetService("Debris"):AddItem(defence, 0.1)
  1065. end
  1066. end
  1067. end
  1068. end
  1069. end
  1070. end
  1071. end
  1072. end
  1073. end
  1074.  
  1075. function Stun(HUMANOID,LAST)
  1076. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1077. HUMANOID.PlatformStand = true
  1078. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1079. defence.Name = ("StunnedBy"..Player.Name)
  1080. game:GetService("Debris"):AddItem(defence, LAST)
  1081. if HUMANOID.Parent:FindFirstChild("Head") then
  1082. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1083. end
  1084. coroutine.resume(coroutine.create(function()
  1085. Swait(LAST*100)
  1086. HUMANOID.PlatformStand = false
  1087. end))
  1088. end
  1089. end
  1090.  
  1091. function Poison(HUMANOID,LAST,DAMAGE)
  1092. if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  1093. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1094. defence.Name = ("PoisonedBy"..Player.Name)
  1095. game:GetService("Debris"):AddItem(defence, LAST)
  1096. coroutine.resume(coroutine.create(function()
  1097. for i = 1, LAST/2 do
  1098. if HUMANOID.Parent:FindFirstChild("Head") then
  1099. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  1100. end
  1101. Swait(2)
  1102. HUMANOID.Health = HUMANOID.Health - DAMAGE
  1103. end
  1104. end))
  1105. end
  1106. end
  1107.  
  1108. function killnearest(position,range,maxstrength)
  1109. for i,v in ipairs(workspace:GetChildren()) do
  1110. local body = v:GetChildren()
  1111. for part = 1, #body do
  1112. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1113. if(body[part].Position - position).Magnitude < range then
  1114. if v.ClassName == "Model" then
  1115. v:BreakJoints()
  1116. end
  1117. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1118. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1119. end
  1120. end
  1121. end
  1122. if v.ClassName == "Part" then
  1123. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1124. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1125. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1126. end
  1127. end
  1128. end
  1129. end
  1130.  
  1131. --//=================================\\
  1132. --|| ATTACK FUNCTIONS AND STUFF
  1133. --\\=================================//
  1134.  
  1135. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1136. if DoesCourontine == false then
  1137. local Direction = CF(Part.Position,ToLocation)
  1138. local Distance = (Part.Position - ToLocation).magnitude
  1139. for i = 1, AmountOfTime do
  1140. Swait()
  1141. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1142. Direction = Part.CFrame
  1143. end
  1144. elseif DoesCourontine == true then
  1145. coroutine.resume(coroutine.create(function()
  1146. local Direction = CF(Part.Position,ToLocation)
  1147. local Distance = (Part.Position - ToLocation).magnitude
  1148. for i = 1, AmountOfTime do
  1149. Swait()
  1150. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1151. Direction = Part.CFrame
  1152. end
  1153. end))
  1154. end
  1155. end
  1156.  
  1157. function impale(chain,hit)
  1158. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1159. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1160. if humanoid.Health ~= 0 then
  1161. hit.Parent:BreakJoints()
  1162. getbloody(hit,15)
  1163. local prtcl = asd:Clone()
  1164. prtcl.Parent = chain
  1165. prtcl.Enabled = true
  1166. prtcl.Speed = NumberRange.new(0)
  1167. prtcl.Size = NumberSequence.new(0.2)
  1168. end
  1169. end
  1170. end
  1171.  
  1172. function CreateMagicCircle()
  1173. local sinkhole = IT("Part")
  1174. sinkhole.Size = VT(0,0,0)
  1175. sinkhole.Parent = Effects
  1176. sinkhole.Material = "Neon"
  1177. sinkhole.Color = C3(0,0,0)
  1178. sinkhole.Anchored = true
  1179. sinkhole.CanCollide = false
  1180. sinkhole.Transparency = 1
  1181. local decal = IT("Decal",sinkhole)
  1182. decal.Face = "Top"
  1183. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1184. local decal2 = IT("Decal",sinkhole)
  1185. decal2.Face = "Bottom"
  1186. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1187. return sinkhole
  1188. end
  1189.  
  1190. function Chain()
  1191. ATTACK = true
  1192. Rooted = false
  1193. for i=0, 2, 0.1 / Animation_Speed do
  1194. turnto(Mouse.Hit.p)
  1195. Swait()
  1196. 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)
  1197. 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)
  1198. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1199. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1200. 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)
  1201. 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)
  1202. end
  1203. CreateSound("1208650519", RightArm, 10, 2)
  1204. local RING = CreateMagicCircle()
  1205. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1206. for i = 1, 5 do
  1207. turnto(Mouse.Hit.p)
  1208. Swait()
  1209. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1210. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1211. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1212. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1213. RING.Size = RING.Size + VT(1,0,1)
  1214. end
  1215. coroutine.resume(coroutine.create(function()
  1216. local POS = Mouse.Hit.p
  1217. local A = IT("Attachment",RING)
  1218. for i = 1, 15 do
  1219. Swait(MRANDOM(0,5))
  1220. coroutine.resume(coroutine.create(function()
  1221. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1222. --print("Chain start")
  1223. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1224. Front.CanCollide = true
  1225. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1226. local B = IT("Attachment",Front)
  1227. local ChainLink = IT("Beam",RING)
  1228. ChainLink.Texture = "rbxassetid://1262544869"
  1229. ChainLink.TextureSpeed = 0
  1230. ChainLink.FaceCamera = true
  1231. ChainLink.Width0 = 3
  1232. ChainLink.Attachment0 = A
  1233. ChainLink.Attachment1 = B
  1234. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1235. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1236. ChainLink.TextureMode = "Static"
  1237. local bv = Instance.new("BodyVelocity")
  1238. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1239. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1240. bv.Parent = Front
  1241. bv.Name = "MOVE"
  1242. --print("Chain made")
  1243. coroutine.resume(coroutine.create(function()
  1244. Swait(50)
  1245. bv:remove()
  1246. local POS = Front.Position
  1247. Front.CanCollide = false
  1248. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1249. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1250. for i = 0, 1, 0.07 do
  1251. Swait()
  1252. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1253. end
  1254. Front:remove()
  1255. ChainLink:remove()
  1256. end))
  1257. local harm = Front.Touched:Connect(function(hit)
  1258. impale(Front,hit)
  1259. end)
  1260. end))
  1261. end
  1262. Swait(60)
  1263. for i = 1, 5 do
  1264. Swait()
  1265. RING.Size = RING.Size - VT(1,0,1)
  1266. end
  1267. RING:remove()
  1268. end))
  1269. ATTACK = false
  1270. Rooted = false
  1271. end
  1272.  
  1273. function MegaChain()
  1274. ATTACK = true
  1275. Rooted = true
  1276. for i=0, 1, 0.1 / Animation_Speed do
  1277. Swait()
  1278. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1279. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1280. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(60), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1281. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  1282. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 * Player_Size, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.5 / Animation_Speed/8)
  1283. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.5 / Animation_Speed/8)
  1284. end
  1285. local RING = CreateMagicCircle()
  1286. CreateSound("1208650519", RING, 10, 1.5)
  1287. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  1288. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  1289. for i = 1, 75 do
  1290. Swait()
  1291. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1292. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1293. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1294. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  1295. RING.Size = RING.Size + VT(1,0,1)
  1296. end
  1297. coroutine.resume(coroutine.create(function()
  1298. for i = 1, 450 do
  1299. Swait(2)
  1300. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  1301. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1302. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1303. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  1304. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  1305. local A = IT("Attachment",RING)
  1306. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  1307. coroutine.resume(coroutine.create(function()
  1308. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1309. --print("Chain start")
  1310. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1311. Front.CanCollide = false
  1312. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  1313. local B = IT("Attachment",Front)
  1314. local ChainLink = IT("Beam",RING)
  1315. ChainLink.Texture = "rbxassetid://1262544869"
  1316. ChainLink.TextureSpeed = 0
  1317. ChainLink.FaceCamera = true
  1318. ChainLink.Width0 = 3
  1319. ChainLink.Attachment0 = A
  1320. ChainLink.Attachment1 = B
  1321. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1322. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1323. ChainLink.TextureMode = "Static"
  1324. local bv = Instance.new("BodyVelocity")
  1325. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1326. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1327. bv.Parent = Front
  1328. bv.Name = "MOVE"
  1329. --print("Chain made")
  1330. coroutine.resume(coroutine.create(function()
  1331. Swait(50)
  1332. bv:remove()
  1333. local POS = Front.Position
  1334. Front.CanCollide = false
  1335. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1336. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1337. for i = 0, 1, 0.07 do
  1338. Swait()
  1339. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1340. end
  1341. Front:remove()
  1342. ChainLink:remove()
  1343. end))
  1344. local harm = Front.Touched:Connect(function(hit)
  1345. impale(Front,hit)
  1346. end)
  1347. end))
  1348. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  1349. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  1350. end
  1351. Swait(65)
  1352. for i = 1, 75 do
  1353. Swait()
  1354. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  1355. RING.Size = RING.Size - VT(1,0,1)
  1356. end
  1357. RING:remove()
  1358. end))
  1359. ATTACK = false
  1360. Rooted = false
  1361. end
  1362.  
  1363. function PowerOutburst()
  1364. ATTACK = true
  1365. Rooted = false
  1366. for i=0, 1, 0.1 / Animation_Speed do
  1367. Swait()
  1368. 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)
  1369. 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.5 / Animation_Speed)
  1370. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1371. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1372. 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)
  1373. 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)
  1374. end
  1375. Head.face.Texture = "rbxassetid://1297068763"
  1376. for i=0, 0.2, 0.1 / Animation_Speed do
  1377. Swait()
  1378. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1379. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1380. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1381. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1382. 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)), 3 / Animation_Speed)
  1383. 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)),3 / Animation_Speed)
  1384. end
  1385. for i=0, 3, 0.1 / Animation_Speed do
  1386. local COLORS = {"Earth green","Lime green","New Yeller"}
  1387. coroutine.resume(coroutine.create(function()
  1388. local FIRE = CreatePart(3, Effects, "Neon", 0, 0.8, COLORS[MRANDOM(1,#COLORS)], "FirePart", VT(0,0,0))
  1389. FIRE.CFrame = Head.CFrame*CF(0,-0.25,-0.5)
  1390. MakeForm(FIRE,"Ball")
  1391. for i = 1, 25 do
  1392. Swait()
  1393. FIRE.CFrame = FIRE.CFrame*CF(0,0,-0.1)
  1394. FIRE.Transparency = FIRE.Transparency + (0.2/25)
  1395. FIRE.Size = FIRE.Size * 1.35
  1396. end
  1397. AoEDamage(FIRE.Position,FIRE.Size.Y/2.5,2,3,0,6,1.5,false)
  1398. FIRE:remove()
  1399. end))
  1400. Slice(0.6,15,Head.CFrame*CF(0,-0.25,-1.5)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS[MRANDOM(1,#COLORS)],1.15)
  1401. Swait()
  1402. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1403. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1404. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1405. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1406. 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)), 3 / Animation_Speed)
  1407. 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)),3 / Animation_Speed)
  1408. end
  1409. ATTACK = false
  1410. Rooted = false
  1411. end
  1412.  
  1413. function RadioactiveSludge()
  1414. ATTACK = true
  1415. Rooted = false
  1416. local COLORS = {"Earth green","Slime green"}
  1417. local COLOR = COLORS[MRANDOM(1,#COLORS)]
  1418. local FIRE = CreatePart(3, Effects, "Neon", 0, 0, "Earth green", "FirePart", VT(0,0,0))
  1419. MakeForm(FIRE,"Ball")
  1420. FIRE.CFrame = RootPart.CFrame*CF(0,-0.25,-3)
  1421. local LIGHT = IT("PointLight",FIRE)
  1422. LIGHT.Range = 0.05
  1423. LIGHT.Brightness = 100
  1424. LIGHT.Color = C3(0,1,0)
  1425. for i=0, 1.5, 0.1 / Animation_Speed do
  1426. Swait()
  1427. turnto(Mouse.Hit.p)
  1428. FIRE.Size = FIRE.Size * 1.1
  1429. FIRE.CFrame = RootPart.CFrame*CF(0,-0.25,-3)
  1430. LIGHT.Range = LIGHT.Range * 1.1
  1431. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  1432. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1433. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.8) * ANGLES(RAD(125), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1434. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.8) * ANGLES(RAD(125), RAD(0), RAD(12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1435. 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)), 3 / Animation_Speed)
  1436. 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)),3 / Animation_Speed)
  1437. end
  1438. Rooted = true
  1439. coroutine.resume(coroutine.create(function()
  1440. local COLORS2 = {"Earth green","Lime green","New Yeller"}
  1441. FireArc(FIRE,Mouse.Hit.p,30,7,false)
  1442. local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "Earth green", "FirePart", VT(0,0,0))
  1443. local HIT, POS = Raycast(FIRE.Position, CF(FIRE.Position,FIRE.Position+VT(0,-1,0)).lookVector, 2, Character)
  1444. MakeForm(FLOOR,"Cyl")
  1445. FLOOR.CFrame = CF(POS)
  1446. LIGHT.Parent = FLOOR
  1447. for i = 1, 50 do
  1448. Swait()
  1449. LIGHT.Range = LIGHT.Range + 0.3
  1450. AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  1451. Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  1452. FIRE.CFrame = FIRE.CFrame * CF(0,-0.1,0)
  1453. FLOOR.Size = FLOOR.Size + VT(0.7,0,0.7)
  1454. end
  1455. FIRE:remove()
  1456. for i = 1, 300 do
  1457. Swait()
  1458. AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  1459. Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  1460. end
  1461. for i = 1, 25 do
  1462. Swait()
  1463. LIGHT.Range = LIGHT.Range - 0.8
  1464. AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  1465. Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  1466. FIRE.CFrame = FIRE.CFrame * CF(0,-0.1,0)
  1467. FLOOR.Size = FLOOR.Size - VT(1.4,0,1.4)
  1468. end
  1469. FLOOR:remove()
  1470. end))
  1471. for i=0, 0.5, 0.1 / Animation_Speed do
  1472. Swait()
  1473. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  1474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.8) * ANGLES(RAD(160), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.8) * ANGLES(RAD(160), RAD(0), RAD(12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1477. 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)), 3 / Animation_Speed)
  1478. 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)),3 / Animation_Speed)
  1479. end
  1480. ATTACK = false
  1481. Rooted = false
  1482. end
  1483.  
  1484. function CastProperRay(StartPos, Vec, Length, Ignore)
  1485. local Direction = CFrame.new(StartPos, Vec).lookVector
  1486. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1487. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1488. return RayHit, RayPos, RayNormal
  1489. end
  1490.  
  1491. function BanishBullet()
  1492. ATTACK = true
  1493. Rooted = false
  1494. for i = 0, 0.4, 0.1 / Animation_Speed do
  1495. Swait()
  1496. turnto(Mouse.Hit.p)
  1497. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1498. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1500. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1501. 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)
  1502. 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)
  1503. end
  1504. repeat
  1505. for i = 0, 0.2, 0.1 / Animation_Speed do
  1506. Swait()
  1507. turnto(Mouse.Hit.p)
  1508. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1509. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1510. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1511. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1512. 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)
  1513. 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)
  1514. end
  1515. CreateSound("238353911", RightArm, 10, MRANDOM(9, 11) / 10)
  1516. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.1, 0.1, 0.1))
  1517. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.05, 0.05, 0.05))
  1518. local RayHit, Way = CastProperRay(RightArm.Position, Mouse.Hit.p, 1500, Character)
  1519. local distance = (RightArm.Position - Way).magnitude
  1520. for i = 1, 5 do
  1521. local laser = Instance.new("Part", Effects)
  1522. laser.Transparency = 0
  1523. laser.CanCollide = false
  1524. laser.Anchored = true
  1525. laser.Color = C3(1, 0, 0)
  1526. laser.Material = "Neon"
  1527. laser.formFactor = Enum.FormFactor.Custom
  1528. laser.Size = Vector3.new(0.15, 0.15, distance)
  1529. laser.CFrame = CFrame.new(RightArm.Position, Way) * CFrame.new(0, 0, -distance / 2)
  1530. MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Crimson", VT(0.05, 0.05, 0.05))
  1531. for i = 1, 5 do
  1532. MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Crimson", VT(0.001, 0.001, 0), 0.5)
  1533. end
  1534. table.insert(Effects2, {
  1535. laser,
  1536. "Disappear",
  1537. 0.1,
  1538. 1,
  1539. 1,
  1540. 1,
  1541. 2
  1542. })
  1543. if RayHit ~= nil then
  1544. local v = RayHit.Parent
  1545. if v ~= nil and v.ClassName == "Model" then
  1546. CastWarpOutlines(v)
  1547. v.Parent = nil
  1548. if game.Players:FindFirstChild(v.Name) then
  1549. local Value = IT("BoolValue", Delete)
  1550. Value.Name = v.Name
  1551. end
  1552. end
  1553. end
  1554. end
  1555. for i = 0, 0.3, 0.1 / Animation_Speed do
  1556. Swait()
  1557. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1558. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1560. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1561. 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)
  1562. 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)
  1563. end
  1564. until KEYHOLD == false
  1565. ATTACK = false
  1566. Rooted = false
  1567. end
  1568. function Dark_blade()
  1569. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1570. if HITFLOOR ~= nil then
  1571. ATTACK = true
  1572. Rooted = true
  1573. local GYRO = IT("BodyGyro",RootPart)
  1574. GYRO.D = 100
  1575. GYRO.P = 2000
  1576. GYRO.MaxTorque = VT(0,4000000,0)
  1577. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1578. CreateSound("429459101", RightArm, 10, 0.8)
  1579. for i=0, 3.5, 0.1 / Animation_Speed do
  1580. Swait()
  1581. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1582. 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))
  1583. 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)
  1584. 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)
  1585. 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)
  1586. 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)
  1587. 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)
  1588. 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)
  1589. end
  1590. GYRO:remove()
  1591. for i=0, 0.15, 0.1 / Animation_Speed do
  1592. Swait()
  1593. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1594. 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))
  1595. 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)
  1596. 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)
  1597. 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)
  1598. 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)
  1599. 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)
  1600. 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)
  1601. end
  1602. local BOMBSPOTS = {}
  1603. for i = 1, 25 do
  1604. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
  1605. SPOT.Color = SKILLTEXTCOLOR
  1606. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1607. table.insert(BOMBSPOTS,SPOT)
  1608. MakeForm(SPOT,"Cyl")
  1609. end
  1610. for i=0, 0.2, 0.1 / Animation_Speed do
  1611. Swait()
  1612. 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)
  1613. 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)
  1614. 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)
  1615. 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)
  1616. 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)
  1617. 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)
  1618. end
  1619. ATTACK = false
  1620. Rooted = false
  1621. coroutine.resume(coroutine.create(function()
  1622. Swait(3)
  1623. for i = 1, #BOMBSPOTS do
  1624. if BOMBSPOTS[i] ~= nil then
  1625. local E = BOMBSPOTS[i]
  1626. coroutine.resume(coroutine.create(function()
  1627. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
  1628. BLADE.Color = SKILLTEXTCOLOR
  1629. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1630. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1631. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1632. for i = 1, 10 do
  1633. Swait()
  1634. 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))
  1635. killnearest(BLADE.Position,6,80)
  1636. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1637. BLADE.Transparency = BLADE.Transparency - 0.1
  1638. end
  1639. Swait(45)
  1640. for i = 1, 100 do
  1641. Swait()
  1642. BLADE.Transparency = BLADE.Transparency + 0.01
  1643. E.Transparency = E.Transparency + 0.01
  1644. end
  1645. BLADE:remove()
  1646. E:remove()
  1647. end))
  1648. end
  1649. end
  1650. end))
  1651. end
  1652. end
  1653.  
  1654. function CreateGUICircle(TARGET)
  1655. local GUI = Instance.new("BillboardGui",Character)
  1656. GUI.Size = UDim2.new(0,0,0,0)
  1657. GUI.Adornee = TARGET
  1658. local GUI2 = IT("ImageLabel",GUI)
  1659. GUI2.BackgroundTransparency = 1
  1660. GUI2.BorderSizePixel = 0
  1661. GUI2.Size = UDim2.new(1,0,1,0)
  1662. GUI2.SizeConstraint = "RelativeYY"
  1663. GUI.AlwaysOnTop = true
  1664. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1665. return GUI,GUI2
  1666. end
  1667.  
  1668. function CastWarpOutlines(TARGET)
  1669. coroutine.resume(coroutine.create(function()
  1670. local T = TARGET:GetChildren()
  1671. for i = 1, # T do
  1672. local child = T[i]
  1673. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1674. local clone = child:Clone()
  1675. clone.Parent = Effects
  1676. clone.Anchored = true
  1677. clone.CanCollide = false
  1678. clone:ClearAllChildren()
  1679. clone.CFrame = child.CFrame
  1680. if clone.Name == "Head" then
  1681. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1682. end
  1683. if clone.ClassName == "MeshPart" then
  1684. clone.TextureID = ""
  1685. end
  1686. clone.BrickColor = BRICKC"Black"
  1687. clone.Material = "Neon"
  1688. coroutine.resume(coroutine.create(function()
  1689. for i = 1, 200 do
  1690. Swait()
  1691. clone.Transparency = clone.Transparency + 0.005
  1692. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1693. end
  1694. clone:remove()
  1695. end))
  1696. end
  1697. end
  1698. end))
  1699. end
  1700.  
  1701. function Sink(position,radius)
  1702. for i,v in ipairs(workspace:GetChildren()) do
  1703. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1704. local body = v:GetChildren()
  1705. for part = 1, #body do
  1706. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1707. if(body[part].Position - position).Magnitude < radius then
  1708. if v.ClassName == "Model" then
  1709. if v:FindFirstChild("Humanoid") then
  1710. local defence = Instance.new("BoolValue",v)
  1711. defence.Name = ("Hit2By"..Player.Name)
  1712. if v.Humanoid.Health ~= 0 then
  1713. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1714. if TORS ~= nil then
  1715. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1716. coroutine.resume(coroutine.create(function()
  1717. if HITFLOOR2 ~= nil then
  1718. TORS.Anchored = true
  1719. table.insert(Effects2,{v})
  1720. repeat
  1721. Swait()
  1722. TORS.CFrame = TORS.CFrame * CF(0,-1,0)
  1723. until TORS.Position.Y<position.Y-4
  1724. v:remove()
  1725. end
  1726. end))
  1727. end
  1728. end
  1729. end
  1730. end
  1731. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738.  
  1739. function Shadowpuddle()
  1740. ATTACK = true
  1741. Rooted = true
  1742. CreateSound(ALONE, Head, 10, 1)
  1743. for i=0, 2, 0.1 / Animation_Speed do
  1744. Swait()
  1745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1749. 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)
  1750. 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)
  1751. end
  1752. CreateSound("1075001850", RootPart, 10, 3)
  1753. UNANCHOR = false
  1754. RootPart.Anchored = true
  1755. local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Heart", VT(1,0.2,1))
  1756. MakeForm(GATE,"Cyl")
  1757. GATE.Color = C3(0,0,0)
  1758. GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
  1759. for i=1, 250 do
  1760. Swait()
  1761. UNANCHOR = false
  1762. GATE.Size = GATE.Size + VT(1,0,1)
  1763. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1764. RootPart.Anchored = true
  1765. Sink(GATE.Position,GATE.Size.Z/2.2)
  1766. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
  1767. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1768. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1769. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1770. 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)
  1771. 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)
  1772. end
  1773. repeat Swait() until #Effects2 == 0
  1774. for i=1, 25 do
  1775. Swait()
  1776. GATE.Size = GATE.Size - VT(10,0,10)
  1777. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1778. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1780. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1781. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1782. 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)
  1783. 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)
  1784. end
  1785. GATE:remove()
  1786. RootPart.Anchored = false
  1787. UNANCHOR = true
  1788. ATTACK = false
  1789. Rooted = false
  1790. end
  1791.  
  1792. function Mortar(Target)
  1793. local newball = Instance.new("Part", workspace)
  1794. newball.Anchored = true
  1795. newball.Shape = "Ball"
  1796. newball.Material = "Neon"
  1797. newball.Size = Vector3.new(0,0,0)
  1798. newball.CanCollide = false
  1799. newball.CFrame = CF(Target)
  1800. newball.Color = C3(1,1,1)
  1801. newball.Transparency = 1
  1802. local POS = Mouse.Hit.p
  1803. local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1804. local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1805. local A1 = IT("Attachment",newball)
  1806. A1.Position = Vector3.new(0, 2.5, 0)
  1807. local A2 = IT("Attachment",newball)
  1808. A2.Position = Vector3.new(0, -2.5, 0)
  1809. local Trail = IT("Trail",newball)
  1810. Trail.LightEmission = 1
  1811. Trail.FaceCamera = true
  1812. Trail.Texture = "rbxassetid://945758042"
  1813. Trail.Attachment0 = A1
  1814. Trail.Attachment1 = A2
  1815. Trail.Lifetime = 1
  1816. Trail.MinLength = 0
  1817. Trail.Transparency = NumberSequence.new(0, 1)
  1818. Trail.Color = ColorSequence.new(newball.Color)
  1819. coroutine.resume(coroutine.create(function()
  1820. for i = 0, 1, 0.07 do
  1821. Swait()
  1822. MagicSphere(VT(2,2,2),50,newball.CFrame,"Pearl",VT(-0.01,-0.01,-0.01))
  1823. newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  1824. end
  1825. AoEDamage(newball.Position,5,5,8,0,false,2,2,false,true)
  1826. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], newball, 10, 1)
  1827. MagicSphere(VT(0,0,0),55,newball.CFrame,"Pearl",VT(0.06,0.5,0.06))
  1828. for i = 1, 10 do
  1829. 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)
  1830. end
  1831. game:GetService("Debris"):AddItem(newball, 5)
  1832. end))
  1833. end
  1834.  
  1835.  
  1836. function LightArray()
  1837. ATTACK = true
  1838. Rooted = false
  1839. for i=0, 1, 0.1 / Animation_Speed do
  1840. Swait()
  1841. turnto(Mouse.Hit.p)
  1842. 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)
  1843. 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)
  1844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1846. 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)
  1847. 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)
  1848. end
  1849. local LOOP = 0
  1850. for i = 1, 30 do
  1851. Swait()
  1852. turnto(Mouse.Hit.p)
  1853. LOOP = LOOP + 1
  1854. if LOOP == 10 then
  1855. LOOP = 0
  1856. Mortar(LeftArm.CFrame*CF(0,-1,0).p)
  1857. end
  1858. end
  1859. ATTACK = false
  1860. Rooted = false
  1861. end
  1862.  
  1863. function Oblivion()
  1864. ATTACK = true
  1865. Rooted = true
  1866. for i=0, 2, 0.1 / Animation_Speed do
  1867. Swait()
  1868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1869. 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)
  1870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1872. 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)
  1873. 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)
  1874. end
  1875. for i=0, 0.5, 0.1 / Animation_Speed do
  1876. Swait()
  1877. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1878. 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)
  1879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1881. 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)
  1882. 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)
  1883. end
  1884. for i = 1, 75 do
  1885. Swait()
  1886. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  1887. end
  1888. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1889. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1890. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  1891. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Pearl",VT(5,5,5))
  1892. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Pearl",VT(2.5,2.5,2.5))
  1893. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1894. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1895. ATTACK = false
  1896. Rooted = false
  1897. end
  1898.  
  1899. function kiss()
  1900. ATTACK = true
  1901. Rooted = false
  1902. local HASGRABBED = false
  1903. local GRABTARGET = nil
  1904. local TORS = nil
  1905. local WELD = nil
  1906. for i=0, 1, 0.1 / Animation_Speed do
  1907. Swait()
  1908. 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)
  1909. 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)
  1910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1912. 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)
  1913. 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)
  1914. end
  1915. local GRAB1 = RightArm.Touched:Connect(function(hit)
  1916. if hit.Parent:FindFirstChild("Humanoid") then
  1917. if hit.Parent.Humanoid.Health ~= 0 then
  1918. UNANCHOR = false
  1919. RootPart.Anchored = true
  1920. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1921. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1922. WELD = weldBetween(RootPart,TORS)
  1923. HASGRABBED = true
  1924. Rooted = true
  1925. end
  1926. end
  1927. end)
  1928. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  1929. if hit.Parent:FindFirstChild("Humanoid") then
  1930. if hit.Parent.Humanoid.Health ~= 0 then
  1931. UNANCHOR = false
  1932. RootPart.Anchored = true
  1933. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1934. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1935. WELD = weldBetween(RootPart,TORS)
  1936. HASGRABBED = true
  1937. Rooted = true
  1938. end
  1939. end
  1940. end)
  1941. for i=0, 1, 0.1 / Animation_Speed do
  1942. Swait()
  1943. if HASGRABBED == true then
  1944. break
  1945. end
  1946. 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)
  1947. 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)
  1948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1950. 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)
  1951. 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)
  1952. end
  1953. GRAB1:disconnect()
  1954. GRAB2:disconnect()
  1955. if HASGRABBED == true then
  1956. TORS.Anchored = false
  1957. GRABTARGET = TORS.Parent
  1958. HED = GRABTARGET:FindFirstChild("Head")
  1959. for i=0, 2, 0.1 / Animation_Speed do
  1960. Swait()
  1961. 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)
  1962. 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)
  1963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1965. 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)
  1966. 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)
  1967. end
  1968. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
  1969. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  1970. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1971. local ECH = 0
  1972. CreateSound("247269322", Head, 10, 0.8)
  1973. Head.face.Texture = "rbxassetid://47425887"
  1974. for i=0, 8, 0.1 / Animation_Speed do
  1975. Swait()
  1976. 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)
  1977. 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)
  1978. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1980. 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)
  1981. 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)
  1982. end
  1983. WELD:remove()
  1984. end
  1985. UNANCHOR = true
  1986. ATTACK = false
  1987. Rooted = false
  1988. end
  1989.  
  1990. function friend()
  1991. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1992. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1993. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1994. local ARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightUpperArm")
  1995. if TORSO and ARM then
  1996. ATTACK = true
  1997. local FAKECHARACTER = IT("Model",Effects)
  1998. FAKECHARACTER.Name = "NeonDoll"
  1999. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  2000. CreateWeldOrSnapOrMotor("Weld", HUM, ARM, TORS, CF(0,1.2,0), CF(0,0,0))
  2001. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2002. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(15)), CF(0,0.15,0))
  2003. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2004. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(-15)), CF(0,0.15,0))
  2005. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2006. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  2007. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2008. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  2009. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  2010. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2011. ATTACK = false
  2012. repeat
  2013. wait(1)
  2014. ApplyDamage(HUM,5,5,2,5)
  2015. until HUM.health == 0
  2016. end
  2017. end
  2018. end
  2019.  
  2020. function Debree(POS, SWAIT)
  2021. coroutine.resume(coroutine.create(function()
  2022. local HOLDER = IT("Model", Effects)
  2023. HOLDER.Name = "Debree"
  2024. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  2025. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2026. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2027. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2028. repeat
  2029. Swait()
  2030. until HITFLOOR ~= nil
  2031. local O = 0
  2032. for i = 1, 18 do
  2033. do
  2034. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2035. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2036. O = O - 2.25 + i / 4
  2037. coroutine.resume(coroutine.create(function()
  2038. Swait(SWAIT)
  2039. for i = 1, 60 do
  2040. Swait()
  2041. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2042. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2043. end
  2044. for i = 1, 50 do
  2045. Swait()
  2046. Part.Size = Part.Size * 0.9
  2047. end
  2048. end))
  2049. end
  2050. end
  2051. local O = 0
  2052. for i = 1, 18 do
  2053. do
  2054. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2055. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2056. O = O + 2.25 - i / 4
  2057. coroutine.resume(coroutine.create(function()
  2058. Swait(SWAIT)
  2059. for i = 1, 60 do
  2060. Swait()
  2061. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2062. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2063. end
  2064. for i = 1, 50 do
  2065. Swait()
  2066. Part.Size = Part.Size * 0.9
  2067. end
  2068. end))
  2069. end
  2070. end
  2071. Swait(SWAIT + 110)
  2072. HOLDER:remove()
  2073. end))
  2074. end
  2075.  
  2076. function Banishtele()
  2077. ATTACK = true
  2078. Rooted = true
  2079. for i = 0, 1, 0.1 / Animation_Speed do
  2080. Swait()
  2081. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2082. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2083. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2084. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2085. 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)
  2086. 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)
  2087. end
  2088. Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
  2089. UNANCHOR = false
  2090. RootPart.Anchored = true
  2091. for i = 0, 2, 0.1 / Animation_Speed do
  2092. Swait()
  2093. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2094. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2095. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2096. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2097. 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)
  2098. 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)
  2099. end
  2100. local POS = RootPart.Position
  2101. RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  2102. Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
  2103. for i = 0, 2, 0.1 / Animation_Speed do
  2104. Swait()
  2105. 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)
  2106. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2107. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2108. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2109. 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)
  2110. 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)
  2111. end
  2112. ATTACK = false
  2113. Rooted = false
  2114. end
  2115. --//=================================\\
  2116. --|| ASSIGN THINGS TO KEYS
  2117. --\\=================================//
  2118.  
  2119. function MouseDown(Mouse)
  2120. if ATTACK == false then
  2121. end
  2122. end
  2123.  
  2124. function MouseUp(Mouse)
  2125. HOLD = false
  2126. end
  2127.  
  2128.  
  2129.  
  2130.  
  2131. function KeyDown(Key)
  2132. KEYHOLD = true
  2133. if Key == "z" and ATTACK == false then
  2134. if CHOSENBRICK == "Royal purple" then
  2135. Chain()
  2136. elseif CHOSENBRICK == "Earth green" then
  2137. PowerOutburst()
  2138. elseif CHOSENBRICK == "Crimson" then
  2139. BanishBullet()
  2140. elseif CHOSENBRICK == "Carnation pink" then
  2141. kiss()
  2142. elseif CHOSENBRICK == "Really black" then
  2143. Dark_blade()
  2144. elseif CHOSENBRICK == "White" then
  2145. LightArray()
  2146. end
  2147. end
  2148.  
  2149. if Key == "v" and ATTACK == false then
  2150. if CHOSENBRICK == "Royal purple" then
  2151. MegaChain()
  2152. elseif CHOSENBRICK == "Earth green" then
  2153. RadioactiveSludge()
  2154. elseif CHOSENBRICK == "Crimson" then
  2155. Banishtele()
  2156. elseif CHOSENBRICK == "Carnation pink" then
  2157. friend()
  2158. elseif CHOSENBRICK == "Really black" then
  2159. Shadowpuddle()
  2160. elseif CHOSENBRICK == "White" then
  2161. Oblivion()
  2162. return
  2163. end
  2164. end
  2165.  
  2166. if Key == "x" and ATTACK == false then
  2167. if CHOSENBRICK == "Crimson" then
  2168. Delete:ClearAllChildren()
  2169. end
  2170. end
  2171. if Key == "c" and ATTACK == false then
  2172. if CHOSENBRICK == "Royal purple" then
  2173. CHOSENBRICK = "Earth green"
  2174. elseif CHOSENBRICK == "Earth green" then
  2175. CHOSENBRICK = "Crimson"
  2176. elseif CHOSENBRICK == "Crimson" then
  2177. CHOSENBRICK = "Carnation pink"
  2178. elseif CHOSENBRICK == "Carnation pink" then
  2179. CHOSENBRICK = "Really black"
  2180. elseif CHOSENBRICK == "Really black" then
  2181. CHOSENBRICK = "White"
  2182. elseif CHOSENBRICK == "White" then
  2183. CHOSENBRICK = "Royal purple"
  2184. end
  2185. end
  2186.  
  2187. if Key == "t" and ATTACK == false then
  2188. Taunt()
  2189. end
  2190. if Key == "q" and ATTACK == false then
  2191. Dark_blade()
  2192. end
  2193. end
  2194.  
  2195. function KeyUp(Key)
  2196. KEYHOLD = false
  2197. end
  2198.  
  2199. Mouse.Button1Down:connect(function(NEWKEY)
  2200. MouseDown(NEWKEY)
  2201. end)
  2202. Mouse.Button1Up:connect(function(NEWKEY)
  2203. MouseUp(NEWKEY)
  2204. end)
  2205. Mouse.KeyDown:connect(function(NEWKEY)
  2206. KeyDown(NEWKEY)
  2207. end)
  2208. Mouse.KeyUp:connect(function(NEWKEY)
  2209. KeyUp(NEWKEY)
  2210. end)
  2211.  
  2212. --//=================================\\
  2213. --\\=================================//
  2214.  
  2215.  
  2216. function unanchor()
  2217. if UNANCHOR == true then
  2218. g = Character:GetChildren()
  2219. for i = 1, #g do
  2220. if g[i].ClassName == "Part" then
  2221. g[i].Anchored = false
  2222. end
  2223. end
  2224. end
  2225. end
  2226.  
  2227.  
  2228. --//=================================\\
  2229. --|| WRAP THE WHOLE SCRIPT UP
  2230. --\\=================================//
  2231. Humanoid.Changed:connect(function(Jump)
  2232. if Jump == "Jump" and (Disable_Jump == true) then
  2233. Humanoid.Jump = false
  2234. end
  2235. end)
  2236.  
  2237. while true do
  2238. Swait()
  2239. ANIMATE.Parent = nil
  2240. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2241. IDLEANIMATION:Play()
  2242. SINE = SINE + CHANGE
  2243. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2244. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2245. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2246. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2247. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2248. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2249. 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)
  2250. 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)
  2251. 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)
  2252. 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)
  2253. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2254. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2255. 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)
  2256. 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)
  2257. 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)
  2258. end
  2259. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2260. ANIM = "Jump"
  2261. if ATTACK == false then
  2262. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2263. 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)
  2264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2266. 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)
  2267. 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)
  2268. end
  2269. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2270. ANIM = "Fall"
  2271. if ATTACK == false then
  2272. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2276. 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)
  2277. 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)
  2278. end
  2279. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2280. ANIM = "Idle"
  2281. if ATTACK == false then
  2282. 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)
  2283. 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)
  2284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2286. 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)
  2287. 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)
  2288. end
  2289. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2290. ANIM = "Walk"
  2291. WALK = WALK + 1 / Animation_Speed
  2292. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2293. WALK = 0
  2294. if WALKINGANIM == true then
  2295. WALKINGANIM = false
  2296. elseif WALKINGANIM == false then
  2297. WALKINGANIM = true
  2298. end
  2299. end
  2300. --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)
  2301. --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)
  2302. if ATTACK == false then
  2303. 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)
  2304. 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)
  2305. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2306. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2307. 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)
  2308. 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)
  2309. end
  2310. end
  2311. unanchor()
  2312. Humanoid.MaxHealth = "inf"
  2313. Humanoid.Health = "inf"
  2314. if Rooted == false then
  2315. Disable_Jump = false
  2316. Humanoid.WalkSpeed = Speed
  2317. elseif Rooted == true then
  2318. Disable_Jump = true
  2319. Humanoid.WalkSpeed = 0
  2320. end
  2321. sick.Parent = Character
  2322.  
  2323. if Head:FindFirstChild("face") and ATTACK == false then
  2324. Head.face.Texture = "rbxassetid://1297067294"
  2325. end
  2326. for _, c in pairs(Weapon:GetChildren()) do
  2327. if c.Name == "Eon" then
  2328. c.BrickColor = BRICKC(CHOSENBRICK)
  2329. end
  2330. end
  2331. SKILL1TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  2332. SKILL2TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  2333. if CHOSENBRICK == "Royal purple" then
  2334. SKILL1TEXT.Text = "[Z] Void Power"
  2335. SKILL2TEXT.Text = "[V] Mega Void"
  2336. sick.SoundId = "rbxassetid://885996042"
  2337. sick.Pitch = 1
  2338. elseif CHOSENBRICK == "Earth green" then
  2339. SKILL1TEXT.Text = "[Z] Acid Dragon Roar"
  2340. SKILL2TEXT.Text = "[V] Acid Dragon Ball"
  2341. sick.SoundId = "rbxassetid://402948310"
  2342. sick.Pitch = 1
  2343. elseif CHOSENBRICK == "Crimson" then
  2344. SKILL1TEXT.Text = "[Z] Ban Shot"
  2345. SKILL2TEXT.Text = "[V] Teleport"
  2346. sick.SoundId = "rbxassetid://505708212"
  2347. sick.Pitch = 1
  2348. elseif CHOSENBRICK == "Carnation pink" then
  2349. SKILL1TEXT.Text = "[Z] Loving Kizzu"
  2350. SKILL2TEXT.Text = "[V] Heart Friend"
  2351. sick.SoundId = "rbxassetid://916843842"
  2352. sick.Pitch = 3
  2353. elseif CHOSENBRICK == "Really black" then
  2354. SKILL1TEXT.Text = "[Z] ERRROR"
  2355. SKILL2TEXT.Text = "[V] Black Hole"
  2356. sick.SoundId = "rbxassetid://247971190"
  2357. sick.Pitch = 1
  2358. elseif CHOSENBRICK == "White" then
  2359. SKILL1TEXT.Text = "[Z] Light"
  2360. SKILL2TEXT.Text = "[V] Oblivion"
  2361. sick.SoundId = "rbxassetid://580679750"
  2362. sick.Pitch = 1
  2363. end
  2364. end
  2365.  
  2366. --//=================================\\
  2367. --\\=================================//
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373. --//====================================================\\--
  2374. --|| END OF SCRIPT
  2375. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment