Jamil_And_Brol

Name change

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