Advertisement
PasterXIV

Untitled

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