Advertisement
Guest User

Untitled

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