Advertisement
Guest User

hjh

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