Advertisement
JORGEEEEEE_EEE

cyborg

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