Advertisement
Rocco_T_

Untitled

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