Advertisement
Sami83094

converted

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