Advertisement
Guest User

Untitled

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