caca2312131232131

POWNEROIMG

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