Advertisement
ZaGodlyNoob

Injustice Edit (Non-FE?)

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