Advertisement
rohanboi

injustice edited version (by comfortable)

Feb 25th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 110.72 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://338740550"
  878. top.Parent = Character
  879. top.Name = "Cloth"
  880. local bottom = Instance.new("Pants")
  881. bottom.PantsTemplate = "rbxassetid://338750779"
  882. bottom.Parent = Character
  883. bottom.Name = "Cloth"
  884.  
  885. -- Injustice --
  886. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  887. PRT.Color = C3(0,0,0)
  888. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  889. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
  890. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  891. PRT.Color = C3(0,0,0)
  892. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  893. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  894. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  895. PRT.Color = C3(255/255, 0/255, 0/255)
  896. MakeForm(PRT,"Ball")
  897. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  898. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  899. PRT.Color = C3(255/255, 255/255, 0/255)
  900. MakeForm(PRT,"Ball")
  901. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  902. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  903. PRT.Color = C3(255/255, 255/255, 0/255)
  904. MakeForm(PRT,"Ball")
  905. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  906. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  907. PRT.Color = C3(255/255, 255/255, 0/255)
  908. MakeForm(PRT,"Ball")
  909. local Aura = Instance.new('ParticleEmitter')
  910. Aura.Name = "Aura"
  911. Aura.Texture = "rbxassetid://131765579"
  912. Aura.Parent = PRT
  913. Aura.LightEmission = 0.3
  914. Aura.Transparency = NumberSequence.new(0,0.6,1)
  915. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
  916. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  917. Aura.LockedToPart = false
  918. Aura.Lifetime = NumberRange.new(2)
  919. Aura.Rate = 30
  920. Aura.Speed = NumberRange.new(1)
  921. Aura.EmissionDirection = "Top"
  922. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  923. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  924. PRT.Color = C3(255/255, 255/255, 0/255)
  925. MakeForm(PRT,"Ball")
  926. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  927. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  928. PRT.Color = C3(255/255, 255/255, 0/255)
  929. MakeForm(PRT,"Ball")
  930. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  931.  
  932. local LASTPART = Head
  933. for i = 1, 24 do
  934. local MATH = (1-(i/30))
  935. if LASTPART == Head then
  936. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  937. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  938. Aura.Name = "Aura"
  939. Aura.Texture = "rbxassetid://242997264"
  940. Aura.Parent = Horn
  941. Aura.LightEmission = 0.8
  942. Aura.Transparency = NumberSequence.new(0,0.6,1)
  943. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  944. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  945. Aura.LockedToPart = true
  946. Aura.Lifetime = NumberRange.new(2)
  947. Aura.Rate = 25
  948. Aura.Speed = NumberRange.new(0.1)
  949. Aura.EmissionDirection = "Top"
  950. else
  951. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  952. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  953. LASTPART = Horn
  954. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  955. local Aura = Instance.new('ParticleEmitter')
  956. Aura.Name = "Aura"
  957. Aura.Texture = "rbxassetid://242997264"
  958. Aura.Parent = Horn
  959. Aura.LightEmission = 0.8
  960. Aura.Transparency = NumberSequence.new(0,0.6,1)
  961. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  962. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  963. Aura.LockedToPart = true
  964. Aura.Lifetime = NumberRange.new(2)
  965. Aura.Rate = 25
  966. Aura.Speed = NumberRange.new(0.1)
  967. Aura.EmissionDirection = "Top"
  968. end
  969. end
  970. local LASTPART = Head
  971. for i = 1, 24 do
  972. local MATH = (1-(i/30))
  973. if LASTPART == Head then
  974. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  975. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  976. LASTPART = Horn
  977. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  978. local Aura = Instance.new('ParticleEmitter')
  979. Aura.Name = "Aura"
  980. Aura.Texture = "rbxassetid://242997264"
  981. Aura.Parent = Horn
  982. Aura.LightEmission = 0.8
  983. Aura.Transparency = NumberSequence.new(0,0.6,1)
  984. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  985. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  986. Aura.LockedToPart = true
  987. Aura.Lifetime = NumberRange.new(2)
  988. Aura.Rate = 25
  989. Aura.Speed = NumberRange.new(0.1)
  990. Aura.EmissionDirection = "Top"
  991. else
  992. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  993. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  994. LASTPART = Horn
  995. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  996. local Aura = Instance.new('ParticleEmitter')
  997. Aura.Name = "Aura"
  998. Aura.Texture = "rbxassetid://242997264"
  999. Aura.Parent = Horn
  1000. Aura.LightEmission = 0.8
  1001. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1002. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1003. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1004. Aura.LockedToPart = true
  1005. Aura.Lifetime = NumberRange.new(2)
  1006. Aura.Rate = 25
  1007. Aura.Speed = NumberRange.new(0.1)
  1008. Aura.EmissionDirection = "Top"
  1009. end
  1010. end
  1011.  
  1012. -- IdleGun(Injustice) --
  1013.  
  1014. local Handle = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  1015. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, Torso, Handle, CF(-1.6, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1016. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1017. MakeForm(Part,"Wedge")
  1018. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1019. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  1020. MakeForm(Part,"Wedge")
  1021. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1022. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  1023. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1024. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  1025. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1026. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  1027. MakeForm(Part,"Cyl")
  1028. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1029. for i = 1, 8 do
  1030. local Piece = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  1031. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1032. end
  1033. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  1034. MakeForm(Part,"Cyl")
  1035. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1036. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  1037. MakeForm(Part,"Ball")
  1038. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1039. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  1040. MakeForm(Part,"Wedge")
  1041. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1042. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  1043. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1044. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  1045. MakeForm(Part,"Cyl")
  1046. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1047. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  1048. MakeForm(Part,"Cyl")
  1049. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1050. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  1051. MakeForm(Part,"Cyl")
  1052. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1053. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1054. MakeForm(Part,"Wedge")
  1055. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1056. local LASTPART = Handle
  1057. for i = 1, 10 do
  1058. if LASTPART == Handle then
  1059. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.2,0),false)
  1060. LASTPART = Part
  1061. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1062. else
  1063. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.05,0),false)
  1064. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1065. LASTPART = Part
  1066. end
  1067. end
  1068.  
  1069. local Barrel = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  1070. MakeForm(Barrel,"Cyl")
  1071. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1072. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  1073. MakeForm(Part,"Cyl")
  1074. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1075. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  1076. MakeForm(Part,"Wedge")
  1077. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1078. local Hole = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Eye", VT(0.125,0,0.125),false)
  1079. MakeForm(Hole,"Cyl")
  1080. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1081. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0, "New Yeller", "Part", VT(0,0,0),false)
  1082. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1083. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1084. local Part = CreatePart(3, InjusticeGun, "Metal", 0, 0.5, "New Yeller", "Eye", VT(0,0,0),false)
  1085. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1086. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1087. coroutine.resume(coroutine.create(function()
  1088. while wait() do
  1089. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1090. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1091. end
  1092. end))
  1093. -- UsedGun(Injustice) --
  1094.  
  1095. local Handle2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.6,0.2),false)
  1096. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, RightArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1097. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1098. MakeForm(Part,"Wedge")
  1099. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1100. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  1101. MakeForm(Part,"Wedge")
  1102. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1103. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  1104. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1105. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.5,0.5),false)
  1106. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1107. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  1108. MakeForm(Part,"Cyl")
  1109. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1110. for i = 1, 8 do
  1111. local Piece = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  1112. CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1113. end
  1114. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  1115. MakeForm(Part,"Cyl")
  1116. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1117. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  1118. MakeForm(Part,"Ball")
  1119. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1120. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  1121. MakeForm(Part,"Wedge")
  1122. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1123. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  1124. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1125. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  1126. MakeForm(Part,"Cyl")
  1127. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1128. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  1129. MakeForm(Part,"Cyl")
  1130. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1131. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  1132. MakeForm(Part,"Cyl")
  1133. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1134. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1135. MakeForm(Part,"Wedge")
  1136. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1137. local LASTPART = Handle2
  1138. for i = 1, 10 do
  1139. if LASTPART == Handle then
  1140. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.2,0),false)
  1141. LASTPART = Part
  1142. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1143. else
  1144. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Part", VT(0.1,0.05,0),false)
  1145. CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1146. LASTPART = Part
  1147. end
  1148. end
  1149.  
  1150. local Barrel2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  1151. MakeForm(Barrel,"Cyl")
  1152. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1153. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  1154. MakeForm(Part,"Cyl")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1156. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  1157. MakeForm(Part,"Wedge")
  1158. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1159. local Hole2 = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Eye", VT(0.125,0,0.125),false)
  1160. MakeForm(Hole,"Cyl")
  1161. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1162. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0, "New Yeller", "Part", VT(0,0,0),false)
  1163. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1164. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1165. local Part = CreatePart(3, InjusticeGun2, "Metal", 0, 0.5, "New Yeller", "Eye", VT(0,0,0),false)
  1166. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1167. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1168. coroutine.resume(coroutine.create(function()
  1169. while wait() do
  1170. GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1171. GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1172. end
  1173. end))
  1174.  
  1175. for _, b in pairs(Injustice:GetChildren()) do
  1176. if b.ClassName == "Part" then
  1177. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1178. end
  1179. end
  1180.  
  1181. for _, b in pairs(Weapon:GetChildren()) do
  1182. if b.ClassName == "Part" then
  1183. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1184. end
  1185. end
  1186.  
  1187.  
  1188. for _, b in pairs(InjusticeGun2:GetChildren()) do
  1189. if b.ClassName == "Part" then
  1190. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1191. end
  1192. end
  1193.  
  1194. for _, b in pairs(InjusticeGun:GetChildren()) do
  1195. if b.ClassName == "Part" then
  1196. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1197. end
  1198. end
  1199.  
  1200. function chatfunc(text)
  1201. local chat = coroutine.wrap(function()
  1202. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1203. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1204. end
  1205. local Bill = Instance.new("BillboardGui",Character)
  1206. Bill.Size = UDim2.new(0,100,0,40)
  1207. Bill.StudsOffset = Vector3.new(0,3,0)
  1208. Bill.Adornee = Character.Head
  1209. Bill.Name = "TalkingBillBoard"
  1210. local Hehe = Instance.new("TextLabel",Bill)
  1211. Hehe.BackgroundTransparency = 1
  1212. Hehe.BorderSizePixel = 0
  1213. Hehe.Text = ""
  1214. Hehe.Font = "Fantasy"
  1215. Hehe.TextSize = 40
  1216. Hehe.TextStrokeTransparency = 0
  1217. Hehe.Size = UDim2.new(1,0,0.5,0)
  1218. coroutine.resume(coroutine.create(function()
  1219. while Hehe ~= nil do
  1220. wait()
  1221. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1222. Hehe.Rotation = math.random(-5,5)
  1223. Hehe.TextColor3 = Color3.new(0,0,0)
  1224. Hehe.TextStrokeColor3 = Color3.new(255,255,0)
  1225. end
  1226. end))
  1227. for i = 1,string.len(text),1 do
  1228. wait()
  1229. Hehe.Text = string.sub(text,1,i)
  1230. end
  1231. wait(1.5)--Re[math.random(1, 93)]
  1232. for i = 0, 1, .025 do
  1233. wait()
  1234. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1235. Hehe.TextStrokeTransparency = i
  1236. Hehe.TextTransparency = i
  1237. end
  1238. Bill:Destroy()
  1239. end)
  1240. chat()
  1241. end
  1242.  
  1243. function onChatted(msg)
  1244. chatfunc(msg)
  1245. end
  1246.  
  1247. chatfunc("Injustice V2 edited by KillerzTH_1596.")
  1248.  
  1249. Player.Chatted:connect(onChatted)
  1250.  
  1251. Neck.Name = "Weld"
  1252. RootJoint.Name = "Weld"
  1253. RightShoulder.Name = "Weld"
  1254. LeftShoulder.Name = "Weld"
  1255. RightHip.Name = "Weld"
  1256. LeftHip.Name = "Weld"
  1257.  
  1258. Weapon.Parent = Character
  1259. Injustice.Parent = Character
  1260. InjusticeGun.Parent = Character
  1261. InjusticeGun2.Parent = nil
  1262.  
  1263. local SKILLTEXTCOLOR = C3(239/255, 184/255, 56/255)
  1264. local SKILLFONT = "Fantasy"
  1265. local SKILLTEXTSIZE = 7
  1266.  
  1267. Weapon.Parent = Character
  1268. Humanoid.Parent = Character
  1269.  
  1270. Humanoid.Died:connect(function()
  1271. ATTACK = true
  1272. end)
  1273.  
  1274. 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")
  1275. 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")
  1276. 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")
  1277. 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")
  1278. 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")
  1279.  
  1280. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Injustice Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1281. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Smite", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1282. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1283. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Bullets Rain", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1284. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1285.  
  1286. --//=================================\\
  1287. --|| DAMAGING
  1288. --\\=================================//
  1289.  
  1290.  
  1291. function killnearest(position,range,maxstrength,direction)
  1292. for i,v in ipairs(workspace:GetChildren()) do
  1293. local body = v:GetChildren()
  1294. for part = 1, #body do
  1295. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1296. if(body[part].Position - position).Magnitude < range then
  1297. if v.ClassName == "Model" then
  1298. --v:BreakJoints()
  1299. end
  1300. local POS = position
  1301. coroutine.resume(coroutine.create(function()
  1302. body[part].Anchored = true
  1303. body[part].Parent = Effects
  1304. body[part].CanCollide = true
  1305. local SIZE = body[part].Size
  1306. body[part].Material = "Neon"
  1307. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1308. for i = 1, 75 do
  1309. Swait()
  1310. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1311. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1312. end
  1313. coroutine.resume(coroutine.create(function()
  1314. while true do
  1315. Swait()
  1316. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1317. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1318. end
  1319. end))
  1320. body[part].Anchored = false
  1321. body[part].Velocity = direction.lookVector*maxstrength
  1322. end))
  1323. end
  1324. end
  1325. end
  1326. if v.ClassName == "Part" then
  1327. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1328. local POS = position
  1329. coroutine.resume(coroutine.create(function()
  1330. v.Anchored = true
  1331. v.Parent = Effects
  1332. local SIZE = v.Size
  1333. v.Material = "Neon"
  1334. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1335. for i = 1, 75 do
  1336. Swait()
  1337. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1338. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1339. end
  1340. coroutine.resume(coroutine.create(function()
  1341. while true do
  1342. Swait()
  1343. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1344. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1345. end
  1346. end))
  1347. v.Anchored = false
  1348. v.Velocity = direction.lookVector*maxstrength
  1349. end))
  1350. end
  1351. end
  1352. end
  1353. end
  1354.  
  1355. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1356. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1357. defence.Name = ("HitBy"..Player.Name)
  1358. game:GetService("Debris"):AddItem(defence, 0)
  1359. Damage = Damage * DAMAGEMULTIPLIER
  1360. if Humanoid.Health ~= 0 then
  1361. local CritChance = MRANDOM(1,1)
  1362. if Damage > Humanoid.Health then
  1363. Damage = math.ceil(Humanoid.Health)
  1364. if Damage == 0 then
  1365. Damage = 0.1
  1366. end
  1367. end
  1368. Humanoid.Health = Humanoid.Health - Damage
  1369. end
  1370. end
  1371.  
  1372. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1373. local CHILDREN = workspace:GetDescendants()
  1374. for index, CHILD in pairs(CHILDREN) do
  1375. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1376. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1377. if HUM then
  1378. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1379. if TORSO then
  1380. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1381. if INSTAKILL == true then
  1382. CHILD:BreakJoints()
  1383. else
  1384. local DMG = MRANDOM(MINDMG,MAXDMG)
  1385. ApplyDamage(HUM,DMG,TORSO)
  1386. end
  1387. if FLING > 0 then
  1388. for _, c in pairs(CHILD:GetChildren()) do
  1389. if c:IsA("BasePart") then
  1390. local bv = Instance.new("BodyVelocity")
  1391. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1392. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1393. bv.Parent = c
  1394. Debris:AddItem(bv,0.05)
  1395. end
  1396. end
  1397. end
  1398. end
  1399. end
  1400. end
  1401. end
  1402. end
  1403. end
  1404.  
  1405. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1406. local CHILDREN = workspace:GetDescendants()
  1407. for index, CHILD in pairs(CHILDREN) do
  1408. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1409. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1410. if HUM then
  1411. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1412. if TORSO then
  1413. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1414. CHILD:BreakJoints()
  1415. if FLING ~= 0 then
  1416. for _, c in pairs(CHILD:GetChildren()) do
  1417. if c:IsA("BasePart") and c.Transparency == 0 then
  1418. if BURN == true then
  1419. Fire(c)
  1420. end
  1421. local bv = Instance.new("BodyVelocity")
  1422. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1423. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1424. bv.Parent = c
  1425. Debris:AddItem(bv,0.05)
  1426. end
  1427. end
  1428. end
  1429. end
  1430. end
  1431. end
  1432. end
  1433. end
  1434. end
  1435.  
  1436. function ApplyAoE2(POSITION,RANGE,FLING,BURN)
  1437. local CHILDREN = workspace:GetDescendants()
  1438. for index, CHILD in pairs(CHILDREN) do
  1439. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1440. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1441. if HUM then
  1442. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1443. if TORSO then
  1444. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1445. CHILD:BreakJoints()
  1446. if FLING ~= 0 then
  1447. for _, c in pairs(CHILD:GetChildren()) do
  1448. if c:IsA("BasePart") and c.Transparency == 0 then
  1449. if BURN == true then
  1450. Fire(c)
  1451. end
  1452. local bv = Instance.new("BodyVelocity")
  1453. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1454. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1455. bv.Parent = c
  1456. Debris:AddItem(bv,0.05)
  1457. end
  1458. end
  1459. end
  1460. end
  1461. end
  1462. end
  1463. end
  1464. end
  1465. end
  1466.  
  1467. function Kill(Char)
  1468. local NewCharacter = IT("Model",Effects)
  1469. NewCharacter.Name = "Ow im ded ;-;"
  1470. for _, c in pairs(Char:GetDescendants()) do
  1471. if c:IsA("BasePart") and c.Transparency == 0 then
  1472. c:BreakJoints()
  1473. c.Material = "Glass"
  1474. c.Color = C3(0,0,0)
  1475. c.CanCollide = true
  1476. c.Transparency = 0.3
  1477. if c:FindFirstChildOfClass("SpecialMesh") then
  1478. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1479. end
  1480. if c.Name == "Head" then
  1481. c:ClearAllChildren()
  1482. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1483. end
  1484. if c.ClassName == "MeshPart" then
  1485. c.TextureID = ""
  1486. end
  1487. if c:FindFirstChildOfClass("BodyPosition") then
  1488. c:FindFirstChildOfClass("BodyPosition"):remove()
  1489. end
  1490. if c:FindFirstChildOfClass("ParticleEmitter") then
  1491. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1492. end
  1493. c.Parent = NewCharacter
  1494. c.Name = "DeadPart"
  1495. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1496. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1497. end
  1498. end
  1499. Char:remove()
  1500. Debris:AddItem(NewCharacter,5)
  1501. end
  1502.  
  1503.  
  1504. --//=================================\\
  1505. --|| ATTACK FUNCTIONS AND STUFF
  1506. --\\=================================//
  1507.  
  1508. function SpawnTrail(FROM,TO,BIG)
  1509. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Trail", VT(0,0,0))
  1510. MakeForm(TRAIL,"Cyl")
  1511. local DIST = (FROM - TO).Magnitude
  1512. if BIG == true then
  1513. TRAIL.Size = VT(0.5,DIST,0.5)
  1514. else
  1515. TRAIL.Size = VT(0.25,DIST,0.25)
  1516. end
  1517. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1518. coroutine.resume(coroutine.create(function()
  1519. for i = 1, 5 do
  1520. Swait()
  1521. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1522. end
  1523. TRAIL:remove()
  1524. end))
  1525. end
  1526.  
  1527. local EyeSizes={
  1528. NumberSequenceKeypoint.new(0,2,0),
  1529. NumberSequenceKeypoint.new(1,0,0)
  1530. }
  1531. local EyeTrans={
  1532. NumberSequenceKeypoint.new(0,0.5,0),
  1533. NumberSequenceKeypoint.new(1,1,0)
  1534. }
  1535. local PE=Instance.new("ParticleEmitter",nil)
  1536. PE.LightEmission=.8
  1537. PE.Color = ColorSequence.new(BRICKC("Bright yellow").Color,BRICKC("New Yeller").Color)
  1538. PE.Size=NumberSequence.new(EyeSizes)
  1539. PE.Transparency=NumberSequence.new(EyeTrans)
  1540. PE.Lifetime=NumberRange.new(0.35,1)
  1541. PE.Rotation=NumberRange.new(0,360)
  1542. PE.Rate=100
  1543. PE.VelocitySpread = 10000
  1544. PE.Acceleration = Vector3.new(0,85,0)
  1545. PE.Drag = 5
  1546. PE.Speed = NumberRange.new(0.1,5)
  1547. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  1548. PE.ZOffset = 0.5
  1549. PE.Name = "PE"
  1550. PE.Enabled = false
  1551. function Fire(art)
  1552. local PARTICLES = PE:Clone()
  1553. PARTICLES.Parent = art
  1554. PARTICLES.Enabled = true
  1555. return PARTICLES
  1556. end
  1557.  
  1558. function Bullet()
  1559. ATTACK = true
  1560. Rooted = false
  1561. InjusticeGun2.Parent = Character
  1562. 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})
  1563. InjusticeGun.Parent = nil
  1564. for i=0, 0.4, 0.1 / Animation_Speed do
  1565. Swait()
  1566. turnto(Mouse.Hit.p)
  1567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1568. 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)
  1569. 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)
  1570. 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)
  1571. 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)
  1572. 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)
  1573. end
  1574. repeat
  1575. for i=0, 0.2, 0.1 / Animation_Speed do
  1576. Swait()
  1577. turnto(Mouse.Hit.p)
  1578. 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)
  1579. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  1580. 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)
  1581. 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)
  1582. 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)
  1583. end
  1584. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000000, Character)
  1585. SpawnTrail(Hole2.Position,POS)
  1586. ApplyAoE(POS,3,5,3000,3000,0,1,false)
  1587. if HIT ~= nil then
  1588. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1589. end
  1590. end
  1591. 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})
  1592. 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})
  1593. 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})
  1594. 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})
  1595. for i=0, 0.3, 0.1 / Animation_Speed do
  1596. Swait()
  1597. 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)
  1598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  1599. 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)
  1600. 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)
  1601. 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)
  1602. end
  1603. until KEYHOLD == false
  1604. InjusticeGun2.Parent = nil
  1605. InjusticeGun.Parent = Character
  1606. 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})
  1607. 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})
  1608. ATTACK = false
  1609. Rooted = false
  1610. end
  1611.  
  1612. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1613. PLAYMAINANIM = false
  1614. if WhichPose == "Cast1" then
  1615. for i=0, Time, 0.1 / Animation_Speed do
  1616. Swait()
  1617. if Magic == true then
  1618. 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})
  1619. end
  1620. if Gyro ~= nil and Gyro ~= false then
  1621. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1622. end
  1623. 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)
  1624. 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)
  1625. 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)
  1626. 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)
  1627. 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)
  1628. 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)
  1629. end
  1630. elseif WhichPose == "Cast2" then
  1631. for i=0, Time, 0.1 / Animation_Speed do
  1632. Swait()
  1633. if Magic == true then
  1634. 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})
  1635. end
  1636. if Gyro ~= nil and Gyro ~= false then
  1637. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1638. end
  1639. 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)
  1640. 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)
  1641. 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)
  1642. 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)
  1643. 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)
  1644. 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)
  1645. end
  1646. elseif WhichPose == "RightArmUp" then
  1647. for i=0, Time, 0.1 / Animation_Speed do
  1648. Swait()
  1649. if Magic == true then
  1650. 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})
  1651. end
  1652. if Gyro ~= nil and Gyro ~= false then
  1653. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1654. end
  1655. 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)
  1656. 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)
  1657. 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)
  1658. 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)
  1659. 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)
  1660. 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)
  1661. end
  1662. elseif WhichPose == "Taunt" then
  1663. for i=0, Time, 0.1 / Animation_Speed do
  1664. Swait()
  1665. 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)
  1666. 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)
  1667. 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)
  1668. 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)
  1669. 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)
  1670. 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)
  1671. end
  1672. HATWELD.Part0 = RightArm
  1673. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1674. CreateSound(221057812,Torso,10,1,false)
  1675. for i=0, Time*2, 0.1 / Animation_Speed do
  1676. Swait()
  1677. 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)
  1678. 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)
  1679. 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)
  1680. 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)
  1681. 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)
  1682. 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)
  1683. end
  1684. for i=0, Time, 0.1 / Animation_Speed do
  1685. Swait()
  1686. 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)
  1687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1688. 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)
  1689. 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)
  1690. 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)
  1691. 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)
  1692. 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)
  1693. end
  1694. HATWELD.Part0 = Head
  1695. HATWELD.C0 = CF(0,1,0)
  1696. elseif WhichPose == "Prepare key" then
  1697. for i=0, Time, 0.1 / Animation_Speed do
  1698. Swait()
  1699. if Gyro ~= nil and Gyro ~= false then
  1700. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1701. end
  1702. 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)
  1703. 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)
  1704. 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)
  1705. 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)
  1706. 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)
  1707. 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)
  1708. end
  1709. elseif WhichPose == "Turn key" then
  1710. for i=0, Time, 0.1 / Animation_Speed do
  1711. Swait()
  1712. if Gyro ~= nil and Gyro ~= false then
  1713. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1714. end
  1715. 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)
  1716. 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)
  1717. 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)
  1718. 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)
  1719. 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)
  1720. 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)
  1721. end
  1722. end
  1723. PLAYMAINANIM = true
  1724. end
  1725.  
  1726. function Inferno_Ring()
  1727. ATTACK = true
  1728. Rooted = false
  1729. local GYRO = IT("BodyGyro",RootPart)
  1730. GYRO.D = 750
  1731. GYRO.P = 20000
  1732. GYRO.MaxTorque = VT(0,40000000,0)
  1733. local FIRE = IT("Model",Effects)
  1734. FIRE.Name = "Fire"
  1735. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Eggplant", "Center", VT(0,0,0))
  1736. FIRE.PrimaryPart = MAIN
  1737. local FIRES = {}
  1738. for i = 1, 45 do
  1739. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Eggplant", "RingPart", VT(3,3,3))
  1740. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  1741. local F = Fire(PRT)
  1742. table.insert(FIRES,F)
  1743. end
  1744. repeat
  1745. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  1746. Pose("Cast1",1.5,0.01,false,GYRO)
  1747. until HOLD == true
  1748. coroutine.resume(coroutine.create(function()
  1749. for i = 1, 4 do
  1750. ApplyAoE2(MAIN.Position,21,-15,true)
  1751. CreateSound(463598785,MAIN,3,1,false)
  1752. for E = 1, #FIRES do
  1753. if FIRES[E] ~= nil then
  1754. FIRES[E].Acceleration = VT(0,300,0)
  1755. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  1756. end
  1757. end
  1758. wait(0.3)
  1759. end
  1760. for E = 1, #FIRES do
  1761. if FIRES[E] ~= nil then
  1762. FIRES[E].Enabled = false
  1763. end
  1764. end
  1765. Debris:AddItem(FIRE,5)
  1766. end))
  1767. CreateSound(215395388,RightArm,3,2,false)
  1768. Pose("Cast2",1.5,0.5,true)
  1769. GYRO:remove()
  1770. ATTACK = false
  1771. Rooted = false
  1772. end
  1773.  
  1774. function Thunder()
  1775. ATTACK = true
  1776. Rooted = false
  1777. local BOLTSOUNDS = {168586621,168586586,178452241}
  1778. local GYRO = IT("BodyGyro",RootPart)
  1779. GYRO.D = 750
  1780. GYRO.P = 20000
  1781. GYRO.MaxTorque = VT(0,40000000,0)
  1782. CreateSound(469345336,Torso,3,2,false)
  1783. Pose("Cast2",1.5,2,true,GYRO)
  1784. coroutine.resume(coroutine.create(function()
  1785. local FRAME = RootPart.CFrame
  1786. for i = 1, 25 do
  1787. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  1788. 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})
  1789. local Hitpos = LightningTable.End
  1790. ApplyAoE(Hitpos,15,20,75,50,false)
  1791. 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})
  1792. for i = 1, 4 do
  1793. 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})
  1794. end
  1795. wait(0.05)
  1796. end
  1797. end))
  1798. Pose("Cast2",1.5,0.7,true)
  1799. GYRO:remove()
  1800. ATTACK = false
  1801. Rooted = false
  1802. end
  1803.  
  1804. function Bullet_Rain()
  1805. ATTACK = true
  1806. Rooted = true
  1807. InjusticeGun2.Parent = Character
  1808. 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})
  1809. InjusticeGun.Parent = nil
  1810. for i=0, 0.6, 0.1 / Animation_Speed do
  1811. Swait()
  1812. 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)
  1813. 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)
  1814. 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)
  1815. 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)
  1816. 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)
  1817. end
  1818. local DONE = false
  1819. local GATE = nil
  1820. local GATESPIN = true
  1821. coroutine.resume(coroutine.create(function()
  1822. repeat
  1823. Swait()
  1824. if GATE ~= nil then
  1825. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1826. end
  1827. until GATESPIN == false
  1828. end))
  1829. coroutine.resume(coroutine.create(function()
  1830. repeat
  1831. Swait()
  1832. 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)
  1833. 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)
  1834. 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)
  1835. 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)
  1836. 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)
  1837. until DONE == true
  1838. Swait(10)
  1839. for i = 1, 75 do
  1840. Swait(1.5)
  1841. local FIRED = false
  1842. local CHILDREN = workspace:GetDescendants()
  1843. for index, CHILD in pairs(CHILDREN) do
  1844. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1845. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1846. if HUM then
  1847. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1848. if TORSO then
  1849. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1850. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1851. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1852. 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})
  1853. 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})
  1854. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1855. Kill(CHILD)
  1856. FIRED = true
  1857. break
  1858. end
  1859. end
  1860. end
  1861. end
  1862. end
  1863. if FIRED == false then
  1864. 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)))
  1865. 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})
  1866. 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})
  1867. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1868. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1869. if HITBOD ~= nil then
  1870. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1871. Kill(HITBOD.Parent)
  1872. end
  1873. end
  1874. end
  1875. end
  1876. for i = 1, 45 do
  1877. Swait()
  1878. GATE.Size = GATE.Size - VT(3,0,3)
  1879. end
  1880. GATESPIN = false
  1881. GATE:remove()
  1882. end))
  1883. Swait(5)
  1884. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  1885. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Instutional white", "Gate", VT(0,0,0))
  1886. local DECAL = IT("Decal",GATE)
  1887. DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  1888. DECAL.Face = "Top"
  1889. GATE.CFrame = CF(HITPOS)
  1890. CreateSound(160772554, GATE, 4, 1.3, false)
  1891. for i = 1, 45 do
  1892. Swait()
  1893. GATE.Size = GATE.Size + VT(3,0,3)
  1894. end
  1895. CreateSound(145080998, Hole2, 7, 1, false)
  1896. 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})
  1897. InjusticeGun.Parent = Character
  1898. 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})
  1899. 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})
  1900. InjusticeGun2.Parent = nil
  1901. ATTACK = false
  1902. Rooted = false
  1903. DONE = true
  1904. end
  1905.  
  1906. function JusticeBeam()
  1907. ATTACK = true
  1908. Rooted = false
  1909. coroutine.resume(coroutine.create(function()
  1910. local AIMPOS = Mouse.Hit.p
  1911. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  1912. local RAYS = {}
  1913. for i = 1, 4 do
  1914. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ray", VT(15,2000,15))
  1915. MakeForm(RAY,"Cyl")
  1916. RAY.Mesh.Scale = VT(1,1.1,1)
  1917. table.insert(RAYS,RAY)
  1918. end
  1919. CreateSound(348663022, Effects, 2, 1.2, false)
  1920. for i = 1, 100 do
  1921. Swait()
  1922. for e = 1, #RAYS do
  1923. if RAYS[e] ~= nil then
  1924. local RAY = RAYS[e]
  1925. 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)
  1926. RAY.Transparency = RAY.Transparency - 0.01
  1927. end
  1928. end
  1929. end
  1930. for i = 1, 20 do
  1931. Swait()
  1932. for e = 1, #RAYS do
  1933. if RAYS[e] ~= nil then
  1934. local RAY = RAYS[e]
  1935. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  1936. end
  1937. end
  1938. end
  1939. wait(0.3)
  1940. for i = 1, 16 do
  1941. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  1942. SpawnTrail(POS+VT(0,200,0),POS)
  1943. end
  1944. 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})
  1945. CreateDebreeRing(AIM,AIMPOS-VT(15,15,15),20,VT(5,5,5),5)
  1946. CreateFlyingDebree(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  1947. CreateSound(130972023, Effects, 2, 1, false)
  1948. ApplyAoE(AIMPOS,35,50,95,100,false)
  1949. end))
  1950. for i=0, 1.9, 0.1 / Animation_Speed do
  1951. 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})
  1952. 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})
  1953. Swait()
  1954. 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)
  1955. 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)
  1956. 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)
  1957. 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)
  1958. end
  1959. ATTACK = false
  1960. Rooted = false
  1961. end
  1962.  
  1963. function Hat()
  1964. ATTACK = true
  1965. Rooted = false
  1966. Pose("Taunt",0.4,1.2,false)
  1967. ATTACK = false
  1968. Rooted = false
  1969. end
  1970.  
  1971. --//================================\\
  1972. --|| INTRO
  1973. --\\================================//
  1974.  
  1975. coroutine.resume(coroutine.create(function()
  1976. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1977. 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})
  1978. Swait(10)
  1979. 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})
  1980. 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})
  1981. Swait(57)
  1982. 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})
  1983. Swait(6.5)
  1984. ApplyAoE(HITPOS,8,10,15,100,false)
  1985. text.Text = "Injustice"
  1986. text.TextStrokeColor3 = Color3.new(255/255, 255/255, 0/255)
  1987. for i=0, 1, 0.1 / Animation_Speed do
  1988. 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})
  1989. end
  1990. end))
  1991. for i=0, 1.5, 0.1 / Animation_Speed do
  1992. Swait()
  1993. 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)
  1994. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1995. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1996. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1997. 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)
  1998. 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)
  1999. end
  2000. for i=0, 0.4, 0.1 / Animation_Speed do
  2001. Swait()
  2002. 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)
  2003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2004. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2006. 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)
  2007. 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)
  2008. end
  2009. for i=0, 1, 0.1 / Animation_Speed do
  2010. Swait()
  2011. 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)
  2012. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2013. 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)
  2014. 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)
  2015. 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)
  2016. 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)
  2017. end
  2018.  
  2019. --//=================================\\
  2020. --|| ASSIGN THINGS TO KEYS
  2021. --\\=================================//
  2022.  
  2023. function MouseDown(Mouse)
  2024. HOLD = true
  2025. if ATTACK == false then
  2026. end
  2027. end
  2028.  
  2029. function MouseUp(Mouse)
  2030. HOLD = false
  2031. end
  2032.  
  2033. function KeyDown(Key)
  2034. KEYHOLD = true
  2035. if Key == "z" and ATTACK == false then
  2036. Bullet()
  2037. end
  2038.  
  2039. if Key == "b" and ATTACK == false then
  2040. JusticeBeam()
  2041. end
  2042.  
  2043. if Key == "c" and ATTACK == false then
  2044. Thunder()
  2045. end
  2046.  
  2047. if Key == "v" and ATTACK == false then
  2048. Bullet_Rain()
  2049. end
  2050.  
  2051. if Key == "x" and ATTACK == false then
  2052. Inferno_Ring()
  2053. end
  2054.  
  2055. if Key == "t" and ATTACK == false then
  2056. Hat()
  2057. end
  2058. end
  2059.  
  2060. function KeyUp(Key)
  2061. KEYHOLD = false
  2062. end
  2063.  
  2064. Mouse.Button1Down:connect(function(NEWKEY)
  2065. MouseDown(NEWKEY)
  2066. end)
  2067. Mouse.Button1Up:connect(function(NEWKEY)
  2068. MouseUp(NEWKEY)
  2069. end)
  2070. Mouse.KeyDown:connect(function(NEWKEY)
  2071. KeyDown(NEWKEY)
  2072. end)
  2073. Mouse.KeyUp:connect(function(NEWKEY)
  2074. KeyUp(NEWKEY)
  2075. end)
  2076.  
  2077. --//=================================\\
  2078. --\\=================================//
  2079.  
  2080.  
  2081. function unanchor()
  2082. if UNANCHOR == true then
  2083. RootPart.Anchored = false
  2084. end
  2085. g = Character:GetChildren()
  2086. for i = 1, #g do
  2087. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2088. g[i].Anchored = false
  2089. end
  2090. end
  2091. g = Weapon:GetChildren()
  2092. for i = 1, #g do
  2093. if g[i].ClassName == "Part" then
  2094. g[i].Anchored = false
  2095. end
  2096. end
  2097. end
  2098.  
  2099. --//=================================\\
  2100. --|| WRAP THE WHOLE SCRIPT UP
  2101. --\\=================================//
  2102.  
  2103. Humanoid.Changed:connect(function(Jump)
  2104. if Jump == "Jump" and (Disable_Jump == true) then
  2105. Humanoid.Jump = false
  2106. end
  2107. end)
  2108.  
  2109. while true do
  2110. Swait()
  2111. script.Parent = WEAPONGUI
  2112. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2113. v:Stop();
  2114. end
  2115. ANIMATE.Parent = nil
  2116. SINE = SINE + CHANGE*1.5
  2117. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2118. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2119. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2120. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2121. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2122. 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)
  2123. 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)
  2124. 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)
  2125. 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)
  2126. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2127. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2128. 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)
  2129. 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)
  2130. 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)
  2131. end
  2132. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2133. ANIM = "Jump"
  2134. if ATTACK == false then
  2135. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2136. 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)
  2137. 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)
  2138. 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)
  2139. 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)
  2140. 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)
  2141. end
  2142. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2143. ANIM = "Fall"
  2144. if ATTACK == false then
  2145. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2146. 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)
  2147. 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)
  2148. 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)
  2149. 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)
  2150. 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)
  2151. end
  2152. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2153. ANIM = "Idle"
  2154. if ATTACK == false then
  2155. 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)
  2156. 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)
  2157. 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)
  2158. 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)
  2159. 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)
  2160. 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)
  2161. end
  2162. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2163. ANIM = "Walk"
  2164. if ATTACK == false then
  2165. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2166. 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)
  2167. 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)
  2168. 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)
  2169. 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)
  2170. 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)
  2171. end
  2172. end
  2173. unanchor()
  2174. Humanoid.MaxHealth = "inf"
  2175. Humanoid.Health = "inf"
  2176. if Rooted == false then
  2177. Disable_Jump = false
  2178. Humanoid.WalkSpeed = Speed
  2179. elseif Rooted == true then
  2180. Disable_Jump = true
  2181. Humanoid.WalkSpeed = 0
  2182. end
  2183. for _, c in pairs(Character:GetChildren()) do
  2184. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2185. c.Material = "Fabric"
  2186. if c:FindFirstChildOfClass("ParticleEmitter") then
  2187. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2188. end
  2189. if c ~= Head then
  2190. c.Color = C3(1,1,1)
  2191. else
  2192. c.Color = C3(1,1,1)
  2193. end
  2194. if c == Head then
  2195. if c:FindFirstChild("face") then
  2196. c.face:remove()
  2197. end
  2198. end
  2199. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2200. c:remove()
  2201. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2202. c:remove()
  2203. end
  2204. end
  2205. sick.SoundId = "rbxassetid://"..SONG
  2206. sick.Looped = true
  2207. sick.Pitch = 1
  2208. sick.Volume = 5
  2209. sick.Parent = Torso
  2210. sick:Resume()
  2211. --sick.Playing = false
  2212. Humanoid.Name = "Injustice = "..Player.Name
  2213. end
  2214.  
  2215. --//=================================\\
  2216. --\\=================================//
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222. --//====================================================\\--
  2223. --|| END OF SCRIPT
  2224. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement