Advertisement
Void_scripter0

Ravager of plagues

Mar 5th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.68 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141. --//=========================\\--
  142. --|| CREATED BY SHACKLUSTER ||--
  143. --\\=========================//--
  144.  
  145. wait(0.2)
  146.  
  147. Player = game:GetService("Players").LocalPlayer
  148. PlayerGui = Player.PlayerGui
  149. Cam = workspace.CurrentCamera
  150. Backpack = Player.Backpack
  151. Character = Player.Character
  152. Humanoid = Character.Humanoid
  153. Mouse = Player:GetMouse()
  154. RootPart = Character["HumanoidRootPart"]
  155. Torso = Character["Torso"]
  156. Head = Character["Head"]
  157. RightArm = Character["Right Arm"]
  158. LeftArm = Character["Left Arm"]
  159. RightLeg = Character["Right Leg"]
  160. LeftLeg = Character["Left Leg"]
  161. RootJoint = RootPart["RootJoint"]
  162. Neck = Torso["Neck"]
  163. RightShoulder = Torso["Right Shoulder"]
  164. LeftShoulder = Torso["Left Shoulder"]
  165. RightHip = Torso["Right Hip"]
  166. LeftHip = Torso["Left Hip"]
  167. local sick = Instance.new("Sound",Character)
  168. sick.SoundId = "rbxassetid://408178043"
  169. sick.Looped = true
  170. sick.Pitch = 1
  171. sick.Volume = 10
  172. sick:Play()
  173. local sick2 = Instance.new("Sound",Character)
  174. sick2.SoundId = "rbxassetid://1143358136"
  175. sick2.Looped = true
  176. sick2.Pitch = 1
  177. sick2.Volume = 10
  178. Humanoid.DisplayDistanceType = "None"
  179. Player:ClearCharacterAppearance()
  180.  
  181. IT = Instance.new
  182. CF = CFrame.new
  183. VT = Vector3.new
  184. RAD = math.rad
  185. C3 = Color3.new
  186. UD2 = UDim2.new
  187. BRICKC = BrickColor.new
  188. ANGLES = CFrame.Angles
  189. EULER = CFrame.fromEulerAnglesXYZ
  190. COS = math.cos
  191. ACOS = math.acos
  192. SIN = math.sin
  193. ASIN = math.asin
  194. ABS = math.abs
  195. MRANDOM = math.random
  196. FLOOR = math.floor
  197.  
  198. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  199. local NEWMESH = IT(MESH)
  200. if MESH == "SpecialMesh" then
  201. NEWMESH.MeshType = MESHTYPE
  202. if MESHID ~= "nil" and MESHID ~= "" then
  203. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  204. end
  205. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  206. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  207. end
  208. end
  209. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  210. NEWMESH.Scale = SCALE
  211. NEWMESH.Parent = PARENT
  212. return NEWMESH
  213. end
  214.  
  215. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  216. local NEWPART = IT("Part")
  217. NEWPART.formFactor = FORMFACTOR
  218. NEWPART.Reflectance = REFLECTANCE
  219. NEWPART.Transparency = TRANSPARENCY
  220. NEWPART.CanCollide = false
  221. NEWPART.Locked = true
  222. NEWPART.Anchored = true
  223. if ANCHOR == false then
  224. NEWPART.Anchored = false
  225. end
  226. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  227. NEWPART.Name = NAME
  228. NEWPART.Size = SIZE
  229. NEWPART.Position = Torso.Position
  230. NEWPART.Material = MATERIAL
  231. NEWPART:BreakJoints()
  232. NEWPART.Parent = PARENT
  233. return NEWPART
  234. end
  235.  
  236.  
  237.  
  238. local HBill = Instance.new("BillboardGui",Head)
  239. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  240. local HName = Instance.new("TextLabel")
  241. HBill.Size = UDim2.new(15,0,2.2,0)
  242. HBill.Name = "Health Display"
  243. HBill.StudsOffset = Vector3.new(3.675,2,0)
  244. HBill.AlwaysOnTop = true
  245. HBill.Enabled = true
  246. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  247. HMain.BackgroundTransparency = 1
  248. HMain.Size = UDim2.new(.5,0,.5,0)
  249. HName.Parent = HMain
  250. HName.BackgroundTransparency = 1
  251. HName.BackgroundColor3 = Color3.new(0,0,0)
  252. HName.BorderColor3 = Color3.new(0,0,0)
  253. HName.BorderSizePixel = 2
  254. HName.Size = UDim2.new(1,0,.75,0)
  255. HName.Font = "SciFi"
  256. HName.Text = "Ravager Of Death"
  257. HName.TextScaled = true
  258. HName.TextColor3 = Color3.new(255,0,0)
  259. HName.TextStrokeColor3 = Color3.new(0,0,0)
  260. HName.TextStrokeTransparency = 0
  261. HName.TextYAlignment = "Bottom"
  262.  
  263.  
  264. --//=================================\\
  265. --|| CUSTOMIZATION
  266. --\\=================================//
  267.  
  268. Class_Name = "SatanBot.exe"
  269. Weapon_Name = "Add-ons"
  270.  
  271. Custom_Colors = {
  272. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  273. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  274.  
  275. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  276. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  277. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  278. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  279. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  280.  
  281. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  282. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  283. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  284. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  285. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  286. }
  287.  
  288.  
  289. Player_Size = 1 --Size of the player.
  290. Animation_Speed = 3
  291. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  292.  
  293. local Speed = 35
  294. local Effects2 = {}
  295.  
  296. --//=================================\\
  297. --|| END OF CUSTOMIZATION
  298. --\\=================================//
  299.  
  300. local function weldBetween(a, b)
  301. local weldd = Instance.new("ManualWeld")
  302. weldd.Part0 = a
  303. weldd.Part1 = b
  304. weldd.C0 = CFrame.new()
  305. weldd.C1 = b.CFrame:inverse() * a.CFrame
  306. weldd.Parent = a
  307. return weldd
  308. end
  309.  
  310. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  311. local acs = Instance.new("Part")
  312. acs.CanCollide = false
  313. acs.Anchored = false
  314. acs.Size = Vector3.new(0,0,0)
  315. acs.CFrame = attachmentpart.CFrame
  316. acs.Parent = attachmentpart
  317. acs.BrickColor = color
  318. local meshs = Instance.new("SpecialMesh")
  319. meshs.MeshId = mesh
  320. meshs.TextureId = texture
  321. meshs.Parent = acs
  322. meshs.Scale = scale
  323. meshs.Offset = offset
  324. weldBetween(attachmentpart,acs)
  325. end
  326.  
  327. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  328. if TYPE == "Gem" then
  329. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  330. acs.Anchored = false
  331. acs.CanCollide = false
  332. acs.CFrame = PART.CFrame
  333. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  334. weldBetween(PART,acs)
  335. elseif TYPE == "Skull" then
  336. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  337. acs.Anchored = false
  338. acs.CanCollide = false
  339. acs.CFrame = PART.CFrame
  340. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  341. weldBetween(PART,acs)
  342. elseif TYPE == "Eye" then
  343. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  344. acs.Anchored = false
  345. acs.CanCollide = false
  346. acs.CFrame = PART.CFrame
  347. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  348. weldBetween(PART,acs)
  349. end
  350. end
  351.  
  352. createbodypart("Eye", "Really red", Head, VT(0.2, 0, -0.55), VT(2, 6, 2))
  353. createbodypart("Eye", "Really red", Head, VT(-0.2, 0, -0.55), VT(2, 6, 2))
  354. createbodypart("Eye", "Really red", Head, VT(0, 0, -0.6), VT(2, 8, 2))
  355.  
  356. --//=================================\\
  357. --|| USEFUL VALUES
  358. --\\=================================//
  359.  
  360. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  361. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  362. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  363. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  364. local CO1 = 0
  365. local CO2 = 0
  366. local CO3 = 0
  367. local CO4 = 0
  368. local CHANGEDEFENSE = 0
  369. local CHANGEDAMAGE = 0
  370. local CHANGEMOVEMENT = 0
  371. local ANIM = "Idle"
  372. local ATTACK = false
  373. local EQUIPPED = false
  374. local HOLD = false
  375. local COMBO = 1
  376. local LASTPOINT = nil
  377. local BLCF = nil
  378. local SCFR = nil
  379. local KEYHOLD = false
  380. local STAGGERHITANIM = false
  381. local STAGGERANIM = false
  382. local STUNANIM = false
  383. local CRITCHANCENUMBER = 0
  384. local IDLENUMBER = 0
  385. local DONUMBER = 0
  386. local HANDIDLE = false
  387. local Rooted = false
  388. local SINE = 0
  389. local CHANGE = 2 / Animation_Speed
  390. local WALKINGANIM = false
  391. local WALK = 0
  392. local DANCE = false
  393. local DISABLEJUMPING = false
  394. local ROBLOXIDLEANIMATION = IT("Animation")
  395. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  396. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  397. --ROBLOXIDLEANIMATION.Parent = Humanoid
  398. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  399. WEAPONGUI.Name = "Weapon GUI"
  400. local Weapon = IT("Model")
  401. Weapon.Name = Weapon_Name
  402. local Effects = IT("Folder", Weapon)
  403. Effects.Name = "Effects"
  404. local Bombs = IT("Folder", Weapon)
  405. Bombs.Name = "BombsHolder"
  406. local ANIMATOR = Humanoid.Animator
  407. local ANIMATE = Character.Animate
  408. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  409. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  410. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  411. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  412. local UNANCHOR = true
  413. local MAGICPARTICLE = "655109389"
  414.  
  415. local SKILLTEXTCOLOR = C3(0,0,0)
  416.  
  417. --//=================================\\
  418. --\\=================================//
  419.  
  420.  
  421. --//=================================\\
  422. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  423. --\\=================================//
  424.  
  425. ArtificialHB = Instance.new("BindableEvent", script)
  426. ArtificialHB.Name = "ArtificialHB"
  427.  
  428. script:WaitForChild("ArtificialHB")
  429.  
  430. frame = Frame_Speed
  431. tf = 0
  432. allowframeloss = false
  433. tossremainder = false
  434. lastframe = tick()
  435. script.ArtificialHB:Fire()
  436.  
  437. game:GetService("RunService").Heartbeat:connect(function(s, p)
  438. tf = tf + s
  439. if tf >= frame then
  440. if allowframeloss then
  441. script.ArtificialHB:Fire()
  442. lastframe = tick()
  443. else
  444. for i = 1, math.floor(tf / frame) do
  445. script.ArtificialHB:Fire()
  446. end
  447. lastframe = tick()
  448. end
  449. if tossremainder then
  450. tf = 0
  451. else
  452. tf = tf - frame * math.floor(tf / frame)
  453. end
  454. end
  455. end)
  456.  
  457. --//=================================\\
  458. --\\=================================//
  459.  
  460.  
  461.  
  462.  
  463.  
  464. --//=================================\\
  465. --|| SOME FUNCTIONS
  466. --\\=================================//
  467.  
  468. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  469. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  470. end
  471.  
  472. function PositiveAngle(NUMBER)
  473. if NUMBER >= 0 then
  474. NUMBER = 0
  475. end
  476. return NUMBER
  477. end
  478.  
  479. function NegativeAngle(NUMBER)
  480. if NUMBER <= 0 then
  481. NUMBER = 0
  482. end
  483. return NUMBER
  484. end
  485.  
  486. function Swait(NUMBER)
  487. if NUMBER == 0 or NUMBER == nil then
  488. ArtificialHB.Event:wait()
  489. else
  490. for i = 1, NUMBER do
  491. ArtificialHB.Event:wait()
  492. end
  493. end
  494. end
  495.  
  496. function QuaternionFromCFrame(cf)
  497. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  498. local trace = m00 + m11 + m22
  499. if trace > 0 then
  500. local s = math.sqrt(1 + trace)
  501. local recip = 0.5 / s
  502. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  503. else
  504. local i = 0
  505. if m11 > m00 then
  506. i = 1
  507. end
  508. if m22 > (i == 0 and m00 or m11) then
  509. i = 2
  510. end
  511. if i == 0 then
  512. local s = math.sqrt(m00 - m11 - m22 + 1)
  513. local recip = 0.5 / s
  514. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  515. elseif i == 1 then
  516. local s = math.sqrt(m11 - m22 - m00 + 1)
  517. local recip = 0.5 / s
  518. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  519. elseif i == 2 then
  520. local s = math.sqrt(m22 - m00 - m11 + 1)
  521. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  522. end
  523. end
  524. end
  525.  
  526. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  527. local xs, ys, zs = x + x, y + y, z + z
  528. local wx, wy, wz = w * xs, w * ys, w * zs
  529. local xx = x * xs
  530. local xy = x * ys
  531. local xz = x * zs
  532. local yy = y * ys
  533. local yz = y * zs
  534. local zz = z * zs
  535. 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))
  536. end
  537.  
  538. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  539. local fp=IT("Part")
  540. fp.formFactor=formfactor
  541. fp.Parent=parent
  542. fp.Reflectance=reflectance
  543. fp.Transparency=transparency
  544. fp.CanCollide=false
  545. fp.Locked=true
  546. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  547. fp.Name=name
  548. fp.Size=size
  549. fp.Position=Character.Torso.Position
  550. NoOutlines(fp)
  551. fp.Material=material
  552. fp:BreakJoints()
  553. return fp
  554. end
  555.  
  556. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  557. local mesh=IT(Mesh)
  558. mesh.Parent=part
  559. if Mesh=="SpecialMesh" then
  560. mesh.MeshType=meshtype
  561. mesh.MeshId=meshid
  562. end
  563. mesh.Offset=offset
  564. mesh.Scale=scale
  565. return mesh
  566. end
  567.  
  568. function QuaternionSlerp(a, b, t)
  569. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  570. local startInterp, finishInterp;
  571. if cosTheta >= 0.0001 then
  572. if (1 - cosTheta) > 0.0001 then
  573. local theta = ACOS(cosTheta)
  574. local invSinTheta = 1 / SIN(theta)
  575. startInterp = SIN((1 - t) * theta) * invSinTheta
  576. finishInterp = SIN(t * theta) * invSinTheta
  577. else
  578. startInterp = 1 - t
  579. finishInterp = t
  580. end
  581. else
  582. if (1 + cosTheta) > 0.0001 then
  583. local theta = ACOS(-cosTheta)
  584. local invSinTheta = 1 / SIN(theta)
  585. startInterp = SIN((t - 1) * theta) * invSinTheta
  586. finishInterp = SIN(t * theta) * invSinTheta
  587. else
  588. startInterp = t - 1
  589. finishInterp = t
  590. end
  591. end
  592. 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
  593. end
  594.  
  595. function Clerp(a, b, t)
  596. local qa = {QuaternionFromCFrame(a)}
  597. local qb = {QuaternionFromCFrame(b)}
  598. local ax, ay, az = a.x, a.y, a.z
  599. local bx, by, bz = b.x, b.y, b.z
  600. local _t = 1 - t
  601. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  602. end
  603.  
  604. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  605. local frame = IT("Frame")
  606. frame.BackgroundTransparency = TRANSPARENCY
  607. frame.BorderSizePixel = BORDERSIZEPIXEL
  608. frame.Position = POSITION
  609. frame.Size = SIZE
  610. frame.BackgroundColor3 = COLOR
  611. frame.BorderColor3 = BORDERCOLOR
  612. frame.Name = NAME
  613. frame.Parent = PARENT
  614. return frame
  615. end
  616.  
  617. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  618. local label = IT("TextLabel")
  619. label.BackgroundTransparency = 1
  620. label.Size = UD2(1, 0, 1, 0)
  621. label.Position = UD2(0, 0, 0, 0)
  622. label.TextColor3 = TEXTCOLOR
  623. label.TextStrokeTransparency = STROKETRANSPARENCY
  624. label.TextTransparency = TRANSPARENCY
  625. label.FontSize = TEXTFONTSIZE
  626. label.Font = TEXTFONT
  627. label.BorderSizePixel = BORDERSIZEPIXEL
  628. label.TextScaled = false
  629. label.Text = TEXT
  630. label.Name = NAME
  631. label.Parent = PARENT
  632. return label
  633. end
  634.  
  635. function NoOutlines(PART)
  636. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  637. end
  638.  
  639.  
  640. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  641. local NEWWELD = IT(TYPE)
  642. NEWWELD.Part0 = PART0
  643. NEWWELD.Part1 = PART1
  644. NEWWELD.C0 = C0
  645. NEWWELD.C1 = C1
  646. NEWWELD.Parent = PARENT
  647. return NEWWELD
  648. end
  649.  
  650. function CreateSound(ID, PARENT, VOLUME, PITCH)
  651. local NEWSOUND = nil
  652. coroutine.resume(coroutine.create(function()
  653. NEWSOUND = IT("Sound", PARENT)
  654. NEWSOUND.Volume = VOLUME
  655. NEWSOUND.Pitch = PITCH
  656. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  657. Swait()
  658. NEWSOUND:play()
  659. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  660. end))
  661. return NEWSOUND
  662. end
  663.  
  664. function CFrameFromTopBack(at, top, back)
  665. local right = top:Cross(back)
  666. 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)
  667. end
  668.  
  669. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  670. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  671. local mesh = IT("SpecialMesh",wave)
  672. mesh.MeshType = "FileMesh"
  673. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  674. mesh.Scale = VT(size,size,size)
  675. mesh.Offset = VT(0,0,-size/8)
  676. wave.CFrame = cframe
  677. coroutine.resume(coroutine.create(function(PART)
  678. for i = 1, waitt do
  679. Swait()
  680. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  681. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  682. if doesrotate == true then
  683. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  684. end
  685. wave.Transparency = wave.Transparency + (0.5/waitt)
  686. if wave.Transparency > 0.99 then
  687. wave:remove()
  688. end
  689. end
  690. end))
  691. end
  692.  
  693. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  694. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  695. local mesh = IT("SpecialMesh",wave)
  696. mesh.MeshType = "FileMesh"
  697. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  698. mesh.Scale = VT(size,size,size)
  699. wave.CFrame = cframe
  700. coroutine.resume(coroutine.create(function(PART)
  701. for i = 1, waitt do
  702. Swait()
  703. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  704. if doesrotate == true then
  705. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  706. end
  707. wave.Transparency = wave.Transparency + (0.5/waitt)
  708. if wave.Transparency > 0.99 then
  709. wave:remove()
  710. end
  711. end
  712. end))
  713. end
  714.  
  715. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  716. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  717. local mesh = IT("SpecialMesh",wave)
  718. mesh.MeshType = "FileMesh"
  719. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  720. mesh.Scale = VT(size,size,size)
  721. wave.CFrame = cframe
  722. coroutine.resume(coroutine.create(function(PART)
  723. for i = 1, waitt do
  724. Swait()
  725. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  726. if doesrotate == true then
  727. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  728. end
  729. wave.Transparency = wave.Transparency + (0.5/waitt)
  730. if wave.Transparency > 0.99 then
  731. wave:remove()
  732. end
  733. end
  734. end))
  735. end
  736.  
  737. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  738. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  739. local mesh = IT("SpecialMesh",wave)
  740. mesh.MeshType = "FileMesh"
  741. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  742. mesh.Scale = VT(size,size,size)
  743. mesh.Offset = VT(0,0,0)
  744. wave.CFrame = cframe
  745. coroutine.resume(coroutine.create(function(PART)
  746. for i = 1, waitt do
  747. Swait()
  748. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  749. if doesrotate == true then
  750. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  751. end
  752. wave.Transparency = wave.Transparency + (0.5/waitt)
  753. if wave.Transparency > 0.99 then
  754. wave:remove()
  755. end
  756. end
  757. end))
  758. end
  759.  
  760. function MagicSphere(size,waitt,cframe,color)
  761. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  762. local mesh = IT("SpecialMesh",wave)
  763. mesh.MeshType = "Sphere"
  764. mesh.Scale = VT(size,size,size)
  765. mesh.Offset = VT(0,0,0)
  766. wave.CFrame = cframe
  767. coroutine.resume(coroutine.create(function(PART)
  768. for i = 1, waitt do
  769. Swait()
  770. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  771. wave.Transparency = wave.Transparency + (1/waitt)
  772. if wave.Transparency > 0.99 then
  773. wave:remove()
  774. end
  775. end
  776. end))
  777. end
  778.  
  779. function MagicSphere2(size,waitt,cframe,color)
  780. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  781. local mesh = IT("SpecialMesh",wave)
  782. mesh.MeshType = "Sphere"
  783. mesh.Scale = VT(size,size,size)
  784. mesh.Offset = VT(0,0,0)
  785. wave.CFrame = cframe
  786. coroutine.resume(coroutine.create(function(PART)
  787. for i = 1, waitt do
  788. Swait()
  789. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  790. wave.Transparency = wave.Transparency - (1/waitt)
  791. end
  792. wave:remove()
  793. end))
  794. end
  795.  
  796. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  797. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  798. prt.Anchored=true
  799. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  800. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  801. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  802. CF=Part.CFrame
  803. Numbb=0
  804. randnumb=math.random()-math.random()
  805. for i=0,1,0.05 do
  806. wait()
  807. CF=CF*CF(0,1,0)
  808. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  809. Part.CFrame=CF*EULER(Numbb,0,0)
  810. Part.Transparency=i
  811. Numbb=Numbb+randnumb
  812. end
  813. Part.Parent=nil
  814. end),prt)
  815. end
  816.  
  817. function MagicBlock(size,waitt,cframe,color)
  818. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  819. local mesh = IT("BlockMesh",wave)
  820. wave.CFrame = cframe
  821. coroutine.resume(coroutine.create(function(PART)
  822. for i = 1, waitt do
  823. Swait()
  824. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  825. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  826. wave.Transparency = wave.Transparency + (1/waitt)
  827. if wave.Transparency > 0.99 then
  828. wave:remove()
  829. end
  830. end
  831. end))
  832. end
  833.  
  834. local EyeSizes={
  835. NumberSequenceKeypoint.new(0,1,0),
  836. NumberSequenceKeypoint.new(1,0.2,0)
  837. }
  838. local EyeTrans={
  839. NumberSequenceKeypoint.new(0,0.8,0),
  840. NumberSequenceKeypoint.new(1,1,0)
  841. }
  842. local PE=Instance.new("ParticleEmitter")
  843. PE.LightEmission=0
  844. PE.Size=NumberSequence.new(EyeSizes)
  845. PE.Transparency=NumberSequence.new(EyeTrans)
  846. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  847. PE.Rotation=NumberRange.new(0,360)
  848. PE.Rate=15
  849. PE.Acceleration = Vector3.new(0,75,0)
  850. PE.Drag = 5
  851. PE.Enabled = false
  852. PE.Speed = NumberRange.new(0,0,0)
  853. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  854. PE.ZOffset = 0
  855. PE.Name = "Particles"
  856.  
  857. function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault)
  858. local particle = PE:Clone()
  859. particle.Parent = art
  860. particle.Acceleration = accel
  861. PE.Rate = rate
  862. if type == "Fire" then
  863. local EyeSizes={
  864. NumberSequenceKeypoint.new(0,1,0.3),
  865. NumberSequenceKeypoint.new(1,0.2,0.2)
  866. }
  867. PE.Size = NumberSequence.new(EyeSizes)
  868. elseif type == "Smoke" then
  869. local EyeSizes={
  870. NumberSequenceKeypoint.new(0,1,0),
  871. NumberSequenceKeypoint.new(1,5,0.5)
  872. }
  873. PE.Size = NumberSequence.new(EyeSizes)
  874. elseif type == "Solid" then
  875. local EyeSizes={
  876. NumberSequenceKeypoint.new(0,1,0),
  877. NumberSequenceKeypoint.new(1,1,0)
  878. }
  879. PE.Size = NumberSequence.new(EyeSizes)
  880. end
  881. PE.Drag = drag
  882. particle.Texture = "http://www.roblox.com/asset/?id="..text
  883. particle.Enabled = isenabledbydefault
  884. return particle
  885. end
  886.  
  887. function MakeForm(PART,TYPE)
  888. if TYPE == "Cyl" then
  889. local MSH = IT("CylinderMesh",PART)
  890. elseif TYPE == "Ball" then
  891. local MSH = IT("SpecialMesh",PART)
  892. MSH.MeshType = "Sphere"
  893. elseif TYPE == "Wedge" then
  894. local MSH = IT("SpecialMesh",PART)
  895. MSH.MeshType = "Wedge"
  896. end
  897. end
  898.  
  899. --//=================================\\
  900. --\\=================================//
  901.  
  902. function createaddongen(limb,position,size)
  903. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  904. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  905. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  906. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  907. end
  908.  
  909. function creategauntlet(limb)
  910. --main--
  911. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  912. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  913. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  914. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  915. MakeForm(part,"Wedge")
  916. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  917. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  918. MakeForm(part,"Wedge")
  919. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  920. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  921. --neon addons
  922. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  923. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  924. --misc--
  925. createaddongen(limb,0.25,0.75)
  926. createaddongen(limb,-0.2,0.25)
  927. createaddongen(limb,-0.35,0.25)
  928. createaddongen(limb,-0.65,0.45)
  929. end
  930.  
  931. --//=================================\\
  932. --|| WEAPON CREATION
  933. --\\=================================//
  934.  
  935. creategauntlet(RightArm)
  936. creategauntlet(LeftLeg)
  937.  
  938. if Player_Size ~= 1 then
  939. for _, v in pairs (Weapon:GetChildren()) do
  940. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  941. local p1 = v.Part1
  942. v.Part1 = nil
  943. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  944. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  945. v.Part1 = p1
  946. elseif v.ClassName == "Part" then
  947. for _, b in pairs (v:GetChildren()) do
  948. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  949. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  950. end
  951. end
  952. end
  953. end
  954. end
  955.  
  956. for _, c in pairs(Weapon:GetChildren()) do
  957. if c.ClassName == "Part" then
  958. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  959. end
  960. end
  961.  
  962. Weapon.Parent = Character
  963.  
  964. Humanoid.Died:connect(function()
  965. sick:remove()
  966. sick2:remove()
  967. CreateSound("167285348", Head, 3, 1)
  968. ATTACK = true
  969. end)
  970.  
  971. print(Class_Name.." loaded.")
  972.  
  973. --//=================================\\
  974. --|| SPEECH
  975. --\\=================================//
  976.  
  977. function chatfunc(text,waitt)
  978. local chat = coroutine.wrap(function()
  979. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  980. Character:FindFirstChild("TalkingBillBoard"):destroy()
  981. end
  982. local naeeym2 = Instance.new("BillboardGui",Character)
  983. naeeym2.Size = UDim2.new(0,100,0,40)
  984. naeeym2.StudsOffset = Vector3.new(0,5,0)
  985. naeeym2.Adornee = Character.Head
  986. naeeym2.Name = "TalkingBillBoard"
  987. naeeym2.AlwaysOnTop = true
  988. local tecks2 = Instance.new("TextLabel",naeeym2)
  989. tecks2.BackgroundTransparency = 1
  990. tecks2.BorderSizePixel = 0
  991. tecks2.Text = ""
  992. tecks2.Font = "SciFi"
  993. tecks2.TextSize = 30
  994. tecks2.TextStrokeTransparency = 1
  995. tecks2.TextColor3 = SKILLTEXTCOLOR
  996. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  997. tecks2.Size = UDim2.new(1,0,0.5,0)
  998. for i = 1,string.len(text),1 do
  999. tecks2.Text = string.sub(text,1,i)
  1000. Swait()
  1001. end
  1002. wait(waitt)
  1003. coroutine.resume(coroutine.create(function()
  1004. for i = 1, 10 do
  1005. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  1006. Swait()
  1007. end
  1008. naeeym2:Destroy()
  1009. end))
  1010. end)
  1011. chat()
  1012. end
  1013.  
  1014. --//=================================\\
  1015. --|| DAMAGE FUNCTIONS
  1016. --\\=================================//
  1017.  
  1018. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1019. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1020. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1021. local BODYGYRO = IT("BodyGyro", STATPART)
  1022. local BODYPOSITION = IT("BodyPosition", STATPART)
  1023. BODYPOSITION.P = 2000
  1024. BODYPOSITION.D = 100
  1025. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1026. if LABELTYPE == "Normal" then
  1027. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1028. elseif LABELTYPE == "Debuff" then
  1029. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1030. elseif LABELTYPE == "Interruption" then
  1031. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1032. end
  1033. game:GetService("Debris"):AddItem(STATPART ,5)
  1034. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1035. BILLBOARDGUI.Adornee = STATPART
  1036. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1037. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1038. BILLBOARDGUI.AlwaysOnTop = false
  1039. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1040. TEXTLABEL.BackgroundTransparency = 1
  1041. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1042. TEXTLABEL.Text = TEXT
  1043. TEXTLABEL.Font = "SciFi"
  1044. TEXTLABEL.FontSize="Size42"
  1045. TEXTLABEL.TextColor3 = COLOR
  1046. TEXTLABEL.TextStrokeTransparency = 1
  1047. TEXTLABEL.TextScaled = true
  1048. TEXTLABEL.TextWrapped = true
  1049. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1050. wait(0.2)
  1051. for i=1, 5 do
  1052. wait()
  1053. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1054. end
  1055. wait(1.2)
  1056. for i=1, 5 do
  1057. wait()
  1058. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1059. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1060. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1061. end
  1062. THEPART.Parent = nil
  1063. end),STATPART, BODYPOSITION, TEXTLABEL)
  1064. end
  1065.  
  1066.  
  1067. --//=================================\\
  1068. --|| DAMAGING
  1069. --\\=================================//
  1070.  
  1071. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1072. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1073. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1074. local dmg = math.random(min,max)
  1075. if humanoid.Health > 0 then
  1076. if beserk == true then
  1077. humanoid.Health = 0
  1078. else
  1079. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1080. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1081. if math.random(1,100) < critrate+1 then
  1082. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1083. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1084. else
  1085. humanoid.Health = humanoid.Health - dmg
  1086. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  1087. end
  1088. local defence = Instance.new("BoolValue",hit.Parent)
  1089. defence.Name = ("HitBy"..Player.Name)
  1090. game:GetService("Debris"):AddItem(defence, 0.5)
  1091. end
  1092. end
  1093. end
  1094. end
  1095.  
  1096. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1097. local dmg = math.random(min,max)
  1098. for i,v in ipairs(workspace:GetChildren()) do
  1099. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1100. local body = v:GetChildren()
  1101. for part = 1, #body do
  1102. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1103. if(body[part].Position - position).Magnitude < radius then
  1104. if v.ClassName == "Model" then
  1105. if v:FindFirstChild("Humanoid") then
  1106. if v.Humanoid.Health ~= 0 then
  1107. if CanBeDodgedByJumping == true then
  1108. if body[part].Position.Y < position.Y+5 then
  1109. if math.random(1,100) < critrate+1 then
  1110. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1111. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1112. else
  1113. v.Humanoid.Health = v.Humanoid.Health - dmg
  1114. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1115. end
  1116. local defence = Instance.new("BoolValue",v)
  1117. defence.Name = ("HitBy"..Player.Name)
  1118. game:GetService("Debris"):AddItem(defence, 0.5)
  1119. end
  1120. else
  1121. if beserk == true then
  1122. v.Humanoid.Health = 0
  1123. end
  1124. if math.random(1,100) < critrate+1 then
  1125. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1126. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1127. else
  1128. v.Humanoid.Health = v.Humanoid.Health - dmg
  1129. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1130. end
  1131. local defence = Instance.new("BoolValue",v)
  1132. defence.Name = ("HitBy"..Player.Name)
  1133. game:GetService("Debris"):AddItem(defence, 0.5)
  1134. end
  1135. end
  1136. end
  1137. end
  1138. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1139. end
  1140. end
  1141. end
  1142. if v.ClassName == "Part" then
  1143. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1144. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1145. end
  1146. end
  1147. end
  1148. end
  1149. end
  1150.  
  1151. function killnearest(position,range,maxstrength)
  1152. for i,v in ipairs(workspace:GetChildren()) do
  1153. local body = v:GetChildren()
  1154. for part = 1, #body do
  1155. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1156. if(body[part].Position - position).Magnitude < range then
  1157. if v.ClassName == "Model" then
  1158. v:BreakJoints()
  1159. end
  1160. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1161. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1162. end
  1163. end
  1164. end
  1165. if v.ClassName == "Part" then
  1166. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1167. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1168. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1169. end
  1170. end
  1171. end
  1172. end
  1173.  
  1174. --//=================================\\
  1175. --|| ATTACK FUNCTIONS AND STUFF
  1176. --\\=================================//
  1177.  
  1178. function CheckTableForString(Table, String)
  1179. for i, v in pairs(Table) do
  1180. if string.find(string.lower(String), string.lower(v)) then
  1181. return true
  1182. end
  1183. end
  1184. return false
  1185. end
  1186.  
  1187. function CheckIntangible(Hit)
  1188. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1189. if Hit and Hit.Parent then
  1190. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1191. return true
  1192. end
  1193. end
  1194. return false
  1195. end
  1196.  
  1197. Debris = game:GetService("Debris")
  1198.  
  1199. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1200. local Direction = CFrame.new(StartPos, Vec).lookVector
  1201. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1202. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1203. if RayHit and CheckIntangible(RayHit) then
  1204. if DelayIfHit then
  1205. wait()
  1206. end
  1207. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1208. end
  1209. return RayHit, RayPos, RayNormal
  1210. end
  1211.  
  1212. function turnto(position)
  1213. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1214. end
  1215.  
  1216. function ExplodeBomb(b)
  1217. b.Parent = Effects
  1218. b.Anchored = true
  1219. CreateSound("215395285", b, 10, 1)
  1220. MagicSphere(5,50,b.CFrame,"Really red")
  1221. b.Transparency = 1
  1222. MagicBlock(3,45,b.CFrame,"Really red")
  1223. --BreakEffect("Really red",b.CFrame,2,2,2,"Neon")
  1224. for i = 1, 10 do
  1225. CreateSwirl(0,5,true,-0.2,25,b.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  1226. end
  1227. killnearest(b.Position,30,25)
  1228. game:GetService("Debris"):AddItem(b, 5)
  1229. end
  1230.  
  1231. function Detonate()
  1232. bomb = Bombs:GetChildren()
  1233. for lol = 1, #bomb do
  1234. if bomb[lol].ClassName == "Part" then
  1235. local b = bomb[lol]
  1236. ExplodeBomb(b)
  1237. end
  1238. end
  1239. end
  1240.  
  1241.  
  1242.  
  1243. function TyranyCannon()
  1244. ATTACK = true
  1245. for i=0, 1, 0.1 / Animation_Speed do
  1246. Swait()
  1247. turnto(Mouse.Hit.p)
  1248. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed/5)
  1249. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1250. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1251. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1252. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1.25), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1253. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1254. end
  1255. local POS = Mouse.Hit.p
  1256. for i = 1, 5 do
  1257. MagicSphere(2,10,RightArm.CFrame * CF(0,-1,0),"Really red")
  1258. Swait(5)
  1259. end
  1260. CreateSound("438666196", RightArm, 5, 1)
  1261. MagicSphere(5,10,RightArm.CFrame * CF(0,-1,0),"Really red")
  1262. local Projectile = CreatePart(3, Bombs, "Neon", 0, 0, "Really red", "Bomb-Projectile", VT(5,5,5),false)
  1263. Projectile.CFrame = RightArm.CFrame * CF(0,-1,0)
  1264. Projectile.CanCollide = false
  1265. MakeForm(Projectile,"Ball")
  1266. local grav = Instance.new("BodyPosition",Projectile)
  1267. grav.P = 25000
  1268. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1269. grav.position = POS
  1270. grav.Name = "GravityForce"
  1271. local harm = Projectile.Touched:Connect(function(hit)
  1272. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") and Projectile.Parent ~= Effects then
  1273. ExplodeBomb(Projectile)
  1274. end
  1275. end)
  1276. ATTACK = false
  1277. end
  1278.  
  1279. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1280. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1281. end
  1282.  
  1283. function EarthShatter()
  1284. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1285. if HITFLOOR ~= nil then
  1286. ATTACK = true
  1287. Rooted = true
  1288. for i=0, 1, 0.1 / Animation_Speed/2 do
  1289. Swait()
  1290. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
  1291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  1293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
  1294. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
  1295. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
  1296. end
  1297. for i=0, 1, 0.1 / Animation_Speed*5 do
  1298. Swait()
  1299. RootPart.Anchored = true
  1300. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1301. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1302. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1303. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*5)
  1304. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  1305. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1306. end
  1307. local POS = RightArm.CFrame * CF(0,-1,0).p
  1308. for i = 1,10 do
  1309. CreateWave(0,10,true,0.05,25,CF(POS),"Really black")
  1310. CreateWave(0,6,true,-0.05,25,CF(POS),"Really black")
  1311. CreateWave(0,2,true,0.05,25,CF(POS),"Really black")
  1312. killnearest(POS,15,25)
  1313. CreateSound("438666141", RightArm, 5, 1)
  1314. for i = 1, 40 do
  1315. local angle = math.random(-180,180)
  1316. coroutine.resume(coroutine.create(function()
  1317. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1318. local SpawnPosition = RayPos
  1319. local floor = RayHit
  1320. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1321. local LastPosition = RayPos
  1322. local Delay = 1
  1323. if floor ~= nil then
  1324. for i = 1, 5 do
  1325. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1326. local End = RayPos
  1327. LastPosition = End
  1328. killnearest(End,15,25)
  1329. local locatepart = Instance.new("Part",Effects)
  1330. locatepart.Size = VT(0.5,0.5,0.5)
  1331. locatepart.Position = End
  1332. locatepart.CanCollide = false
  1333. locatepart.Anchored = true
  1334. locatepart.Name = "L0"
  1335. locatepart.Transparency = 1
  1336. if SpawnPosition then
  1337. CreateSwirl(0,2,false,0.05,25,CF(End),"Really black")
  1338. local spike = Instance.new("CornerWedgePart")
  1339. spike.Size = Vector3.new(1,15,1)
  1340. spike.Material = "Neon"
  1341. spike.Color = "Really black"
  1342. spike.Anchored = true
  1343. spike.CanCollide = false
  1344. spike.CFrame = CFrame.new(End.X,SpawnPosition.Y+2,End.Z)
  1345. spike.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1346. spike.Name = HITFLOOR.Name.."Spike"
  1347. CreateSound("341300954", spike, 1, (math.random(8,12)/10))
  1348. for i = 1, 3 do
  1349. local overlay = spike:Clone()
  1350. overlay.Size = overlay.Size + Vector3.new(0.2,0.2*2,0.2)
  1351. overlay.CFrame = spike.CFrame
  1352. overlay.Parent = nil
  1353. overlay.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1354. overlay.Parent = Effects
  1355. table.insert(Effects2,{overlay,"Disappear",0.01,0,0,0,0})
  1356. end
  1357. spike.Size = Vector3.new(2,25,2)
  1358. spike.Parent = Effects
  1359. table.insert(Effects2,{spike,"Disappear",0.01,0,0,0,0})
  1360. end
  1361. Swait(5)
  1362. game:GetService("Debris"):AddItem(locatepart, 5)
  1363. end
  1364. end
  1365. end))
  1366. end
  1367. wait(0.05)
  1368. end
  1369. for i=0, 6, 0.1 / Animation_Speed*5 do
  1370. Swait()
  1371. RootPart.Anchored = true
  1372. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*5)
  1376. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  1377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1378. end
  1379. ATTACK = false
  1380. Rooted = false
  1381. end
  1382. end
  1383.  
  1384. function RavagingOverthrower()
  1385. ATTACK = true
  1386. Rooted = true
  1387. chatfunc("I will show you what is death!!!",4)
  1388. for i=0, 1, 0.1 / Animation_Speed do
  1389. Swait()
  1390. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1391. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1392. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1393. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1394. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1395. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1396. end
  1397. CreateSound("348663022", Torso, 5, 1)
  1398. local StartPos = RootPart.CFrame * CF(0,0,-10).p
  1399. for i = 1, 5 do
  1400. MagicSphere2(25,25,CF(StartPos),"Really red")
  1401. Swait(15)
  1402. end
  1403. local soundeffect = IT("Sound",Torso)
  1404. soundeffect.SoundId = "rbxassetid://487186990"
  1405. soundeffect.Looped = true
  1406. soundeffect.Volume = 10
  1407. soundeffect.Playing = true
  1408. repeat
  1409. turnto(Mouse.Hit.p)
  1410. MagicSphere2(25,25,CF(StartPos),"Really red")
  1411. MagicSphere(25/10,25,CF(StartPos),"Really red")
  1412. for i = 1, 3 do
  1413. CreateSwirl(0,25,true,-0.2,5,CF(StartPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  1414. end
  1415. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  1416. local distance = (StartPos - RayPos).magnitude
  1417. local RayBeam = IT("Part",Effects)
  1418. RayBeam.Material = "Neon"
  1419. RayBeam.Anchored = true
  1420. RayBeam.BrickColor = BRICKC"Really red"
  1421. local mesh = IT("SpecialMesh",RayBeam)
  1422. mesh.MeshType = "Cylinder"
  1423. RayBeam.Size = Vector3.new(distance+10, math.random(10,15), math.random(10,15))
  1424. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  1425. MagicSphere(15,5,CF(RayPos),"Really red")
  1426. killnearest(RayPos,15,100)
  1427. for i = 1, 3 do
  1428. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  1429. end
  1430. Swait()
  1431. if KEYHOLD == false then
  1432. coroutine.resume(coroutine.create(function()
  1433. for i = 1, 30 do
  1434. RayBeam.Transparency = i/30
  1435. Swait()
  1436. end
  1437. RayBeam:remove()
  1438. end))
  1439. else
  1440. RayBeam:remove()
  1441. end
  1442. until KEYHOLD == false
  1443. soundeffect:remove()
  1444. ATTACK = false
  1445. Rooted = false
  1446. end
  1447.  
  1448. function dodadance()
  1449. ATTACK = true
  1450. Rooted = true
  1451. DANCE = true
  1452. sick:Stop()
  1453. sick2:Play()
  1454. local Animation_Speed2 = 1.5
  1455. HName.Text = "Dance!"
  1456. repeat
  1457. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1458. Swait()
  1459. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
  1460. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1461. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1462. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-180)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1463. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(35)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-35)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1465. end
  1466. MagicSphere(5,15,Torso.CFrame,"Really red")
  1467. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1468. Swait()
  1469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(15)), 0.15 / Animation_Speed2)
  1470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1473. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(35)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(-35)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1475. end
  1476. MagicSphere(5,15,Torso.CFrame,"Really red")
  1477. until DANCE == false
  1478. HName.Text = "Satan's Robot"
  1479. sick:Play()
  1480. sick2:Stop()
  1481. ATTACK = false
  1482. Rooted = false
  1483. end
  1484.  
  1485. function Warp()
  1486. MagicSphere2(10,5,Torso.CFrame,"Really red")
  1487. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+4,Mouse.Hit.p.Z))
  1488. CreateSound("282061340", Torso, 2, 1)
  1489. MagicSphere(5,5,Torso.CFrame,"Really red")
  1490. for i = 1, 3 do
  1491. CreateSwirl(0,5,true,-0.2,25,Torso.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  1492. end
  1493. killnearest(Torso.Position,12,25)
  1494. Swait()
  1495. turnto(Mouse.Hit.p)
  1496. end
  1497.  
  1498. --//=================================\\
  1499. --|| ASSIGN THINGS TO KEYS
  1500. --\\=================================//
  1501.  
  1502. Humanoid.Changed:connect(function(Jump)
  1503. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1504. Humanoid.Jump = false
  1505. end
  1506. end)
  1507.  
  1508. function MouseDown(Mouse)
  1509. if ATTACK == false then
  1510. end
  1511. end
  1512.  
  1513. function MouseUp(Mouse)
  1514. HOLD = false
  1515. end
  1516.  
  1517. function KeyDown(Key)
  1518. KEYHOLD = true
  1519. if Key == "e" and ATTACK == false then
  1520. TyranyCannon()
  1521. wait(1)
  1522. Detonate()
  1523. end
  1524.  
  1525. if Key == "e" and ATTACK == false then
  1526. EarthShatter()
  1527. end
  1528.  
  1529. if Key == "r" and ATTACK == false then
  1530. RavagingOverthrower()
  1531. end
  1532.  
  1533. if Key == "q" and ATTACK == false then
  1534. Warp()
  1535. end
  1536.  
  1537. if Key == "t" and ATTACK == false then
  1538. CreateSound("159882644", Head, 5, 0.8)
  1539. end
  1540.  
  1541. if Key == "t" and DANCE == true then
  1542. CreateSound("887591869", Head, 5, 1)
  1543. end
  1544.  
  1545. if Key == "x" and (ATTACK == false or DANCE == true) then
  1546. if DANCE == false then
  1547. dodadance()
  1548. elseif DANCE == true then
  1549. DANCE = false
  1550. end
  1551. end
  1552. end
  1553.  
  1554. function KeyUp(Key)
  1555. KEYHOLD = false
  1556. end
  1557.  
  1558. Mouse.Button1Down:connect(function(NEWKEY)
  1559. MouseDown(NEWKEY)
  1560. end)
  1561. Mouse.Button1Up:connect(function(NEWKEY)
  1562. MouseUp(NEWKEY)
  1563. end)
  1564. Mouse.KeyDown:connect(function(NEWKEY)
  1565. KeyDown(NEWKEY)
  1566. end)
  1567. Mouse.KeyUp:connect(function(NEWKEY)
  1568. KeyUp(NEWKEY)
  1569. end)
  1570.  
  1571. --//=================================\\
  1572. --\\=================================//
  1573.  
  1574.  
  1575. function unanchor()
  1576. if UNANCHOR == true then
  1577. g = Character:GetChildren()
  1578. for i = 1, #g do
  1579. if g[i].ClassName == "Part" then
  1580. g[i].Anchored = false
  1581. end
  1582. end
  1583. end
  1584. end
  1585.  
  1586.  
  1587. --//=================================\\
  1588. --|| WRAP THE WHOLE SCRIPT UP
  1589. --\\=================================//
  1590.  
  1591. Humanoid.Changed:connect(function(Jump)
  1592. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1593. Humanoid.Jump = false
  1594. end
  1595. end)
  1596.  
  1597. ANIMATE.Parent = nil
  1598. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1599. IDLEANIMATION:Play()
  1600.  
  1601. while true do
  1602. Swait()
  1603. SINE = SINE + CHANGE
  1604. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1605. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1606. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1607. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1608. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1609. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1610. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1611. 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) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1612. 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)
  1613. 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)
  1614. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1615. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. end
  1620. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1621. ANIM = "Jump"
  1622. if ATTACK == false then
  1623. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1624. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1625. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1626. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1627. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1628. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1629. end
  1630. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1631. ANIM = "Fall"
  1632. if ATTACK == false then
  1633. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1634. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1635. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1636. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1637. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1638. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1639. end
  1640. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1641. ANIM = "Idle"
  1642. if ATTACK == false then
  1643. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1644. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1645. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(30)) * ANGLES(RAD(3), RAD(25), RAD(5)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1646. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1647. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1648. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1649. end
  1650. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1651. ANIM = "Walk"
  1652. WALK = WALK + 1 / Animation_Speed
  1653. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1654. WALK = 0
  1655. if WALKINGANIM == true then
  1656. WALKINGANIM = false
  1657. elseif WALKINGANIM == false then
  1658. WALKINGANIM = true
  1659. end
  1660. end
  1661. --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)
  1662. --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)
  1663. if ATTACK == false then
  1664. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1668. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1669. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1670. end
  1671. end
  1672. if #Effects2>0 then
  1673. for e=1,#Effects2 do
  1674. if Effects2[e]~=nil then
  1675. local Thing=Effects2[e]
  1676. if Thing~=nil then
  1677. local Part=Thing[1]
  1678. local Mode=Thing[2]
  1679. local Delay=Thing[3]
  1680. local IncX=Thing[4]
  1681. local IncY=Thing[5]
  1682. local IncZ=Thing[6]
  1683. local Part2=Thing[8]
  1684. if Thing[1].Transparency<=1 then
  1685. if Thing[2]=="Block1" then
  1686. Thing[1].CFrame=Thing[1].CFrame
  1687. Mesh=Thing[1].Mesh
  1688. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1689. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1690. elseif Thing[2]=="Cylinder" then
  1691. Mesh=Thing[1].Mesh
  1692. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1693. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1694. elseif Thing[2]=="Blood" then
  1695. Mesh=Thing[7]
  1696. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1697. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1698. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1699. elseif Thing[2]=="Elec" then
  1700. Mesh=Thing[1].Mesh
  1701. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1702. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1703. elseif Thing[2]=="Disappear" then
  1704. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1705. end
  1706. else
  1707. Part.Parent=nil
  1708. table.remove(Effects2,e)
  1709. end
  1710. end
  1711. end
  1712. end
  1713. end
  1714. unanchor()
  1715. Humanoid.MaxHealth = "inf"
  1716. Humanoid.Health = "inf"
  1717. Humanoid.Name = "Ravage"
  1718. if Rooted == false then
  1719. Disable_Jump = false
  1720. Humanoid.WalkSpeed = Speed
  1721. elseif Rooted == true then
  1722. Disable_Jump = true
  1723. Humanoid.WalkSpeed = 0
  1724. end
  1725. q = Character:GetChildren()
  1726. for u = 1, #q do
  1727. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1728. q[u]:remove()
  1729. elseif q[u].ClassName == "Shirt" then
  1730. q[u]:Destroy()
  1731. elseif q[u].ClassName == "Pants" then
  1732. q[u]:Destroy()
  1733. elseif q[u].ClassName == "CharacterMesh" then
  1734. q[u]:remove()
  1735. elseif q[u].ClassName == "ShirtGraphic" then
  1736. q[u]:remove()
  1737. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1738. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1739. end
  1740. end
  1741. if Head:FindFirstChild("face") then
  1742. Head.face:remove()
  1743. end
  1744. if Head:FindFirstChild("Died") then
  1745. Head.Died:remove()
  1746. end
  1747. bomb = Bombs:GetChildren()
  1748. for lol = 1, #bomb do
  1749. if bomb[lol].ClassName == "Part" then
  1750. MagicSphere2(2,5,bomb[lol].CFrame,"Really black")
  1751. end
  1752. end
  1753. end
  1754.  
  1755. --//=================================\\
  1756. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement