Advertisement
yabagaba

Untitled

May 5th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.81 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| INJUSTICE BY KILLERZTH_1596
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
  5. do
  6. script.Parent = owner.Character
  7. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Bind = Instance.new("BindableEvent")
  10. local Fake;Fake = {Connections = {},
  11. fakeEvent=true;
  12. Connect=function(self,Func)
  13. Bind.Event:connect(Func)
  14. self.Connections[Bind] = true
  15. return setmetatable({Connected = true},{
  16. __index = function (self,Index)
  17. if Index:lower() == "disconnect" then
  18. return function() Fake.Connections[Bind] = false;self.Connected = false end
  19. end
  20. return Fake[Index]
  21. end;
  22. __tostring = function() return "Connection" end;
  23. })
  24. end}
  25. Fake.connect = Fake.Connect;return Fake;
  26. end
  27. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  28. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  29. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  30. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  31. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  32. local function TriggerEvent(self,Event,...)
  33. local Trigger = Mouse[Event]
  34. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  35. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  36. end
  37. end
  38. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  39. Event.OnServerEvent:Connect(function(FiredBy,Input)
  40. if FiredBy.Name ~= owner.Name then return end
  41. if Input.MouseEvent then
  42. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  43. else
  44. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  45. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  46. for _,Action in pairs(ContextActionService.Actions) do
  47. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  48. end
  49. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  50. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  51. end
  52. end)
  53. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  54. Event.Parent = NLS([[
  55. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  56. local Input = function(Input,gameProcessedEvent)
  57. if gameProcessedEvent then return end
  58. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  59. end
  60. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  61. local Hit,Target
  62. while wait(1/30) do
  63. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  64. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)return InternalData["Mouse"] end
  80. end
  81. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  82. end
  83. return RealPlayer[Index]
  84. end;
  85. __tostring = function(self) return RealPlayer.Name end
  86. })
  87. end
  88. end
  89. if RealGame[Index] then
  90. local Type = type(RealGame[Index])
  91. if Type == "function" then
  92. if Index:lower() == "getservice" or Index:lower() == "service" then
  93. return function (self,Service)
  94. local FakeServices = {
  95. ["players"] = function()
  96. return setmetatable({},{
  97. __index = function (self2,Index2)
  98. local RealService = RealGame:GetService(Service)
  99. local Type2 = type(Index2)
  100. if Type2 == "function" then
  101. return function (self,...) return RealService[Index2](RealService,...)end
  102. else
  103. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  104. return RealService[Index2]
  105. end
  106. end;
  107. __tostring = function(self) return RealGame:GetService(Service).Name end
  108. })
  109. end;
  110. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  111. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  112. ["runservice"] = function()
  113. return setmetatable({},{
  114. __index = function(self2,Index2)
  115. local RealService = RealGame:GetService(Service)
  116. local Type2 = type(Index2)
  117. if Type2 == "function" then
  118. return function (self,...) return RealService[Index2](RealService,...) end
  119. else
  120. local RunServices = {
  121. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  122. ["renderstepped"] = function() return RealService["Stepped"] end
  123. }
  124. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  125. return RealService[Index2]
  126. end
  127. end
  128. })
  129. end
  130. }
  131. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  132. return RealGame:GetService(Service)
  133. end
  134. end
  135. return function (self,...) return RealGame[Index](RealGame,...) end
  136. else
  137. if game:GetService(Index) then return game:GetService(Index) end
  138. return RealGame[Index]
  139. end
  140. end
  141. return nil
  142. end
  143. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
  144.  
  145. wait(0.2)
  146.  
  147. Player = game.Players.LocalPlayer
  148. Character = Player.Character
  149. local txt = Instance.new("BillboardGui", Character)
  150. txt.Adornee = Character.Head
  151. txt.Name = "_status"
  152. txt.Size = UDim2.new(2, 0, 1.2, 0)
  153. txt.StudsOffset = Vector3.new(-9, 10, 0)
  154. local text = Instance.new("TextLabel", txt)
  155. text.Size = UDim2.new(10, 0, 7, 0)
  156. text.FontSize = "Size24"
  157. text.TextScaled = true
  158. text.TextTransparency = 0
  159. text.BackgroundTransparency = 1
  160. text.TextTransparency = 0
  161. text.TextStrokeTransparency = 0
  162. text.Font = "Bodoni"
  163. text.TextStrokeColor3 = Color3.new(1,1,0)
  164. text.Text = " "
  165.  
  166. Player = game:GetService("Players").LocalPlayer
  167. PlayerGui = Player.PlayerGui
  168. Cam = workspace.CurrentCamera
  169. Backpack = Player.Backpack
  170. Character = Player.Character
  171. Humanoid = Character.Humanoid
  172. Mouse = Player:GetMouse()
  173. RootPart = Character["HumanoidRootPart"]
  174. Torso = Character["Torso"]
  175. Head = Character["Head"]
  176. RightArm = Character["Right Arm"]
  177. LeftArm = Character["Left Arm"]
  178. RightLeg = Character["Right Leg"]
  179. LeftLeg = Character["Left Leg"]
  180. RootJoint = RootPart["RootJoint"]
  181. Neck = Torso["Neck"]
  182. RightShoulder = Torso["Right Shoulder"]
  183. LeftShoulder = Torso["Left Shoulder"]
  184. RightHip = Torso["Right Hip"]
  185. LeftHip = Torso["Left Hip"]
  186. Character.Archivable = true
  187. Player:ClearCharacterAppearance()
  188.  
  189. IT = Instance.new
  190. CF = CFrame.new
  191. VT = Vector3.new
  192. RAD = math.rad
  193. C3 = Color3.new
  194. UD2 = UDim2.new
  195. BRICKC = BrickColor.new
  196. ANGLES = CFrame.Angles
  197. EULER = CFrame.fromEulerAnglesXYZ
  198. COS = math.cos
  199. ACOS = math.acos
  200. SIN = math.sin
  201. ASIN = math.asin
  202. ABS = math.abs
  203. MRANDOM = math.random
  204. FLOOR = math.floor
  205.  
  206. --//=================================\\
  207. --|| USEFUL VALUES
  208. --\\=================================//
  209.  
  210. Animation_Speed = 3
  211. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  212. local Speed = 20
  213. local SIZE = 1.4
  214. local Player_Size = 1.4
  215. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  216. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  217. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  218. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  219. local DAMAGEMULTIPLIER = 1
  220. local ANIM = "Idle"
  221. local ATTACK = false
  222. local EQUIPPED = false
  223. local HOLD = false
  224. local COMBO = 1
  225. local Rooted = false
  226. local SINE = 0
  227. local KEYHOLD = false
  228. local CHANGE = 2 / Animation_Speed
  229. local WALKINGANIM = false
  230. local VALUE1 = false
  231. local VALUE2 = false
  232. local ROBLOXIDLEANIMATION = IT("Animation")
  233. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  234. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  235. local ATANIM = IT("Animation")
  236. ATANIM.Name = "Attack Animation"
  237. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  238. --ROBLOXIDLEANIMATION.Parent = Humanoid
  239. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  240. WEAPONGUI.Name = "Weapon GUI"
  241. local Weapon = IT("Model")
  242. Weapon.Name = "Adds"
  243. local Injustice = IT("Model")
  244. Weapon.Name = "Adds"
  245. local InjusticeGun = IT("Model")
  246. Weapon.Name = "Adds"
  247. local InjusticeGun2 = IT("Model")
  248. Weapon.Name = "Adds"
  249. local Effects = IT("Folder", Weapon)
  250. Effects.Name = "Effects"
  251. local ANIMATOR = Humanoid.Animator
  252. local ANIMATE = Character.Animate
  253. local UNANCHOR = true
  254. local CLOCKLOOP = 0
  255. local SONG = 929330882
  256. local CLOCKTARGET = nil
  257. local CLOCKSPEED = 5
  258. script.Parent = WEAPONGUI
  259. local CLONE = Character:Clone()
  260. CLONE.Parent = nil
  261. Character.Archivable = false
  262. local sick = Instance.new("Sound",Torso)
  263. local BOLTSOUNDS = {168586621,168586586,178452241}
  264.  
  265. --//=================================\\
  266. --\\=================================//
  267.  
  268.  
  269. --//=================================\\
  270. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  271. --\\=================================//
  272.  
  273. ArtificialHB = Instance.new("BindableEvent", script)
  274. ArtificialHB.Name = "ArtificialHB"
  275.  
  276. script:WaitForChild("ArtificialHB")
  277.  
  278. frame = Frame_Speed
  279. tf = 0
  280. allowframeloss = false
  281. tossremainder = false
  282. lastframe = tick()
  283. script.ArtificialHB:Fire()
  284.  
  285. game:GetService("RunService").Heartbeat:connect(function(s, p)
  286. tf = tf + s
  287. if tf >= frame then
  288. if allowframeloss then
  289. script.ArtificialHB:Fire()
  290. lastframe = tick()
  291. else
  292. for i = 1, math.floor(tf / frame) do
  293. script.ArtificialHB:Fire()
  294. end
  295. lastframe = tick()
  296. end
  297. if tossremainder then
  298. tf = 0
  299. else
  300. tf = tf - frame * math.floor(tf / frame)
  301. end
  302. end
  303. end)
  304.  
  305. --//=================================\\
  306. --\\=================================//
  307.  
  308. --//=================================\\
  309. --|| SOME FUNCTIONS
  310. --\\=================================//
  311.  
  312. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  313. if FLOOR ~= nil then
  314. coroutine.resume(coroutine.create(function()
  315. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  316. PART.CFrame = CF(POSITION)
  317. for i = 1, 45 do
  318. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  319. RingPiece.Material = FLOOR.Material
  320. RingPiece.Color = FLOOR.Color
  321. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  322. Debris:AddItem(RingPiece,SWAIT)
  323. end
  324. PART:remove()
  325. end))
  326. end
  327. end
  328.  
  329. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  330. if FLOOR ~= nil then
  331. for i = 1, AMOUNT do
  332. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  333. DEBREE.Material = FLOOR.Material
  334. DEBREE.Color = FLOOR.Color
  335. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  336. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  337. coroutine.resume(coroutine.create(function()
  338. Swait(15)
  339. DEBREE.Parent = workspace
  340. DEBREE.CanCollide = true
  341. Debris:AddItem(DEBREE,SWAIT)
  342. end))
  343. end
  344. end
  345. end
  346.  
  347. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  348. function Lightning(Table)
  349. local Color = Table.Color or C3(1,1,1)
  350. local StartPos = Table.Start or Torso.Position
  351. local EndPos = Table.End or Mouse.Hit.p
  352. local SegmentLength = Table.SegmentL or 2
  353. local Thickness = Table.Thickness or 0.1
  354. local Dissapear = Table.DoesFade or false
  355. local Parent = Table.Ignore or Character
  356. local MaxDist = Table.MaxDist or 400
  357. local Branches = Table.Branches or false
  358. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  359. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  360. local LIGHTNINGMODEL = IT("Model",Effects)
  361. LIGHTNINGMODEL.Name = "Lightning"
  362. local LastBolt = nil
  363. for E = 1, DISTANCE do
  364. local ExtraSize = (DISTANCE-E)/15
  365. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  366. PART.Color = Color
  367. MakeForm(PART,"Cyl")
  368. if LastBolt == nil then
  369. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  370. else
  371. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  372. end
  373. LastBolt = PART
  374. if Branches == true then
  375. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  376. if CHOICE == 1 then
  377. local LASTBRANCH = nil
  378. for i = 1, MRANDOM(2,5) do
  379. local ExtraSize2 = ((DISTANCE-E)/25)/i
  380. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Crimson"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  381. PART.Color = Color
  382. MakeForm(PART,"Cyl")
  383. if LASTBRANCH == nil then
  384. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  385. else
  386. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  387. end
  388. LASTBRANCH = PART
  389. end
  390. end
  391. end
  392. end
  393. if Dissapear == true then
  394. coroutine.resume(coroutine.create(function()
  395. for i = 1, 10 do
  396. Swait()
  397. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  398. if c.ClassName == "Part" then
  399. c.Transparency = i/10
  400. end
  401. end
  402. end
  403. LIGHTNINGMODEL:remove()
  404. end))
  405. elseif Dissapear == false then
  406. Debris:AddItem(LIGHTNINGMODEL,0.1)
  407. end
  408. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  409. end
  410.  
  411. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  412. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  413. local mesh = IT("SpecialMesh",wave)
  414. mesh.MeshType = "FileMesh"
  415. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  416. mesh.Scale = SIZE
  417. mesh.Offset = VT(0,0,-SIZE.X/8)
  418. wave.CFrame = CFRAME
  419. coroutine.resume(coroutine.create(function(PART)
  420. for i = 1, WAIT do
  421. Swait()
  422. mesh.Scale = mesh.Scale + GROW
  423. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  424. if DOESROT == true then
  425. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  426. end
  427. wave.Transparency = wave.Transparency + (0.5/WAIT)
  428. if wave.Transparency > 0.99 then
  429. wave:remove()
  430. end
  431. end
  432. end))
  433. end
  434.  
  435. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  436. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  437. local mesh = IT("SpecialMesh",wave)
  438. mesh.MeshType = "FileMesh"
  439. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  440. mesh.Scale = SIZE
  441. --mesh.Offset = VT(0,0,-SIZE.X/8)
  442. wave.CFrame = CFRAME
  443. coroutine.resume(coroutine.create(function(PART)
  444. for i = 1, WAIT do
  445. Swait()
  446. mesh.Scale = mesh.Scale + GROW
  447. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  448. if DOESROT == true then
  449. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  450. end
  451. wave.Transparency = wave.Transparency + (0.5/WAIT)
  452. if wave.Transparency > 0.99 then
  453. wave:remove()
  454. end
  455. end
  456. end))
  457. end
  458.  
  459. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  460. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  461. local mesh = IT("SpecialMesh",wave)
  462. mesh.MeshType = "Sphere"
  463. mesh.Scale = SIZE
  464. mesh.Offset = VT(0,0,0)
  465. wave.CFrame = CFRAME
  466. coroutine.resume(coroutine.create(function(PART)
  467. for i = 1, WAIT do
  468. Swait()
  469. mesh.Scale = mesh.Scale + GROW
  470. wave.Transparency = wave.Transparency + (1/WAIT)
  471. if wave.Transparency > 0.99 then
  472. wave:remove()
  473. end
  474. end
  475. end))
  476. end
  477.  
  478. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  479. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  480. local mesh = IT("SpecialMesh",wave)
  481. mesh.MeshType = "FileMesh"
  482. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  483. mesh.Scale = SIZE
  484. wave.CFrame = CFRAME
  485. coroutine.resume(coroutine.create(function(PART)
  486. for i = 1, WAIT do
  487. Swait()
  488. mesh.Scale = mesh.Scale + GROW
  489. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  490. if DOESROT == true then
  491. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  492. end
  493. wave.Transparency = wave.Transparency + (0.5/WAIT)
  494. if wave.Transparency > 0.99 then
  495. wave:remove()
  496. end
  497. end
  498. end))
  499. end
  500.  
  501. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  502. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  503. end
  504.  
  505. function PositiveAngle(NUMBER)
  506. if NUMBER >= 0 then
  507. NUMBER = 0
  508. end
  509. return NUMBER
  510. end
  511.  
  512. function NegativeAngle(NUMBER)
  513. if NUMBER <= 0 then
  514. NUMBER = 0
  515. end
  516. return NUMBER
  517. end
  518.  
  519. function Swait(NUMBER)
  520. if NUMBER == 0 or NUMBER == nil then
  521. ArtificialHB.Event:wait()
  522. else
  523. for i = 1, NUMBER do
  524. ArtificialHB.Event:wait()
  525. end
  526. end
  527. end
  528.  
  529. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  530. local NEWMESH = IT(MESH)
  531. if MESH == "SpecialMesh" then
  532. NEWMESH.MeshType = MESHTYPE
  533. if MESHID ~= "nil" and MESHID ~= "" then
  534. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  535. end
  536. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  537. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  538. end
  539. end
  540. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  541. NEWMESH.Scale = SCALE
  542. NEWMESH.Parent = PARENT
  543. return NEWMESH
  544. end
  545.  
  546. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  547. local NEWPART = IT("Part")
  548. NEWPART.formFactor = FORMFACTOR
  549. NEWPART.Reflectance = REFLECTANCE
  550. NEWPART.Transparency = TRANSPARENCY
  551. NEWPART.CanCollide = false
  552. NEWPART.Locked = true
  553. NEWPART.Anchored = true
  554. if ANCHOR == false then
  555. NEWPART.Anchored = false
  556. end
  557. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  558. NEWPART.Name = NAME
  559. NEWPART.Size = SIZE
  560. NEWPART.Position = Torso.Position
  561. NEWPART.Material = MATERIAL
  562. NEWPART:BreakJoints()
  563. NEWPART.Parent = PARENT
  564. return NEWPART
  565. end
  566.  
  567. local function weldBetween(a, b)
  568. local weldd = Instance.new("ManualWeld")
  569. weldd.Part0 = a
  570. weldd.Part1 = b
  571. weldd.C0 = CFrame.new()
  572. weldd.C1 = b.CFrame:inverse() * a.CFrame
  573. weldd.Parent = a
  574. return weldd
  575. end
  576.  
  577.  
  578. function QuaternionFromCFrame(cf)
  579. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  580. local trace = m00 + m11 + m22
  581. if trace > 0 then
  582. local s = math.sqrt(1 + trace)
  583. local recip = 0.5 / s
  584. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  585. else
  586. local i = 0
  587. if m11 > m00 then
  588. i = 1
  589. end
  590. if m22 > (i == 0 and m00 or m11) then
  591. i = 2
  592. end
  593. if i == 0 then
  594. local s = math.sqrt(m00 - m11 - m22 + 1)
  595. local recip = 0.5 / s
  596. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  597. elseif i == 1 then
  598. local s = math.sqrt(m11 - m22 - m00 + 1)
  599. local recip = 0.5 / s
  600. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  601. elseif i == 2 then
  602. local s = math.sqrt(m22 - m00 - m11 + 1)
  603. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  604. end
  605. end
  606. end
  607.  
  608. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  609. local xs, ys, zs = x + x, y + y, z + z
  610. local wx, wy, wz = w * xs, w * ys, w * zs
  611. local xx = x * xs
  612. local xy = x * ys
  613. local xz = x * zs
  614. local yy = y * ys
  615. local yz = y * zs
  616. local zz = z * zs
  617. 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))
  618. end
  619.  
  620. function QuaternionSlerp(a, b, t)
  621. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  622. local startInterp, finishInterp;
  623. if cosTheta >= 0.0001 then
  624. if (1 - cosTheta) > 0.0001 then
  625. local theta = ACOS(cosTheta)
  626. local invSinTheta = 1 / SIN(theta)
  627. startInterp = SIN((1 - t) * theta) * invSinTheta
  628. finishInterp = SIN(t * theta) * invSinTheta
  629. else
  630. startInterp = 1 - t
  631. finishInterp = t
  632. end
  633. else
  634. if (1 + cosTheta) > 0.0001 then
  635. local theta = ACOS(-cosTheta)
  636. local invSinTheta = 1 / SIN(theta)
  637. startInterp = SIN((t - 1) * theta) * invSinTheta
  638. finishInterp = SIN(t * theta) * invSinTheta
  639. else
  640. startInterp = t - 1
  641. finishInterp = t
  642. end
  643. end
  644. 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
  645. end
  646.  
  647. function Clerp(a, b, t)
  648. local qa = {QuaternionFromCFrame(a)}
  649. local qb = {QuaternionFromCFrame(b)}
  650. local ax, ay, az = a.x, a.y, a.z
  651. local bx, by, bz = b.x, b.y, b.z
  652. local _t = 1 - t
  653. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  654. end
  655.  
  656. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  657. local frame = IT("Frame")
  658. frame.BackgroundTransparency = TRANSPARENCY
  659. frame.BorderSizePixel = BORDERSIZEPIXEL
  660. frame.Position = POSITION
  661. frame.Size = SIZE
  662. frame.BackgroundColor3 = COLOR
  663. frame.BorderColor3 = BORDERCOLOR
  664. frame.Name = NAME
  665. frame.Parent = PARENT
  666. return frame
  667. end
  668.  
  669. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  670. local label = IT("TextLabel")
  671. label.BackgroundTransparency = 1
  672. label.Size = UD2(1, 0, 1, 0)
  673. label.Position = UD2(0, 0, 0, 0)
  674. label.TextColor3 = TEXTCOLOR
  675. label.TextStrokeTransparency = STROKETRANSPARENCY
  676. label.TextTransparency = TRANSPARENCY
  677. label.FontSize = TEXTFONTSIZE
  678. label.Font = TEXTFONT
  679. label.BorderSizePixel = BORDERSIZEPIXEL
  680. label.TextStrokeColor3 = C3(1,1,1)
  681. label.TextScaled = false
  682. label.Text = TEXT
  683. label.Name = NAME
  684. label.Parent = PARENT
  685. return label
  686. end
  687.  
  688. function NoOutlines(PART)
  689. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  690. end
  691.  
  692. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  693. local NEWWELD = IT(TYPE)
  694. NEWWELD.Part0 = PART0
  695. NEWWELD.Part1 = PART1
  696. NEWWELD.C0 = C0
  697. NEWWELD.C1 = C1
  698. NEWWELD.Parent = PARENT
  699. return NEWWELD
  700. end
  701.  
  702. local S = IT("Sound")
  703. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  704. local NEWSOUND = nil
  705. coroutine.resume(coroutine.create(function()
  706. NEWSOUND = S:Clone()
  707. NEWSOUND.Parent = PARENT
  708. NEWSOUND.Volume = VOLUME
  709. NEWSOUND.Pitch = PITCH
  710. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  711. NEWSOUND:play()
  712. if DOESLOOP == true then
  713. NEWSOUND.Looped = true
  714. else
  715. repeat wait(1) until NEWSOUND.Playing == false
  716. NEWSOUND:remove()
  717. end
  718. end))
  719. return NEWSOUND
  720. end
  721.  
  722. function CFrameFromTopBack(at, top, back)
  723. local right = top:Cross(back)
  724. 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)
  725. end
  726.  
  727. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  728. function WACKYEFFECT(Table)
  729. local TYPE = (Table.EffectType or "Sphere")
  730. local SIZE = (Table.Size or VT(1,1,1))
  731. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  732. local TRANSPARENCY = (Table.Transparency or 0)
  733. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  734. local CFRAME = (Table.CFrame or Torso.CFrame)
  735. local MOVEDIRECTION = (Table.MoveToPos or nil)
  736. local ROTATION1 = (Table.RotationX or 0)
  737. local ROTATION2 = (Table.RotationY or 0)
  738. local ROTATION3 = (Table.RotationZ or 0)
  739. local MATERIAL = (Table.Material or "Neon")
  740. local COLOR = (Table.Color or C3(1,1,1))
  741. local TIME = (Table.Time or 45)
  742. local SOUNDID = (Table.SoundID or nil)
  743. local SOUNDPITCH = (Table.SoundPitch or nil)
  744. local SOUNDVOLUME = (Table.SoundVolume or nil)
  745. coroutine.resume(coroutine.create(function()
  746. local PLAYSSOUND = false
  747. local SOUND = nil
  748. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  749. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  750. PLAYSSOUND = true
  751. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  752. end
  753. EFFECT.Color = COLOR
  754. local MSH = nil
  755. if TYPE == "Sphere" then
  756. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  757. elseif TYPE == "Block" then
  758. MSH = IT("BlockMesh",EFFECT)
  759. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  760. elseif TYPE == "Wave" then
  761. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  762. elseif TYPE == "Ring" then
  763. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  764. elseif TYPE == "Slash" then
  765. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  766. elseif TYPE == "Round Slash" then
  767. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  768. elseif TYPE == "Swirl" then
  769. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  770. elseif TYPE == "Skull" then
  771. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  772. elseif TYPE == "Crystal" then
  773. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  774. end
  775. if MSH ~= nil then
  776. local MOVESPEED = nil
  777. if MOVEDIRECTION ~= nil then
  778. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  779. end
  780. local GROWTH = SIZE - ENDSIZE
  781. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  782. if TYPE == "Block" then
  783. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  784. else
  785. EFFECT.CFrame = CFRAME
  786. end
  787. for LOOP = 1, TIME+1 do
  788. Swait()
  789. MSH.Scale = MSH.Scale - GROWTH/TIME
  790. if TYPE == "Wave" then
  791. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  792. end
  793. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  794. if TYPE == "Block" then
  795. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  796. else
  797. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  798. end
  799. if MOVEDIRECTION ~= nil then
  800. local ORI = EFFECT.Orientation
  801. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  802. EFFECT.Orientation = ORI
  803. end
  804. end
  805. if PLAYSSOUND == false then
  806. EFFECT:remove()
  807. else
  808. repeat Swait() until SOUND.Playing == false
  809. EFFECT:remove()
  810. end
  811. else
  812. if PLAYSSOUND == false then
  813. EFFECT:remove()
  814. else
  815. repeat Swait() until SOUND.Playing == false
  816. EFFECT:remove()
  817. end
  818. end
  819. end))
  820. end
  821.  
  822. function MakeForm(PART,TYPE)
  823. if TYPE == "Cyl" then
  824. local MSH = IT("CylinderMesh",PART)
  825. elseif TYPE == "Ball" then
  826. local MSH = IT("SpecialMesh",PART)
  827. MSH.MeshType = "Sphere"
  828. elseif TYPE == "Wedge" then
  829. local MSH = IT("SpecialMesh",PART)
  830. MSH.MeshType = "Wedge"
  831. end
  832. end
  833.  
  834. Debris = game:GetService("Debris")
  835.  
  836. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  837. local DIRECTION = CF(StartPos,EndPos).lookVector
  838. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  839. end
  840.  
  841. function turnto(position)
  842. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  843. end
  844.  
  845. --//=================================\\
  846. --|| WEAPON CREATION
  847. --\\=================================//
  848.  
  849. Humanoid.Parent = nil
  850. RootPart.Size = RootPart.Size*SIZE
  851. Torso.Size = Torso.Size*SIZE
  852. RightArm.Size = RightArm.Size*SIZE
  853. RightLeg.Size = RightLeg.Size*SIZE
  854. LeftArm.Size = LeftArm.Size*SIZE
  855. LeftLeg.Size = LeftLeg.Size*SIZE
  856. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  857. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  858. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  859. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  860. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  861. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  862. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  863. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  864. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  865. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  866. Head.Size = Head.Size*SIZE
  867. RootJoint.Parent = RootPart
  868. Neck.Parent = Torso
  869. RightShoulder.Parent = Torso
  870. LeftShoulder.Parent = Torso
  871. RightHip.Parent = Torso
  872. LeftHip.Parent = Torso
  873.  
  874. -- Shirt and Pant --
  875.  
  876. local top = Instance.new("Shirt")
  877. top.ShirtTemplate = "rbxassetid://"
  878. top.Parent = Character
  879. top.Name = "Cloth"
  880. local bottom = Instance.new("Pants")
  881. bottom.PantsTemplate = "rbxassetid://"
  882. bottom.Parent = Character
  883. bottom.Name = "Cloth"
  884.  
  885.  
  886.  
  887. for _, b in pairs(Injustice:GetChildren()) do
  888. if b.ClassName == "Part" then
  889. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  890. end
  891. end
  892.  
  893. for _, b in pairs(Weapon:GetChildren()) do
  894. if b.ClassName == "Part" then
  895. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  896. end
  897. end
  898.  
  899.  
  900. for _, b in pairs(InjusticeGun2:GetChildren()) do
  901. if b.ClassName == "Part" then
  902. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  903. end
  904. end
  905.  
  906. for _, b in pairs(InjusticeGun:GetChildren()) do
  907. if b.ClassName == "Part" then
  908. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  909. end
  910. end
  911.  
  912. function chatfunc(text)
  913. local chat = coroutine.wrap(function()
  914. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  915. Character:FindFirstChild("TalkingBillBoard"):destroy()
  916. end
  917. local Bill = Instance.new("BillboardGui",Character)
  918. Bill.Size = UDim2.new(0,100,0,40)
  919. Bill.StudsOffset = Vector3.new(0,3,0)
  920. Bill.Adornee = Character.Head
  921. Bill.Name = "TalkingBillBoard"
  922. local Hehe = Instance.new("TextLabel",Bill)
  923. Hehe.BackgroundTransparency = 1
  924. Hehe.BorderSizePixel = 0
  925. Hehe.Text = ""
  926. Hehe.Font = "Fantasy"
  927. Hehe.TextSize = 40
  928. Hehe.TextStrokeTransparency = 0
  929. Hehe.Size = UDim2.new(1,0,0.5,0)
  930. coroutine.resume(coroutine.create(function()
  931. while Hehe ~= nil do
  932. wait()
  933. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  934. Hehe.Rotation = math.random(-5,5)
  935. Hehe.TextColor3 = Color3.new(0,0,0)
  936. Hehe.TextStrokeColor3 = Color3.new(255,255,0)
  937. end
  938. end))
  939. for i = 1,string.len(text),1 do
  940. wait()
  941. Hehe.Text = string.sub(text,1,i)
  942. end
  943. wait(1.5)--Re[math.random(1, 93)]
  944. for i = 0, 1, .025 do
  945. wait()
  946. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  947. Hehe.TextStrokeTransparency = i
  948. Hehe.TextTransparency = i
  949. end
  950. Bill:Destroy()
  951. end)
  952. chat()
  953. end
  954.  
  955. function onChatted(msg)
  956. chatfunc(msg)
  957. end
  958.  
  959. chatfunc("Injustice V2 edited by KillerzTH_1596.")
  960.  
  961. Player.Chatted:connect(onChatted)
  962.  
  963. Neck.Name = "Weld"
  964. RootJoint.Name = "Weld"
  965. RightShoulder.Name = "Weld"
  966. LeftShoulder.Name = "Weld"
  967. RightHip.Name = "Weld"
  968. LeftHip.Name = "Weld"
  969.  
  970. Weapon.Parent = Character
  971. Injustice.Parent = Character
  972. InjusticeGun.Parent = Character
  973. InjusticeGun2.Parent = nil
  974.  
  975. local SKILLTEXTCOLOR = C3(239/255, 184/255, 56/255)
  976. local SKILLFONT = "Fantasy"
  977. local SKILLTEXTSIZE = 7
  978.  
  979. Weapon.Parent = Character
  980. Humanoid.Parent = Character
  981.  
  982. Humanoid.Died:connect(function()
  983. ATTACK = true
  984. end)
  985.  
  986. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  987. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  988. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  989. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  990. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  991.  
  992. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Injustice Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  993. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Smite", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  994. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  995. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Bullets Rain", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  996. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  997.  
  998. --//=================================\\
  999. --|| DAMAGING
  1000. --\\=================================//
  1001.  
  1002.  
  1003. function killnearest(position,range,maxstrength,direction)
  1004. for i,v in ipairs(workspace:GetChildren()) do
  1005. local body = v:GetChildren()
  1006. for part = 1, #body do
  1007. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1008. if(body[part].Position - position).Magnitude < range then
  1009. if v.ClassName == "Model" then
  1010. --v:BreakJoints()
  1011. end
  1012. local POS = position
  1013. coroutine.resume(coroutine.create(function()
  1014. body[part].Anchored = true
  1015. body[part].Parent = Effects
  1016. body[part].CanCollide = true
  1017. local SIZE = body[part].Size
  1018. body[part].Material = "Neon"
  1019. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1020. for i = 1, 75 do
  1021. Swait()
  1022. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1023. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1024. end
  1025. coroutine.resume(coroutine.create(function()
  1026. while true do
  1027. Swait()
  1028. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1029. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1030. end
  1031. end))
  1032. body[part].Anchored = false
  1033. body[part].Velocity = direction.lookVector*maxstrength
  1034. end))
  1035. end
  1036. end
  1037. end
  1038. if v.ClassName == "Part" then
  1039. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1040. local POS = position
  1041. coroutine.resume(coroutine.create(function()
  1042. v.Anchored = true
  1043. v.Parent = Effects
  1044. local SIZE = v.Size
  1045. v.Material = "Neon"
  1046. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1047. for i = 1, 75 do
  1048. Swait()
  1049. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1050. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1051. end
  1052. coroutine.resume(coroutine.create(function()
  1053. while true do
  1054. Swait()
  1055. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1056. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1057. end
  1058. end))
  1059. v.Anchored = false
  1060. v.Velocity = direction.lookVector*maxstrength
  1061. end))
  1062. end
  1063. end
  1064. end
  1065. end
  1066.  
  1067. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1068. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1069. defence.Name = ("HitBy"..Player.Name)
  1070. game:GetService("Debris"):AddItem(defence, 0)
  1071. Damage = Damage * DAMAGEMULTIPLIER
  1072. if Humanoid.Health ~= 0 then
  1073. local CritChance = MRANDOM(1,1)
  1074. if Damage > Humanoid.Health then
  1075. Damage = math.ceil(Humanoid.Health)
  1076. if Damage == 0 then
  1077. Damage = 0.1
  1078. end
  1079. end
  1080. Humanoid.Health = Humanoid.Health - Damage
  1081. end
  1082. end
  1083.  
  1084. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1085. local CHILDREN = workspace:GetDescendants()
  1086. for index, CHILD in pairs(CHILDREN) do
  1087. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1088. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1089. if HUM then
  1090. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1091. if TORSO then
  1092. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1093. if INSTAKILL == true then
  1094. CHILD:BreakJoints()
  1095. else
  1096. local DMG = MRANDOM(MINDMG,MAXDMG)
  1097. ApplyDamage(HUM,DMG,TORSO)
  1098. end
  1099. if FLING > 0 then
  1100. for _, c in pairs(CHILD:GetChildren()) do
  1101. if c:IsA("BasePart") then
  1102. local bv = Instance.new("BodyVelocity")
  1103. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1104. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1105. bv.Parent = c
  1106. Debris:AddItem(bv,0.05)
  1107. end
  1108. end
  1109. end
  1110. end
  1111. end
  1112. end
  1113. end
  1114. end
  1115. end
  1116.  
  1117. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1118. local CHILDREN = workspace:GetDescendants()
  1119. for index, CHILD in pairs(CHILDREN) do
  1120. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1121. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1122. if HUM then
  1123. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1124. if TORSO then
  1125. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1126. CHILD:BreakJoints()
  1127. if FLING ~= 0 then
  1128. for _, c in pairs(CHILD:GetChildren()) do
  1129. if c:IsA("BasePart") and c.Transparency == 0 then
  1130. if BURN == true then
  1131. Fire(c)
  1132. end
  1133. local bv = Instance.new("BodyVelocity")
  1134. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1135. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1136. bv.Parent = c
  1137. Debris:AddItem(bv,0.05)
  1138. end
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. end
  1145. end
  1146. end
  1147.  
  1148. function ApplyAoE2(POSITION,RANGE,FLING,BURN)
  1149. local CHILDREN = workspace:GetDescendants()
  1150. for index, CHILD in pairs(CHILDREN) do
  1151. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1152. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1153. if HUM then
  1154. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1155. if TORSO then
  1156. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1157. CHILD:BreakJoints()
  1158. if FLING ~= 0 then
  1159. for _, c in pairs(CHILD:GetChildren()) do
  1160. if c:IsA("BasePart") and c.Transparency == 0 then
  1161. if BURN == true then
  1162. Fire(c)
  1163. end
  1164. local bv = Instance.new("BodyVelocity")
  1165. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1166. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1167. bv.Parent = c
  1168. Debris:AddItem(bv,0.05)
  1169. end
  1170. end
  1171. end
  1172. end
  1173. end
  1174. end
  1175. end
  1176. end
  1177. end
  1178.  
  1179. function Kill(Char)
  1180. local NewCharacter = IT("Model",Effects)
  1181. NewCharacter.Name = "Ow im ded ;-;"
  1182. for _, c in pairs(Char:GetDescendants()) do
  1183. if c:IsA("BasePart") and c.Transparency == 0 then
  1184. c:BreakJoints()
  1185. c.Material = "Glass"
  1186. c.Color = C3(0,0,0)
  1187. c.CanCollide = true
  1188. c.Transparency = 0.3
  1189. if c:FindFirstChildOfClass("SpecialMesh") then
  1190. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1191. end
  1192. if c.Name == "Head" then
  1193. c:ClearAllChildren()
  1194. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1195. end
  1196. if c.ClassName == "MeshPart" then
  1197. c.TextureID = ""
  1198. end
  1199. if c:FindFirstChildOfClass("BodyPosition") then
  1200. c:FindFirstChildOfClass("BodyPosition"):remove()
  1201. end
  1202. if c:FindFirstChildOfClass("ParticleEmitter") then
  1203. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1204. end
  1205. c.Parent = NewCharacter
  1206. c.Name = "DeadPart"
  1207. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1208. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1209. end
  1210. end
  1211. Char:remove()
  1212. Debris:AddItem(NewCharacter,5)
  1213. end
  1214.  
  1215.  
  1216. --//=================================\\
  1217. --|| ATTACK FUNCTIONS AND STUFF
  1218. --\\=================================//
  1219.  
  1220. function SpawnTrail(FROM,TO,BIG)
  1221. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Trail", VT(0,0,0))
  1222. MakeForm(TRAIL,"Cyl")
  1223. local DIST = (FROM - TO).Magnitude
  1224. if BIG == true then
  1225. TRAIL.Size = VT(0.5,DIST,0.5)
  1226. else
  1227. TRAIL.Size = VT(0.25,DIST,0.25)
  1228. end
  1229. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1230. coroutine.resume(coroutine.create(function()
  1231. for i = 1, 5 do
  1232. Swait()
  1233. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1234. end
  1235. TRAIL:remove()
  1236. end))
  1237. end
  1238.  
  1239. local EyeSizes={
  1240. NumberSequenceKeypoint.new(0,2,0),
  1241. NumberSequenceKeypoint.new(1,0,0)
  1242. }
  1243. local EyeTrans={
  1244. NumberSequenceKeypoint.new(0,0.5,0),
  1245. NumberSequenceKeypoint.new(1,1,0)
  1246. }
  1247. local PE=Instance.new("ParticleEmitter",nil)
  1248. PE.LightEmission=.8
  1249. PE.Color = ColorSequence.new(BRICKC("Bright yellow").Color,BRICKC("New Yeller").Color)
  1250. PE.Size=NumberSequence.new(EyeSizes)
  1251. PE.Transparency=NumberSequence.new(EyeTrans)
  1252. PE.Lifetime=NumberRange.new(0.35,1)
  1253. PE.Rotation=NumberRange.new(0,360)
  1254. PE.Rate=100
  1255. PE.VelocitySpread = 10000
  1256. PE.Acceleration = Vector3.new(0,85,0)
  1257. PE.Drag = 5
  1258. PE.Speed = NumberRange.new(0.1,5)
  1259. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  1260. PE.ZOffset = 0.5
  1261. PE.Name = "PE"
  1262. PE.Enabled = false
  1263. function Fire(art)
  1264. local PARTICLES = PE:Clone()
  1265. PARTICLES.Parent = art
  1266. PARTICLES.Enabled = true
  1267. return PARTICLES
  1268. end
  1269.  
  1270. function Bullet()
  1271. ATTACK = true
  1272. Rooted = false
  1273. InjusticeGun2.Parent = Character
  1274. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1275. InjusticeGun.Parent = nil
  1276. for i=0, 0.4, 0.1 / Animation_Speed do
  1277. Swait()
  1278. turnto(Mouse.Hit.p)
  1279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1281. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1283. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1284. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1285. end
  1286. repeat
  1287. for i=0, 0.2, 0.1 / Animation_Speed do
  1288. Swait()
  1289. turnto(Mouse.Hit.p)
  1290. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(40)), 1 / Animation_Speed)
  1291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  1292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1294. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1295. end
  1296. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000000, Character)
  1297. SpawnTrail(Hole2.Position,POS)
  1298. ApplyAoE(POS,3,5,3000,3000,0,1,false)
  1299. if HIT ~= nil then
  1300. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1301. end
  1302. end
  1303. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1304. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1305. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1306. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1307. for i=0, 0.3, 0.1 / Animation_Speed do
  1308. Swait()
  1309. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(40)), 1 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(15), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1313. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1314. end
  1315. until KEYHOLD == false
  1316. InjusticeGun2.Parent = nil
  1317. InjusticeGun.Parent = Character
  1318. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1319. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1320. ATTACK = false
  1321. Rooted = false
  1322. end
  1323.  
  1324. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1325. PLAYMAINANIM = false
  1326. if WhichPose == "Cast1" then
  1327. for i=0, Time, 0.1 / Animation_Speed do
  1328. Swait()
  1329. if Magic == true then
  1330. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1331. end
  1332. if Gyro ~= nil and Gyro ~= false then
  1333. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1334. end
  1335. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE - 0.04 * SIN(SINE / 24)*SIZE, 0*SIZE + 0.04 * SIN(SINE / 12)*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1336. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1338. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1339. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06*SIZE * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1340. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06*SIZE * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1341. end
  1342. elseif WhichPose == "Cast2" then
  1343. for i=0, Time, 0.1 / Animation_Speed do
  1344. Swait()
  1345. if Magic == true then
  1346. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1347. end
  1348. if Gyro ~= nil and Gyro ~= false then
  1349. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1350. end
  1351. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE - 0.04 * SIN(SINE / 24)*SIZE, 0*SIZE + 0.04 * SIN(SINE / 12)*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1352. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(10 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1353. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1354. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1355. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06*SIZE * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1356. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06*SIZE * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1357. end
  1358. elseif WhichPose == "RightArmUp" then
  1359. for i=0, Time, 0.1 / Animation_Speed do
  1360. Swait()
  1361. if Magic == true then
  1362. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1363. end
  1364. if Gyro ~= nil and Gyro ~= false then
  1365. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1366. end
  1367. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  1368. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1369. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1370. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1371. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1372. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1373. end
  1374. elseif WhichPose == "Taunt" then
  1375. for i=0, Time, 0.1 / Animation_Speed do
  1376. Swait()
  1377. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1378. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1379. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1380. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1381. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1382. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1383. end
  1384. HATWELD.Part0 = RightArm
  1385. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1386. CreateSound(221057812,Torso,10,1,false)
  1387. for i=0, Time*2, 0.1 / Animation_Speed do
  1388. Swait()
  1389. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1390. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1392. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1393. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1394. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1395. end
  1396. for i=0, Time, 0.1 / Animation_Speed do
  1397. Swait()
  1398. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1399. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1400. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.5*SIZE) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1401. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1402. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1403. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1404. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  1405. end
  1406. HATWELD.Part0 = Head
  1407. HATWELD.C0 = CF(0,1,0)
  1408. elseif WhichPose == "Prepare key" then
  1409. for i=0, Time, 0.1 / Animation_Speed do
  1410. Swait()
  1411. if Gyro ~= nil and Gyro ~= false then
  1412. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1413. end
  1414. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  1415. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  1416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1417. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1418. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1419. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1420. end
  1421. elseif WhichPose == "Turn key" then
  1422. for i=0, Time, 0.1 / Animation_Speed do
  1423. Swait()
  1424. if Gyro ~= nil and Gyro ~= false then
  1425. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1426. end
  1427. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  1428. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  1429. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1430. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1431. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1432. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1433. end
  1434. end
  1435. PLAYMAINANIM = true
  1436. end
  1437.  
  1438. function Inferno_Ring()
  1439. ATTACK = true
  1440. Rooted = false
  1441. local GYRO = IT("BodyGyro",RootPart)
  1442. GYRO.D = 750
  1443. GYRO.P = 20000
  1444. GYRO.MaxTorque = VT(0,40000000,0)
  1445. local FIRE = IT("Model",Effects)
  1446. FIRE.Name = "Fire"
  1447. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Eggplant", "Center", VT(0,0,0))
  1448. FIRE.PrimaryPart = MAIN
  1449. local FIRES = {}
  1450. for i = 1, 45 do
  1451. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Eggplant", "RingPart", VT(3,3,3))
  1452. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  1453. local F = Fire(PRT)
  1454. table.insert(FIRES,F)
  1455. end
  1456. repeat
  1457. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  1458. Pose("Cast1",1.5,0.01,false,GYRO)
  1459. until HOLD == true
  1460. coroutine.resume(coroutine.create(function()
  1461. for i = 1, 4 do
  1462. ApplyAoE2(MAIN.Position,21,-15,true)
  1463. CreateSound(463598785,MAIN,3,1,false)
  1464. for E = 1, #FIRES do
  1465. if FIRES[E] ~= nil then
  1466. FIRES[E].Acceleration = VT(0,300,0)
  1467. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  1468. end
  1469. end
  1470. wait(0.3)
  1471. end
  1472. for E = 1, #FIRES do
  1473. if FIRES[E] ~= nil then
  1474. FIRES[E].Enabled = false
  1475. end
  1476. end
  1477. Debris:AddItem(FIRE,5)
  1478. end))
  1479. CreateSound(215395388,RightArm,3,2,false)
  1480. Pose("Cast2",1.5,0.5,true)
  1481. GYRO:remove()
  1482. ATTACK = false
  1483. Rooted = false
  1484. end
  1485.  
  1486. function Thunder()
  1487. ATTACK = true
  1488. Rooted = false
  1489. local BOLTSOUNDS = {168586621,168586586,178452241}
  1490. local GYRO = IT("BodyGyro",RootPart)
  1491. GYRO.D = 750
  1492. GYRO.P = 20000
  1493. GYRO.MaxTorque = VT(0,40000000,0)
  1494. CreateSound(469345336,Torso,3,2,false)
  1495. Pose("Cast2",1.5,2,true,GYRO)
  1496. coroutine.resume(coroutine.create(function()
  1497. local FRAME = RootPart.CFrame
  1498. for i = 1, 25 do
  1499. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  1500. local LightningTable = Lightning({Color = C3(1,1,0), Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 200, Branches = true})
  1501. local Hitpos = LightningTable.End
  1502. ApplyAoE(Hitpos,15,20,75,50,false)
  1503. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1504. for i = 1, 4 do
  1505. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1506. end
  1507. wait(0.05)
  1508. end
  1509. end))
  1510. Pose("Cast2",1.5,0.7,true)
  1511. GYRO:remove()
  1512. ATTACK = false
  1513. Rooted = false
  1514. end
  1515.  
  1516. function Bullet_Rain()
  1517. ATTACK = true
  1518. Rooted = true
  1519. InjusticeGun2.Parent = Character
  1520. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1521. InjusticeGun.Parent = nil
  1522. for i=0, 0.6, 0.1 / Animation_Speed do
  1523. Swait()
  1524. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1525. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1526. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1527. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1528. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1529. end
  1530. local DONE = false
  1531. local GATE = nil
  1532. local GATESPIN = true
  1533. coroutine.resume(coroutine.create(function()
  1534. repeat
  1535. Swait()
  1536. if GATE ~= nil then
  1537. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1538. end
  1539. until GATESPIN == false
  1540. end))
  1541. coroutine.resume(coroutine.create(function()
  1542. repeat
  1543. Swait()
  1544. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1545. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1546. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.01 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0.01, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(-180), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1549. until DONE == true
  1550. Swait(10)
  1551. for i = 1, 75 do
  1552. Swait(1.5)
  1553. local FIRED = false
  1554. local CHILDREN = workspace:GetDescendants()
  1555. for index, CHILD in pairs(CHILDREN) do
  1556. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1557. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1558. if HUM then
  1559. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1560. if TORSO then
  1561. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1562. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1563. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1564. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 3})
  1565. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1566. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1567. Kill(CHILD)
  1568. FIRED = true
  1569. break
  1570. end
  1571. end
  1572. end
  1573. end
  1574. end
  1575. if FIRED == false then
  1576. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1577. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1578. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1579. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1580. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1581. if HITBOD ~= nil then
  1582. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1583. Kill(HITBOD.Parent)
  1584. end
  1585. end
  1586. end
  1587. end
  1588. for i = 1, 45 do
  1589. Swait()
  1590. GATE.Size = GATE.Size - VT(3,0,3)
  1591. end
  1592. GATESPIN = false
  1593. GATE:remove()
  1594. end))
  1595. Swait(5)
  1596. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  1597. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Instutional white", "Gate", VT(0,0,0))
  1598. local DECAL = IT("Decal",GATE)
  1599. DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  1600. DECAL.Face = "Top"
  1601. GATE.CFrame = CF(HITPOS)
  1602. CreateSound(160772554, GATE, 4, 1.3, false)
  1603. for i = 1, 45 do
  1604. Swait()
  1605. GATE.Size = GATE.Size + VT(3,0,3)
  1606. end
  1607. CreateSound(145080998, Hole2, 7, 1, false)
  1608. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1609. InjusticeGun.Parent = Character
  1610. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1611. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel2.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1612. InjusticeGun2.Parent = nil
  1613. ATTACK = false
  1614. Rooted = false
  1615. DONE = true
  1616. end
  1617.  
  1618. function JusticeBeam()
  1619. ATTACK = true
  1620. Rooted = false
  1621. coroutine.resume(coroutine.create(function()
  1622. local AIMPOS = Mouse.Hit.p
  1623. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  1624. local RAYS = {}
  1625. for i = 1, 4 do
  1626. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ray", VT(15,2000,15))
  1627. MakeForm(RAY,"Cyl")
  1628. RAY.Mesh.Scale = VT(1,1.1,1)
  1629. table.insert(RAYS,RAY)
  1630. end
  1631. CreateSound(348663022, Effects, 2, 1.2, false)
  1632. for i = 1, 100 do
  1633. Swait()
  1634. for e = 1, #RAYS do
  1635. if RAYS[e] ~= nil then
  1636. local RAY = RAYS[e]
  1637. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  1638. RAY.Transparency = RAY.Transparency - 0.01
  1639. end
  1640. end
  1641. end
  1642. for i = 1, 20 do
  1643. Swait()
  1644. for e = 1, #RAYS do
  1645. if RAYS[e] ~= nil then
  1646. local RAY = RAYS[e]
  1647. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  1648. end
  1649. end
  1650. end
  1651. wait(0.3)
  1652. for i = 1, 16 do
  1653. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  1654. SpawnTrail(POS+VT(0,200,0),POS)
  1655. end
  1656. WACKYEFFECT({Time = 20, EffectType = "Sphere", Size = VT(0,0.55,0), Size2 = VT(90,2,90), Transparency = 0, Transparency2 = 1, CFrame = CF(AIMPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1657. CreateDebreeRing(AIM,AIMPOS-VT(15,15,15),20,VT(5,5,5),5)
  1658. CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  1659. CreateSound(130972023, Effects, 2, 1, false)
  1660. ApplyAoE(AIMPOS,35,50,95,100,false)
  1661. end))
  1662. for i=0, 1.9, 0.1 / Animation_Speed do
  1663. WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1664. WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1665. Swait()
  1666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(120), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(25 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(120), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-25 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1670. end
  1671. ATTACK = false
  1672. Rooted = false
  1673. end
  1674.  
  1675. function Hat()
  1676. ATTACK = true
  1677. Rooted = false
  1678. Pose("Taunt",0.4,1.2,false)
  1679. ATTACK = false
  1680. Rooted = false
  1681. end
  1682.  
  1683. --//================================\\
  1684. --|| INTRO
  1685. --\\================================//
  1686.  
  1687. coroutine.resume(coroutine.create(function()
  1688. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1689. WACKYEFFECT({Time = 60, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1690. Swait(10)
  1691. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.5,0.55,0.5), Size2 = VT(0.5,4,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 1.15, SoundVolume = 6})
  1692. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0.55,0.5,0.5), Size2 = VT(4,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = Head.CFrame*CF(0.4, 0.2, -0.8), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 743521450, SoundPitch = 0.95, SoundVolume = 6})
  1693. Swait(57)
  1694. WACKYEFFECT({Time = 150, EffectType = "Wave", Size = VT(12,0.55,12)*SIZE, Size2 = VT(12,0.55,12), Transparency = 1, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 1259054947, SoundPitch = 1, SoundVolume = 6})
  1695. Swait(6.5)
  1696. ApplyAoE(HITPOS,8,10,15,100,false)
  1697. text.Text = "Injustice"
  1698. text.TextStrokeColor3 = Color3.new(255/255, 255/255, 0/255)
  1699. for i=0, 1, 0.1 / Animation_Speed do
  1700. WACKYEFFECT({Time = 85, EffectType = "Crystal", Size = VT(8,8,8)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1701. end
  1702. end))
  1703. for i=0, 1.5, 0.1 / Animation_Speed do
  1704. Swait()
  1705. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1706. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1708. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1709. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1710. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1711. end
  1712. for i=0, 0.4, 0.1 / Animation_Speed do
  1713. Swait()
  1714. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1718. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1719. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1720. end
  1721. for i=0, 1, 0.1 / Animation_Speed do
  1722. Swait()
  1723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(170), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, -0.7) * ANGLES(RAD(0), RAD(-170), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1727. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1729. end
  1730.  
  1731. --//=================================\\
  1732. --|| ASSIGN THINGS TO KEYS
  1733. --\\=================================//
  1734.  
  1735. function MouseDown(Mouse)
  1736. HOLD = true
  1737. if ATTACK == false then
  1738. end
  1739. end
  1740.  
  1741. function MouseUp(Mouse)
  1742. HOLD = false
  1743. end
  1744.  
  1745. function KeyDown(Key)
  1746. KEYHOLD = true
  1747. if Key == "z" and ATTACK == false then
  1748. Bullet()
  1749. end
  1750.  
  1751. if Key == "b" and ATTACK == false then
  1752. JusticeBeam()
  1753. end
  1754.  
  1755. if Key == "c" and ATTACK == false then
  1756. Thunder()
  1757. end
  1758.  
  1759. if Key == "v" and ATTACK == false then
  1760. Bullet_Rain()
  1761. end
  1762.  
  1763. if Key == "x" and ATTACK == false then
  1764. Inferno_Ring()
  1765. end
  1766.  
  1767. if Key == "t" and ATTACK == false then
  1768. Hat()
  1769. end
  1770. end
  1771.  
  1772. function KeyUp(Key)
  1773. KEYHOLD = false
  1774. end
  1775.  
  1776. Mouse.Button1Down:connect(function(NEWKEY)
  1777. MouseDown(NEWKEY)
  1778. end)
  1779. Mouse.Button1Up:connect(function(NEWKEY)
  1780. MouseUp(NEWKEY)
  1781. end)
  1782. Mouse.KeyDown:connect(function(NEWKEY)
  1783. KeyDown(NEWKEY)
  1784. end)
  1785. Mouse.KeyUp:connect(function(NEWKEY)
  1786. KeyUp(NEWKEY)
  1787. end)
  1788.  
  1789. --//=================================\\
  1790. --\\=================================//
  1791.  
  1792.  
  1793. function unanchor()
  1794. if UNANCHOR == true then
  1795. RootPart.Anchored = false
  1796. end
  1797. g = Character:GetChildren()
  1798. for i = 1, #g do
  1799. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1800. g[i].Anchored = false
  1801. end
  1802. end
  1803. g = Weapon:GetChildren()
  1804. for i = 1, #g do
  1805. if g[i].ClassName == "Part" then
  1806. g[i].Anchored = false
  1807. end
  1808. end
  1809. end
  1810.  
  1811. --//=================================\\
  1812. --|| WRAP THE WHOLE SCRIPT UP
  1813. --\\=================================//
  1814.  
  1815. Humanoid.Changed:connect(function(Jump)
  1816. if Jump == "Jump" and (Disable_Jump == true) then
  1817. Humanoid.Jump = false
  1818. end
  1819. end)
  1820.  
  1821. while true do
  1822. Swait()
  1823. script.Parent = WEAPONGUI
  1824. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1825. v:Stop();
  1826. end
  1827. ANIMATE.Parent = nil
  1828. SINE = SINE + CHANGE*1.5
  1829. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1830. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1831. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1832. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1833. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1834. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1835. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1836. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1837. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1838. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1839. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1840. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1841. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1842. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1843. end
  1844. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1845. ANIM = "Jump"
  1846. if ATTACK == false then
  1847. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1848. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1851. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1852. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1853. end
  1854. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1855. ANIM = "Fall"
  1856. if ATTACK == false then
  1857. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1861. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1863. end
  1864. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1865. ANIM = "Idle"
  1866. if ATTACK == false then
  1867. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(40), RAD(-20 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(40), RAD(20 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1871. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1873. end
  1874. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1875. ANIM = "Walk"
  1876. if ATTACK == false then
  1877. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1878. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  1879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(45), RAD(-10 + 2.5 * SIN(SINE / 12)), RAD(-75 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.4*SIZE) * ANGLES(RAD(50), RAD(10 - 2.5 * SIN(SINE / 12)), RAD(75 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1881. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1882. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1883. end
  1884. end
  1885. unanchor()
  1886. Humanoid.MaxHealth = "inf"
  1887. Humanoid.Health = "inf"
  1888. if Rooted == false then
  1889. Disable_Jump = false
  1890. Humanoid.WalkSpeed = Speed
  1891. elseif Rooted == true then
  1892. Disable_Jump = true
  1893. Humanoid.WalkSpeed = 0
  1894. end
  1895. for _, c in pairs(Character:GetChildren()) do
  1896. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1897. c.Material = "Fabric"
  1898. if c:FindFirstChildOfClass("ParticleEmitter") then
  1899. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1900. end
  1901. if c ~= Head then
  1902. c.Color = C3(1,1,1)
  1903. else
  1904. c.Color = C3(1,1,1)
  1905. end
  1906. if c == Head then
  1907. if c:FindFirstChild("face") then
  1908. c.face:remove()
  1909. end
  1910. end
  1911. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1912. c:remove()
  1913. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1914. c:remove()
  1915. end
  1916. end
  1917. sick.SoundId = "rbxassetid://"..SONG
  1918. sick.Looped = true
  1919. sick.Pitch = 1
  1920. sick.Volume = 5
  1921. sick.Parent = Torso
  1922. sick:Resume()
  1923. --sick.Playing = false
  1924. Humanoid.Name = "Injustice = "..Player.Name
  1925. end
  1926.  
  1927. --//=================================\\
  1928. --\\=================================//
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934. --//====================================================\\--
  1935. --|| END OF SCRIPT
  1936. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement