Advertisement
AxeuerAlt

Untitled

May 1st, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.38 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145.  
  146.  
  147.  
  148.  
  149. --//====================================================\\--
  150. --|| CREATED BY AxeuerAlt
  151. --\\====================================================//--
  152.  
  153.  
  154.  
  155. wait(0.2)
  156.  
  157.  
  158. function sandbox(var,func)
  159. local env = getfenv(func)
  160. local newenv = setmetatable({},{
  161. __index = function(self,k)
  162. if k=="script" then
  163. return var
  164. else
  165. return env[k]
  166. end
  167. end,
  168. })
  169. setfenv(func,newenv)
  170. return func
  171. end
  172. cors = {}
  173. mas = Instance.new("Model",game:GetService("Lighting"))
  174. Tool0 = Instance.new("Tool")
  175. Part1 = Instance.new("Part")
  176. SpecialMesh2 = Instance.new("SpecialMesh")
  177. Sound3 = Instance.new("Sound")
  178. Sound4 = Instance.new("Sound")
  179. Sound5 = Instance.new("Sound")
  180. Script6 = Instance.new("Script")
  181. LocalScript7 = Instance.new("LocalScript")
  182. LocalScript8 = Instance.new("LocalScript")
  183. Animation9 = Instance.new("Animation")
  184. Script10 = Instance.new("Script")
  185. LocalScript11 = Instance.new("LocalScript")
  186. LocalScript12 = Instance.new("LocalScript")
  187. Tool0.Name = "EarthDaySummoningHorn"
  188. Tool0.Parent = mas
  189. Tool0.TextureId = "http://www.roblox.com/asset/?id=233694007"
  190. Tool0.Enabled = false
  191. Tool0.GripForward = Vector3.new(-0, 1, -8.10044585e-05)
  192. Tool0.GripPos = Vector3.new(0, -1, 0)
  193. Tool0.GripUp = Vector3.new(0, 8.10044585e-05, 1)
  194. Part1.Name = "Handle"
  195. Part1.Parent = Tool0
  196. Part1.Rotation = Vector3.new(-60, 0, 0)
  197. Part1.Locked = true
  198. Part1.FormFactor = Enum.FormFactor.Custom
  199. Part1.Size = Vector3.new(1, 1.75, 2.75)
  200. Part1.CFrame = CFrame.new(-109.138252, 51.4867859, -77.356987, 1, 0, 0, 0, 0.499999911, 0.866025329, 0, -0.866025329, 0.499999911)
  201. Part1.BottomSurface = Enum.SurfaceType.Smooth
  202. Part1.TopSurface = Enum.SurfaceType.Smooth
  203. Part1.Position = Vector3.new(-109.138252, 51.4867859, -77.356987)
  204. Part1.Orientation = Vector3.new(-60, 0, 0)
  205. SpecialMesh2.Parent = Part1
  206. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=233693740"
  207. SpecialMesh2.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  208. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=233693812"
  209. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  210. SpecialMesh2.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  211. Sound3.Name = "Horn"
  212. Sound3.Parent = Part1
  213. Sound3.SoundId = "http://www.roblox.com/asset/?id=235742483"
  214. Sound4.Name = "Earthquake"
  215. Sound4.Parent = Part1
  216. Sound4.SoundId = "http://www.roblox.com/asset/?id=102546080"
  217. Sound4.Volume = 0.69999998807907
  218. Sound4.Looped = true
  219. Sound5.Name = "RockFall"
  220. Sound5.Parent = Part1
  221. Sound5.SoundId = "http://www.roblox.com/asset/?id=102544922"
  222. Script6.Name = "MotorizeGrip"
  223. Script6.Parent = Tool0
  224. table.insert(cors,sandbox(Script6,function()
  225. --Made by Luckymaxer
  226.  
  227. Tool = script.Parent
  228. Handle = Tool:WaitForChild("Handle")
  229.  
  230. Players = game:GetService("Players")
  231.  
  232. function CheckIfAlive()
  233. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
  234. end
  235.  
  236. function Equipped()
  237. Character = Tool.Parent
  238. Humanoid = Character:FindFirstChild("Humanoid")
  239. Player = Players:GetPlayerFromCharacter(Character)
  240. if not CheckIfAlive() then
  241. return
  242. end
  243. local RightArm = Character:FindFirstChild("Right Arm")
  244. if RightArm then
  245. local RightGrip = RightArm:FindFirstChild("RightGrip")
  246. if RightGrip then
  247. RightGripMotor = Instance.new("Motor6D")
  248. RightGripMotor.Name = "RightGrip"
  249. RightGripMotor.Part0 = RightGrip.Part0
  250. RightGripMotor.Part1 = RightGrip.Part1
  251. RightGripMotor.C0 = RightGrip.C0
  252. RightGripMotor.C1 = RightGrip.C1
  253. RightGrip:Destroy()
  254. RightGripMotor.Parent = RightArm
  255. end
  256. end
  257. end
  258.  
  259. function Unequipped()
  260. if RightGripMotor and RightGripMotor.Parent then
  261. RightGripMotor:Destroy()
  262. end
  263. end
  264.  
  265. Tool.Equipped:connect(Equipped)
  266. Tool.Unequipped:connect(Unequipped)
  267. end))
  268. LocalScript7.Name = "MouseIcon"
  269. LocalScript7.Parent = Tool0
  270. table.insert(cors,sandbox(LocalScript7,function()
  271. --Made by Luckymaxer
  272.  
  273. Mouse_Icon = "rbxasset://textures/GunCursor.png"
  274. Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
  275.  
  276. Tool = script.Parent
  277.  
  278. Mouse = nil
  279.  
  280. function UpdateIcon()
  281. if Mouse then
  282. Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
  283. end
  284. end
  285.  
  286. function OnEquipped(ToolMouse)
  287. Mouse = ToolMouse
  288. UpdateIcon()
  289. end
  290.  
  291. function OnChanged(Property)
  292. if Property == "Enabled" then
  293. UpdateIcon()
  294. end
  295. end
  296.  
  297. Tool.Equipped:connect(OnEquipped)
  298. Tool.Changed:connect(OnChanged)
  299.  
  300. end))
  301. LocalScript8.Parent = Tool0
  302. table.insert(cors,sandbox(LocalScript8,function()
  303. --Made by Luckymaxer
  304.  
  305. Tool = script.Parent
  306. Handle = Tool:WaitForChild("Handle")
  307.  
  308. Players = game:GetService("Players")
  309. RunService = game:GetService("RunService")
  310.  
  311. Animations = {}
  312. LocalObjects = {}
  313.  
  314. ServerControl = Tool:WaitForChild("ServerControl")
  315. ClientControl = Tool:WaitForChild("ClientControl")
  316.  
  317. ToolEquipped = false
  318.  
  319. function SetAnimation(mode, value)
  320. if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
  321. for i, v in pairs(Animations) do
  322. if v.Animation == value.Animation then
  323. v.AnimationTrack:Stop()
  324. table.remove(Animations, i)
  325. end
  326. end
  327. local AnimationTrack = Humanoid:LoadAnimation(value.Animation)
  328. table.insert(Animations, {Animation = value.Animation, AnimationTrack = AnimationTrack})
  329. AnimationTrack:Play(value.FadeTime, value.Weight, value.Speed)
  330. elseif mode == "StopAnimation" and value then
  331. for i, v in pairs(Animations) do
  332. if v.Animation == value.Animation then
  333. v.AnimationTrack:Stop(value.FadeTime)
  334. table.remove(Animations, i)
  335. end
  336. end
  337. end
  338. end
  339.  
  340. function DisableJump(Boolean)
  341. if PreventJump then
  342. PreventJump:disconnect()
  343. end
  344. if Boolean then
  345. PreventJump = Humanoid.Changed:connect(function(Property)
  346. if Property == "Jump" then
  347. Humanoid.Jump = false
  348. end
  349. end)
  350. end
  351. end
  352.  
  353. function CheckIfAlive()
  354. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false)
  355. end
  356.  
  357. function Equipped(mouse)
  358. Character = Tool.Parent
  359. Player = Players:GetPlayerFromCharacter(Character)
  360. Humanoid = Character:FindFirstChild("Humanoid")
  361. ToolEquipped = true
  362. if not CheckIfAlive() then
  363. return
  364. end
  365. local PlayerMouse=p:GetMouse()
  366. mouse.Button1Down:connect(function()
  367. InvokeServer("Button1Click", {Down = true})
  368. end)
  369. mouse.Button1Up:connect(function()
  370. InvokeServer("Button1Click", {Down = false})
  371. end)
  372. mouse.Button2Down:connect(function()
  373. InvokeServer("Button2Click", {Down = true})
  374. end)
  375. mouse.Button2Up:connect(function()
  376. InvokeServer("Button2Click", {Down = false})
  377. end)
  378. mouse.KeyDown:connect(function(Key)
  379. InvokeServer("KeyPress", {Key = Key, Down = true})
  380. end)
  381. mouse.KeyUp:connect(function(Key)
  382. InvokeServer("KeyPress", {Key = Key, Down = false})
  383. end)
  384. mouse.Move:connect(function()
  385. InvokeServer("mouseMove", {Position = mouse.Hit.p, Target = mouse.Target})
  386. end)
  387. end
  388.  
  389. function Unequipped()
  390. ToolEquipped = false
  391. LocalObjects = {}
  392. for i, v in pairs(Animations) do
  393. if v and v.AnimationTrack then
  394. v.AnimationTrack:Stop()
  395. end
  396. end
  397. for i, v in pairs({PreventJump, ObjectLocalTransparencyModifier}) do
  398. if v then
  399. v:disconnect()
  400. end
  401. end
  402. Animations = {}
  403. end
  404.  
  405. function InvokeServer(mode, value)
  406. local ServerReturn
  407. pcall(function()
  408. ServerReturn = ServerControl:InvokeServer(mode, value)
  409. end)
  410. return ServerReturn
  411. end
  412.  
  413. function OnServerInvoke(mode, value)
  414. if mode == "PlayAnimation" and value and ToolEquipped and Humanoid then
  415. SetAnimation("PlayAnimation", value)
  416. elseif mode == "StopAnimation" and value then
  417. SetAnimation("StopAnimation", value)
  418. elseif mode == "PlaySound" and value then
  419. value:Play()
  420. elseif mode == "StopSound" and value then
  421. value:Stop()
  422. elseif mode == "MousePosition" then
  423. return {Position = PlayerMouse.Hit.p, Target = PlayerMouse.Target}
  424. elseif mode == "DisableJump" then
  425. DisableJump(value)
  426. elseif mode == "SetLocalTransparencyModifier" and value and ToolEquipped then
  427. pcall(function()
  428. local ObjectFound = false
  429. for i, v in pairs(LocalObjects) do
  430. if v == value then
  431. ObjectFound = true
  432. end
  433. end
  434. if not ObjectFound then
  435. table.insert(LocalObjects, value)
  436. if ObjectLocalTransparencyModifier then
  437. ObjectLocalTransparencyModifier:disconnect()
  438. end
  439. ObjectLocalTransparencyModifier = RunService.Stepped:connect(function()
  440. for i, v in pairs(LocalObjects) do
  441. if v.Object and v.Object.Parent then
  442. local CurrentTransparency = v.Object.LocalTransparencyModifier
  443. if ((not v.AutoUpdate and (CurrentTransparency == 1 or CurrentTransparency == 0)) or v.AutoUpdate) then
  444. v.Object.LocalTransparencyModifier = v.Transparency
  445. end
  446. else
  447. table.remove(LocalObjects, i)
  448. end
  449. end
  450. end)
  451. end
  452. end)
  453. end
  454. end
  455.  
  456. ServerControl.OnServerInvoke = OnServerInvoke
  457. Tool.Equipped:connect(Equipped)
  458. Tool.Unequipped:connect(Unequipped)
  459. end))
  460. Animation9.Name = "Blow"
  461. Animation9.Parent = Tool0
  462. Animation9.AnimationId = "http://www.roblox.com/asset/?id=235543257"
  463. Script10.Parent = Tool0
  464. table.insert(cors,sandbox(Script10,function()
  465. --Made by Luckymaxer
  466.  
  467. Tool = script.Parent
  468. Handle = Tool:WaitForChild("Handle")
  469.  
  470. Players = game:GetService("Players")
  471. Debris = game:GetService("Debris")
  472. InsertService = game:GetService("InsertService")
  473.  
  474. CameraShake = script:WaitForChild("CameraShake")
  475. TripScript = script:WaitForChild("TripScript")
  476.  
  477. BaseUrl = "http://www.roblox.com/asset/?id="
  478.  
  479. BasePart = Instance.new("Part")
  480. BasePart.Shape = Enum.PartType.Block
  481. BasePart.Material = Enum.Material.Plastic
  482. BasePart.TopSurface = Enum.SurfaceType.Smooth
  483. BasePart.BottomSurface = Enum.SurfaceType.Smooth
  484. BasePart.FormFactor = Enum.FormFactor.Custom
  485. BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
  486. BasePart.CanCollide = true
  487. BasePart.Locked = true
  488. BasePart.Anchored = false
  489.  
  490. ShockWave = BasePart:Clone()
  491. ShockWave.Name = "ShockWave"
  492. ShockWave.Transparency = 1
  493. ShockWave.Size = Vector3.new(0.2, 4, 0.2)
  494. ShockWave.Anchored = true
  495. ShockWave.CanCollide = false
  496. Mesh = Instance.new("SpecialMesh")
  497. Mesh.MeshType = Enum.MeshType.Brick
  498. Mesh.Scale = Vector3.new(1, 0, 1)
  499. Mesh.Parent = ShockWave
  500. for i = 1, 2 do
  501. local Decal = Instance.new("Decal")
  502. Decal.Texture = "http://www.roblox.com/asset?id=183210124"
  503. Decal.Transparency = 0.125
  504. Decal.Face = ((i == 1 and Enum.NormalId.Top) or Enum.NormalId.Bottom)
  505. Decal.Parent = ShockWave
  506. end
  507.  
  508. Animations = {
  509. Blow = {Animation = Tool:WaitForChild("Blow"), FadeTime = 0.75, Weight = nil, Speed = 0.5, Duration = 1},
  510. }
  511.  
  512. Sounds = {
  513. Horn = Handle:WaitForChild("Horn"),
  514. Earthquake = Handle:WaitForChild("Earthquake"),
  515. RockFall = Handle:WaitForChild("RockFall"),
  516. }
  517.  
  518. ToolEquipped = false
  519. ReloadTime = 12
  520.  
  521. Gravity = 196.20
  522. Rate = (1 / 60)
  523.  
  524. ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
  525. ServerControl.Name = "ServerControl"
  526. ServerControl.Parent = Tool
  527.  
  528. ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
  529. ServerControl.Name = "ServerControl"
  530. ServerControl.Parent = Tool
  531.  
  532. Tool.Enabled = true
  533.  
  534. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  535. local IgnoreList = ((type(IgnoreList) == "table" and IgnoreList) or {IgnoreList})
  536. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  537. end
  538.  
  539. function IsTeamMate(Player1, Player2)
  540. return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
  541. end
  542.  
  543. function TagHumanoid(humanoid, player)
  544. local Creator_Tag = Instance.new("ObjectValue")
  545. Creator_Tag.Name = "creator"
  546. Creator_Tag.Value = player
  547. Debris:AddItem(Creator_Tag, 2)
  548. Creator_Tag.Parent = humanoid
  549. end
  550.  
  551. function UntagHumanoid(humanoid)
  552. for i, v in pairs(humanoid:GetChildren()) do
  553. if v:IsA("ObjectValue") and v.Name == "creator" then
  554. v:Destroy()
  555. end
  556. end
  557. end
  558.  
  559. function CheckTableForInstance(Table, Instance)
  560. for i, v in pairs(Table) do
  561. if v == Instance then
  562. return true
  563. end
  564. end
  565. return false
  566. end
  567.  
  568.  
  569. function GetTotalParts(MaxParts, PossibleParts, Parts)
  570. if MaxParts < PossibleParts then
  571. return MaxParts
  572. elseif Parts >= MaxParts then
  573. return 0
  574. elseif MaxParts >= PossibleParts then
  575. local PartCount = (MaxParts - PossibleParts)
  576. if Parts <= MaxParts then
  577. PartCount = (MaxParts - Parts)
  578. if PartCount > PossibleParts then
  579. return PossibleParts
  580. else
  581. return PartCount
  582. end
  583. elseif PartCount >= PossibleParts then
  584. return PossibleParts
  585. else
  586. return PartCount
  587. end
  588. end
  589. end
  590.  
  591. function GetParts(Region, MaxParts, Ignore)
  592. local Parts = {}
  593. local RerunFailed = false
  594. while #Parts < MaxParts and not RerunFailed do
  595. local Region = Region
  596. local PossibleParts = GetTotalParts(MaxParts, 3000, #Parts)
  597. local PartsNearby = game:GetService("Workspace"):FindPartsInRegion3WithIgnoreList(Region, Ignore, PossibleParts)
  598. if #PartsNearby == 0 then
  599. RerunFailed = true
  600. else
  601. for i, v in pairs(PartsNearby) do
  602. table.insert(Parts, v)
  603. table.insert(Ignore, v)
  604. end
  605. end
  606. end
  607. return Parts
  608. end
  609.  
  610. function Shake()
  611. local UserPlayer = Player
  612. local UserCharacter = Character
  613. local IgnoreObjects = {UserCharacter, Tool}
  614. local Radius = 45
  615. local ShakeForce = {Min = 5, Max = 10}
  616. local Objects = {}
  617. local Humanoids = {}
  618. local PlayersNearby = {}
  619. local NegativeRadius = (Torso.Position - Vector3.new(Radius, (Torso.Size.Y * 1.25), Radius))
  620. local PositiveRadius = (Torso.Position + Vector3.new(Radius, (Radius / 6), Radius))
  621. for i, v in pairs(Players:GetChildren()) do
  622. if v:IsA("Player") and v ~= UserPlayer then
  623. local character = v.Character
  624. if character and character.Parent then
  625. table.insert(IgnoreObjects, v)
  626. if not IsTeamMate(v, UserPlayer) then
  627. local humanoid = character:FindFirstChild("Humanoid")
  628. local torso = character:FindFirstChild("Torso")
  629. if humanoid and humanoid.Health > 0 and (Torso.Position - torso.Position).magnitude <= Radius then
  630. table.insert(Humanoids, humanoid)
  631. end
  632. end
  633. end
  634. end
  635. end
  636. local Parts = GetParts(Region3.new(NegativeRadius, PositiveRadius), 500, IgnoreObjects)
  637. for i, v in pairs(Parts) do
  638. if v and v.Parent and not CheckTableForInstance(Objects, v) then
  639. local character = v.Parent
  640. if character:IsA("Hat") or character:IsA("Tool") then
  641. character = character.Parent
  642. end
  643. local humanoid = character:FindFirstChild("Humanoid")
  644. local player = Players:GetPlayerFromCharacter(character)
  645. if not CheckTableForInstance(Humanoids, humanoid) and not CheckTableForInstance(PlayersNearby, character) then
  646. if humanoid and humanoid.Health > 0 and not CheckTableForInstance(Humanoids, humanoid) then
  647. table.insert(Humanoids, humanoid)
  648. if player and not CheckTableForInstance(PlayersNearby, player) then
  649. table.insert(PlayersNearby, player)
  650. end
  651. elseif (Torso.Position - v.Position).magnitude <= Radius then
  652. table.insert(Objects, v)
  653. end
  654. end
  655. end
  656. end
  657. for i, v in pairs(Objects) do
  658. if v and v.Parent then
  659. if not v:IsGrounded() then
  660. if v:GetMass() <= 80 then
  661. local ConnectedParts = #v:GetConnectedParts()
  662. if v.Velocity.magnitude < 20 and ConnectedParts == 1 then
  663. local Velocity = Vector3.new(math.random(-math.random(ShakeForce.Min, ShakeForce.Max), math.random(ShakeForce.Min, ShakeForce.Max)), v.Velocity.Y, math.random(-math.random(ShakeForce.Min, ShakeForce.Max), math.random(ShakeForce.Min, ShakeForce.Max)))
  664. Velocity = Vector3.new(Velocity.X, v.Velocity.Y, Velocity.Z)
  665. v.Velocity = Velocity
  666. end
  667. if ConnectedParts > 0 then
  668. local ChanceToBreak = math.random(1, 1000)
  669. if ChanceToBreak == 1 then
  670. v:BreakJoints()
  671. end
  672. end
  673. end
  674. end
  675. end
  676. end
  677. for i, v in pairs(Humanoids) do
  678. local character = v.Parent
  679. local player = Players:GetPlayerFromCharacter(character)
  680. if player then
  681. local PlayerGui = player:FindFirstChild("PlayerGui")
  682. if PlayerGui then
  683. local CameraShakeClone = PlayerGui:FindFirstChild(CameraShake.Name)
  684. if not CameraShakeClone then
  685. CameraShakeClone = CameraShake:Clone()
  686. CameraShakeClone.Disabled = false
  687. Debris:AddItem(CameraShakeClone, 3)
  688. CameraShakeClone.Parent = PlayerGui
  689. end
  690. end
  691. end
  692. local torso = character:FindFirstChild("Torso")
  693. if torso then
  694. if (Torso.Position - torso.Position).magnitude <= 25 then
  695. if player then
  696. local TripScriptClone = character:FindFirstChild(TripScript.Name)
  697. if not TripScriptClone then
  698. TripScriptClone = TripScript:Clone()
  699. TripScriptClone.Disabled = false
  700. Debris:AddItem(TripScriptClone, 0.5)
  701. TripScriptClone.Parent = character
  702. v.Sit = true
  703. end
  704. elseif not v.Sit then
  705. v.Sit = true
  706. end
  707. Spawn(function()
  708. UntagHumanoid(v)
  709. TagHumanoid(v, UserPlayer)
  710. v:TakeDamage(0.7)
  711. end)
  712. end
  713. end
  714. end
  715. end
  716.  
  717. function Activated()
  718. if not Tool.Enabled or not ToolEquipped then
  719. return
  720. end
  721. Tool.Enabled = false
  722. local CurrentlyEquipped = true
  723. if ToolUnequipped then
  724. ToolUnequipped:disconnect()
  725. end
  726. ToolUnequipped = Tool.Unequipped:connect(function()
  727. CurrentlyEquipped = false
  728. if ToolUnequipped then
  729. ToolUnequipped:disconnect()
  730. end
  731. end)
  732. local SoundLength = 8
  733. local Duration = (SoundLength + 7)
  734. local Animation = Animations.Blow
  735. Spawn(function()
  736. Spawn(function()
  737. InvokeServer("PlayAnimation", Animation)
  738. end)
  739. wait(SoundLength)
  740. Spawn(function()
  741. InvokeServer("StopAnimation", {Animation = Animations.Blow.Animation, FadeTime = 0.5})
  742. end)
  743. end)
  744. wait(Animation.Duration)
  745. Sounds.Horn:Play()
  746. Sounds.Earthquake:Play()
  747. Spawn(function()
  748. local PushBack = 50
  749. local ShockWaves = {0, 3, 3}
  750. local DesiredRadius = 50
  751. for i, v in pairs(ShockWaves) do
  752. wait(v)
  753. if not ToolEquipped or not CurrentlyEquipped or not CheckIfAlive() then
  754. return
  755. end
  756. local ShockWaveClone = ShockWave:Clone()
  757. local OriginalCFrame = CFrame.new(Torso.Position)
  758. ShockWaveClone.CFrame = OriginalCFrame
  759. ShockWaveClone.Touched:connect(function(Hit)
  760. if not Hit or not Hit.Parent then
  761. return
  762. end
  763. local character = Hit.Parent
  764. if character:IsA("Hat") then
  765. character = character.Parent
  766. end
  767. local player = Players:GetPlayerFromCharacter(character)
  768. if player and (player == Player or IsTeamMate(Player, player)) then
  769. return
  770. end
  771. local humanoid = character:FindFirstChild("Humanoid")
  772. if not humanoid or humanoid.Health == 0 then
  773. return
  774. end
  775. local torso = character:FindFirstChild("Torso")
  776. if torso then
  777. torso.Velocity = CFrame.new(torso.Position, Torso.Position).lookVector * -PushBack
  778. end
  779. UntagHumanoid(humanoid)
  780. TagHumanoid(humanoid, Player)
  781. humanoid:TakeDamage(3)
  782. humanoid.Sit = true
  783. end)
  784. Debris:AddItem(ShockWaveClone, 5)
  785. ShockWaveClone.Parent = game:GetService("Workspace")
  786. Spawn(function()
  787. local ResizeRate = 25
  788. for i = 1, ResizeRate do
  789. local ShockWaveSize = ((DesiredRadius / 25) * i)
  790. for ii, vv in pairs(ShockWaveClone:GetChildren()) do
  791. if vv:IsA("Decal") then
  792. vv.Transparency = ((1 * i) / ResizeRate)
  793. end
  794. end
  795. ShockWaveClone.Size = Vector3.new(ShockWaveSize, ShockWave.Size.Y, ShockWaveSize)
  796. ShockWaveClone.CFrame = OriginalCFrame
  797. Sounds.RockFall:Play()
  798. wait(Rate)
  799. end
  800. if ShockWaveClone and ShockWaveClone.Parent then
  801. ShockWaveClone:Destroy()
  802. end
  803. end)
  804. end
  805. end)
  806. local StartTick = tick()
  807. while (tick() - StartTick) <= Duration and ToolEquipped and CurrentlyEquipped and CheckIfAlive() do
  808. Spawn(Shake)
  809. wait(Rate)
  810. end
  811. Sounds.Earthquake:Stop()
  812. wait(ReloadTime)
  813. Tool.Enabled = true
  814. end
  815.  
  816. function CheckIfAlive()
  817. return (((Player and Player.Parent and Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent) and true) or false)
  818. end
  819.  
  820. function Equipped()
  821. Character = Tool.Parent
  822. Player = Players:GetPlayerFromCharacter(Character)
  823. Humanoid = Character:FindFirstChild("Humanoid")
  824. Torso = Character:FindFirstChild("Torso")
  825. if not CheckIfAlive() then
  826. return
  827. end
  828. ToolEquipped = true
  829. end
  830.  
  831. function Unequipped()
  832. for i, v in pairs(Sounds) do
  833. v:Stop()
  834. end
  835. ToolEquipped = false
  836. end
  837.  
  838. function InvokeServer(Mode, Value)
  839. local ServerReturn = nil
  840. pcall(function()
  841. ServerReturn = ServerControl:InvokeServer(Player, Mode, Value)
  842. end)
  843. return ServerReturn
  844. end
  845.  
  846. --[[ServerControl.OnServerInvoke = (function(player, Mode, Value)
  847. if player ~= Player or not ToolEquipped or not CheckIfAlive() then
  848. return
  849. end
  850. end)]]
  851.  
  852. Tool.Activated:connect(Activated)
  853. Tool.Equipped:connect(Equipped)
  854. Tool.Unequipped:connect(Unequipped)
  855. end))
  856. LocalScript11.Name = "CameraShake"
  857. LocalScript11.Parent = Script10
  858. LocalScript11.Disabled = true
  859. table.insert(cors,sandbox(LocalScript11,function()
  860. --Made by Luckymaxer
  861.  
  862. Camera = game:GetService("Workspace").CurrentCamera
  863.  
  864. Rate = (1 / 60)
  865.  
  866. Shake = {Movement = 20, Rate = 0.001}
  867.  
  868. local CoordinateFrame = Camera.CoordinateFrame
  869. local Focus = Camera.Focus
  870. while true do
  871. local CameraRotation = Camera.CoordinateFrame - Camera.CoordinateFrame.p
  872. local CameraScroll = (CoordinateFrame.p - Focus.p).magnitude
  873. local NewCFrame = CFrame.new(Camera.Focus.p) * CameraRotation * CFrame.fromEulerAnglesXYZ((math.random(-Shake.Movement, Shake.Movement) * Shake.Rate), (math.random(-Shake.Movement, Shake.Movement) * Shake.Rate), 0)
  874. CoordinateFrame = NewCFrame * CFrame.new(0, 0, CameraScroll)
  875. Camera.CoordinateFrame = CoordinateFrame
  876. wait(Rate)
  877. end
  878. end))
  879. LocalScript12.Name = "TripScript"
  880. LocalScript12.Parent = Script10
  881. table.insert(cors,sandbox(LocalScript12,function()
  882. --Made by Luckymaxer
  883.  
  884. Character = script.Parent
  885. Humanoid = Character:WaitForChild("Humanoid")
  886. Torso = Character:WaitForChild("Torso")
  887.  
  888. Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  889.  
  890. Humanoid.Changed:connect(function(Property)
  891. Humanoid.Jump = false
  892. --Humanoid.Sit = true
  893. end)
  894. end))
  895. for i,v in pairs(mas:GetChildren()) do
  896. v.Parent = owner.Backpack
  897. pcall(function() v:MakeJoints() end)
  898. end
  899. mas:Destroy()
  900. for i,v in pairs(cors) do
  901. spawn(function()
  902. pcall(v)
  903. end)
  904. end
  905. Player = owner
  906. PlayerGui = Player.PlayerGui
  907. Cam = workspace.CurrentCamera
  908. local mouse=p:GetMouse()
  909. Backpack = Player.Backpack
  910. Character = Player.Character
  911. Humanoid = Character.Humanoid
  912. RootPart = Character["HumanoidRootPart"]
  913. Torso = Character["Torso"]
  914. Head = Character["Head"]
  915. RightArm = Character["Right Arm"]
  916. LeftArm = Character["Left Arm"]
  917. RightLeg = Character["Right Leg"]
  918. LeftLeg = Character["Left Leg"]
  919. RootJoint = RootPart["RootJoint"]
  920. Neck = Torso["Neck"]
  921. RightShoulder = Torso["Right Shoulder"]
  922. LeftShoulder = Torso["Left Shoulder"]
  923. RightHip = Torso["Right Hip"]
  924. LeftHip = Torso["Left Hip"]
  925. local sick = Instance.new("Sound",Character)
  926. sick.SoundId = "rbxassetid://434297181"
  927. sick.Looped = true
  928. sick.Pitch = 1
  929. sick.Volume = 1
  930. sick:Play()
  931.  
  932. local FF = Instance.new("ForceField",Character)
  933. FF.Visible = false
  934.  
  935. IT = Instance.new
  936. CF = CFrame.new
  937. VT = Vector3.new
  938. RAD = math.rad
  939. C3 = Color3.new
  940. UD2 = UDim2.new
  941. BRICKC = BrickColor.new
  942. ANGLES = CFrame.Angles
  943. EULER = CFrame.fromEulerAnglesXYZ
  944. COS = math.cos
  945. ACOS = math.acos
  946. SIN = math.sin
  947. ASIN = math.asin
  948. ABS = math.abs
  949. MRANDOM = math.random
  950. FLOOR = math.floor
  951.  
  952. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  953. local NEWMESH = IT(MESH)
  954. if MESH == "SpecialMesh" then
  955. NEWMESH.MeshType = MESHTYPE
  956. if MESHID ~= "nil" and MESHID ~= "" then
  957. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  958. end
  959. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  960. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  961. end
  962. end
  963. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  964. NEWMESH.Scale = SCALE
  965. NEWMESH.Parent = PARENT
  966. return NEWMESH
  967. end
  968.  
  969. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  970. local NEWPART = IT("Part")
  971. NEWPART.formFactor = FORMFACTOR
  972. NEWPART.Reflectance = REFLECTANCE
  973. NEWPART.Transparency = TRANSPARENCY
  974. NEWPART.CanCollide = false
  975. NEWPART.Locked = true
  976. NEWPART.Anchored = true
  977. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  978. NEWPART.Name = NAME
  979. NEWPART.Size = SIZE
  980. NEWPART.Position = Torso.Position
  981. NEWPART.Material = MATERIAL
  982. NEWPART:BreakJoints()
  983. NEWPART.Parent = PARENT
  984. return NEWPART
  985. end
  986.  
  987.  
  988. --//=================================\\
  989. --|| CUSTOMIZATION
  990. --\\=================================//
  991.  
  992. Class_Name = "Template"
  993. Weapon_Name = "Add-ons"
  994.  
  995. Custom_Colors = {
  996. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  997. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  998.  
  999. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  1000. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  1001. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  1002. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  1003. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  1004.  
  1005. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  1006. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  1007. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  1008. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  1009. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  1010. }
  1011.  
  1012.  
  1013. Player_Size = 1 --Size of the player.
  1014. Animation_Speed = 3
  1015. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1016.  
  1017. local Speed = 16
  1018. local Effects2 = {}
  1019.  
  1020. --//=================================\\
  1021. --|| END OF CUSTOMIZATION
  1022. --\\=================================//
  1023.  
  1024. local function weldBetween(a, b)
  1025. local weldd = Instance.new("ManualWeld")
  1026. weldd.Part0 = a
  1027. weldd.Part1 = b
  1028. weldd.C0 = CFrame.new()
  1029. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1030. weldd.Parent = a
  1031. return weldd
  1032. end
  1033.  
  1034. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1035. local acs = Instance.new("Part")
  1036. acs.CanCollide = false
  1037. acs.Anchored = false
  1038. acs.Size = Vector3.new(0,0,0)
  1039. acs.CFrame = attachmentpart.CFrame
  1040. acs.Parent = Character
  1041. acs.BrickColor = color
  1042. local meshs = Instance.new("SpecialMesh")
  1043. meshs.MeshId = mesh
  1044. meshs.TextureId = texture
  1045. meshs.Parent = acs
  1046. meshs.Scale = scale
  1047. meshs.Offset = offset
  1048. weldBetween(attachmentpart,acs)
  1049. end
  1050.  
  1051. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1052. if TYPE == "Gem" then
  1053. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  1054. acs.Anchored = false
  1055. acs.CanCollide = false
  1056. acs.CFrame = PART.CFrame
  1057. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1058. weldBetween(PART,acs)
  1059. elseif TYPE == "Skull" then
  1060. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  1061. acs.Anchored = false
  1062. acs.CanCollide = false
  1063. acs.CFrame = PART.CFrame
  1064. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1065. weldBetween(PART,acs)
  1066. elseif TYPE == "Eye" then
  1067. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  1068. acs.Anchored = false
  1069. acs.CanCollide = false
  1070. acs.CFrame = PART.CFrame
  1071. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1072. weldBetween(PART,acs)
  1073. end
  1074. end
  1075.  
  1076. local FIREHAND = IT("Attachment",RightArm)
  1077. FIREHAND.Position = VT(0,-1.2,0)
  1078.  
  1079. --//=================================\\
  1080. --|| USEFUL VALUES
  1081. --\\=================================//
  1082.  
  1083. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1084. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1085. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1086. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1087. local CO1 = 0
  1088. local CO2 = 0
  1089. local CO3 = 0
  1090. local CO4 = 0
  1091. local CHANGEDEFENSE = 0
  1092. local CHANGEDAMAGE = 0
  1093. local CHANGEMOVEMENT = 0
  1094. local ANIM = "Idle"
  1095. local ATTACK = false
  1096. local EQUIPPED = false
  1097. local HOLD = false
  1098. local COMBO = 1
  1099. local LASTPOINT = nil
  1100. local BLCF = nil
  1101. local SCFR = nil
  1102. local STAGGERHITANIM = false
  1103. local STAGGERANIM = false
  1104. local STUNANIM = false
  1105. local CRITCHANCENUMBER = 0
  1106. local IDLENUMBER = 0
  1107. local DONUMBER = 0
  1108. local HANDIDLE = false
  1109. local SINE = 0
  1110. local CHANGE = 2 / Animation_Speed
  1111. local WALKINGANIM = false
  1112. local WALK = 0
  1113. local DISABLEJUMPING = false
  1114. local HASBEENBLOCKED = false
  1115. local STUNDELAYNUMBER = 0
  1116. local MANADELAYNUMBER = 0
  1117. local SECONDARYMANADELAYNUMBER = 0
  1118. local ROBLOXIDLEANIMATION = IT("Animation")
  1119. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1120. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1121. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1122. local WEAPONGUI = IT("ScreenGui", nil)
  1123. WEAPONGUI.Name = "Weapon GUI"
  1124. local WEAPONTOOL = IT("HopperBin", nil)
  1125. WEAPONTOOL.Name = Weapon_Name
  1126. local Weapon = IT("Model")
  1127. Weapon.Name = Weapon_Name
  1128. local Effects = IT("Folder", Weapon)
  1129. Effects.Name = "Effects"
  1130. local ANIMATOR = Humanoid.Animator
  1131. local ANIMATE = Character.Animate
  1132. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1133. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1134. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1135. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1136. local UNANCHOR = true
  1137. local CIRCLESOUND = "462809305"
  1138. local FIREBALL = "463598785"
  1139. local EXPLOSION = "416328540"
  1140. local RING1 = "462798941"
  1141. local RING2 = "462798912"
  1142.  
  1143. --//=================================\\
  1144. --\\=================================//
  1145.  
  1146. --//=================================\\
  1147. --|| STATS
  1148. --\\=================================//
  1149.  
  1150. if Character:FindFirstChild("Stats") ~= nil then
  1151. Character:FindFirstChild("Stats").Parent = nil
  1152. end
  1153.  
  1154. local Stats = IT("Folder", nil)
  1155. Stats.Name = "Stats"
  1156. local ChangeStat = IT("Folder", Stats)
  1157. ChangeStat.Name = "ChangeStat"
  1158. local Defense = IT("NumberValue", Stats)
  1159. Defense.Name = "Defense"
  1160. Defense.Value = 1
  1161. local Movement = IT("NumberValue", Stats)
  1162. Movement.Name = "Movement"
  1163. Movement.Value = 1
  1164. local Damage = IT("NumberValue", Stats)
  1165. Damage.Name = "Damage"
  1166. Damage.Value = 1
  1167. local Mana = IT("NumberValue", Stats)
  1168. Mana.Name = "Mana"
  1169. Mana.Value = 0
  1170. local SecondaryMana = IT("NumberValue", Stats)
  1171. SecondaryMana.Name = "SecondaryMana"
  1172. SecondaryMana.Value = 0
  1173. local CanCrit = IT("BoolValue", Stats)
  1174. CanCrit.Name = "CanCrit"
  1175. CanCrit.Value = false
  1176. local CritChance = IT("NumberValue", Stats)
  1177. CritChance.Name = "CritChance"
  1178. CritChance.Value = 20
  1179. local CanPenetrateArmor = IT("BoolValue", Stats)
  1180. CanPenetrateArmor.Name = "CanPenetrateArmor"
  1181. CanPenetrateArmor.Value = false
  1182. local AntiTeamKill = IT("BoolValue", Stats)
  1183. AntiTeamKill.Name = "AntiTeamKill"
  1184. AntiTeamKill.Value = false
  1185. local Rooted = IT("BoolValue", Stats)
  1186. Rooted.Name = "Rooted"
  1187. Rooted.Value = false
  1188. local Block = IT("BoolValue", Stats)
  1189. Block.Name = "Block"
  1190. Block.Value = false
  1191. local RecentEnemy = IT("ObjectValue", Stats)
  1192. RecentEnemy.Name = "RecentEnemy"
  1193. RecentEnemy.Value = nil
  1194. local StaggerHit = IT("BoolValue", Stats)
  1195. StaggerHit.Name = "StaggerHit"
  1196. StaggerHit.Value = false
  1197. local Stagger = IT("BoolValue", Stats)
  1198. Stagger.Name = "Stagger"
  1199. Stagger.Value = false
  1200. local Stun = IT("BoolValue", Stats)
  1201. Stun.Name = "Stun"
  1202. Stun.Value = false
  1203. local StunValue = IT("NumberValue", Stats)
  1204. StunValue.Name = "StunValue"
  1205. StunValue.Value = 0
  1206.  
  1207.  
  1208. --//=================================\\
  1209. --\\=================================//
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215. --//=================================\\
  1216. --|| DEBUFFS / BUFFS
  1217. --\\=================================//
  1218.  
  1219. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  1220. DEFENSECHANGE1.Name = "ChangeDefense"
  1221. DEFENSECHANGE1.Value = 0
  1222.  
  1223. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  1224. MOVEMENTCHANGE1.Name = "ChangeMovement"
  1225. MOVEMENTCHANGE1.Value = 0
  1226.  
  1227. --//=================================\\
  1228. --\\=================================//
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234. --//=================================\\
  1235. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1236. --\\=================================//
  1237.  
  1238. ArtificialHB = Instance.new("BindableEvent", script)
  1239. ArtificialHB.Name = "ArtificialHB"
  1240.  
  1241. script:WaitForChild("ArtificialHB")
  1242.  
  1243. frame = Frame_Speed
  1244. tf = 0
  1245. allowframeloss = false
  1246. tossremainder = false
  1247. lastframe = tick()
  1248. script.ArtificialHB:Fire()
  1249.  
  1250. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1251. tf = tf + s
  1252. if tf >= frame then
  1253. if allowframeloss then
  1254. script.ArtificialHB:Fire()
  1255. lastframe = tick()
  1256. else
  1257. for i = 1, math.floor(tf / frame) do
  1258. script.ArtificialHB:Fire()
  1259. end
  1260. lastframe = tick()
  1261. end
  1262. if tossremainder then
  1263. tf = 0
  1264. else
  1265. tf = tf - frame * math.floor(tf / frame)
  1266. end
  1267. end
  1268. end)
  1269.  
  1270. --//=================================\\
  1271. --\\=================================//
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277. --//=================================\\
  1278. --|| SOME FUNCTIONS
  1279. --\\=================================//
  1280.  
  1281. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1282. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1283. end
  1284.  
  1285. function PositiveAngle(NUMBER)
  1286. if NUMBER >= 0 then
  1287. NUMBER = 0
  1288. end
  1289. return NUMBER
  1290. end
  1291.  
  1292. function NegativeAngle(NUMBER)
  1293. if NUMBER <= 0 then
  1294. NUMBER = 0
  1295. end
  1296. return NUMBER
  1297. end
  1298.  
  1299. function Swait(NUMBER)
  1300. if NUMBER == 0 or NUMBER == nil then
  1301. ArtificialHB.Event:wait()
  1302. else
  1303. for i = 1, NUMBER do
  1304. ArtificialHB.Event:wait()
  1305. end
  1306. end
  1307. end
  1308.  
  1309. function QuaternionFromCFrame(cf)
  1310. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1311. local trace = m00 + m11 + m22
  1312. if trace > 0 then
  1313. local s = math.sqrt(1 + trace)
  1314. local recip = 0.5 / s
  1315. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1316. else
  1317. local i = 0
  1318. if m11 > m00 then
  1319. i = 1
  1320. end
  1321. if m22 > (i == 0 and m00 or m11) then
  1322. i = 2
  1323. end
  1324. if i == 0 then
  1325. local s = math.sqrt(m00 - m11 - m22 + 1)
  1326. local recip = 0.5 / s
  1327. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1328. elseif i == 1 then
  1329. local s = math.sqrt(m11 - m22 - m00 + 1)
  1330. local recip = 0.5 / s
  1331. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1332. elseif i == 2 then
  1333. local s = math.sqrt(m22 - m00 - m11 + 1)
  1334. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1335. end
  1336. end
  1337. end
  1338.  
  1339. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1340. local xs, ys, zs = x + x, y + y, z + z
  1341. local wx, wy, wz = w * xs, w * ys, w * zs
  1342. local xx = x * xs
  1343. local xy = x * ys
  1344. local xz = x * zs
  1345. local yy = y * ys
  1346. local yz = y * zs
  1347. local zz = z * zs
  1348. 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))
  1349. end
  1350.  
  1351. function QuaternionSlerp(a, b, t)
  1352. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1353. local startInterp, finishInterp;
  1354. if cosTheta >= 0.0001 then
  1355. if (1 - cosTheta) > 0.0001 then
  1356. local theta = ACOS(cosTheta)
  1357. local invSinTheta = 1 / SIN(theta)
  1358. startInterp = SIN((1 - t) * theta) * invSinTheta
  1359. finishInterp = SIN(t * theta) * invSinTheta
  1360. else
  1361. startInterp = 1 - t
  1362. finishInterp = t
  1363. end
  1364. else
  1365. if (1 + cosTheta) > 0.0001 then
  1366. local theta = ACOS(-cosTheta)
  1367. local invSinTheta = 1 / SIN(theta)
  1368. startInterp = SIN((t - 1) * theta) * invSinTheta
  1369. finishInterp = SIN(t * theta) * invSinTheta
  1370. else
  1371. startInterp = t - 1
  1372. finishInterp = t
  1373. end
  1374. end
  1375. 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
  1376. end
  1377.  
  1378. function Clerp(a, b, t)
  1379. local qa = {QuaternionFromCFrame(a)}
  1380. local qb = {QuaternionFromCFrame(b)}
  1381. local ax, ay, az = a.x, a.y, a.z
  1382. local bx, by, bz = b.x, b.y, b.z
  1383. local _t = 1 - t
  1384. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1385. end
  1386.  
  1387. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1388. local frame = IT("Frame")
  1389. frame.BackgroundTransparency = TRANSPARENCY
  1390. frame.BorderSizePixel = BORDERSIZEPIXEL
  1391. frame.Position = POSITION
  1392. frame.Size = SIZE
  1393. frame.BackgroundColor3 = COLOR
  1394. frame.BorderColor3 = BORDERCOLOR
  1395. frame.Name = NAME
  1396. frame.Parent = PARENT
  1397. return frame
  1398. end
  1399.  
  1400. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1401. local label = IT("TextLabel")
  1402. label.BackgroundTransparency = 1
  1403. label.Size = UD2(1, 0, 1, 0)
  1404. label.Position = UD2(0, 0, 0, 0)
  1405. label.TextColor3 = C3(255, 255, 255)
  1406. label.TextStrokeTransparency = STROKETRANSPARENCY
  1407. label.TextTransparency = TRANSPARENCY
  1408. label.FontSize = TEXTFONTSIZE
  1409. label.Font = TEXTFONT
  1410. label.BorderSizePixel = BORDERSIZEPIXEL
  1411. label.TextScaled = true
  1412. label.Text = TEXT
  1413. label.Name = NAME
  1414. label.Parent = PARENT
  1415. return label
  1416. end
  1417.  
  1418. function NoOutlines(PART)
  1419. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1420. end
  1421.  
  1422.  
  1423. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1424. local NEWWELD = IT(TYPE)
  1425. NEWWELD.Part0 = PART0
  1426. NEWWELD.Part1 = PART1
  1427. NEWWELD.C0 = C0
  1428. NEWWELD.C1 = C1
  1429. NEWWELD.Parent = PARENT
  1430. return NEWWELD
  1431. end
  1432.  
  1433. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1434. coroutine.resume(coroutine.create(function()
  1435. local NEWSOUND = IT("Sound", PARENT)
  1436. NEWSOUND.Volume = VOLUME
  1437. NEWSOUND.Pitch = PITCH
  1438. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1439. Swait()
  1440. NEWSOUND:play()
  1441. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1442. end))
  1443. end
  1444.  
  1445. function CFrameFromTopBack(at, top, back)
  1446. local right = top:Cross(back)
  1447. 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)
  1448. end
  1449.  
  1450. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1451. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1452. local mesh = IT("SpecialMesh",wave)
  1453. mesh.MeshType = "FileMesh"
  1454. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1455. mesh.Scale = VT(size,size,size)
  1456. mesh.Offset = VT(0,0,-size/8)
  1457. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1458. coroutine.resume(coroutine.create(function(PART)
  1459. for i = 1, waitt do
  1460. Swait()
  1461. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1462. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1463. if doesrotate == true then
  1464. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1465. end
  1466. wave.Transparency = wave.Transparency + (0.5/waitt)
  1467. if wave.Transparency > 0.99 then
  1468. wave:remove()
  1469. end
  1470. end
  1471. end))
  1472. end
  1473.  
  1474. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1475. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1476. local mesh = IT("SpecialMesh",wave)
  1477. mesh.MeshType = "FileMesh"
  1478. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1479. mesh.Scale = VT(size,size,size)
  1480. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1481. coroutine.resume(coroutine.create(function(PART)
  1482. for i = 1, waitt do
  1483. Swait()
  1484. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1485. if doesrotate == true then
  1486. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1487. end
  1488. wave.Transparency = wave.Transparency + (0.5/waitt)
  1489. if wave.Transparency > 0.99 then
  1490. wave:remove()
  1491. end
  1492. end
  1493. end))
  1494. end
  1495.  
  1496. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color)
  1497. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1498. local mesh = IT("SpecialMesh",wave)
  1499. mesh.MeshType = "FileMesh"
  1500. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  1501. mesh.Scale = VT(size,size,size)
  1502. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1503. coroutine.resume(coroutine.create(function(PART)
  1504. for i = 1, waitt do
  1505. Swait()
  1506. if doesrotate == true then
  1507. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1508. end
  1509. wave.Transparency = wave.Transparency + (0.5/waitt)
  1510. if wave.Transparency > 0.99 then
  1511. wave.Parent = nil
  1512. end
  1513. end
  1514. end))
  1515. return wave
  1516. end
  1517.  
  1518. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,part,offset,spin1,spin2,color)
  1519. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1520. local mesh = IT("SpecialMesh",wave)
  1521. mesh.MeshType = "FileMesh"
  1522. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1523. mesh.Scale = VT(size,size,size)
  1524. mesh.Offset = VT(0,0,0)
  1525. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  1526. coroutine.resume(coroutine.create(function(PART)
  1527. for i = 1, waitt do
  1528. Swait()
  1529. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1530. if doesrotate == true then
  1531. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  1532. end
  1533. wave.Transparency = wave.Transparency + (0.5/waitt)
  1534. if wave.Transparency > 0.99 then
  1535. wave:remove()
  1536. end
  1537. end
  1538. end))
  1539. end
  1540.  
  1541. function MagicSphere(size,waitt,part,offset,color)
  1542. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(0,0,0))
  1543. local mesh = IT("SpecialMesh",wave)
  1544. mesh.MeshType = "FileMesh"
  1545. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1546. mesh.Scale = VT(size,size,size)
  1547. mesh.Offset = VT(0,0,0)
  1548. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  1549. coroutine.resume(coroutine.create(function(PART)
  1550. for i = 1, waitt do
  1551. Swait()
  1552. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1553. wave.Transparency = wave.Transparency + (1/waitt)
  1554. if wave.Transparency > 0.99 then
  1555. wave:remove()
  1556. end
  1557. end
  1558. end))
  1559. end
  1560.  
  1561. function MagicBlock(size,waitt,part,offset,color)
  1562. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  1563. local mesh = IT("BlockMesh",wave)
  1564. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0))
  1565. coroutine.resume(coroutine.create(function(PART)
  1566. for i = 1, waitt do
  1567. Swait()
  1568. mesh.Scale = mesh.Scale + VT(size/15,size/15,size/15)
  1569. wave.CFrame = CF(wave.Position) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1570. wave.Transparency = wave.Transparency + (1/waitt)
  1571. if wave.Transparency > 0.99 then
  1572. wave:remove()
  1573. end
  1574. end
  1575. end))
  1576. end
  1577.  
  1578. local EyeSizes={
  1579. NumberSequenceKeypoint.new(0,0.5,0),
  1580. NumberSequenceKeypoint.new(1,0.2,0)
  1581. }
  1582. local EyeTrans={
  1583. NumberSequenceKeypoint.new(0,0,0),
  1584. NumberSequenceKeypoint.new(1,1,0)
  1585. }
  1586. local PE=Instance.new("ParticleEmitter")
  1587. PE.LightEmission=0.8
  1588. PE.Size=NumberSequence.new(EyeSizes)
  1589. PE.Transparency=NumberSequence.new(EyeTrans)
  1590. PE.Rotation=NumberRange.new(0,360)
  1591. PE.LockedToPart = false
  1592. PE.Speed = NumberRange.new(0,0,0)
  1593. PE.ZOffset = 0.3
  1594. PE.Rate = 999
  1595. PE.VelocitySpread = 90000
  1596. PE.Name = "Particles"
  1597.  
  1598. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  1599. local particle = nil
  1600. coroutine.resume(coroutine.create(function(PART)
  1601. particle = PE:Clone()
  1602. Swait()
  1603. particle.Rate = 999
  1604. particle.Parent = art
  1605. particle.Acceleration = accel
  1606. if type == "Fire" then
  1607. local EyeSizes={
  1608. NumberSequenceKeypoint.new(0,size,size/2),
  1609. NumberSequenceKeypoint.new(1,size/4,size/8)
  1610. }
  1611. particle.Size = NumberSequence.new(EyeSizes)
  1612. elseif type == "Smoke" then
  1613. local EyeSizes={
  1614. NumberSequenceKeypoint.new(0,0.5,0),
  1615. NumberSequenceKeypoint.new(1,5,0.5)
  1616. }
  1617. particle.Size = NumberSequence.new(EyeSizes)
  1618. elseif type == "Solid" then
  1619. local EyeSizes={
  1620. NumberSequenceKeypoint.new(0,0.5,0),
  1621. NumberSequenceKeypoint.new(1,0.5,0)
  1622. }
  1623. particle.Size = NumberSequence.new(EyeSizes)
  1624. end
  1625. particle.Lifetime=NumberRange.new(lifetime)
  1626. particle.Drag = drag
  1627. if locked == true then
  1628. particle.LockedToPart = true
  1629. end
  1630. particle.Speed = NumberRange.new(speed,speed,speed)
  1631. particle.Texture = "http://www.roblox.com/asset/?id=296874871"
  1632. particle.Enabled = isenabledbydefault
  1633. particle.Color = ColorSequence.new(Color3.new(0/255, 255/255, 0))
  1634. end))
  1635. return particle
  1636. end
  1637.  
  1638. local Decal = IT("Decal")
  1639.  
  1640. function CreateMagicCircle(size,doesrotate,rotatedirection,waitt,cframe,alwaysfade)
  1641. local sinkhole = IT("Part")
  1642. sinkhole.Size = VT(size,0,size)
  1643. sinkhole.CFrame = cframe
  1644. --sinkhole.Orientation = VT(0,0,0)
  1645. sinkhole.Parent = Effects
  1646. sinkhole.Material = "Neon"
  1647. sinkhole.Color = C3(1,0,0)
  1648. sinkhole.Anchored = true
  1649. sinkhole.CanCollide = false
  1650. sinkhole.Transparency = 1
  1651. local decal = Decal:Clone()
  1652. decal.Parent = sinkhole
  1653. decal.Face = "Top"
  1654. decal.Texture = "http://www.roblox.com/asset/?id=2181012358"
  1655. local decal2 = Decal:Clone()
  1656. decal2.Parent = sinkhole
  1657. decal2.Face = "Bottom"
  1658. decal2.Texture = "http://www.roblox.com/asset/?id=2181012358"
  1659. coroutine.resume(coroutine.create(function(PART)
  1660. for i = 1, waitt do
  1661. Swait()
  1662. if doesrotate == true then
  1663. sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1664. end
  1665. if alwaysfade == true then
  1666. decal.Transparency = decal.Transparency + (1/waitt)
  1667. decal2.Transparency = decal.Transparency + (1/waitt)
  1668. end
  1669. if i > waitt-11 and (alwaysfade ~= true) then
  1670. decal.Transparency = decal.Transparency + 0.1
  1671. decal2.Transparency = decal.Transparency + 0.1
  1672. end
  1673. end
  1674. sinkhole.Parent = nil
  1675. end))
  1676. return sinkhole
  1677. end
  1678.  
  1679. function CreateMagicRingTilSize(cframe,size,waitt)
  1680. for i = 1, size do
  1681. CreateMagicCircle(i/5,false,0,3,cframe,true)
  1682. Swait()
  1683. end
  1684. CreateMagicCircle(size/5,false,0,waitt,cframe,false)
  1685. end
  1686.  
  1687. --//=================================\\
  1688. --\\=================================//
  1689.  
  1690.  
  1691. --//=================================\\
  1692. --|| WEAPON CREATION
  1693. --\\=================================//
  1694.  
  1695. if Player_Size ~= 1 then
  1696. for _, v in pairs (Weapon:GetChildren()) do
  1697. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1698. local p1 = v.Part1
  1699. v.Part1 = nil
  1700. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1701. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1702. v.Part1 = p1
  1703. elseif v.ClassName == "Part" then
  1704. for _, b in pairs (v:GetChildren()) do
  1705. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1706. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1707. end
  1708. end
  1709. end
  1710. end
  1711. end
  1712.  
  1713. for _, c in pairs(Weapon:GetChildren()) do
  1714. if c.ClassName == "Part" then
  1715. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1716. end
  1717. end
  1718.  
  1719. Weapon.Parent = Character
  1720.  
  1721. Humanoid.Died:connect(function()
  1722. ATTACK = true
  1723. end)
  1724.  
  1725. print(Class_Name.." loaded.")
  1726.  
  1727. --//=================================\\
  1728. --\\=================================//
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734. --//=================================\\
  1735. --|| DAMAGE FUNCTIONS
  1736. --\\=================================//
  1737.  
  1738. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1739. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1740. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1741. local BODYGYRO = IT("BodyGyro", STATPART)
  1742. local BODYPOSITION = IT("BodyPosition", STATPART)
  1743. BODYPOSITION.P = 2000
  1744. BODYPOSITION.D = 100
  1745. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1746. if LABELTYPE == "Normal" then
  1747. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1748. elseif LABELTYPE == "Debuff" then
  1749. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1750. elseif LABELTYPE == "Interruption" then
  1751. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1752. end
  1753. game:GetService("Debris"):AddItem(STATPART ,5)
  1754. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1755. BILLBOARDGUI.Adornee = STATPART
  1756. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1757. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1758. BILLBOARDGUI.AlwaysOnTop = false
  1759. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1760. TEXTLABEL.BackgroundTransparency = 1
  1761. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1762. TEXTLABEL.Text = TEXT
  1763. TEXTLABEL.Font = "SciFi"
  1764. TEXTLABEL.FontSize="Size42"
  1765. TEXTLABEL.TextColor3 = COLOR
  1766. TEXTLABEL.TextStrokeTransparency = 1
  1767. TEXTLABEL.TextScaled = true
  1768. TEXTLABEL.TextWrapped = true
  1769. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1770. wait(0.2)
  1771. for i=1, 5 do
  1772. wait()
  1773. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1774. end
  1775. wait(1.2)
  1776. for i=1, 5 do
  1777. wait()
  1778. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1779. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1780. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1781. end
  1782. THEPART.Parent = nil
  1783. end),STATPART, BODYPOSITION, TEXTLABEL)
  1784. end
  1785.  
  1786.  
  1787. --//=================================\\
  1788. --|| DAMAGING
  1789. --\\=================================//
  1790.  
  1791. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  1792. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  1793. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1794. local dmg = math.random(min,max)
  1795. if humanoid.Health > 0 then
  1796. if beserk == true then
  1797. humanoid.Health = 0
  1798. else
  1799. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  1800. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  1801. if math.random(1,100) < critrate+1 then
  1802. humanoid.Health = humanoid.Health - dmg*critmultiplier
  1803. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1804. else
  1805. humanoid.Health = humanoid.Health - dmg
  1806. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  1807. end
  1808. local defence = Instance.new("BoolValue",hit.Parent)
  1809. defence.Name = ("HitBy"..Player.Name)
  1810. game:GetService("Debris"):AddItem(defence, 0.5)
  1811. end
  1812. end
  1813. end
  1814. end
  1815.  
  1816. function killnearest(position,range,maxstrength)
  1817. for i,v in ipairs(workspace:GetChildren()) do
  1818. local body = v:GetChildren()
  1819. for part = 1, #body do
  1820. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1821. if(body[part].Position - position).Magnitude < range then
  1822. if v.ClassName == "Model" then
  1823. v:BreakJoints()
  1824. end
  1825. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1826. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1827. end
  1828. end
  1829. end
  1830. if v.ClassName == "Part" then
  1831. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1832. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1833. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1834. end
  1835. end
  1836. end
  1837. end
  1838.  
  1839. --//=================================\\
  1840. --|| ATTACK FUNCTIONS AND STUFF
  1841. --\\=================================//
  1842.  
  1843. function chatfunc(text,waitt)
  1844. local chat = coroutine.wrap(function()
  1845. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1846. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1847. end
  1848. local naeeym2 = Instance.new("BillboardGui",Character)
  1849. naeeym2.Size = UDim2.new(0,100,0,40)
  1850. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1851. naeeym2.Adornee = Character.Head
  1852. naeeym2.Name = "TalkingBillBoard"
  1853. naeeym2.AlwaysOnTop = true
  1854. local tecks2 = Instance.new("TextLabel",naeeym2)
  1855. tecks2.BackgroundTransparency = 1
  1856. tecks2.BorderSizePixel = 0
  1857. tecks2.Text = ""
  1858. tecks2.Font = "Fantasy"
  1859. tecks2.TextSize = 30
  1860. tecks2.TextStrokeTransparency = 1
  1861. tecks2.TextColor3 = Color3.new(0/255, 255/255, 0)
  1862. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1863. tecks2.Size = UDim2.new(1,0,0.5,0)
  1864. local tecks3 = Instance.new("TextLabel",naeeym2)
  1865. tecks3.BackgroundTransparency = 1
  1866. tecks3.BorderSizePixel = 0
  1867. tecks3.Text = ""
  1868. tecks3.Font = "Fantasy"
  1869. tecks3.TextSize = 30
  1870. tecks3.TextStrokeTransparency = 1
  1871. tecks3.TextColor3 = Color3.new(0/255, 255/255, 0)
  1872. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1873. tecks3.Size = UDim2.new(1,0,0.5,0)
  1874. for i = 1,string.len(text),1 do
  1875. tecks2.Text = string.sub(text,1,i)
  1876. tecks3.Text = string.sub(text,1,i)
  1877. wait(0.01)
  1878. end
  1879. wait(waitt)
  1880. naeeym2:Destroy()
  1881. end)
  1882. chat()
  1883. end
  1884.  
  1885. function turnto(pos,part)
  1886. part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z))
  1887. end
  1888.  
  1889. function createfireball(size,enabled)
  1890. local FIREBALL = IT("Part",Effects)
  1891. FIREBALL.Shape = "Ball"
  1892. FIREBALL.Size = VT(size,size,size)
  1893. FIREBALL.Material = "Neon"
  1894. FIREBALL.BrickColor = BRICKC("Lime green")
  1895. local PARTICLES = CreateParticles(FIREBALL,VT(0,0,0),2,1,"Fire",enabled,false,size*1.5,5)
  1896. return FIREBALL,PARTICLES
  1897. end
  1898.  
  1899. function ToxicFireball()
  1900. ATTACK = true
  1901. chatfunc("Toxic...",100)
  1902. for i=0, 1.5, 0.1 / Animation_Speed do
  1903. Swait()
  1904. turnto(mouse.Hit.p,RootPart)
  1905. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed)
  1906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed)
  1907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1909. 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)
  1910. 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(0)), 0.15 / Animation_Speed)
  1911. end
  1912. local aimpos = mouse.Hit.p
  1913. CreateSound(CIRCLESOUND, RightArm, 2, 1)
  1914. CreateMagicRingTilSize(RightArm.CFrame*CF(0,-1.2,0),35,25)
  1915. chatfunc("Comet!",2)
  1916. local FIRE,PARTICLES = createfireball(3,true)
  1917. CreateSound(FIREBALL, FIRE, 2, 1)
  1918. FIRE.CFrame = RightArm.CFrame*CF(0,-1.2,0)
  1919. local bv = Instance.new("BodyVelocity")
  1920. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1921. bv.velocity = CF(FIRE.Position,aimpos).lookVector*50
  1922. bv.Parent = FIRE
  1923. bv.Name = "MOVE"
  1924. local HIT = false
  1925. local harm = FIRE.Touched:Connect(function(hit)
  1926. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  1927. HIT = true
  1928. coroutine.resume(coroutine.create(function()
  1929. FIRE.Anchored = true
  1930. FIRE.CanCollide = false
  1931. PARTICLES.Enabled = false
  1932. CreateSound(EXPLOSION, FIRE, 10, 1)
  1933. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,85)
  1934. BURST:Emit(750)
  1935. killnearest(FIRE.Position,35,75)
  1936. for i = 1, 35 do
  1937. Swait()
  1938. FIRE.Size = FIRE.Size + VT(2,2,2)
  1939. FIRE.Transparency = FIRE.Transparency + (1/35)
  1940. end
  1941. Swait(250)
  1942. FIRE:remove()
  1943. end))
  1944. end
  1945. end)
  1946. ATTACK = false
  1947. end
  1948.  
  1949. function ToxicPunch()
  1950. ATTACK = true
  1951. for i=0, 0.5, 0.1 / Animation_Speed do
  1952. Swait()
  1953. 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(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1954. 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(15)), 0.15 / Animation_Speed)
  1955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1956. 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)
  1957. 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(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1958. 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(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1959. end
  1960. local GRAB = nil
  1961. local HIT = false
  1962. local hitting = RightArm.Touched:connect(function(hit)
  1963. if GRAB == nil then
  1964. if hit.Parent:FindFirstChild("Humanoid") then
  1965. if hit.Parent.Humanoid.Health ~= 0 then
  1966. HIT = true
  1967. GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1968. MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color)
  1969. GRAB.Anchored = true
  1970. CreateSound("131237241", GRAB, 3, 1)
  1971. end
  1972. end
  1973. end
  1974. end)
  1975. for i=0, 1, 0.1 / Animation_Speed do
  1976. Swait()
  1977. 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(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  1978. 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(-25)), 0.45 / Animation_Speed)
  1979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1980. 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)
  1981. 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(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1982. 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(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1983. if HIT == true then
  1984. break
  1985. end
  1986. end
  1987. hitting:disconnect()
  1988. if GRAB ~= nil then
  1989. Rooted = true
  1990. local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",true,false,1,2)
  1991. turnto(RootPart.Position,GRAB)
  1992. RootPart.CFrame = GRAB.CFrame * CF(0,0,-4) * ANGLES(RAD(0),RAD(180),RAD(0))
  1993. for i=0, 3, 0.1 / Animation_Speed*4 do
  1994. if GRAB ~= nil then
  1995. Swait()
  1996. turnto(GRAB.Position,RootPart)
  1997. turnto(RootPart.Position,GRAB)
  1998. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8)
  1999. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8)
  2000. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8)
  2001. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-30)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8)
  2002. 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.2 / Animation_Speed*8)
  2003. 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(0)), 0.2 / Animation_Speed*8)
  2004. end
  2005. end
  2006. chatfunc("Toxic...",100)
  2007. CreateSound(CIRCLESOUND, GRAB, 2, 1)
  2008. CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75)
  2009. BURST.Enabled = false
  2010. local BURST = CreateParticles(FIREHAND,VT(0,0,0),1,2,"Fire",false,false,6,25)
  2011. for i=0, 1, 0.1 / Animation_Speed*6 do
  2012. if GRAB ~= nil then
  2013. Swait()
  2014. turnto(GRAB.Position,RootPart)
  2015. turnto(RootPart.Position,GRAB)
  2016. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.2 / Animation_Speed*8)
  2017. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.2 / Animation_Speed*8)
  2018. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*8)
  2019. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*8)
  2020. 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.2 / Animation_Speed*3)
  2021. 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(0)), 0.2 / Animation_Speed*3)
  2022. end
  2023. end
  2024. chatfunc("Fist!",2)
  2025. if GRAB ~= nil then
  2026. CreateSound(EXPLOSION, GRAB, 10, 1)
  2027. BURST:Emit(300)
  2028. GRAB.Parent:BreakJoints()
  2029. Swait(150)
  2030. end
  2031. end
  2032. FIREHAND:ClearAllChildren()
  2033. GRAB = nil
  2034. Rooted = false
  2035. HIT = nil
  2036. ATTACK = false
  2037. end
  2038.  
  2039. function ToxicEruption()
  2040. ATTACK = true
  2041. Rooted = true
  2042. chatfunc("Toxic...",100)
  2043. for i=0, 1, 0.1 / Animation_Speed do
  2044. Swait()
  2045. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2046. 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)
  2047. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2048. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2049. 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(-12.5)), 0.15 / Animation_Speed)
  2050. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  2051. end
  2052. CreateSound(CIRCLESOUND, LeftLeg, 2, 1)
  2053. CreateMagicRingTilSize(LeftLeg.CFrame*CF(0,-1.2,0),75,25)
  2054. chatfunc("Eruption!",2)
  2055. local Animation_Speed2 = Animation_Speed/8
  2056. for i=0, 1, 0.1 / Animation_Speed2 do
  2057. Swait()
  2058. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2059. 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_Speed2)
  2060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  2061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  2062. 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(25)), 0.15 / Animation_Speed2)
  2063. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2)
  2064. end
  2065. RootPart.Anchored = true
  2066. local FIRE,PARTICLES = createfireball(6,false)
  2067. FIRE.CFrame = LeftLeg.CFrame
  2068. PARTICLES:remove()
  2069. CreateMagicCircle(75,true,-0.01,75,CF(LeftLeg.Position) * CF(0,-1,0),false)
  2070. coroutine.resume(coroutine.create(function()
  2071. FIRE.Anchored = true
  2072. FIRE.CanCollide = false
  2073. CreateSound(EXPLOSION, FIRE, 10, 1)
  2074. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,75)
  2075. BURST:Emit(750)
  2076. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,55)
  2077. BURST:Emit(750)
  2078. killnearest(FIRE.Position,45,75)
  2079. local mesh = IT("CylinderMesh",FIRE)
  2080. mesh.Scale = VT(1,10000,1)
  2081. for i = 1, 35 do
  2082. Swait()
  2083. FIRE.Size = FIRE.Size + VT(1,1,1)
  2084. FIRE.Transparency = FIRE.Transparency + (1/35)
  2085. end
  2086. Swait(250)
  2087. FIRE:remove()
  2088. end))
  2089. RootPart.Anchored = false
  2090. Rooted = false
  2091. ATTACK = false
  2092. end
  2093.  
  2094. function ToxicImpacter()
  2095. ATTACK = true
  2096. for i=0, 0.5, 0.1 / Animation_Speed do
  2097. Swait()
  2098. 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(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2099. 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(15)), 0.15 / Animation_Speed)
  2100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2101. 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)
  2102. 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(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  2103. 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(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  2104. end
  2105. local GRAB = nil
  2106. local HIT = false
  2107. local hitting = RightArm.Touched:connect(function(hit)
  2108. if GRAB == nil then
  2109. if hit.Parent:FindFirstChild("Humanoid") then
  2110. if hit.Parent.Humanoid.Health ~= 0 then
  2111. HIT = true
  2112. GRAB = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2113. MagicBlock(1.2,20,GRAB,0,BRICKC("Pearl").Color)
  2114. GRAB.Anchored = true
  2115. CreateSound("131237241", GRAB, 3, 1)
  2116. end
  2117. end
  2118. end
  2119. end)
  2120. for i=0, 1, 0.1 / Animation_Speed do
  2121. Swait()
  2122. 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(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  2123. 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(-25)), 0.45 / Animation_Speed)
  2124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2125. 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)
  2126. 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(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  2127. 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(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  2128. if HIT == true then
  2129. break
  2130. end
  2131. end
  2132. hitting:disconnect()
  2133. if GRAB ~= nil then
  2134. Rooted = true
  2135. turnto(RootPart.Position,GRAB)
  2136. RootPart.CFrame = GRAB.CFrame * CF(0,0,-6) * ANGLES(RAD(0),RAD(180),RAD(0))
  2137. for i=0, 2, 0.1 / Animation_Speed do
  2138. Swait()
  2139. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2140. 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)
  2141. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2142. 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)
  2143. 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)
  2144. LeftHip.C0 = Clerp(LeftHip.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(0)), 0.2 / Animation_Speed)
  2145. end
  2146. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  2147. CreateWave(0,1.5,true,0.02,150,RootPart,-2,"Lime green")
  2148. CreateWave(0,3,true,-0.02,150,RootPart,-2,"Lime green")
  2149. local bv = Instance.new("BodyVelocity")
  2150. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2151. bv.velocity = Vector3.new(0,300,0)
  2152. bv.Parent = Torso
  2153. bv.Name = "DASH"
  2154. game:GetService("Debris"):AddItem(bv, 0.5)
  2155. coroutine.resume(coroutine.create(function()
  2156. for i=0, 2, 0.1 / Animation_Speed do
  2157. Swait()
  2158. 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)
  2159. 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)
  2160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2161. 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)
  2162. 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)
  2163. 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)
  2164. end
  2165. end))
  2166. Swait(125)
  2167. UNANCHOR = false
  2168. RootPart.Anchored = true
  2169. chatfunc("Toxic...",100)
  2170. for i=0, 0.5, 0.1 / Animation_Speed do
  2171. Swait()
  2172. turnto(GRAB.Position,RootPart)
  2173. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2174. 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)
  2175. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2176. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2177. 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)
  2178. 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)
  2179. --HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2180. end
  2181. local TRAIL = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",true,true,6,15)
  2182. local A1 = IT("Attachment",Torso)
  2183. A1.Position = Vector3.new(0, 0.5, 0)
  2184. local A2 = IT("Attachment",Torso)
  2185. A2.Position = Vector3.new(0, -0.5, 0)
  2186. local Trail = IT("Trail",Torso)
  2187. Trail.LightEmission = 1
  2188. Trail.FaceCamera = true
  2189. Trail.Texture = "rbxassetid://945758042"
  2190. Trail.Attachment0 = A1
  2191. Trail.Attachment1 = A2
  2192. Trail.Lifetime = 0.6
  2193. Trail.MinLength = 0
  2194. Trail.Transparency = NumberSequence.new(0)
  2195. Trail.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  2196. CreateMagicRingTilSize(GRAB.CFrame * CF(0,0,2) * ANGLES(RAD(90),RAD(0),RAD(0)),45,75)
  2197. Swait(30)
  2198. TRAIL.Enabled = false
  2199. for i=0, 3, 0.1 / Animation_Speed do
  2200. turnto(GRAB.Position,RootPart)
  2201. 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)
  2202. 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)
  2203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * 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)
  2204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.2 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2205. 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)
  2206. 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)
  2207. end
  2208. RootPart.CFrame = GRAB.CFrame * CF(0,0,4) * ANGLES(RAD(0),RAD(180),RAD(0))
  2209. chatfunc("Impacter!",2)
  2210. CreateSound(EXPLOSION, Torso, 10, 1)
  2211. killnearest(Torso.Position,5,0)
  2212. local BURST = CreateParticles(Torso,VT(0,0,0),2,2,"Fire",false,true,6,25)
  2213. BURST:Emit(750)
  2214. Swait(150)
  2215. Trail:remove()
  2216. BURST:remove()
  2217. UNANCHOR = true
  2218. TRAIL:remove()
  2219. end
  2220. FIREHAND:ClearAllChildren()
  2221. GRAB = nil
  2222. Rooted = false
  2223. HIT = nil
  2224. ATTACK = false
  2225. end
  2226.  
  2227. function ToxicDemise()
  2228. Rooted = true
  2229. for i=0, 2, 0.1 / Animation_Speed do
  2230. Swait()
  2231. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2232. 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)
  2233. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2234. 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)
  2235. 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)
  2236. LeftHip.C0 = Clerp(LeftHip.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(0)), 0.2 / Animation_Speed)
  2237. end
  2238. CreateSound("2767090", Torso, 5, MRANDOM(7, 12) / 10)
  2239. CreateWave(0,3.5,true,0.02,150,RootPart,-2,"Lime green")
  2240. CreateWave(0,5,true,-0.02,150,RootPart,-2,"Lime green")
  2241. local bv = Instance.new("BodyVelocity")
  2242. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2243. bv.velocity = Vector3.new(0,300,0)
  2244. bv.Parent = Torso
  2245. bv.Name = "DASH"
  2246. game:GetService("Debris"):AddItem(bv, 0.5)
  2247. Swait(125)
  2248. ATTACK = true
  2249. UNANCHOR = false
  2250. RootPart.Anchored = true
  2251. for i=0, 1, 0.1 / Animation_Speed do
  2252. Swait()
  2253. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2254. 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)
  2255. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2257. 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(-12.5)), 0.15 / Animation_Speed)
  2258. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  2259. end
  2260. chatfunc("TOXIC...",500)
  2261. CreateSound(CIRCLESOUND, Effects, 10, 0.5)
  2262. local Animation_Speed2 = Animation_Speed/8
  2263. CreateMagicRingTilSize(RootPart.CFrame*CF(0,-4,0),350,750)
  2264. chatfunc("Rapid Spread!",5)
  2265. for i = 1, 35 do
  2266. for i=0, 1, 0.1 / Animation_Speed2 do
  2267. Swait()
  2268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.1 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-12.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2269. 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)
  2270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2272. 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(-12.5)), 0.15 / Animation_Speed)
  2273. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.2 * Player_Size, -1.2 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(12.5)), 0.15 / Animation_Speed)
  2274. end
  2275. local FIRE,PARTICLES = createfireball(7,true)
  2276. CreateSound(FIREBALL, FIRE, 2, 1)
  2277. FIRE.CFrame = RootPart.CFrame*CF(0,-7,0)
  2278. local bv = Instance.new("BodyVelocity")
  2279. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2280. bv.velocity = CF(FIRE.Position,mouse.Hit.p).lookVector*350
  2281. bv.Parent = FIRE
  2282. bv.Name = "MOVE"
  2283. local HIT = false
  2284. local harm = FIRE.Touched:Connect(function(hit)
  2285. if HIT == false and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= Effects then
  2286. HIT = true
  2287. coroutine.resume(coroutine.create(function()
  2288. FIRE.Anchored = true
  2289. FIRE.CanCollide = false
  2290. PARTICLES.Enabled = false
  2291. CreateSound(EXPLOSION, FIRE, 10, 1)
  2292. local BURST = CreateParticles(FIRE,VT(0,0,0),2,4,"Fire",false,true,6,145)
  2293. BURST:Emit(750)
  2294. killnearest(FIRE.Position,65,75)
  2295. for i = 1, 35 do
  2296. Swait()
  2297. FIRE.Size = FIRE.Size + VT(3,3,3)
  2298. FIRE.Transparency = FIRE.Transparency + (1/35)
  2299. end
  2300. Swait(250)
  2301. FIRE:remove()
  2302. end))
  2303. end
  2304. end)
  2305. for i=0, 1, 0.1 / Animation_Speed2 do
  2306. Swait()
  2307. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  2308. 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_Speed2)
  2309. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  2310. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  2311. 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(25)), 0.15 / Animation_Speed2)
  2312. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(5), RAD(-25)), 0.15 / Animation_Speed2)
  2313. end
  2314. end
  2315. UNANCHOR = true
  2316. ATTACK = false
  2317. Rooted = false
  2318. --ATTACK = false
  2319. end
  2320.  
  2321. --//=================================\\
  2322. --|| ASSIGN THINGS TO KEYS
  2323. --\\=================================//
  2324.  
  2325. Humanoid.Changed:connect(function(Jump)
  2326. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2327. Humanoid.Jump = false
  2328. end
  2329. end)
  2330.  
  2331. function mouseDown(mouse)
  2332. if ATTACK == false then
  2333. end
  2334. end
  2335.  
  2336. function mouseUp(mouse)
  2337. HOLD = false
  2338. end
  2339.  
  2340. function KeyDown(Key)
  2341. if Rooted == false then
  2342. if Key == "q" and ATTACK == false then
  2343. ToxicFireball()
  2344. end
  2345.  
  2346. if Key == "e" and ATTACK == false then
  2347. ToxicPunch()
  2348. end
  2349.  
  2350. if Key == "r" and ATTACK == false then
  2351. ToxicEruption()
  2352. end
  2353.  
  2354. if Key == "f" and ATTACK == false then
  2355. ToxicImpacter()
  2356. end
  2357.  
  2358. if Key == "x" and ATTACK == false then
  2359. ToxicDemise()
  2360. end
  2361.  
  2362. if Key == "7" and ATTACK == false then
  2363. CreateSound("907333294", Head, 5, 1.1)
  2364. end
  2365.  
  2366. if Key == "8" and ATTACK == false then
  2367. CreateSound("907333406", Head, 5, 1.1)
  2368. end
  2369.  
  2370. if Key == "9" and ATTACK == false then
  2371. CreateSound("907329293", Head, 5, 1.1)
  2372. end
  2373. end
  2374. end
  2375.  
  2376. function KeyUp(Key)
  2377. end
  2378.  
  2379. mouse.Button1Down:connect(function(NEWKEY)
  2380. mouseDown(NEWKEY)
  2381. end)
  2382. mouse.Button1Up:connect(function(NEWKEY)
  2383. mouseUp(NEWKEY)
  2384. end)
  2385. mouse.KeyDown:connect(function(NEWKEY)
  2386. KeyDown(NEWKEY)
  2387. end)
  2388. mouse.KeyUp:connect(function(NEWKEY)
  2389. KeyUp(NEWKEY)
  2390. end)
  2391.  
  2392. --//=================================\\
  2393. --\\=================================//
  2394.  
  2395.  
  2396. function unanchor()
  2397. if UNANCHOR == true then
  2398. g = Character:GetChildren()
  2399. for i = 1, #g do
  2400. if g[i].ClassName == "Part" then
  2401. g[i].Anchored = false
  2402. end
  2403. end
  2404. end
  2405. end
  2406.  
  2407.  
  2408. --//=================================\\
  2409. --|| WRAP THE WHOLE SCRIPT UP
  2410. --\\=================================//
  2411.  
  2412. Humanoid.Changed:connect(function(Jump)
  2413. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  2414. Humanoid.Jump = false
  2415. end
  2416. end)
  2417.  
  2418. ANIMATE.Parent = nil
  2419. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2420. IDLEANIMATION:Play()
  2421. Rooted = false
  2422.  
  2423. local eye = IT("Part",Weapon)
  2424. eye.Size = VT(0.2,0.2,0.2)
  2425. eye.Shape = "Ball"
  2426. eye.CFrame = Head.CFrame * CF(0.15,0.2,-0.55)
  2427. eye.Material = "Neon"
  2428. eye.BrickColor = BRICKC("Lime green")
  2429. weldBetween(Head,eye)
  2430. CreateParticles(eye,VT(1,-5,0),1,1,"Fire",true,true,0.1,0)
  2431.  
  2432. local eye = IT("Part",Weapon)
  2433. eye.Size = VT(0.15,0.15,0.15)
  2434. eye.Shape = "Ball"
  2435. eye.CFrame = Head.CFrame * CF(-0.15,0.2,-0.55)
  2436. eye.BrickColor = BRICKC("Black")
  2437. weldBetween(Head,eye)
  2438.  
  2439. while true do
  2440. Swait()
  2441. SINE = SINE + CHANGE
  2442. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2443. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2444. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2445. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2446. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2447. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2448. 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)
  2449. 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)
  2450. 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)
  2451. 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)
  2452. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2453. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2454. 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)
  2455. 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)
  2456. 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)
  2457. end
  2458. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2459. ANIM = "Jump"
  2460. if ATTACK == false then
  2461. 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)
  2462. 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)
  2463. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2464. 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)
  2465. 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)
  2466. 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)
  2467. end
  2468. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2469. ANIM = "Fall"
  2470. if ATTACK == false then
  2471. 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)
  2472. 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)
  2473. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2474. 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)
  2475. 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)
  2476. 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)
  2477. end
  2478. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2479. ANIM = "Idle"
  2480. if ATTACK == false then
  2481. 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(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2482. 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)
  2483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2484. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2485. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2486. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2487. end
  2488. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2489. ANIM = "Walk"
  2490. WALK = WALK + 1 / Animation_Speed
  2491. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2492. WALK = 0
  2493. if WALKINGANIM == true then
  2494. WALKINGANIM = false
  2495. elseif WALKINGANIM == false then
  2496. WALKINGANIM = true
  2497. end
  2498. end
  2499. --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)
  2500. --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)
  2501. if ATTACK == false then
  2502. 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(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2503. 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)
  2504. 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(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2505. 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(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2506. 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)
  2507. 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(0)), 0.15 / Animation_Speed)
  2508. end
  2509. end
  2510. if #Effects2>0 then
  2511. for e=1,#Effects2 do
  2512. if Effects2[e]~=nil then
  2513. local Thing=Effects2[e]
  2514. if Thing~=nil then
  2515. local Part=Thing[1]
  2516. local Mode=Thing[2]
  2517. local Delay=Thing[3]
  2518. local IncX=Thing[4]
  2519. local IncY=Thing[5]
  2520. local IncZ=Thing[6]
  2521. local Part2=Thing[8]
  2522. if Thing[1].Transparency<=1 then
  2523. if Thing[2]=="Block1" then
  2524. Thing[1].CFrame=Thing[1].CFrame
  2525. Mesh=Thing[1].Mesh
  2526. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2527. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2528. elseif Thing[2]=="Cylinder" then
  2529. Mesh=Thing[1].Mesh
  2530. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2531. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2532. elseif Thing[2]=="Blood" then
  2533. Mesh=Thing[7]
  2534. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2535. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2536. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2537. elseif Thing[2]=="Elec" then
  2538. Mesh=Thing[1].Mesh
  2539. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2540. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2541. elseif Thing[2]=="Disappear" then
  2542. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2543. end
  2544. else
  2545. Part.Parent=nil
  2546. table.remove(Effects2,e)
  2547. end
  2548. end
  2549. end
  2550. end
  2551. end
  2552. unanchor()
  2553. Humanoid.MaxHealth = "inf"
  2554. Humanoid.Health = "inf"
  2555. if Rooted == false then
  2556. Disable_Jump = false
  2557. Humanoid.WalkSpeed = Speed
  2558. elseif Rooted == true then
  2559. Disable_Jump = true
  2560. Humanoid.WalkSpeed = 0
  2561. end
  2562. if Head:FindFirstChild("face") then
  2563. Head.face:remove()
  2564. end
  2565. end
  2566.  
  2567. --//=================================\\
  2568. --\\=================================//
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574. --//====================================================\\--
  2575. --|| END OF SCRIPT
  2576. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement