VoidScriptPlayer

Untitled

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