Advertisement
EnderPlayBro

Untitled

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