Advertisement
doryna2281337

Untitled

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