Advertisement
Xector666X

Untitled

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