Advertisement
XskillyX

six tanks fe

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