Advertisement
XSleepyDemonX_17

Furry Cop (aka big fan of furries xd)

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