Advertisement
memberhero

Switcher

Jan 10th, 2019
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 198.17 KB | None | 0 0
  1. print ("Updated 0.1 Fixed and change Smite2 Move")
  2.  
  3. --//====================================================\\--
  4. --|| The Switcher by WanTH092
  5. --\\====================================================//--
  6.  
  7. if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
  8. do
  9. script.Parent = owner.Character
  10. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  11. local function NewFakeEvent()
  12. local Bind = Instance.new("BindableEvent")
  13. local Fake;Fake = {Connections = {},
  14. fakeEvent=true;
  15. Connect=function(self,Func)
  16. Bind.Event:connect(Func)
  17. self.Connections[Bind] = true
  18. return setmetatable({Connected = true},{
  19. __index = function (self,Index)
  20. if Index:lower() == "disconnect" then
  21. return function() Fake.Connections[Bind] = false;self.Connected = false end
  22. end
  23. return Fake[Index]
  24. end;
  25. __tostring = function() return "Connection" end;
  26. })
  27. end}
  28. Fake.connect = Fake.Connect;return Fake;
  29. end
  30. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  31. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  32. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  33. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  34. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  35. local function TriggerEvent(self,Event,...)
  36. local Trigger = Mouse[Event]
  37. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  38. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  39. end
  40. end
  41. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  42. Event.OnServerEvent:Connect(function(FiredBy,Input)
  43. if FiredBy.Name ~= owner.Name then return end
  44. if Input.MouseEvent then
  45. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  46. else
  47. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  48. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  49. for _,Action in pairs(ContextActionService.Actions) do
  50. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  51. end
  52. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  53. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  54. end
  55. end)
  56. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  57. Event.Parent = NLS([[
  58. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  59. local Input = function(Input,gameProcessedEvent)
  60. if gameProcessedEvent then return end
  61. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  62. end
  63. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  64. local Hit,Target
  65. while wait(1/30) do
  66. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  67. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  68. end
  69. end
  70. ]],owner.Character)
  71. end
  72. RealGame = game;game = setmetatable({},{
  73. __index = function (self,Index)
  74. local Sandbox = function (Thing)
  75. if Thing:IsA("Player") then
  76. local RealPlayer = Thing
  77. return setmetatable({},{
  78. __index = function (self,Index)
  79. local Type = type(RealPlayer[Index])
  80. if Type == "function" then
  81. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  82. return function (self)return InternalData["Mouse"] end
  83. end
  84. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  85. end
  86. return RealPlayer[Index]
  87. end;
  88. __tostring = function(self) return RealPlayer.Name end
  89. })
  90. end
  91. end
  92. if RealGame[Index] then
  93. local Type = type(RealGame[Index])
  94. if Type == "function" then
  95. if Index:lower() == "getservice" or Index:lower() == "service" then
  96. return function (self,Service)
  97. local FakeServices = {
  98. ["players"] = function()
  99. return setmetatable({},{
  100. __index = function (self2,Index2)
  101. local RealService = RealGame:GetService(Service)
  102. local Type2 = type(Index2)
  103. if Type2 == "function" then
  104. return function (self,...) return RealService[Index2](RealService,...)end
  105. else
  106. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  107. return RealService[Index2]
  108. end
  109. end;
  110. __tostring = function(self) return RealGame:GetService(Service).Name end
  111. })
  112. end;
  113. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  114. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  115. ["runservice"] = 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. local RunServices = {
  124. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  125. ["renderstepped"] = function() return RealService["Stepped"] end
  126. }
  127. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  128. return RealService[Index2]
  129. end
  130. end
  131. })
  132. end
  133. }
  134. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  135. return RealGame:GetService(Service)
  136. end
  137. end
  138. return function (self,...) return RealGame[Index](RealGame,...) end
  139. else
  140. if game:GetService(Index) then return game:GetService(Index) end
  141. return RealGame[Index]
  142. end
  143. end
  144. return nil
  145. end
  146. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
  147.  
  148. wait(0.2)
  149.  
  150. Player = owner
  151. PlayerGui = Player.PlayerGui
  152. Cam = workspace.CurrentCamera
  153. Backpack = Player.Backpack
  154. Character = Player.Character
  155. Humanoid = Character.Humanoid
  156. Mouse = Player:GetMouse()
  157. RootPart = Character["HumanoidRootPart"]
  158. Torso = Character["Torso"]
  159. Head = Character["Head"]
  160. RightArm = Character["Right Arm"]
  161. LeftArm = Character["Left Arm"]
  162. RightLeg = Character["Right Leg"]
  163. LeftLeg = Character["Left Leg"]
  164. RootJoint = RootPart["RootJoint"]
  165. Neck = Torso["Neck"]
  166. RightShoulder = Torso["Right Shoulder"]
  167. LeftShoulder = Torso["Left Shoulder"]
  168. RightHip = Torso["Right Hip"]
  169. LeftHip = Torso["Left Hip"]
  170. Character.Archivable = true
  171. Player:ClearCharacterAppearance()
  172.  
  173. IT = Instance.new
  174. CF = CFrame.new
  175. VT = Vector3.new
  176. RAD = math.rad
  177. C3 = Color3.new
  178. UD2 = UDim2.new
  179. BRICKC = BrickColor.new
  180. ANGLES = CFrame.Angles
  181. EULER = CFrame.fromEulerAnglesXYZ
  182. COS = math.cos
  183. ACOS = math.acos
  184. SIN = math.sin
  185. ASIN = math.asin
  186. ABS = math.abs
  187. MRANDOM = math.random
  188. FLOOR = math.floor
  189.  
  190. --//=================================\\
  191. --|| USEFUL VALUES
  192. --\\=================================//
  193.  
  194. Animation_Speed = 3
  195. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  196. local Speed = 25
  197. local SIZE = 1.4
  198. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  199. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  200. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  201. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  202. local DAMAGEMULTIPLIER = 1
  203. local ANIM = "Idle"
  204. local ATTACK = false
  205. local EQUIPPED = false
  206. local HOLD = false
  207. local COMBO = 1
  208. local Rooted = false
  209. local SINE = 0
  210. local KEYHOLD = false
  211. local CHANGE = 2 / Animation_Speed
  212. local WALKINGANIM = false
  213. local VALUE1 = false
  214. local VALUE2 = false
  215. local ROBLOXIDLEANIMATION = IT("Animation")
  216. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  217. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  218. local ATANIM = IT("Animation")
  219. ATANIM.Name = "Attack Animation"
  220. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  221. --ROBLOXIDLEANIMATION.Parent = Humanoid
  222. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  223. WEAPONGUI.Name = "Weapon GUI"
  224. local Weapon = IT("Model")
  225. Weapon.Name = "Adds"
  226. local Effects = IT("Folder", Weapon)
  227. Effects.Name = "Effects"
  228. local ANIMATOR = Humanoid.Animator
  229. local ANIMATE = Character.Animate
  230. local UNANCHOR = true
  231. local CLOCKLOOP = 0
  232. local SONG = 1117396305
  233. local CLOCKTARGET = nil
  234. local CLOCKSPEED = 0
  235. script.Parent = WEAPONGUI
  236. local CLONE = Character:Clone()
  237. CLONE.Parent = nil
  238. Character.Archivable = false
  239. local sick = Instance.new("Sound",Torso)
  240. local TAUNT = false
  241. Player_Size = 1.4
  242. local PLAYSONG = true
  243. local MODE = "Main"
  244.  
  245. --//=================================\\
  246. --\\=================================//
  247.  
  248.  
  249. --//=================================\\
  250. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  251. --\\=================================//
  252.  
  253. ArtificialHB = Instance.new("BindableEvent", script)
  254. ArtificialHB.Name = "ArtificialHB"
  255.  
  256. script:WaitForChild("ArtificialHB")
  257.  
  258. frame = Frame_Speed
  259. tf = 0
  260. allowframeloss = false
  261. tossremainder = false
  262. lastframe = tick()
  263. script.ArtificialHB:Fire()
  264.  
  265. game:GetService("RunService").Heartbeat:connect(function(s, p)
  266. tf = tf + s
  267. if tf >= frame then
  268. if allowframeloss then
  269. script.ArtificialHB:Fire()
  270. lastframe = tick()
  271. else
  272. for i = 1, math.floor(tf / frame) do
  273. script.ArtificialHB:Fire()
  274. end
  275. lastframe = tick()
  276. end
  277. if tossremainder then
  278. tf = 0
  279. else
  280. tf = tf - frame * math.floor(tf / frame)
  281. end
  282. end
  283. end)
  284.  
  285. --//=================================\\
  286. --\\=================================//
  287.  
  288. --//=================================\\
  289. --|| SOME TAG EDIT
  290. --\\=================================//
  291.  
  292. m = game.Players.LocalPlayer
  293. char = m.Character
  294. local txt = Instance.new("BillboardGui", char)
  295. txt.Adornee = char.Head
  296. txt.Name = "_status"
  297. txt.Size = UDim2.new(2, 0, 1.2, 0)
  298. txt.StudsOffset = Vector3.new(-9, 8, 0)
  299. local text = Instance.new("TextLabel", txt)
  300. text.Size = UDim2.new(10, 0, 7, 0)
  301. text.FontSize = "Size24"
  302. text.TextScaled = true
  303. text.TextTransparency = 0
  304. text.BackgroundTransparency = 1
  305. text.TextTransparency = 0
  306. text.TextStrokeTransparency = 0
  307. text.Font = "Bodoni"
  308. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  309. v = Instance.new("Part")
  310. v.Name = "ColorBrick"
  311. v.Parent = m.Character
  312. v.FormFactor = "Symmetric"
  313. v.Anchored = true
  314. v.CanCollide = false
  315. v.BottomSurface = "Smooth"
  316. v.TopSurface = "Smooth"
  317. v.Size = Vector3.new(10, 5, 3)
  318. v.Transparency = 1
  319. v.CFrame = char.Torso.CFrame
  320. v.BrickColor = BrickColor.new("Really black")
  321. v.Transparency = 1
  322. v.Shape = "Block"
  323. spawn(function()
  324. local TweenService = game:GetService("TweenService")
  325. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(255,255,255),Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,255,255),Color3.fromRGB(0,0,0)}
  326. local Int = 0
  327. while wait(0.5) do
  328. if Int == #Colours then Int = 0 end
  329. Int = Int+1
  330. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  331. end
  332. end)
  333. text.Text = "Edit by wanTH092"
  334. wait(3)
  335. text.Text = "Showcased by NameClan (Lol)"
  336. wait(4)
  337. text.Text = "The Switcher"
  338.  
  339. --//=================================\\
  340. --\\=================================//
  341.  
  342. --//=================================\\
  343. --|| SOME FUNCTIONS
  344. --\\=================================//
  345.  
  346. local EyeSizes={
  347. NumberSequenceKeypoint.new(0,2,0),
  348. NumberSequenceKeypoint.new(1,0,0)
  349. }
  350. local EyeTrans={
  351. NumberSequenceKeypoint.new(0,0.5,0),
  352. NumberSequenceKeypoint.new(1,1,0)
  353. }
  354. local PE=Instance.new("ParticleEmitter",nil)
  355. PE.LightEmission=.8
  356. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  357. PE.Size=NumberSequence.new(EyeSizes)
  358. PE.Transparency=NumberSequence.new(EyeTrans)
  359. PE.Lifetime=NumberRange.new(0.35,1)
  360. PE.Rotation=NumberRange.new(0,360)
  361. PE.Rate=100
  362. PE.VelocitySpread = 10000
  363. PE.Acceleration = Vector3.new(0,85,0)
  364. PE.Drag = 5
  365. PE.Speed = NumberRange.new(0.1,5)
  366. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  367. PE.ZOffset = 0.5
  368. PE.Name = "PE"
  369. PE.Enabled = false
  370. function Fire(art)
  371. local PARTICLES = PE:Clone()
  372. PARTICLES.Parent = art
  373. PARTICLES.Enabled = true
  374. return PARTICLES
  375. end
  376.  
  377. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  378. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  379. local mesh
  380. if KIND == "Base" then
  381. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  382. elseif KIND == "Thin" then
  383. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  384. elseif KIND == "Round" then
  385. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  386. end
  387. wave.CFrame = CFRAME
  388. coroutine.resume(coroutine.create(function(PART)
  389. for i = 1, WAIT do
  390. Swait()
  391. mesh.Scale = mesh.Scale + GROW / 10
  392. wave.Transparency = wave.Transparency + 0.5 / WAIT
  393. if wave.Transparency > 0.99 then
  394. wave:remove()
  395. end
  396. end
  397. end))
  398. end
  399.  
  400. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  401. for _, c in pairs(PARENT:GetChildren()) do
  402. if c.ClassName == "Model" then
  403. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  404. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  405. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  406. if DIST > (TORSO.Position - FROM).Magnitude then
  407. table.insert(TABLE, c)
  408. end
  409. AddChildrenToTable(FROM, c, DIST, TABLE)
  410. elseif c.ClassName == "Folder" then
  411. AddChildrenToTable(FROM, c, DIST, TABLE)
  412. end
  413. end
  414. end
  415. end
  416.  
  417. function VanishPlayer()
  418. for _, c in pairs(Character:GetChildren()) do
  419. if c.ClassName == "Part" then
  420. c.Transparency = 1
  421. if c:FindFirstChildOfClass("Decal") then
  422. c:FindFirstChildOfClass("Decal").Transparency = 1
  423. end
  424. if c:FindFirstChildOfClass("ParticleEmitter") then
  425. c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  426. end
  427. elseif c.ClassName == "Accessory" then
  428. c.Handle.Transparency = 1
  429. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  430. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  431. end
  432. end
  433. end
  434. end
  435.  
  436. function killnearest(position,range,maxstrength)
  437. for i,v in ipairs(workspace:GetChildren()) do
  438. local body = v:GetChildren()
  439. for part = 1, #body do
  440. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  441. if(body[part].Position - position).Magnitude < range then
  442. if v.ClassName == "Model" then
  443. v:BreakJoints()
  444. end
  445. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  446. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  447. end
  448. end
  449. end
  450. if v.ClassName == "Part" then
  451. if v.Anchored == false and (v.Position - position).Magnitude < range then
  452. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  453. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  454. end
  455. end
  456. end
  457. end
  458.  
  459. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  460. PLAYMAINANIM = false
  461. if WhichPose == "Cast1" then
  462. for i=0, Time, 0.1 / Animation_Speed do
  463. Swait()
  464. if Magic == true then
  465. 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})
  466. end
  467. if Gyro ~= nil and Gyro ~= false then
  468. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  469. end
  470. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  471. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.35*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  474. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  475. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  476. end
  477. elseif WhichPose == "Cast2" then
  478. for i=0, Time, 0.1 / Animation_Speed do
  479. Swait()
  480. if Magic == true then
  481. 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})
  482. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.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})
  483. end
  484. if Gyro ~= nil and Gyro ~= false then
  485. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  486. end
  487. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  488. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  489. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  490. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  491. 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)
  492. 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)
  493. end
  494. elseif WhichPose == "RightArmUp2" then
  495. for i=0, Time, 0.1 / Animation_Speed do
  496. Swait()
  497. if Magic == true then
  498. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  499. end
  500. if Gyro ~= nil and Gyro ~= false then
  501. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  502. end
  503. 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)
  504. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0) - 0)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 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)
  506. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 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)
  507. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  508. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  509. end
  510. elseif WhichPose == "Prepare key" then
  511. for i=0, Time, 0.1 / Animation_Speed do
  512. Swait()
  513. if Gyro ~= nil and Gyro ~= false then
  514. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  515. end
  516. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  517. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  518. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  519. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  520. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  521. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  522. end
  523. elseif WhichPose == "Turn key" then
  524. for i=0, Time, 0.1 / Animation_Speed do
  525. Swait()
  526. if Gyro ~= nil and Gyro ~= false then
  527. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  528. end
  529. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  530. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  531. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  532. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE + 0.15*SIZE * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  533. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  534. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  535. end
  536. end
  537. PLAYMAINANIM = true
  538. end
  539.  
  540.  
  541. local EyeSizes={
  542. NumberSequenceKeypoint.new(0,1,0),
  543. NumberSequenceKeypoint.new(1,0,0)
  544. }
  545. local EyeTrans={
  546. NumberSequenceKeypoint.new(0,0.8,0),
  547. NumberSequenceKeypoint.new(1,1,0)
  548. }
  549. local PE=Instance.new("ParticleEmitter",nil)
  550. PE.LightEmission=.8
  551. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  552. PE.Size=NumberSequence.new(EyeSizes)
  553. PE.Transparency=NumberSequence.new(EyeTrans)
  554. PE.Lifetime=NumberRange.new(0.35,1.5)
  555. PE.Rotation=NumberRange.new(0,360)
  556. PE.Rate=999
  557. PE.VelocitySpread = 10000
  558. PE.Acceleration = Vector3.new(0,0,0)
  559. PE.Drag = 5
  560. PE.Speed = NumberRange.new(0,0,0)
  561. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  562. PE.ZOffset = -0
  563. PE.Name = "PE"
  564. PE.Enabled = false
  565.  
  566. function particles(art)
  567. local PARTICLES = PE:Clone()
  568. PARTICLES.Parent = art
  569. end
  570.  
  571. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  572. if FLOOR ~= nil then
  573. coroutine.resume(coroutine.create(function()
  574. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  575. PART.CFrame = CF(POSITION)
  576. for i = 1, 45 do
  577. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  578. RingPiece.Material = FLOOR.Material
  579. RingPiece.Color = FLOOR.Color
  580. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  581. Debris:AddItem(RingPiece,SWAIT)
  582. end
  583. PART:remove()
  584. end))
  585. end
  586. end
  587.  
  588. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  589. if FLOOR ~= nil then
  590. for i = 1, AMOUNT do
  591. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  592. DEBREE.Material = FLOOR.Material
  593. DEBREE.Color = FLOOR.Color
  594. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  595. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  596. coroutine.resume(coroutine.create(function()
  597. Swait(15)
  598. DEBREE.Parent = workspace
  599. DEBREE.CanCollide = true
  600. Debris:AddItem(DEBREE,SWAIT)
  601. end))
  602. end
  603. end
  604. end
  605.  
  606. local DECAL = IT("Decal")
  607. function MakeRing()
  608. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  609. local MSH = IT("BlockMesh", RING)
  610. local TOP = DECAL:Clone()
  611. local BOTTOM = DECAL:Clone()
  612. TOP.Parent = RING
  613. BOTTOM.Parent = RING
  614. TOP.Face = "Top"
  615. BOTTOM.Face = "Bottom"
  616. TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
  617. BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
  618. local function REMOVE()
  619. coroutine.resume(coroutine.create(function()
  620. local SIZE = MSH.Scale.X
  621. for i = 1, 35 do
  622. Swait()
  623. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  624. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  625. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  626. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  627. end
  628. RING:remove()
  629. end))
  630. end
  631. return RING, MSH, REMOVE
  632. end
  633.  
  634. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  635. local TORSO = Torso
  636. local HUM = Humanoid
  637. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  638. coroutine.wrap(function()
  639. VT = Vector3.new
  640. MRANDOM = math.random
  641. local A = TIME
  642. local B = INTENSITY
  643. local C = true
  644. local HUMANOID = Humanoid
  645. local TIMER = A or 35
  646. local SHAKE = B or 5
  647. local FADE = C or true
  648. if HUMANOID then
  649. local FADER = SHAKE / TIMER
  650. for i = 1, TIMER do
  651. wait()
  652. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  653. end
  654. HUMANOID.CameraOffset = VT(0, 0, 0)
  655. end
  656.  
  657. end)()
  658. end
  659. end
  660.  
  661. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  662. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  663. end
  664.  
  665. function PositiveAngle(NUMBER)
  666. if NUMBER >= 0 then
  667. NUMBER = 0
  668. end
  669. return NUMBER
  670. end
  671.  
  672. function NegativeAngle(NUMBER)
  673. if NUMBER <= 0 then
  674. NUMBER = 0
  675. end
  676. return NUMBER
  677. end
  678.  
  679. function Swait(NUMBER)
  680. if NUMBER == 0 or NUMBER == nil then
  681. ArtificialHB.Event:wait()
  682. else
  683. for i = 1, NUMBER do
  684. ArtificialHB.Event:wait()
  685. end
  686. end
  687. end
  688.  
  689. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  690. local NEWMESH = IT(MESH)
  691. if MESH == "SpecialMesh" then
  692. NEWMESH.MeshType = MESHTYPE
  693. if MESHID ~= "nil" and MESHID ~= "" then
  694. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  695. end
  696. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  697. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  698. end
  699. end
  700. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  701. NEWMESH.Scale = SCALE
  702. NEWMESH.Parent = PARENT
  703. return NEWMESH
  704. end
  705.  
  706. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  707. local NEWPART = IT("Part")
  708. NEWPART.formFactor = FORMFACTOR
  709. NEWPART.Reflectance = REFLECTANCE
  710. NEWPART.Transparency = TRANSPARENCY
  711. NEWPART.CanCollide = false
  712. NEWPART.Locked = true
  713. NEWPART.Anchored = true
  714. if ANCHOR == false then
  715. NEWPART.Anchored = false
  716. end
  717. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  718. NEWPART.Name = NAME
  719. NEWPART.Size = SIZE
  720. NEWPART.Position = Torso.Position
  721. NEWPART.Material = MATERIAL
  722. NEWPART:BreakJoints()
  723. NEWPART.Parent = PARENT
  724. return NEWPART
  725. end
  726.  
  727. local function weldBetween(a, b)
  728. local weldd = Instance.new("ManualWeld")
  729. weldd.Part0 = a
  730. weldd.Part1 = b
  731. weldd.C0 = CFrame.new()
  732. weldd.C1 = b.CFrame:inverse() * a.CFrame
  733. weldd.Parent = a
  734. return weldd
  735. end
  736.  
  737.  
  738. function QuaternionFromCFrame(cf)
  739. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  740. local trace = m00 + m11 + m22
  741. if trace > 0 then
  742. local s = math.sqrt(1 + trace)
  743. local recip = 0.5 / s
  744. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  745. else
  746. local i = 0
  747. if m11 > m00 then
  748. i = 1
  749. end
  750. if m22 > (i == 0 and m00 or m11) then
  751. i = 2
  752. end
  753. if i == 0 then
  754. local s = math.sqrt(m00 - m11 - m22 + 1)
  755. local recip = 0.5 / s
  756. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  757. elseif i == 1 then
  758. local s = math.sqrt(m11 - m22 - m00 + 1)
  759. local recip = 0.5 / s
  760. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  761. elseif i == 2 then
  762. local s = math.sqrt(m22 - m00 - m11 + 1)
  763. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  764. end
  765. end
  766. end
  767.  
  768. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  769. local xs, ys, zs = x + x, y + y, z + z
  770. local wx, wy, wz = w * xs, w * ys, w * zs
  771. local xx = x * xs
  772. local xy = x * ys
  773. local xz = x * zs
  774. local yy = y * ys
  775. local yz = y * zs
  776. local zz = z * zs
  777. 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))
  778. end
  779.  
  780. function QuaternionSlerp(a, b, t)
  781. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  782. local startInterp, finishInterp;
  783. if cosTheta >= 0.0001 then
  784. if (1 - cosTheta) > 0.0001 then
  785. local theta = ACOS(cosTheta)
  786. local invSinTheta = 1 / SIN(theta)
  787. startInterp = SIN((1 - t) * theta) * invSinTheta
  788. finishInterp = SIN(t * theta) * invSinTheta
  789. else
  790. startInterp = 1 - t
  791. finishInterp = t
  792. end
  793. else
  794. if (1 + cosTheta) > 0.0001 then
  795. local theta = ACOS(-cosTheta)
  796. local invSinTheta = 1 / SIN(theta)
  797. startInterp = SIN((t - 1) * theta) * invSinTheta
  798. finishInterp = SIN(t * theta) * invSinTheta
  799. else
  800. startInterp = t - 1
  801. finishInterp = t
  802. end
  803. end
  804. 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
  805. end
  806.  
  807. function Clerp(a, b, t)
  808. local qa = {QuaternionFromCFrame(a)}
  809. local qb = {QuaternionFromCFrame(b)}
  810. local ax, ay, az = a.x, a.y, a.z
  811. local bx, by, bz = b.x, b.y, b.z
  812. local _t = 1 - t
  813. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  814. end
  815.  
  816. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  817. local frame = IT("Frame")
  818. frame.BackgroundTransparency = TRANSPARENCY
  819. frame.BorderSizePixel = BORDERSIZEPIXEL
  820. frame.Position = POSITION
  821. frame.Size = SIZE
  822. frame.BackgroundColor3 = COLOR
  823. frame.BorderColor3 = BORDERCOLOR
  824. frame.Name = NAME
  825. frame.Parent = PARENT
  826. return frame
  827. end
  828.  
  829. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  830. local label = IT("TextLabel")
  831. label.BackgroundTransparency = 1
  832. label.Size = UD2(1, 0, 1, 0)
  833. label.Position = UD2(0, 0, 0, 0)
  834. label.TextColor3 = TEXTCOLOR
  835. label.TextStrokeTransparency = STROKETRANSPARENCY
  836. label.TextTransparency = TRANSPARENCY
  837. label.FontSize = TEXTFONTSIZE
  838. label.Font = TEXTFONT
  839. label.BorderSizePixel = BORDERSIZEPIXEL
  840. label.TextStrokeColor3 = C3(1,1,1)
  841. label.TextScaled = false
  842. label.Text = TEXT
  843. label.Name = NAME
  844. label.Parent = PARENT
  845. return label
  846. end
  847.  
  848. function NoOutlines(PART)
  849. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  850. end
  851.  
  852. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  853. local NEWWELD = IT(TYPE)
  854. NEWWELD.Part0 = PART0
  855. NEWWELD.Part1 = PART1
  856. NEWWELD.C0 = C0
  857. NEWWELD.C1 = C1
  858. NEWWELD.Parent = PARENT
  859. return NEWWELD
  860. end
  861.  
  862. local S = IT("Sound")
  863. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  864. local NEWSOUND = nil
  865. coroutine.resume(coroutine.create(function()
  866. NEWSOUND = S:Clone()
  867. NEWSOUND.Parent = PARENT
  868. NEWSOUND.Volume = VOLUME
  869. NEWSOUND.Pitch = PITCH
  870. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  871. NEWSOUND:play()
  872. if DOESLOOP == true then
  873. NEWSOUND.Looped = true
  874. else
  875. repeat wait(1) until NEWSOUND.Playing == false
  876. NEWSOUND:remove()
  877. end
  878. end))
  879. return NEWSOUND
  880. end
  881.  
  882. function CFrameFromTopBack(at, top, back)
  883. local right = top:Cross(back)
  884. 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)
  885. end
  886.  
  887. --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})
  888. function WACKYEFFECT(Table)
  889. local TYPE = (Table.EffectType or "Sphere")
  890. local SIZE = (Table.Size or VT(1,1,1))
  891. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  892. local TRANSPARENCY = (Table.Transparency or 0)
  893. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  894. local CFRAME = (Table.CFrame or Torso.CFrame)
  895. local MOVEDIRECTION = (Table.MoveToPos or nil)
  896. local ROTATION1 = (Table.RotationX or 0)
  897. local ROTATION2 = (Table.RotationY or 0)
  898. local ROTATION3 = (Table.RotationZ or 0)
  899. local MATERIAL = (Table.Material or "Neon")
  900. local COLOR = (Table.Color or C3(1,1,1))
  901. local TIME = (Table.Time or 45)
  902. local SOUNDID = (Table.SoundID or nil)
  903. local SOUNDPITCH = (Table.SoundPitch or nil)
  904. local SOUNDVOLUME = (Table.SoundVolume or nil)
  905. coroutine.resume(coroutine.create(function()
  906. local PLAYSSOUND = false
  907. local SOUND = nil
  908. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  909. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  910. PLAYSSOUND = true
  911. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  912. end
  913. EFFECT.Color = COLOR
  914. local MSH = nil
  915. if TYPE == "Sphere" then
  916. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  917. elseif TYPE == "Block" then
  918. MSH = IT("BlockMesh",EFFECT)
  919. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  920. elseif TYPE == "Wave" then
  921. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  922. elseif TYPE == "Ring" then
  923. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  924. elseif TYPE == "Slash" then
  925. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  926. elseif TYPE == "Round Slash" then
  927. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  928. elseif TYPE == "Swirl" then
  929. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  930. elseif TYPE == "Skull" then
  931. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  932. elseif TYPE == "Crystal" then
  933. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  934. end
  935. if MSH ~= nil then
  936. local MOVESPEED = nil
  937. if MOVEDIRECTION ~= nil then
  938. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  939. end
  940. local GROWTH = SIZE - ENDSIZE
  941. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  942. if TYPE == "Block" then
  943. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  944. else
  945. EFFECT.CFrame = CFRAME
  946. end
  947. for LOOP = 1, TIME+1 do
  948. Swait()
  949. MSH.Scale = MSH.Scale - GROWTH/TIME
  950. if TYPE == "Wave" then
  951. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  952. end
  953. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  954. if TYPE == "Block" then
  955. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  956. else
  957. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  958. end
  959. if MOVEDIRECTION ~= nil then
  960. local ORI = EFFECT.Orientation
  961. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  962. EFFECT.Orientation = ORI
  963. end
  964. end
  965. if PLAYSSOUND == false then
  966. EFFECT:remove()
  967. else
  968. repeat Swait() until SOUND.Playing == false
  969. EFFECT:remove()
  970. end
  971. else
  972. if PLAYSSOUND == false then
  973. EFFECT:remove()
  974. else
  975. repeat Swait() until SOUND.Playing == false
  976. EFFECT:remove()
  977. end
  978. end
  979. end))
  980. end
  981.  
  982. function MakeForm(PART,TYPE)
  983. if TYPE == "Cyl" then
  984. local MSH = IT("CylinderMesh",PART)
  985. elseif TYPE == "Ball" then
  986. local MSH = IT("SpecialMesh",PART)
  987. MSH.MeshType = "Sphere"
  988. elseif TYPE == "Wedge" then
  989. local MSH = IT("SpecialMesh",PART)
  990. MSH.MeshType = "Wedge"
  991. end
  992. end
  993.  
  994. Debris = game:GetService("Debris")
  995.  
  996. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  997. local DIRECTION = CF(StartPos,EndPos).lookVector
  998. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  999. end
  1000.  
  1001. function turnto(position)
  1002. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1003. end
  1004.  
  1005. --//=================================\\
  1006. --|| RAGDOLL STUFF
  1007. --\\=================================//
  1008.  
  1009. function recurse(root,callback,i)
  1010. i= i or 0
  1011. for _,v in pairs(root:GetChildren()) do
  1012. i = i + 1
  1013. callback(i,v)
  1014.  
  1015. if #v:GetChildren() > 0 then
  1016. i = recurse(v,callback,i)
  1017. end
  1018. end
  1019.  
  1020. return i
  1021. end
  1022.  
  1023. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  1024. attachmentName = attachmentName.."RigAttachment"
  1025. local constraint = Instance.new(className.."Constraint")
  1026. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  1027. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  1028. constraint.Name = "RagdollConstraint"..part1.Name
  1029.  
  1030. for _,propertyData in next,properties or {} do
  1031. constraint[propertyData[1]] = propertyData[2]
  1032. end
  1033.  
  1034. constraint.Parent = character
  1035. end
  1036.  
  1037. function getAttachment0(character, attachmentName)
  1038. for _,child in next,character:GetChildren() do
  1039. local attachment = child:FindFirstChild(attachmentName)
  1040. if attachment then
  1041. return attachment
  1042. end
  1043. end
  1044. end
  1045.  
  1046. function ArtificialHitbox(Part)
  1047. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  1048. HITBOX.CanCollide = true
  1049. HITBOX.CFrame = Part.CFrame
  1050. weldBetween(Part,HITBOX)
  1051. end
  1052.  
  1053. function R15Ragdoll(character,KeepArms)
  1054. character:BreakJoints()
  1055. coroutine.resume(coroutine.create(function()
  1056. recurse(character, function(_,v)
  1057. if v:IsA("Attachment") then
  1058. v.Axis = Vector3.new(0, 1, 0)
  1059. v.SecondaryAxis = Vector3.new(0, 0, 1)
  1060. v.Rotation = Vector3.new(0, 0, 0)
  1061. end
  1062. end)
  1063. for _,child in next,character:GetChildren() do
  1064. if child:IsA("Accoutrement") then
  1065. for _,part in next,child:GetChildren() do
  1066. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  1067. local attachment1 = part:FindFirstChildOfClass("Attachment")
  1068. local attachment0 = getAttachment0(character,attachment1.Name)
  1069. if attachment0 and attachment1 then
  1070. local constraint = Instance.new("HingeConstraint")
  1071. constraint.Attachment0 = attachment0
  1072. constraint.Attachment1 = attachment1
  1073. constraint.LimitsEnabled = true
  1074. constraint.UpperAngle = 0
  1075. constraint.LowerAngle = 0
  1076. constraint.Parent = character
  1077. end
  1078. ArtificialHitbox(part)
  1079. elseif part.Name == "HumanoidRootPart" then
  1080. part:remove()
  1081. end
  1082. end
  1083. end
  1084. end
  1085.  
  1086. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  1087. {"LimitsEnabled",true};
  1088. {"UpperAngle",5};
  1089. })
  1090. if character:FindFirstChild("Head") then
  1091. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  1092. {"LimitsEnabled",true};
  1093. {"UpperAngle",15};
  1094. })
  1095. end
  1096.  
  1097. local handProperties = {
  1098. {"LimitsEnabled", true};
  1099. {"UpperAngle",0};
  1100. {"LowerAngle",0};
  1101. }
  1102. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  1103. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  1104.  
  1105. local shinProperties = {
  1106. {"LimitsEnabled", true};
  1107. {"UpperAngle", 0};
  1108. {"LowerAngle", -75};
  1109. }
  1110. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  1111. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  1112.  
  1113. local footProperties = {
  1114. {"LimitsEnabled", true};
  1115. {"UpperAngle", 15};
  1116. {"LowerAngle", -45};
  1117. }
  1118. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  1119. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  1120. if KeepArms == true then
  1121. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  1122. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  1123. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  1124. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  1125. end
  1126. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  1127. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  1128. Debris:AddItem(character,5)
  1129. end))
  1130. end
  1131.  
  1132. function Ragdoll(Character2,CharTorso,KeepArms)
  1133. coroutine.resume(coroutine.create(function()
  1134. Character2:BreakJoints()
  1135. local hum = Character2:findFirstChild("Humanoid")
  1136. hum:remove()
  1137. local function Scan(ch)
  1138. local e
  1139. for e = 1,#ch do
  1140. Scan(ch[e]:GetChildren())
  1141. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1142. ch[e]:remove()
  1143. end
  1144. end
  1145. end
  1146. local NEWHUM = IT("Humanoid")
  1147. NEWHUM.Name = "Corpse"
  1148. NEWHUM.Health = 0
  1149. NEWHUM.MaxHealth = 0
  1150. NEWHUM.PlatformStand = true
  1151. NEWHUM.Parent = Character2
  1152. NEWHUM.DisplayDistanceType = "None"
  1153.  
  1154. local ch = Character2:GetChildren()
  1155. local i
  1156. for i = 1,#ch do
  1157. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1158. ch[i]:remove()
  1159. end
  1160. end
  1161.  
  1162. local Torso2 = Character2.Torso
  1163. local movevector = Vector3.new()
  1164.  
  1165. if Torso2 then
  1166. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  1167. local Head = Character2:FindFirstChild("Head")
  1168. if Head then
  1169. local Neck = Instance.new("Weld")
  1170. Neck.Name = "Neck"
  1171. Neck.Part0 = Torso2
  1172. Neck.Part1 = Head
  1173. Neck.C0 = CFrame.new(0, 1.5, 0)
  1174. Neck.C1 = CFrame.new()
  1175. Neck.Parent = Torso2
  1176.  
  1177. end
  1178. local Limb = Character2:FindFirstChild("Right Arm")
  1179. if Limb and KeepArms == true then
  1180.  
  1181. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1182. local Joint = Instance.new("Glue")
  1183. Joint.Name = "RightShoulder"
  1184. Joint.Part0 = Torso2
  1185. Joint.Part1 = Limb
  1186. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1187. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1188. Joint.Parent = Torso2
  1189.  
  1190. local B = Instance.new("Part")
  1191. B.TopSurface = 0
  1192. B.BottomSurface = 0
  1193. B.formFactor = "Symmetric"
  1194. B.Size = Vector3.new(1, 1, 1)
  1195. B.Transparency = 1
  1196. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1197. B.Parent = Character2
  1198. local W = Instance.new("Weld")
  1199. W.Part0 = Limb
  1200. W.Part1 = B
  1201. W.C0 = CFrame.new(0, -0.5, 0)
  1202. W.Parent = Limb
  1203.  
  1204. end
  1205. local Limb = Character2:FindFirstChild("Left Arm")
  1206. if Limb and KeepArms == true then
  1207.  
  1208. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1209. local Joint = Instance.new("Glue")
  1210. Joint.Name = "LeftShoulder"
  1211. Joint.Part0 = Torso2
  1212. Joint.Part1 = Limb
  1213. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1214. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1215. Joint.Parent = Torso2
  1216.  
  1217. local B = Instance.new("Part")
  1218. B.TopSurface = 0
  1219. B.BottomSurface = 0
  1220. B.formFactor = "Symmetric"
  1221. B.Size = Vector3.new(1, 1, 1)
  1222. B.Transparency = 1
  1223. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1224. B.Parent = Character2
  1225. local W = Instance.new("Weld")
  1226. W.Part0 = Limb
  1227. W.Part1 = B
  1228. W.C0 = CFrame.new(0, -0.5, 0)
  1229. W.Parent = Limb
  1230.  
  1231. end
  1232. local Limb = Character2:FindFirstChild("Right Leg")
  1233. if Limb then
  1234.  
  1235. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1236. local Joint = Instance.new("Glue")
  1237. Joint.Name = "RightHip"
  1238. Joint.Part0 = Torso2
  1239. Joint.Part1 = Limb
  1240. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1241. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1242. Joint.Parent = Torso2
  1243.  
  1244. local B = Instance.new("Part")
  1245. B.TopSurface = 0
  1246. B.BottomSurface = 0
  1247. B.formFactor = "Symmetric"
  1248. B.Size = Vector3.new(1, 1, 1)
  1249. B.Transparency = 1
  1250. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1251. B.Parent = Character2
  1252. local W = Instance.new("Weld")
  1253. W.Part0 = Limb
  1254. W.Part1 = B
  1255. W.C0 = CFrame.new(0, -0.5, 0)
  1256. W.Parent = Limb
  1257.  
  1258. end
  1259. local Limb = Character2:FindFirstChild("Left Leg")
  1260. if Limb then
  1261.  
  1262. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1263. local Joint = Instance.new("Glue")
  1264. Joint.Name = "LeftHip"
  1265. Joint.Part0 = Torso2
  1266. Joint.Part1 = Limb
  1267. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1268. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1269. Joint.Parent = Torso2
  1270.  
  1271. local B = Instance.new("Part")
  1272. B.TopSurface = 0
  1273. B.BottomSurface = 0
  1274. B.formFactor = "Symmetric"
  1275. B.Size = Vector3.new(1, 1, 1)
  1276. B.Transparency = 1
  1277. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1278. B.Parent = Character2
  1279. local W = Instance.new("Weld")
  1280. W.Part0 = Limb
  1281. W.Part1 = B
  1282. W.C0 = CFrame.new(0, -0.5, 0)
  1283. W.Parent = Limb
  1284.  
  1285. end
  1286. --[
  1287. local Bar = Instance.new("Part")
  1288. Bar.TopSurface = 0
  1289. Bar.BottomSurface = 0
  1290. Bar.formFactor = "Symmetric"
  1291. Bar.Size = Vector3.new(1, 1, 1)
  1292. Bar.Transparency = 1
  1293. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1294. Bar.Parent = Character2
  1295. local Weld = Instance.new("Weld")
  1296. Weld.Part0 = Torso2
  1297. Weld.Part1 = Bar
  1298. Weld.C0 = CFrame.new(0, 0.5, 0)
  1299. Weld.Parent = Torso2
  1300. --]]
  1301. end
  1302. Character2.Parent = workspace
  1303. Debris:AddItem(Character2,5)
  1304.  
  1305. return Character2,Torso2
  1306. end))
  1307. end
  1308.  
  1309. --//=================================\\
  1310. --|| WEAPON CREATION
  1311. --\\=================================//
  1312.  
  1313. local BODY = {}
  1314. for _, c in pairs(Character:GetDescendants()) do
  1315. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1316. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1317. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1318. end
  1319. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1320. elseif c:IsA("JointInstance") then
  1321. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1322. end
  1323. end
  1324. for e = 1, #BODY do
  1325. if BODY[e] ~= nil then
  1326. local STUFF = BODY[e]
  1327. local PART = STUFF[1]
  1328. local PARENT = STUFF[2]
  1329. local MATERIAL = STUFF[3]
  1330. local COLOR = STUFF[4]
  1331. local TRANSPARENCY = STUFF[5]
  1332. if PART.ClassName == "Part" and PART ~= RootPart then
  1333. PART.Material = MATERIAL
  1334. PART.Color = COLOR
  1335. PART.Transparency = TRANSPARENCY
  1336. end
  1337. PART.AncestryChanged:Connect(function()
  1338. PART.Parent = PARENT
  1339. end)
  1340. end
  1341. end
  1342.  
  1343. function refit()
  1344. Character.Parent = workspace
  1345. for e = 1, #BODY do
  1346. if BODY[e] ~= nil then
  1347. local STUFF = BODY[e]
  1348. local PART = STUFF[1]
  1349. local PARENT = STUFF[2]
  1350. local MATERIAL = STUFF[3]
  1351. local COLOR = STUFF[4]
  1352. local TRANSPARENCY = STUFF[5]
  1353. if PART.ClassName == "Part" and PART ~= RootPart then
  1354. PART.Material = MATERIAL
  1355. PART.Color = COLOR
  1356. PART.Transparency = TRANSPARENCY
  1357. end
  1358. if PART.Parent ~= PARENT then
  1359. Humanoid:remove()
  1360. PART.Parent = PARENT
  1361. Humanoid = IT("Humanoid",Character)
  1362. end
  1363. end
  1364. end
  1365. end
  1366.  
  1367. function chatfunc(text)
  1368. local chat = coroutine.wrap(function()
  1369. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1370. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1371. end
  1372. local Bill = Instance.new("BillboardGui",Character)
  1373. Bill.Size = UDim2.new(0,100,0,40)
  1374. Bill.StudsOffset = Vector3.new(0,3,0)
  1375. Bill.Adornee = Character.Head
  1376. Bill.Name = "TalkingBillBoard"
  1377. local Hehe = Instance.new("TextLabel",Bill)
  1378. Hehe.BackgroundTransparency = 1
  1379. Hehe.BorderSizePixel = 0
  1380. Hehe.Text = ""
  1381. Hehe.Font = "Fantasy"
  1382. Hehe.TextSize = 40
  1383. Hehe.TextStrokeTransparency = 0
  1384. Hehe.Size = UDim2.new(1,0,0.5,0)
  1385. coroutine.resume(coroutine.create(function()
  1386. while Hehe ~= nil do
  1387. wait()
  1388. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1389. Hehe.Rotation = math.random(-5,5)
  1390. Hehe.TextColor3 = Color3.new(3,9,2)
  1391. Hehe.TextStrokeColor3 = Color3.new(255,255,0)
  1392. end
  1393. end))
  1394. for i = 1,string.len(text),1 do
  1395. wait()
  1396. Hehe.Text = string.sub(text,1,i)
  1397. end
  1398. wait(3)--Re[math.random(1, 93)]
  1399. for i = 0, 1, .025 do
  1400. wait()
  1401. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1402. Hehe.TextStrokeTransparency = i
  1403. Hehe.TextTransparency = i
  1404. end
  1405. Bill:Destroy()
  1406. end)
  1407. chat()
  1408. end
  1409.  
  1410. function onChatted(msg)
  1411. chatfunc(msg)
  1412. end
  1413.  
  1414. Player.Chatted:connect(onChatted)
  1415.  
  1416.  
  1417. Humanoid.Parent = nil
  1418. RootPart.Size = RootPart.Size*SIZE
  1419. Torso.Size = Torso.Size*SIZE
  1420. RightArm.Size = RightArm.Size*SIZE
  1421. RightLeg.Size = RightLeg.Size*SIZE
  1422. LeftArm.Size = LeftArm.Size*SIZE
  1423. LeftLeg.Size = LeftLeg.Size*SIZE
  1424. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1425. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1426. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1427. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1428. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1429. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1430. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1431. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1432. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1433. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1434. Head.Size = Head.Size*SIZE
  1435. RootJoint.Parent = RootPart
  1436. Neck.Parent = Torso
  1437. RightShoulder.Parent = Torso
  1438. LeftShoulder.Parent = Torso
  1439. RightHip.Parent = Torso
  1440. LeftHip.Parent = Torso
  1441.  
  1442. Humanoid.DisplayDistanceType = "None"
  1443. local top = Instance.new("Shirt")
  1444. top.ShirtTemplate = "rbxassetid://45695443"
  1445. top.Parent = Character
  1446. top.Name = "Cloth"
  1447. local bottom = Instance.new("Pants")
  1448. bottom.PantsTemplate = "rbxassetid://45696190"
  1449. bottom.Parent = Character
  1450. bottom.Name = "Cloth"
  1451.  
  1452. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size))
  1453. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1454. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.07*Player_Size,1.07*Player_Size,1.07*Player_Size))
  1455. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1456. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(1.07*Player_Size,0.5*Player_Size,1.07*Player_Size))
  1457. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, 0.85 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1458. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size,1.07*Player_Size))
  1459. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1460. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.7*Player_Size,0.5*Player_Size,1.07*Player_Size))
  1461. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1462. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.5*Player_Size,1.5*Player_Size, 0.5*Player_Size))
  1463. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.35 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1464. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.5*Player_Size,1.5*Player_Size, 0.5*Player_Size))
  1465. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.35 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1466. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size, 1.2*Player_Size))
  1467. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1468.  
  1469. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2*Player_Size,0.2*Player_Size, 0.2*Player_Size))
  1470. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.12 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), CF(0, 0, 0))
  1471. local mesh = IT("SpecialMesh",part)
  1472. mesh.MeshType = "FileMesh"
  1473. mesh.MeshId = "http://www.roblox.com/asset/?id=55821108"
  1474.  
  1475. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2*Player_Size,0.2*Player_Size, 0.2*Player_Size))
  1476. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.12 * Player_Size, 0.75 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1477. local mesh = IT("SpecialMesh",part)
  1478. mesh.MeshType = "FileMesh"
  1479. mesh.MeshId = "http://www.roblox.com/asset/?id=55820516"
  1480.  
  1481. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Lavender", "Handle", VT(0.35*Player_Size,0.35*Player_Size, 1.25*Player_Size))
  1482. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1483. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size, 1.2*Player_Size))
  1484. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1485. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(1.1*Player_Size,0.2*Player_Size, 1.1*Player_Size))
  1486. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1487. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(1.15*Player_Size,0.05*Player_Size, 1.15*Player_Size))
  1488. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1489. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(1*Player_Size,0.1*Player_Size,1*Player_Size))
  1490. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1491. local mesh = IT("CylinderMesh",part)
  1492.  
  1493. local beampart = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(0.6*Player_Size,0.1*Player_Size,0.6*Player_Size))
  1494. local weld = CreateWeldOrSnapOrMotor("Weld", beampart, LeftArm, beampart, CF(0 * Player_Size, -1.02 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1495. local mesh = IT("CylinderMesh",beampart)
  1496.  
  1497. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  1498. PRT.Color = C3(0,0,0)
  1499. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1500. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1501. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  1502. PRT.Color = C3(0,0,0)
  1503. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1504. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1505. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  1506. PRT.Color = C3(255/255, 255/255, 0/255)
  1507. MakeForm(PRT,"Ball")
  1508. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1509. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  1510. PRT.Color = C3(255/255, 0/255, 0/255)
  1511. MakeForm(PRT,"Ball")
  1512. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  1513. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1514. PRT.Color = C3(255/255, 255/255, 0/255)
  1515. MakeForm(PRT,"Ball")
  1516. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1517. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1518. PRT.Color = C3(255/255, 255/255, 0/255)
  1519. MakeForm(PRT,"Ball")
  1520. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1521. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1522. PRT.Color = C3(255/255, 0/255, 0/255)
  1523. MakeForm(PRT,"Ball")
  1524. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  1525. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1526. PRT.Color = C3(255/255, 0/255, 0/255)
  1527. MakeForm(PRT,"Ball")
  1528. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  1529.  
  1530. local LASTPART = Head
  1531. for i = 1, 24 do
  1532. local MATH = (1-(i/30))
  1533. if LASTPART == Head then
  1534. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1535. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  1536. LASTPART = Horn
  1537. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1538. else
  1539. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1540. 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))
  1541. LASTPART = Horn
  1542. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1543. end
  1544. end
  1545. local LASTPART = Head
  1546. for i = 1, 24 do
  1547. local MATH = (1-(i/30))
  1548. if LASTPART == Head then
  1549. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1550. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  1551. LASTPART = Horn
  1552. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1553. else
  1554. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1555. 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))
  1556. LASTPART = Horn
  1557. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1558. end
  1559. end
  1560. local LASTPART = Head
  1561. for i = 1, 8 do
  1562. local MATH = (1-(i/14))
  1563. if LASTPART == Head then
  1564. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1565. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  1566. LASTPART = Horn
  1567. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1568. else
  1569. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1570. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1571. LASTPART = Horn
  1572. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1573. end
  1574. end
  1575. local LASTPART = Head
  1576. for i = 1, 8 do
  1577. local MATH = (1-(i/14))
  1578. if LASTPART == Head then
  1579. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1580. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1581. LASTPART = Horn
  1582. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1583. else
  1584. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1585. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1586. LASTPART = Horn
  1587. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  1588. end
  1589. end
  1590. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1591. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1592. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1593. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1594. MakeForm(PRT,"Cyl")
  1595. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1596. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1597. MakeForm(PRT,"Cyl")
  1598. PRT.Color = C3(255/255, 0/255, 0/255)
  1599. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1600. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1601. MakeForm(RING,"Cyl")
  1602. RING.Color = C3(0,0,0)
  1603. for i = 1, 12 do
  1604. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0)*SIZE,false)
  1605. PRT.Color = C3(0,0,0)
  1606. local MSH = IT("BlockMesh",PRT)
  1607. MSH.Scale = VT(0.6,1,1)
  1608. 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))
  1609. end
  1610. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1611. PRT.Color = C3(0,0,0)
  1612. local MSH = IT("BlockMesh",PRT)
  1613. MSH.Scale = VT(0.4,1,1)
  1614. 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))
  1615. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1616. PRT.Color = C3(0,0,0)
  1617. local MSH = IT("BlockMesh",PRT)
  1618. MSH.Scale = VT(0.4,1,1)
  1619. 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))
  1620. coroutine.resume(coroutine.create(function()
  1621. while true do
  1622. Swait()
  1623. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1624. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1625. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1626. if CLOCKLOOP <= -150 then
  1627. if VALUE1 == false then
  1628. CLOCKLOOP = 0
  1629. 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(255/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
  1630. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1631. ApplyAoE(HITPOS,10,15,45,75,false)
  1632. 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(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1633. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1634. if CLOCKTARGET ~= nil then
  1635. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1636. if CLOCKTARGET.Torso ~= nil then
  1637. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1638. end
  1639. if CLOCKTARGET.Health == 0 then
  1640. CLOCKTARGET = nil
  1641. end
  1642. end
  1643. end
  1644. end
  1645. end
  1646. end))
  1647.  
  1648. for _, c in pairs(Weapon:GetChildren()) do
  1649. if c.ClassName == "Part" then
  1650. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1651. end
  1652. end
  1653.  
  1654. Neck.Name = "Weld"
  1655. RootJoint.Name = "Weld"
  1656. RightShoulder.Name = "Weld"
  1657. LeftShoulder.Name = "Weld"
  1658. RightHip.Name = "Weld"
  1659. LeftHip.Name = "Weld"
  1660.  
  1661. local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
  1662. local SKILLFONT = "Fantasy"
  1663. local SKILLTEXTSIZE = 7
  1664.  
  1665. Weapon.Parent = Character
  1666. Humanoid.Parent = Character
  1667.  
  1668. Humanoid.Died:connect(function()
  1669. ATTACK = true
  1670. end)
  1671.  
  1672. --//=================================\\
  1673. --|| DAMAGING
  1674. --\\=================================//
  1675.  
  1676. function CheckTableForString(Table, String)
  1677. for i, v in pairs(Table) do
  1678. if string.find(string.lower(String), string.lower(v)) then
  1679. return true
  1680. end
  1681. end
  1682. return false
  1683. end
  1684.  
  1685. function CheckIntangible(Hit)
  1686. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1687. if Hit and Hit.Parent then
  1688. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1689. return true
  1690. end
  1691. end
  1692. return false
  1693. end
  1694.  
  1695. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1696. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1697. defence.Name = ("HitBy"..Player.Name)
  1698. game:GetService("Debris"):AddItem(defence, 0.001)
  1699. Damage = Damage * DAMAGEMULTIPLIER
  1700. if Humanoid.Health ~= 0 then
  1701. local CritChance = MRANDOM(1,100)
  1702. if Damage > Humanoid.Health then
  1703. Damage = math.ceil(Humanoid.Health)
  1704. if Damage == 0 then
  1705. Damage = 0.1
  1706. end
  1707. end
  1708. Humanoid.Health = Humanoid.Health - Damage
  1709. end
  1710. end
  1711.  
  1712. function MagicSphere2(size,waitt,cframe,color)
  1713. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1714. local mesh = IT("SpecialMesh",wave)
  1715. mesh.MeshType = "Sphere"
  1716. mesh.Scale = VT(size,size,size)
  1717. mesh.Offset = VT(0,0,0)
  1718. wave.CFrame = cframe
  1719. coroutine.resume(coroutine.create(function(PART)
  1720. for i = 1, waitt do
  1721. Swait()
  1722. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1723. wave.Transparency = wave.Transparency - (1/waitt)
  1724. end
  1725. wave:remove()
  1726. end))
  1727. end
  1728.  
  1729. function MagicSphere(size,waitt,cframe,color)
  1730. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1731. local mesh = IT("SpecialMesh",wave)
  1732. mesh.MeshType = "Sphere"
  1733. mesh.Scale = VT(size,size,size)
  1734. mesh.Offset = VT(0,0,0)
  1735. wave.CFrame = cframe
  1736. coroutine.resume(coroutine.create(function(PART)
  1737. for i = 1, waitt do
  1738. Swait()
  1739. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1740. wave.Transparency = wave.Transparency + (1/waitt)
  1741. if wave.Transparency > 0.99 then
  1742. wave:remove()
  1743. end
  1744. end
  1745. end))
  1746. end
  1747.  
  1748. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  1749. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1750. local mesh = IT("SpecialMesh",wave)
  1751. mesh.MeshType = "FileMesh"
  1752. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1753. mesh.Scale = VT(size,size,size)
  1754. wave.CFrame = cframe
  1755. coroutine.resume(coroutine.create(function(PART)
  1756. for i = 1, waitt do
  1757. Swait()
  1758. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1759. if doesrotate == true then
  1760. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1761. end
  1762. wave.Transparency = wave.Transparency + (0.5/waitt)
  1763. if wave.Transparency > 0.99 then
  1764. wave:remove()
  1765. end
  1766. end
  1767. end))
  1768. end
  1769.  
  1770. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1771. local Direction = CFrame.new(StartPos, Vec).lookVector
  1772. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1773. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1774. if RayHit and CheckIntangible(RayHit) then
  1775. if DelayIfHit then
  1776. wait()
  1777. end
  1778. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1779. end
  1780. return RayHit, RayPos, RayNormal
  1781. end
  1782.  
  1783. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1784. local CHILDREN = workspace:GetDescendants()
  1785. for index, CHILD in pairs(CHILDREN) do
  1786. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1787. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1788. if HUM then
  1789. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1790. if TORSO then
  1791. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1792. if INSTAKILL == true then
  1793. CHILD:BreakJoints()
  1794. else
  1795. local DMG = MRANDOM(MINDMG,MAXDMG)
  1796. ApplyDamage(HUM,DMG,TORSO)
  1797. end
  1798. if FLING > 0 then
  1799. for _, c in pairs(CHILD:GetChildren()) do
  1800. if c:IsA("BasePart") then
  1801. local bv = Instance.new("BodyVelocity")
  1802. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1803. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1804. bv.Parent = c
  1805. Debris:AddItem(bv,0.05)
  1806. end
  1807. end
  1808. end
  1809. end
  1810. end
  1811. end
  1812. end
  1813. end
  1814. end
  1815. --//=================================\\
  1816. --|| MODE CHANGING
  1817. --\\=================================//
  1818.  
  1819. function Switch()
  1820. ATTACK = true
  1821. Rooted = true
  1822. if MODE == "Main" then
  1823. for i=0, 0.3, 0.1 / Animation_Speed do
  1824. Swait()
  1825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1829. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1831. end
  1832. for i=0, 1, 0.1 / Animation_Speed do
  1833. Swait()
  1834. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1835. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1836. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1837. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1838. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1839. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1840. end
  1841. CreateSound(363808674, Torso, 6, 1, false)
  1842. for i=0, 0.6, 0.1 / Animation_Speed do
  1843. Swait()
  1844. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1848. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1849. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1850. end
  1851. CreateSound(363808674, Torso, 6, 1, false)
  1852. for i=0, 0.6, 0.1 / Animation_Speed do
  1853. Swait()
  1854. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1858. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1859. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1860. end
  1861. SONG = 1092048938
  1862. CLOCKSPEED = 1.5
  1863. text.Text = "InJustice"
  1864. MODE = "JusticeHorn"
  1865. elseif MODE == "JusticeHorn" then
  1866. CreateSound(147722227, Torso, 4, 1.3, false)
  1867. for i=0, 0.3, 0.1 / Animation_Speed do
  1868. Swait()
  1869. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1870. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1871. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1872. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1873. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1874. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1875. end
  1876. SONG = 1117396305
  1877. CLOCKSPEED = 0
  1878. text.Text = "The Switcher"
  1879. MODE = "Main"
  1880. end
  1881. ATTACK = false
  1882. Rooted = false
  1883. end
  1884.  
  1885. function Switch3()
  1886. ATTACK = true
  1887. Rooted = true
  1888. if MODE == "Main" then
  1889. for i=0, 0.3, 0.1 / Animation_Speed do
  1890. Swait()
  1891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1895. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1896. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1897. end
  1898. for i=0, 1, 0.1 / Animation_Speed do
  1899. Swait()
  1900. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1901. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1902. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1903. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1904. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1905. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1906. end
  1907. CreateSound(363808674, Torso, 6, 1, false)
  1908. for i=0, 0.6, 0.1 / Animation_Speed do
  1909. Swait()
  1910. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1911. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1913. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1914. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1915. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1916. end
  1917. CreateSound(363808674, Torso, 6, 1, false)
  1918. for i=0, 0.6, 0.1 / Animation_Speed do
  1919. Swait()
  1920. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1924. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1925. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1926. end
  1927. SONG = 1873219898
  1928. CLOCKSPEED = 0.3
  1929. text.Text = "Superior"
  1930. MODE = "Superior"
  1931. elseif MODE == "Superior" then
  1932. CreateSound(147722227, Torso, 4, 1.3, false)
  1933. for i=0, 0.3, 0.1 / Animation_Speed do
  1934. Swait()
  1935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1939. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1941. end
  1942. SONG = 1117396305
  1943. CLOCKSPEED = 0
  1944. text.Text = "The Switcher"
  1945. MODE = "Main"
  1946. end
  1947. ATTACK = false
  1948. Rooted = false
  1949. end
  1950.  
  1951. function Switch2()
  1952. ATTACK = true
  1953. Rooted = true
  1954. if MODE == "Main" then
  1955. for i=0, 0.3, 0.1 / Animation_Speed do
  1956. Swait()
  1957. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1961. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1962. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1963. end
  1964. for i=0, 1, 0.1 / Animation_Speed do
  1965. Swait()
  1966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1970. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1972. end
  1973. CreateSound(363808674, Torso, 6, 1, false)
  1974. for i=0, 0.6, 0.1 / Animation_Speed do
  1975. Swait()
  1976. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1977. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1978. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1980. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1981. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1982. end
  1983. CreateSound(363808674, Torso, 6, 1, false)
  1984. for i=0, 0.6, 0.1 / Animation_Speed do
  1985. Swait()
  1986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1990. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1992. end
  1993. SONG = 534861083
  1994. CLOCKSPEED = 0.75
  1995. text.Text = "T0M-YUM"
  1996. MODE = "Maniac"
  1997. elseif MODE == "Maniac" then
  1998. CreateSound(147722227, Torso, 4, 1.3, false)
  1999. for i=0, 0.3, 0.1 / Animation_Speed do
  2000. Swait()
  2001. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2002. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2003. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2004. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2005. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2006. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2007. end
  2008. SONG = 1117396305
  2009. CLOCKSPEED = 0
  2010. text.Text = "The Switcher"
  2011. MODE = "Main"
  2012. end
  2013. ATTACK = false
  2014. Rooted = false
  2015. end
  2016.  
  2017. --//=================================\\
  2018. --|| ATTACK FUNCTIONS AND STUFF
  2019. --\\=================================//
  2020.  
  2021. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  2022. local CHILDREN = workspace:GetDescendants()
  2023. for index, CHILD in pairs(CHILDREN) do
  2024. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2025. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2026. if HUM then
  2027. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2028. if TORSO then
  2029. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  2030. CHILD:BreakJoints()
  2031. if FLING ~= 0 then
  2032. for _, c in pairs(CHILD:GetChildren()) do
  2033. if c:IsA("BasePart") and c.Transparency == 0 then
  2034. if BURN == true then
  2035. Fire(c)
  2036. end
  2037. local bv = Instance.new("BodyVelocity")
  2038. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2039. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2040. bv.Parent = c
  2041. Debris:AddItem(bv,0.05)
  2042. end
  2043. end
  2044. end
  2045. end
  2046. end
  2047. end
  2048. end
  2049. end
  2050. end
  2051.  
  2052. function MagicMissiles()
  2053. ATTACK = true
  2054. Rooted = true
  2055. local SELECTING = true
  2056. local SPOTS = {}
  2057. coroutine.resume(coroutine.create(function()
  2058. local LOOP = 0
  2059. repeat
  2060. LOOP = LOOP + 1
  2061. Swait()
  2062. if LOOP >= 10 then
  2063. LOOP = 0
  2064. for i = 1, #SPOTS do
  2065. if SPOTS[i] ~= nil then
  2066. 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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2067. 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, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2068. end
  2069. end
  2070. end
  2071. 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)
  2072. 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)
  2073. 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)
  2074. 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)
  2075. 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)
  2076. 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)
  2077. until SELECTING == false
  2078. Rooted = false
  2079. repeat
  2080. LOOP = LOOP + 1
  2081. Swait()
  2082. if LOOP >= 10 then
  2083. LOOP = 0
  2084. for i = 1, #SPOTS do
  2085. if SPOTS[i] ~= nil then
  2086. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2087. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2088. end
  2089. end
  2090. end
  2091. 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)
  2092. 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)
  2093. 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)
  2094. 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)
  2095. 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)
  2096. 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)
  2097. until ATTACK == false
  2098. end))
  2099. repeat
  2100. repeat Swait() until HOLD == true
  2101. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2102. if DIST > 1500 then
  2103. DIST = 1500
  2104. end
  2105. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2106. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2107. if HITFLOOR ~= nil then
  2108. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  2109. 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(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  2110. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2111. end
  2112. repeat Swait() until HOLD == false
  2113. until #SPOTS == 1
  2114. chatfunc("Justice rains from above.")
  2115. SELECTING = false
  2116. for i = 1, #SPOTS do
  2117. if SPOTS[i] ~= nil then
  2118. local POS = SPOTS[i]
  2119. coroutine.resume(coroutine.create(function()
  2120. local MISSILE = IT("Model",Effects)
  2121. MISSILE.Name = "Missile"
  2122. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,2,2))
  2123. MakeForm(BASEPART,"Cyl")
  2124. MISSILE.PrimaryPart = BASEPART
  2125. BASEPART.CFrame = POS*CF(0,-30*3,0)
  2126. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,4,2))
  2127. MakeForm(HEAD,"Ball")
  2128. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  2129. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2.5,0.1,2.5))
  2130. MakeForm(TAIL,"Cyl")
  2131. TAIL.CFrame = BASEPART.CFrame*CF(0,1,0)
  2132. for i = 1, 10 do
  2133. Swait()
  2134. for _, c in pairs(MISSILE:GetChildren()) do
  2135. if c.ClassName == "Part" then
  2136. c.Transparency = c.Transparency - 1/10
  2137. end
  2138. end
  2139. end
  2140. for i = 1, 15*1.5 do
  2141. Swait()
  2142. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  2143. end
  2144. ApplyAoE(BASEPART.CFrame.p,40,70,90,150,false)
  2145. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,2,150), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  2146. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  2147. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(44,4,44), 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(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2148. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(40,6,40), 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(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2149. MISSILE:remove()
  2150. end))
  2151. end
  2152. end
  2153. wait(0.8)
  2154. ATTACK = false
  2155. Rooted = false
  2156. end
  2157.  
  2158. function TimesUp()
  2159. CLOCKTARGET = nil
  2160. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2161. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2162. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2163. if TORSO then
  2164. ATTACK = true
  2165. Rooted = false
  2166. coroutine.resume(coroutine.create(function()
  2167. repeat
  2168. Swait()
  2169. 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)
  2170. 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)
  2171. 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)
  2172. 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)
  2173. 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)
  2174. 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)
  2175. until ATTACK == false
  2176. end))
  2177. if Effects:FindFirstChild("NeonDoll") then
  2178. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  2179. end
  2180. wait(0.5)
  2181. local FAKECHARACTER = IT("Model",Effects)
  2182. FAKECHARACTER.Name = "NeonDoll"
  2183. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.3,0.3,0.15),false)
  2184. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  2185. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2186. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  2187. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2188. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  2189. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2190. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  2191. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  2192. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  2193. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.15,0.15),false)
  2194. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2195. CreateSound(201858045, TORS, 5, 0.4, false)
  2196. for i = 1, 150 do
  2197. Swait()
  2198. CLOCKSPEED = 0.5
  2199. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2200. if c.ClassName == "Part" then
  2201. c.Transparency = c.Transparency - 0.5/150
  2202. end
  2203. end
  2204. end
  2205. CLOCKTARGET = HUM
  2206. chatfunc("IT'S TIME TO STOP")
  2207. coroutine.resume(coroutine.create(function()
  2208. repeat Swait() CLOCKSPEED = 5 until CLOCKTARGET == nil
  2209. for i = 1, 25 do
  2210. Swait()
  2211. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  2212. if c.ClassName == "Part" then
  2213. c.Transparency = c.Transparency + 0.5/25
  2214. end
  2215. end
  2216. end
  2217. CLOCKSPEED = 1.5
  2218. FAKECHARACTER:remove()
  2219. end))
  2220. wait(0.5)
  2221. ATTACK = false
  2222. Rooted = false
  2223. end
  2224. end
  2225. end
  2226.  
  2227. function ChainPunch()
  2228. ATTACK = true
  2229. Rooted = false
  2230. local GYRO = IT("BodyGyro",RootPart)
  2231. GYRO.D = 25
  2232. GYRO.P = 2000
  2233. GYRO.MaxTorque = VT(0,40000,0)
  2234. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2235. repeat
  2236. Swait()
  2237. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2238. 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)
  2239. 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)
  2240. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2241. 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)
  2242. 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)
  2243. 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)
  2244. until HOLD == true
  2245. local POS = Mouse.Hit.p
  2246. local CHAINS = false
  2247. local CHAINLINKS = {}
  2248. local A = IT("Attachment",RightArm)
  2249. A.Position = VT(1,-1,0)*SIZE
  2250. A.Orientation = VT(-90, -89.982, 0)
  2251. local B = IT("Attachment",RightArm)
  2252. B.Position = VT(-1,-1,0)*SIZE
  2253. B.Orientation = VT(-90, 89.988, 0)
  2254. local C = IT("Attachment",RightArm)
  2255. C.Position = VT(0.5,-1.3,0)*SIZE
  2256. C.Orientation = VT(-90, -89.982, 0)
  2257. local D = IT("Attachment",RightArm)
  2258. D.Position = VT(-0.5,-1.3,0)*SIZE
  2259. D.Orientation = VT(-90, 89.988, 0)
  2260. local LIGHT = IT("Attachment",RightArm)
  2261. LIGHT.Position = VT(0,-1,0)*SIZE
  2262. local LIGHT2 = IT("PointLight",LIGHT)
  2263. LIGHT2.Range = 7
  2264. LIGHT2.Brightness = 5
  2265. LIGHT2.Color = C3(255/255, 255/255, 0/255)
  2266. for i = 1, 2 do
  2267. local TWIST = -2
  2268. local START = A
  2269. local END = B
  2270. if i == 1 then
  2271. START = B
  2272. END = A
  2273. end
  2274. local ChainLink = IT("Beam",Torso)
  2275. ChainLink.Texture = "rbxassetid://73042633"
  2276. ChainLink.Color = ColorSequence.new(C3(255/255, 255/255, 0/255))
  2277. ChainLink.TextureSpeed = 1
  2278. ChainLink.Width0 = 1
  2279. ChainLink.Width1 = 1
  2280. ChainLink.TextureLength = 2.5
  2281. ChainLink.Attachment0 = START
  2282. ChainLink.Attachment1 = END
  2283. ChainLink.CurveSize0 = TWIST
  2284. ChainLink.CurveSize1 = TWIST
  2285. --ChainLink.FaceCamera = true
  2286. ChainLink.Segments = 45
  2287. ChainLink.Transparency = NumberSequence.new(1)
  2288. table.insert(CHAINLINKS,ChainLink)
  2289. end
  2290. for i = 1, 2 do
  2291. local TWIST = -1
  2292. local START = C
  2293. local END = D
  2294. if i == 1 then
  2295. START = D
  2296. END = C
  2297. end
  2298. local ChainLink = IT("Beam",Torso)
  2299. ChainLink.Texture = "rbxassetid://73042633"
  2300. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2301. ChainLink.TextureSpeed = 1
  2302. ChainLink.Width0 = 1
  2303. ChainLink.Width1 = 1
  2304. ChainLink.TextureLength = 5
  2305. ChainLink.Attachment0 = START
  2306. ChainLink.Attachment1 = END
  2307. ChainLink.CurveSize0 = TWIST
  2308. ChainLink.CurveSize1 = TWIST
  2309. --ChainLink.FaceCamera = true
  2310. ChainLink.Segments = 25
  2311. ChainLink.LightEmission = 0.5
  2312. ChainLink.Transparency = NumberSequence.new(1)
  2313. table.insert(CHAINLINKS,ChainLink)
  2314. end
  2315. coroutine.resume(coroutine.create(function()
  2316. repeat
  2317. chatfunc("SMASH!!!")
  2318. Swait()
  2319. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2320. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2321. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2322. 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)
  2323. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2324. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2325. until CHAINS == true
  2326. repeat
  2327. Swait()
  2328. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2329. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2330. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2331. 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)
  2332. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2333. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2334. until ATTACK == false
  2335. for e = 1, 15 do
  2336. Swait()
  2337. for i = 1, #CHAINLINKS do
  2338. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2339. end
  2340. end
  2341. A:remove()
  2342. B:remove()
  2343. C:remove()
  2344. D:remove()
  2345. end))
  2346. CreateSound(233856115, RightArm, 5, 1.2, false)
  2347. for e = 1, 15 do
  2348. Swait()
  2349. for i = 1, #CHAINLINKS do
  2350. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2351. end
  2352. end
  2353. CHAINS = true
  2354. Rooted = true
  2355. wait(0.25)
  2356. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
  2357. FIST.Color = C3(1, 215/255, 1)
  2358. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2359. local LIGHT3 = IT("PointLight",FIST)
  2360. LIGHT3.Range = 7
  2361. LIGHT3.Brightness = 5
  2362. LIGHT3.Color = C3(255/255, 0/255, 0/255)
  2363. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2364. local FISTA = IT("Attachment",FIST)
  2365. FISTA.Position = VT(0.062, 0.977, 0)
  2366. local ChainLink = IT("Beam",Torso)
  2367. ChainLink.Texture = "rbxassetid://73042633"
  2368. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2369. ChainLink.TextureSpeed = 0
  2370. ChainLink.Width0 = 3
  2371. ChainLink.Width1 = 3
  2372. ChainLink.TextureLength = 12
  2373. ChainLink.Attachment0 = LIGHT
  2374. ChainLink.Attachment1 = FISTA
  2375. ChainLink.FaceCamera = true
  2376. ChainLink.Segments = 45
  2377. ChainLink.LightEmission = 0.5
  2378. ChainLink.Transparency = NumberSequence.new(0.25)
  2379. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2380. for i = 1, 85 do
  2381. Swait()
  2382. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2383. ChainLink.TextureLength = 12+(i*2)
  2384. ApplyAoE(FIST.Position,10,15,25,100,false)
  2385. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(2, 9, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2386. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2387. if HITFLOOR ~= nil then
  2388. HITFLOOR:BreakJoints()
  2389. coroutine.resume(coroutine.create(function()
  2390. for i = 1, 15 do
  2391. Swait()
  2392. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2393. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2394. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(2, 9, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2395. end
  2396. end))
  2397. break
  2398. end
  2399. end
  2400. coroutine.resume(coroutine.create(function()
  2401. for i = 1, 50 do
  2402. Swait()
  2403. FIST.Transparency = FIST.Transparency + 0.5/50
  2404. LIGHT3.Range = LIGHT3.Range - 300/500
  2405. end
  2406. FIST:remove()
  2407. end))
  2408. LIGHT:remove()
  2409. GYRO:remove()
  2410. ATTACK = false
  2411. Rooted = false
  2412. end
  2413.  
  2414. function WarpMeteor()
  2415. chatfunc("Meteor Strike..")
  2416. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2417. if DIST > 180 then
  2418. DIST = 180
  2419. end
  2420. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2421. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  2422. if HITFLOOR then
  2423. local POS = HITPOS
  2424. ATTACK = true
  2425. Rooted = true
  2426. local WARPED = false
  2427. local SMASHED = false
  2428. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2429. coroutine.resume(coroutine.create(function()
  2430. repeat
  2431. Swait()
  2432. 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)
  2433. 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)
  2434. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2435. 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)
  2436. 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)
  2437. 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)
  2438. until WARPED == true
  2439. repeat
  2440. Swait()
  2441. 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)
  2442. 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)
  2443. RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2444. 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)
  2445. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*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)
  2446. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*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)
  2447. until SMASHED == true
  2448. repeat
  2449. Swait()
  2450. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2451. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  2452. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2453. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2454. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2455. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2456. until ATTACK == false
  2457. end))
  2458. VALUE1 = true
  2459. CreateSound(233856115, Torso, 5, 1.6, false)
  2460. for i = 1, 25 do
  2461. Swait()
  2462. for _, c in pairs(Character:GetChildren()) do
  2463. if c.ClassName == "Part" then
  2464. c.Transparency = c.Transparency + 1/25
  2465. end
  2466. end
  2467. for _, c in pairs(Weapon:GetChildren()) do
  2468. if c.ClassName == "Part" then
  2469. c.Transparency = c.Transparency + 1/25
  2470. end
  2471. end
  2472. end
  2473. UNANCHOR = false
  2474. RootPart.Anchored = true
  2475. RootPart.Velocity = VT(0,0,0)
  2476. local ROOTPOS = RootPart.Position
  2477. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2478. WARPED = true
  2479. for i = 1, 25 do
  2480. Swait()
  2481. for _, c in pairs(Character:GetChildren()) do
  2482. if c.ClassName == "Part" then
  2483. c.Transparency = c.Transparency - 1/25
  2484. end
  2485. end
  2486. for _, c in pairs(Weapon:GetChildren()) do
  2487. if c.ClassName == "Part" then
  2488. c.Transparency = c.Transparency - 1/25
  2489. end
  2490. end
  2491. end
  2492. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
  2493. SHELL.CFrame = RootPart.CFrame
  2494. MakeForm(SHELL,"Ball")
  2495. CreateSound(402981977, SHELL, 5, 1.6, false)
  2496. for i = 1, 10 do
  2497. Swait()
  2498. SHELL.Transparency = SHELL.Transparency - 1/10
  2499. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2500. end
  2501. for i = 1, math.ceil(75/2) do
  2502. Swait()
  2503. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2504. SHELL.CFrame = CF(RootPart.Position)
  2505. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(45,43,45), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2506. end
  2507. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2508. SHELL.CFrame = CF(RootPart.Position)
  2509. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(75,55,75)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2510. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(65,43,65)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2511. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(65,43,65)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2512. for i = 1, 5 do
  2513. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(75,43,75)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2514. end
  2515. SHELL:remove()
  2516. ApplyAoE(RootPart.Position,115,75,115,215,false)
  2517. SMASHED = true
  2518. wait(1)
  2519. VALUE1 = false
  2520. UNANCHOR = true
  2521. ATTACK = false
  2522. Rooted = false
  2523. end
  2524. end
  2525.  
  2526. function PandorasBox()
  2527. chatfunc("What's Inside The Box")
  2528. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2529. if HITFLOOR ~= nil then
  2530. ATTACK = true
  2531. Rooted = true
  2532. local RINGSPIN = true
  2533. local CONSTRUCTING = true
  2534. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  2535. RING.Color = C3(0,0,0)
  2536. MakeForm(RING,"Cyl")
  2537. RING.CFrame = CF(HITPOS)
  2538. CreateSound(402981977, RING, 5, 1.2, false)
  2539. coroutine.resume(coroutine.create(function()
  2540. repeat
  2541. Swait()
  2542. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2543. 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)
  2544. 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)
  2545. 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)
  2546. 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)
  2547. 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)
  2548. 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)
  2549. until CONSTRUCTING == false
  2550. repeat
  2551. Swait()
  2552. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2553. until RINGSPIN == false
  2554. for i = 1, 25 do
  2555. Swait()
  2556. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2557. RING.Size = RING.Size - VT(0.15,0,0.15)
  2558. --DECAL.Transparency = DECAL.Transparency + 1/25
  2559. RING.Transparency = RING.Transparency + 1/25
  2560. end
  2561. RING:remove()
  2562. end))
  2563. for i = 1, 15 do
  2564. Swait()
  2565. RING.Size = RING.Size + VT(0.75,0,0.75)
  2566. RING.Transparency = RING.Transparency - 1/15
  2567. end
  2568. local BOXSPIN = true
  2569. local PANDORASBOX = IT("Model",Effects)
  2570. PANDORASBOX.Name = "Pandora's Box"
  2571. local BOX = IT("Model",PANDORASBOX)
  2572. BOX.Name = "Body"
  2573. local LID = IT("Model",PANDORASBOX)
  2574. LID.Name = "Lid"
  2575. --BUILDING THE BOX--
  2576. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  2577. BASE.Color = C3(0,0,0)
  2578. PANDORASBOX.PrimaryPart = BASE
  2579. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2580. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2581. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2582. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2583. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2584. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2585. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2586. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  2587. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2588. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2589. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2590. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2591. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2592. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2593. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2594. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2595. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2596. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2597. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2598. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2599. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2600. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2601. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2602. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2603. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2604. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2605. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2606. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  2607. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2608. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2609. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2610. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  2611. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2612. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2613. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2614. -------------
  2615. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  2616. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2617. LID.PrimaryPart = LIDPART
  2618. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2619. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2620. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  2621. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2622. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2623. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2624. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  2625. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2626. local DECAL = IT("Decal",LIDPART)
  2627. DECAL.Face = "Top"
  2628. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2629. DECAL.Color3 = C3(0,0,0)
  2630. --BUILDING THE BOX--
  2631. coroutine.resume(coroutine.create(function()
  2632. repeat
  2633. Swait()
  2634. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2635. until BOXSPIN == false
  2636. end))
  2637. for i = 1, 25 do
  2638. Swait()
  2639. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2640. end
  2641. wait(0.5)
  2642. BOXSPIN = false
  2643. CONSTRUCTING = false
  2644. coroutine.resume(coroutine.create(function()
  2645. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  2646. --[[for i = 1, 45 do
  2647. Swait()
  2648. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2649. end-
  2650. LID:remove()]]--
  2651. for _, c in pairs(LID:GetChildren()) do
  2652. if c.ClassName == "Part" then
  2653. c.Anchored = false
  2654. c.CanCollide = true
  2655. if c ~= LIDPART then
  2656. weldBetween(LIDPART,c)
  2657. end
  2658. end
  2659. end
  2660. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2661. Debris:AddItem(LID,15)
  2662. wait(0.5)
  2663. local RANDOMEFFECT = MRANDOM(1,4)
  2664. if RANDOMEFFECT == 1 then
  2665. for i = 1, 45 do
  2666. wait((2-(i/15))/15)
  2667. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  2668. end
  2669. wait(1)
  2670. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2671. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  2672. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2673. for i = 1, 5 do
  2674. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2675. end
  2676. ApplyAoE(BASE.Position,50,1,200,375,false)
  2677. ApplyAoE(BASE.Position,250,35,75,175,false)
  2678. elseif RANDOMEFFECT == 2 then
  2679. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  2680. FIELD.CFrame = BASE.CFrame
  2681. MakeForm(FIELD,"Ball")
  2682. for i = 1, 50 do
  2683. Swait()
  2684. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2685. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2686. end
  2687. wait(0.2)
  2688. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2689. coroutine.resume(coroutine.create(function()
  2690. for i = 1, 75 do
  2691. Swait()
  2692. LOOP.Volume = LOOP.Volume + 10/75
  2693. LOOP.Parent = FIELD
  2694. local CHILDREN = workspace:GetDescendants()
  2695. for index, CHILD in pairs(CHILDREN) do
  2696. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2697. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2698. if HUM then
  2699. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2700. if TORSO then
  2701. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2702. HUM.Health = HUM.Health - 0.1
  2703. TORSO.Velocity = VT(0,5,0)
  2704. HUM.PlatformStand = true
  2705. if TORSO.RotVelocity.Magnitude < 15 then
  2706. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2707. end
  2708. end
  2709. end
  2710. end
  2711. end
  2712. end
  2713. FIELD.Size = FIELD.Size + VT(3,3,3)
  2714. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2715. end
  2716. for i = 1, 500 do
  2717. Swait()
  2718. LOOP.Parent = FIELD
  2719. local CHILDREN = workspace:GetDescendants()
  2720. for index, CHILD in pairs(CHILDREN) do
  2721. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2722. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2723. if HUM then
  2724. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2725. if TORSO then
  2726. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2727. TORSO.Velocity = VT(0,5,0)
  2728. HUM.Health = HUM.Health - 0.1
  2729. HUM.PlatformStand = true
  2730. if TORSO.RotVelocity.Magnitude < 15 then
  2731. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2732. end
  2733. end
  2734. end
  2735. end
  2736. end
  2737. end
  2738. end
  2739. for i = 1, 25 do
  2740. Swait()
  2741. LOOP.Volume = LOOP.Volume + 10/25
  2742. LOOP.Parent = FIELD
  2743. local CHILDREN = workspace:GetDescendants()
  2744. for index, CHILD in pairs(CHILDREN) do
  2745. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2746. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2747. if HUM then
  2748. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2749. if TORSO then
  2750. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2751. TORSO.Velocity = VT(0,5,0)
  2752. HUM.Health = HUM.Health - 0.1
  2753. HUM.PlatformStand = false
  2754. if TORSO.RotVelocity.Magnitude < 15 then
  2755. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2756. end
  2757. end
  2758. end
  2759. end
  2760. end
  2761. end
  2762. FIELD.Size = FIELD.Size - VT(3,3,3)
  2763. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2764. end
  2765. FIELD:remove()
  2766. end))
  2767. elseif RANDOMEFFECT == 3 then
  2768. for i = 1, 10 do
  2769. wait(0.15)
  2770. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  2771. coroutine.resume(coroutine.create(function()
  2772. local MINION = CLONE:Clone()
  2773. MINION.Parent = Effects
  2774. MINION.Name = "Shadow"
  2775. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2776. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2777. for _, c in pairs(MINION:GetChildren()) do
  2778. if c.ClassName == "Part" then
  2779. c.Material = "Neon"
  2780. c.Color = C3(0,0,0)
  2781. c.Transparency = 0.25
  2782. if c.Name == "Head" then
  2783. c:ClearAllChildren()
  2784. local MSH = IT("BlockMesh",c)
  2785. MSH.Scale = VT(0.5,1,1)
  2786. end
  2787. end
  2788. end
  2789. local TORSO = MINION.Torso
  2790. local HUMAN = MINION.Humanoid
  2791. HUMAN.WalkSpeed = 20
  2792. HUMAN.MaxHealth = math.huge
  2793. HUMAN.Health = math.huge
  2794. HUMAN.DisplayDistanceType = "None"
  2795. HUMAN.Died:connect(function()
  2796. MINION:remove()
  2797. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2798. end)
  2799. wait(1)
  2800. local findNearestTorso = function(POS)
  2801. local list = game.Workspace:GetDescendants()
  2802. local torso = nil
  2803. local dist = 500
  2804. local temp = nil
  2805. local human = nil
  2806. local temp2 = nil
  2807. for x = 1, #list do
  2808. temp2 = list[x]
  2809. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2810. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2811. human = temp2:findFirstChildOfClass("Humanoid")
  2812. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2813. if (temp.Position - POS).magnitude < dist then
  2814. torso = temp
  2815. dist = (temp.Position - POS).magnitude
  2816. end
  2817. end
  2818. end
  2819. end
  2820. return torso, dist
  2821. end
  2822. for i = 1, 40 do
  2823. if HUMAN.Health == 0 then
  2824. break
  2825. end
  2826. wait(0.3)
  2827. local target,dist= findNearestTorso(TORSO.Position)
  2828. if target then
  2829. HUMAN:MoveTo(target.Position)
  2830. if dist < 25 then
  2831. CreateSound(348663022, TORSO, 10, 1, true)
  2832. wait(2)
  2833. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2834. --ANIM:Play()
  2835. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2836. ApplyAoE(TORSO.Position,10,0,0,85,true)
  2837. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  2838. for i = 1, 5 do
  2839. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2840. end
  2841. break
  2842. end
  2843. end
  2844. end
  2845. MINION:remove()
  2846. end))
  2847. end
  2848. elseif RANDOMEFFECT == 4 then
  2849. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2850. FIELD.Color = C3(0,0,0)
  2851. FIELD.CFrame = BASE.CFrame
  2852. MakeForm(FIELD,"Ball")
  2853. FIELD.CanCollide = true
  2854. for i = 1, 50 do
  2855. Swait()
  2856. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2857. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2858. end
  2859. wait(0.2)
  2860. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2861. coroutine.resume(coroutine.create(function()
  2862. local E = 0
  2863. for i = 1, 75 do
  2864. E = E + 1
  2865. Swait()
  2866. if E >= 35 then
  2867. E = 0
  2868. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2869. end
  2870. LOOP.Volume = LOOP.Volume + 10/75
  2871. LOOP.Parent = FIELD
  2872. local CHILDREN = workspace:GetDescendants()
  2873. for index, CHILD in pairs(CHILDREN) do
  2874. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2875. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2876. if HUM then
  2877. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2878. if TORSO then
  2879. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2880. for _, c in pairs(CHILD:GetChildren()) do
  2881. if c:IsA("BasePart") then
  2882. local bv = Instance.new("BodyVelocity")
  2883. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2884. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2885. bv.Parent = c
  2886. Debris:AddItem(bv,0.05)
  2887. end
  2888. end
  2889. HUM.Health = HUM.Health - 0.3
  2890. end
  2891. end
  2892. end
  2893. end
  2894. end
  2895. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2896. end
  2897. for i = 1, 180 do
  2898. E = E + 1
  2899. Swait()
  2900. if E >= 35 then
  2901. E = 0
  2902. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2903. end
  2904. LOOP.Parent = FIELD
  2905. local CHILDREN = workspace:GetDescendants()
  2906. for index, CHILD in pairs(CHILDREN) do
  2907. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2908. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2909. if HUM then
  2910. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2911. if TORSO then
  2912. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2913. for _, c in pairs(CHILD:GetChildren()) do
  2914. if c:IsA("BasePart") then
  2915. local bv = Instance.new("BodyVelocity")
  2916. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2917. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2918. bv.Parent = c
  2919. Debris:AddItem(bv,0.05)
  2920. end
  2921. end
  2922. HUM.Health = HUM.Health - 0.3
  2923. end
  2924. end
  2925. end
  2926. end
  2927. end
  2928. end
  2929. ApplyAoE(FIELD.Position,40,15,20,375,false)
  2930. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  2931. for i = 1, 5 do
  2932. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2933. end
  2934. FIELD:remove()
  2935. end))
  2936. elseif RANDOMEFFECT == 5 then
  2937. end
  2938. wait(0.5)
  2939. for i = 1, 25 do
  2940. Swait()
  2941. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2942. end
  2943. PANDORASBOX:remove()
  2944. RINGSPIN = false
  2945. end))
  2946. ATTACK = false
  2947. Rooted = false
  2948. end
  2949. end
  2950.  
  2951. function TimeSweep()
  2952. ATTACK = true
  2953. Rooted = false
  2954. for i=0, 0.5, 0.1 / Animation_Speed do
  2955. Swait()
  2956. 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)
  2957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  2958. end
  2959. for e = 1, #BODY do
  2960. if BODY[e] ~= nil then
  2961. local STUFF = BODY[e]
  2962. local PART = STUFF[1]
  2963. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2964. local PRT = PART:Clone()
  2965. PRT.Anchored = true
  2966. PRT.CanCollide = false
  2967. PRT.Material = "Neon"
  2968. PRT.Color = C3(1,0,0)
  2969. PRT.Name = "WarpEffect"
  2970. PRT.Parent = Effects
  2971. PRT.CFrame = PART.CFrame
  2972. PRT:BreakJoints()
  2973. if PRT:FindFirstChildOfClass("Sound") then
  2974. PRT:FindFirstChildOfClass("Sound"):remove()
  2975. end
  2976. if PRT:FindFirstChildOfClass("Decal") then
  2977. PRT:FindFirstChildOfClass("Decal"):remove()
  2978. end
  2979. coroutine.resume(coroutine.create(function()
  2980. for i = 1, 100 do
  2981. Swait()
  2982. PRT.Transparency = PRT.Transparency + 1/100
  2983. end
  2984. PRT:remove()
  2985. end))
  2986. end
  2987. end
  2988. end
  2989. local POS = RootPart.Orientation
  2990. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2991. RootPart.Orientation = POS
  2992. RootJoint.Parent = RootPart
  2993. for i=0, 0.5, 0.1 / Animation_Speed do
  2994. Swait()
  2995. 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)
  2996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  2997. end
  2998. for i=0, 0.1, 0.1 / Animation_Speed do
  2999. Swait()
  3000. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  3001. end
  3002. ATTACK = false
  3003. Rooted = false
  3004. end
  3005.  
  3006. function Taunt()
  3007. chatfunc("Just don't bore me yeah")
  3008. ATTACK = true
  3009. Rooted = true
  3010. local TAUNT = CreateSound(159882635, Torso,17, 1, false)
  3011. repeat
  3012. Swait()
  3013. TAUNT.Parent = Torso
  3014. TAUNT.Playing = true
  3015. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3016. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  3017. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.5*SIZE, -0.45*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3018. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.15*SIZE, -0.45*SIZE) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3019. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3020. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3021. until TAUNT.TimePosition >= 1.25
  3022. for i=0, 1.6, 0.1 / Animation_Speed do
  3023. Swait()
  3024. TAUNT.Parent = Torso
  3025. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  3026. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  3027. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.5*SIZE, -0.45*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3028. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.15*SIZE, -0.45*SIZE) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3029. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3030. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3031. end
  3032. ATTACK = false
  3033. Rooted = false
  3034. end
  3035.  
  3036. function Smite()
  3037. local RING, MESH, DELET = MakeRing()
  3038. local POS = Mouse.Hit.p
  3039. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  3040. for i = 1, 45 do
  3041. Swait()
  3042. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  3043. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3044. end
  3045. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  3046. if HITFLOOR then
  3047. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  3048. MakeForm(BEAM, "Cyl")
  3049. local DIST = (RING.Position - HITPOS).Magnitude
  3050. BEAM.Size = VT(0, DIST, 0)
  3051. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  3052. for i = 1, 5 do
  3053. WACKYEFFECT({
  3054. EffectType = "Wave",
  3055. Size = VT(25, 0, 25),
  3056. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  3057. Transparency = 0,
  3058. Transparency2 = 1,
  3059. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  3060. MoveToPos = nil,
  3061. RotationX = 0,
  3062. RotationY = 3,
  3063. RotationZ = 0,
  3064. Material = "Neon",
  3065. Color = C3(0, 0, 0),
  3066. SoundID = nil,
  3067. SoundPitch = nil,
  3068. SoundVolume = nil
  3069. })
  3070. WACKYEFFECT({
  3071. EffectType = "Round Slash",
  3072. Size = VT(3, 0, 3) / 13,
  3073. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  3074. Transparency = 0,
  3075. Transparency2 = 1,
  3076. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  3077. MoveToPos = nil,
  3078. RotationX = 0,
  3079. RotationY = 0,
  3080. RotationZ = 0,
  3081. Material = "Neon",
  3082. Color = C3(1, 0, 0),
  3083. SoundID = nil,
  3084. SoundPitch = nil,
  3085. SoundVolume = nil
  3086. })
  3087. WACKYEFFECT({
  3088. Time = 35,
  3089. EffectType = "Sphere",
  3090. Size = VT(22, 22, 22),
  3091. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  3092. Transparency = 0,
  3093. Transparency2 = 1,
  3094. CFrame = CF(HITPOS),
  3095. MoveToPos = nil,
  3096. RotationX = 0,
  3097. RotationY = 0,
  3098. RotationZ = 0,
  3099. Material = "Neon",
  3100. Color = C3(0, 0, 0),
  3101. SoundID = 459523898,
  3102. SoundPitch = MRANDOM(9, 12) / 10,
  3103. SoundVolume = 10
  3104. })
  3105. end
  3106. SHAKECAM(HITPOS, 100, 8, 15)
  3107. ApplyAoE(HITPOS, 50)
  3108. for i = 1, 25 do
  3109. Swait()
  3110. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  3111. BEAM.Transparency = BEAM.Transparency + 0.04
  3112. end
  3113. BEAM:remove()
  3114. end
  3115. wait(0.2)
  3116. DELET()
  3117. end
  3118.  
  3119. function Earthquake()
  3120. ATTACK = true
  3121. Rooted = true
  3122. local GYRO = IT("BodyGyro", RootPart)
  3123. GYRO.D = 20
  3124. GYRO.P = 4000
  3125. GYRO.MaxTorque = VT(0, 40000, 0)
  3126. local RING, MESH, DELET = MakeRing()
  3127. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  3128. RING.CFrame = CF(HITPOS)
  3129. for i = 0, 0.6, 0.1 / Animation_Speed do
  3130. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  3131. Swait()
  3132. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  3133. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3134. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3135. 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)
  3136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3137. end
  3138. local BLASTS = {468991944, 468991990}
  3139. coroutine.resume(coroutine.create(function()
  3140. local CFRAME = RootPart.CFrame
  3141. for i = 1, 100 do
  3142. CFRAME = CFRAME * CF(0, 0, -35)
  3143. do
  3144. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  3145. if HITFLOOR then
  3146. Swait()
  3147. do
  3148. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  3149. coroutine.resume(coroutine.create(function()
  3150. local RING, MESH, DELET = MakeRing()
  3151. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  3152. for i = 1, 25 do
  3153. Swait()
  3154. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  3155. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3156. end
  3157. ApplyAoE(RING.Position, 65)
  3158. SHAKECAM(RING.Position, 80, 15, 30)
  3159. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  3160. WACKYEFFECT({
  3161. Time = 25,
  3162. EffectType = "Sphere",
  3163. Size = VT(22, 22, 22),
  3164. Size2 = VT(85, 85, 85),
  3165. Transparency = 0,
  3166. Transparency2 = 1,
  3167. CFrame = CF(RING.Position),
  3168. MoveToPos = nil,
  3169. RotationX = 0,
  3170. RotationY = 0,
  3171. RotationZ = 0,
  3172. Material = "Neon",
  3173. Color = C3(0, 0, 0),
  3174. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  3175. SoundPitch = MRANDOM(9, 12) / 10,
  3176. SoundVolume = 10
  3177. })
  3178. for e = 1, 3 do
  3179. WACKYEFFECT({
  3180. EffectType = "Wave",
  3181. Size = VT(25, 0, 25),
  3182. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  3183. Transparency = 0,
  3184. Transparency2 = 1,
  3185. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  3186. MoveToPos = nil,
  3187. RotationX = 0,
  3188. RotationY = 3,
  3189. RotationZ = 0,
  3190. Material = "Neon",
  3191. Color = C3(0, 0, 0),
  3192. SoundID = nil,
  3193. SoundPitch = nil,
  3194. SoundVolume = nil
  3195. })
  3196. WACKYEFFECT({
  3197. Time = 35,
  3198. EffectType = "Sphere",
  3199. Size = VT(22, 45, 22),
  3200. Size2 = VT(25, 45 + e * 75, 25),
  3201. Transparency = 0,
  3202. Transparency2 = 1,
  3203. CFrame = CF(RING.Position) * TURN,
  3204. MoveToPos = nil,
  3205. RotationX = 0,
  3206. RotationY = 0,
  3207. RotationZ = 0,
  3208. Material = "Neon",
  3209. Color = C3(0, 0, 0),
  3210. SoundID = nil,
  3211. SoundPitch = MRANDOM(9, 12) / 10,
  3212. SoundVolume = 10
  3213. })
  3214. end
  3215. wait(0.3)
  3216. DELET()
  3217. end))
  3218. end
  3219. end
  3220. end
  3221. end
  3222. end))
  3223. Rooted = false
  3224. DELET()
  3225. GYRO:remove()
  3226. ATTACK = false
  3227. Rooted = false
  3228. end
  3229.  
  3230. function SpawnSmite(POS)
  3231. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  3232. local EMITPOS = HITPOS
  3233. if HITFLOOR ~= nil then
  3234. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  3235. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  3236. EMITPOS = HITPOS
  3237. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3238. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  3239. EMITPOS = HITPOS
  3240. end
  3241. end
  3242. if HITFLOOR ~= nil then
  3243. ApplyAoE(EMITPOS,10)
  3244. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3245. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3246. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3247. for i = 1, 5 do
  3248. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  3249. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  3250. end
  3251. end
  3252. end
  3253.  
  3254. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  3255. coroutine.resume(coroutine.create(function()
  3256. local METEOR = IT("Model",Effects)
  3257. METEOR.Name = "Meteorite"
  3258. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3259. METEOR.PrimaryPart = CENTER
  3260. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  3261. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3262. for i = 1, 15 do
  3263. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  3264. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3265. end
  3266. if ISDEBREE ~= true then
  3267. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3268. else
  3269. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3270. end
  3271. local IMPACT = false
  3272. CreateSound(463593339, CENTER, 10, 0.6)
  3273. if SIZE >= 3.5 then
  3274. for i = 1, MRANDOM(3,7) do
  3275. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  3276. end
  3277. end
  3278. for i = 1, 200 do
  3279. Swait()
  3280. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  3281. if HITFLOOR == nil then
  3282. local ORI = CENTER.Orientation
  3283. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  3284. else
  3285. if HITFLOOR.Anchored == true then
  3286. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  3287. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  3288. end
  3289. IMPACT = true
  3290. break
  3291. end
  3292. end
  3293. if IMPACT == true then
  3294. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3295. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  3296. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3297. ApplyAoE(CENTER.Position,30*SIZE)
  3298. end
  3299. METEOR:remove()
  3300. end))
  3301. end
  3302.  
  3303. function Smite2()
  3304. ATTACK = true
  3305. Rooted = false
  3306. CreateSound(1368573150, RightArm, 3, 0.8)
  3307. CreateSound(649634100, Torso, 10, 0.8)
  3308. for i=0, 1.2, 0.1 / Animation_Speed do
  3309. Swait()
  3310. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3313. end
  3314. local POS = Mouse.Hit.p
  3315. CreateSound(463593339, Effects, 3, 1)
  3316. coroutine.resume(coroutine.create(function()
  3317. for i = 1, 35 do
  3318. wait(MRANDOM(35,45)/100)
  3319. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  3320. end
  3321. end))
  3322. ATTACK = false
  3323. Rooted = false
  3324. end
  3325.  
  3326. function Taunt()
  3327. ATTACK = true
  3328. Rooted = false
  3329. TAUNT = true
  3330. for i=0, 0.1, 0.1 / Animation_Speed do
  3331. Swait()
  3332. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3333. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3334. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3335. end
  3336. for i=0, 3, 0.1 / Animation_Speed do
  3337. Swait()
  3338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3341. end
  3342. CreateSound(363808674, Torso, 10, 1.3)
  3343. for i=0, 1, 0.1 / Animation_Speed do
  3344. Swait()
  3345. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  3346. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  3347. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3348. end
  3349. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3350. CreateSound(649634100, Torso, 10, 0.8)
  3351. for i=0, 0.01, 0.1 / Animation_Speed do
  3352. Swait()
  3353. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  3354. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3355. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3356. end
  3357. ATTACK = false
  3358. Rooted = false
  3359. TAUNT = false
  3360. end
  3361.  
  3362. function Taunt2()
  3363. ATTACK = true
  3364. Rooted = true
  3365. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  3366. coroutine.resume(coroutine.create(function()
  3367. repeat
  3368. Swait()
  3369. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3370. 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)
  3371. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3372. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.25*SIZE, -0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3373. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3374. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3375. until ATTACK == false
  3376. end))
  3377. repeat wait() until TAUNT.Playing == false
  3378. ATTACK = false
  3379. Rooted = false
  3380. end
  3381.  
  3382. function Prison_Key()
  3383. if Mouse.Target ~= nil then
  3384. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3385. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3386. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3387. local GYRO = IT("BodyGyro",RootPart)
  3388. GYRO.D = 750
  3389. GYRO.P = 20000
  3390. GYRO.MaxTorque = VT(0,40000000,0)
  3391. local grav = Instance.new("BodyPosition",TORSO)
  3392. grav.D = 15
  3393. grav.P = 20000
  3394. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3395. grav.position = TORSO.Position
  3396. local GYRO2 = IT("BodyGyro",TORSO)
  3397. GYRO2.D = 750
  3398. GYRO2.P = 20000
  3399. GYRO2.MaxTorque = VT(0,40000000,0)
  3400. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3401. grav.Name = "Jail"
  3402. local LOCKPARTS = {}
  3403. ATTACK = true
  3404. Rooted = false
  3405. local LOCK = IT("Model",Effects)
  3406. LOCK.Name = "Lock"
  3407. local LOCK2 = IT("Model",LOCK)
  3408. LOCK2.Name = "Metal"
  3409. --CREATE LOCK--
  3410. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  3411. LOCK.PrimaryPart = BASE
  3412. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  3413. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  3414. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  3415. MakeForm(PRT,"Cyl")
  3416. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  3417. PRT.Color = C3(0.58,0.58,0.58)
  3418. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  3419. MakeForm(PRT,"Cyl")
  3420. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  3421. PRT.Color = C3(0.58,0.58,0.58)
  3422. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  3423. for i = 1, 45 do
  3424. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3425. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  3426. end
  3427. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3428. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  3429. LOCK2.PrimaryPart = PRT
  3430. ---------------
  3431. local CHILDREN = LOCK:GetDescendants()
  3432. for index, CHILD in pairs(CHILDREN) do
  3433. if CHILD:IsA("BasePart") then
  3434. CHILD.Transparency = 1
  3435. end
  3436. end
  3437. for i = 1, 75 do
  3438. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  3439. Swait()
  3440. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3441. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3442. local CHILDREN = LOCK:GetDescendants()
  3443. for index, CHILD in pairs(CHILDREN) do
  3444. if CHILD:IsA("BasePart") then
  3445. CHILD.Transparency = CHILD.Transparency - 1/75
  3446. end
  3447. end
  3448. end
  3449. HUM.DisplayDistanceType = "None"
  3450. local KEY = IT("Model",Effects)
  3451. KEY.Name = "Key"
  3452. --CREATE KEY--
  3453. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Black", "KeyBase", VT(0.1, 1, 0.1),false)
  3454. KEY.PrimaryPart = KBASE
  3455. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  3456. local WLD = weldBetween(RightArm,KBASE)
  3457. for i = 1, 45 do
  3458. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.1, 0.1, 0.1),false)
  3459. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  3460. weldBetween(KBASE,PRT)
  3461. end
  3462. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.3, 0.1, 0.1),false)
  3463. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  3464. weldBetween(KBASE,PRT)
  3465. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.3, 0.1, 0.1),false)
  3466. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  3467. weldBetween(KBASE,PRT)
  3468. --------------
  3469. Rooted = true
  3470. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  3471. coroutine.resume(coroutine.create(function()
  3472. for i = 1, 10 do
  3473. Swait()
  3474. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3475. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3476. end
  3477. CreateSound(1149318312,BASE,5,1,false)
  3478. CreateSound(160772554,BASE,3,1,false)
  3479. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  3480. for i = 1, 4 do
  3481. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3482. end
  3483. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3484. wait(1)
  3485. TORSO.Parent.Parent = LOCK
  3486. for i = 1, 75 do
  3487. Swait()
  3488. local CHILDREN = KEY:GetDescendants()
  3489. for index, CHILD in pairs(CHILDREN) do
  3490. if CHILD:IsA("BasePart") then
  3491. CHILD.Transparency = i/25
  3492. end
  3493. end
  3494. local CHILDREN = LOCK:GetDescendants()
  3495. for index, CHILD in pairs(CHILDREN) do
  3496. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  3497. CHILD.Transparency = CHILD.Transparency + 1/75
  3498. elseif CHILD.ClassName == "Decal" then
  3499. CHILD.Transparency = CHILD.Transparency + 1/75
  3500. end
  3501. end
  3502. end
  3503. TORSO.Parent:ClearAllChildren()
  3504. KEY:remove()
  3505. LOCK:remove()
  3506. end))
  3507. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  3508. GYRO:remove()
  3509. ATTACK = false
  3510. Rooted = false
  3511. end
  3512. end
  3513. end
  3514.  
  3515. function Endless_Pain()
  3516. local HITBODIES = {}
  3517. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  3518. if HITFLOOR ~= nil then
  3519. CreateSound("463598785", RootPart, 10, 0.8)
  3520. ATTACK = true
  3521. Rooted = true
  3522. VALUE1 = true
  3523. for i = 1, 500 do
  3524. Swait()
  3525. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  3526. Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0*SIZE, 0.1*SIZE, 0*SIZE), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Mid grey", VT(0.001, 0, 0.001))
  3527. Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0*SIZE, 0.1*SIZE, 0*SIZE), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Mid grey", VT(0, 0, 0))
  3528. 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)
  3529. 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)
  3530. 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)
  3531. 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)
  3532. 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)
  3533. 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)
  3534. for e = 1, #HITBODIES do
  3535. if HITBODIES[e] ~= nil then
  3536. local BOD = HITBODIES[e]
  3537. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  3538. if TORS and TORS:FindFirstChild("BV") == nil then
  3539. local bv = Instance.new("BodyVelocity")
  3540. bv.Name = "BV"
  3541. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3542. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  3543. bv.Parent = TORS
  3544. Debris:AddItem(bv, 0.1)
  3545. end
  3546. end
  3547. end
  3548. end
  3549. coroutine.resume(coroutine.create(function()
  3550. for e = 1, #HITBODIES do
  3551. Swait()
  3552. if HITBODIES[e] ~= nil then
  3553. local BOD = HITBODIES[e]
  3554. for i = 1, #HITBODIES do
  3555. if HITBODIES[i] == BOD and i ~= e then
  3556. table.remove(HITBODIES, i)
  3557. end
  3558. end
  3559. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  3560. if TORS then
  3561. TORS.Anchored = false
  3562. CreateSound("92597369", TORS, 10, 0.8)
  3563. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  3564. BOD:BreakJoints()
  3565. for _, c in pairs(BOD:GetChildren()) do
  3566. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  3567. local bv = Instance.new("BodyVelocity")
  3568. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3569. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  3570. bv.Parent = c
  3571. Debris:AddItem(bv, 0.2)
  3572. end
  3573. end
  3574. end
  3575. end
  3576. end
  3577. end))
  3578. VALUE1 = false
  3579. ATTACK = false
  3580. Rooted = false
  3581. end
  3582. end
  3583.  
  3584. function Inferno_Ring()
  3585. ATTACK = true
  3586. Rooted = false
  3587. local GYRO = IT("BodyGyro",RootPart)
  3588. GYRO.D = 750
  3589. GYRO.P = 20000
  3590. GYRO.MaxTorque = VT(0,40000000,0)
  3591. local FIRE = IT("Model",Effects)
  3592. FIRE.Name = "Fire"
  3593. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "Center", VT(0,0,0))
  3594. FIRE.PrimaryPart = MAIN
  3595. local FIRES = {}
  3596. for i = 1, 45 do
  3597. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "RingPart", VT(3,3,3))
  3598. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  3599. local F = Fire(PRT)
  3600. table.insert(FIRES,F)
  3601. end
  3602. repeat
  3603. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  3604. Pose("Cast1",1.5,0.01,false,GYRO)
  3605. until HOLD == true
  3606. coroutine.resume(coroutine.create(function()
  3607. for i = 1, 4 do
  3608. ApplyAoE(MAIN.Position,21,-15,true)
  3609. CreateSound(463598785,MAIN,3,1,false)
  3610. for E = 1, #FIRES do
  3611. if FIRES[E] ~= nil then
  3612. FIRES[E].Acceleration = VT(0,300,0)
  3613. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  3614. end
  3615. end
  3616. wait(0.3)
  3617. end
  3618. for E = 1, #FIRES do
  3619. if FIRES[E] ~= nil then
  3620. FIRES[E].Enabled = false
  3621. end
  3622. end
  3623. Debris:AddItem(FIRE,5)
  3624. end))
  3625. CreateSound(215395388,RightArm,3,2,false)
  3626. Pose("RightArmUp",1.5,0.5,true)
  3627. GYRO:remove()
  3628. ATTACK = false
  3629. Rooted = false
  3630. end
  3631.  
  3632. function TakeOnMe()
  3633. Speed = 5
  3634. local MEME = CreateSound(1554763595, Effects, 2, 1, false)
  3635. ATTACK = true
  3636. Rooted = false
  3637. local DANCE = true
  3638. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3639. if NEWKEY == "]" then
  3640. DANCE = false
  3641. end
  3642. end)
  3643. PLAYSONG = false
  3644. while true do
  3645. for i = 1, 15 do
  3646. Swait()
  3647. MEME.Parent = Effects
  3648. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + 0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3649. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3650. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3651. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3652. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.6*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3653. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, 0*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3654. end
  3655. if DANCE == false then
  3656. break
  3657. end
  3658. for i = 1, 15 do
  3659. Swait()
  3660. MEME.Parent = Effects
  3661. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + -0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3662. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3663. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3664. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.75*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3665. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, 0*SIZE, -1*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3666. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.6*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3667. end
  3668. end
  3669. PLAYSONG = true
  3670. KEY:Disconnect()
  3671. MEME:remove()
  3672. Speed = 25
  3673. ATTACK = false
  3674. Rooted = false
  3675. end
  3676.  
  3677. function RavagingOverthrower()
  3678. ATTACK = true
  3679. Rooted = true
  3680. for i=0, 1, 0.1 / Animation_Speed do
  3681. Swait()
  3682. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3683. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.4 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3684. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3685. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(30), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3686. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3687. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3688. end
  3689. CreateSound("348663022", Torso, 5, 1)
  3690. local StartPos = RootPart.CFrame * CF(0,15,0).p
  3691. for i = 1, 5 do
  3692. MagicSphere2(25,25,CF(StartPos),"Really black")
  3693. Swait(15)
  3694. end
  3695. local soundeffect = IT("Sound",Torso)
  3696. soundeffect.SoundId = "rbxassetid://487186990"
  3697. soundeffect.Looped = true
  3698. soundeffect.Volume = 3
  3699. soundeffect.Playing = true
  3700. repeat
  3701. turnto(Mouse.Hit.p)
  3702. MagicSphere2(25,25,CF(StartPos),"White")
  3703. MagicSphere(25/10,25,CF(StartPos),"White")
  3704. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  3705. local distance = (StartPos - RayPos).magnitude
  3706. local RayBeam = IT("Part",Effects)
  3707. RayBeam.Material = "Neon"
  3708. RayBeam.Anchored = true
  3709. RayBeam.BrickColor = BRICKC"Lavender"
  3710. local mesh = IT("SpecialMesh",RayBeam)
  3711. mesh.MeshType = "Cylinder"
  3712. RayBeam.Size = Vector3.new(distance+10, 5, 5)
  3713. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  3714. MagicSphere(15,5,CF(RayPos),"Lavender")
  3715. killnearest(RayPos,15,100)
  3716. for i = 1, 3 do
  3717. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  3718. end
  3719. Swait()
  3720. if KEYHOLD == false then
  3721. coroutine.resume(coroutine.create(function()
  3722. for i = 1, 5 do
  3723. RayBeam.Transparency = RayBeam.Transparency + 1/5
  3724. Swait()
  3725. end
  3726. RayBeam:remove()
  3727. end))
  3728. else
  3729. RayBeam:remove()
  3730. end
  3731. until KEYHOLD == false
  3732. soundeffect:remove()
  3733. ATTACK = false
  3734. Rooted = false
  3735. end
  3736.  
  3737. function Wall()
  3738. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  3739. if HITFLOOR ~= nil then
  3740. if HITFLOOR.Anchored == true then
  3741. local WALL = HITFLOOR:Clone()
  3742. WALL.Size = VT(45,45,5)
  3743. WALL.Parent = Effects
  3744. WALL.Name = "Wall"
  3745. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  3746. CreateSound(130972023,WALL,5,0.8,false)
  3747. ATTACK = true
  3748. Rooted = true
  3749. local HIT = WALL.Touched:Connect(function(hit)
  3750. if hit.Parent ~= Character then
  3751. hit:BreakJoints()
  3752. end
  3753. end)
  3754. coroutine.resume(coroutine.create(function()
  3755. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3756. for i = 1, 90 do
  3757. Swait()
  3758. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  3759. end
  3760. HIT:disconnect()
  3761. wait(5)
  3762. for i = 1, 46 do
  3763. Swait()
  3764. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  3765. end
  3766. WALL:remove()
  3767. end))
  3768. Pose("RightArmUp2",1.5,1.2,true)
  3769. ATTACK = false
  3770. Rooted = false
  3771. end
  3772. end
  3773. end
  3774.  
  3775. function Petrify(Foe)
  3776. local STONEMODEL = IT("Model", Effects)
  3777. local CHILDREN = Foe:GetDescendants()
  3778. for index, CHILD in pairs(CHILDREN) do
  3779. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  3780. CHILD.Parent = STONEMODEL
  3781. CHILD.Material = "Slate"
  3782. CHILD.Color = C3(0.5, 0.5, 0.5)
  3783. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  3784. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  3785. mesh.TextureId = ""
  3786. end
  3787. if CHILD:FindFirstChildOfClass("Decal") then
  3788. local mesh = CHILD:FindFirstChildOfClass("Decal")
  3789. mesh:remove()
  3790. end
  3791. if CHILD.ClassName == "MeshPart" then
  3792. CHILD.TextureID = ""
  3793. end
  3794. if CHILD.ClassName == "UnionOperation" then
  3795. CHILD.UsePartColor = true
  3796. end
  3797. CHILD.CanCollide = true
  3798. end
  3799. end
  3800. Debris:AddItem(STONEMODEL, 5)
  3801. end
  3802.  
  3803. function Stonewill()
  3804. ATTACK = true
  3805. Rooted = true
  3806. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3807. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3808. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3809. if TORSO then
  3810. local GYRO = IT("BodyGyro", RootPart)
  3811. GYRO.D = 750
  3812. GYRO.P = 2000
  3813. GYRO.MaxTorque = VT(0, 40000, 0)
  3814. CreateSound("907330103", Torso, 5, 1.1)
  3815. for i = 0, 1.6, 0.1 / Animation_Speed do
  3816. Swait()
  3817. WACKYEFFECT({
  3818. Time = 5,
  3819. EffectType = "Round Slash",
  3820. Size = VT(0, 0, 0),
  3821. Size2 = VT(0.01, 0, 0.01),
  3822. Transparency = 0.5,
  3823. Transparency2 = 1,
  3824. CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3825. MoveToPos = nil,
  3826. RotationX = MRANDOM(-50, 50) / 10,
  3827. RotationY = MRANDOM(-50, 50) / 10,
  3828. RotationZ = MRANDOM(-50, 50) / 10,
  3829. Material = "Neon",
  3830. Color = C3(1, 0, 0),
  3831. SoundID = nil,
  3832. SoundPitch = nil,
  3833. SoundVolume = nil
  3834. })
  3835. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3836. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  3837. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  3838. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.8 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3839. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3840. if ANIM == "Idle" then
  3841. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3842. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3843. elseif ANIM == "Walk" then
  3844. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3845. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3846. elseif ANIM == "Jump" or ANIM == "Fall" then
  3847. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3848. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3849. end
  3850. end
  3851. GYRO:remove()
  3852. for i = 1, 15 do
  3853. WACKYEFFECT({
  3854. Time = MRANDOM(15, 85),
  3855. EffectType = "Round Slash",
  3856. Size = VT(0, 0, 0),
  3857. Size2 = VT(0.3, 0, 0.3),
  3858. Transparency = 0.5,
  3859. Transparency2 = 1,
  3860. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3861. MoveToPos = nil,
  3862. RotationX = MRANDOM(-50, 50) / 10,
  3863. RotationY = MRANDOM(-50, 50) / 10,
  3864. RotationZ = MRANDOM(-50, 50) / 10,
  3865. Material = "Neon",
  3866. Color = C3(1, 0, 0),
  3867. SoundID = nil,
  3868. SoundPitch = nil,
  3869. SoundVolume = nil
  3870. })
  3871. end
  3872. local bv = Instance.new("BodyVelocity")
  3873. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3874. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  3875. bv.Parent = TORSO
  3876. Debris:AddItem(bv, 0.05)
  3877. CreateSound("1222405264", TORSO, 10, 0.9)
  3878. Petrify(HUM.Parent)
  3879. for i = 0, 0.5, 0.1 / Animation_Speed do
  3880. Swait()
  3881. WACKYEFFECT({
  3882. Time = 5,
  3883. EffectType = "Round Slash",
  3884. Size = VT(0, 0, 0),
  3885. Size2 = VT(0.01, 0, 0.01),
  3886. Transparency = 0.5,
  3887. Transparency2 = 1,
  3888. CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3889. MoveToPos = nil,
  3890. RotationX = MRANDOM(-50, 50) / 10,
  3891. RotationY = MRANDOM(-50, 50) / 10,
  3892. RotationZ = MRANDOM(-50, 50) / 10,
  3893. Material = "Neon",
  3894. Color = C3(1, 0, 0),
  3895. SoundID = nil,
  3896. SoundPitch = nil,
  3897. SoundVolume = nil
  3898. })
  3899. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3900. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  3901. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  3902. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.8 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3903. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3904. if ANIM == "Idle" then
  3905. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3906. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3907. elseif ANIM == "Walk" then
  3908. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3909. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3910. elseif ANIM == "Jump" or ANIM == "Fall" then
  3911. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3913. end
  3914. end
  3915. end
  3916. end
  3917. ATTACK = false
  3918. Rooted = false
  3919. end
  3920.  
  3921. --//=================================\\
  3922. --|| ASSIGN THINGS TO KEYS
  3923. --\\=================================//
  3924.  
  3925. function MouseDown(Mouse)
  3926. HOLD = true
  3927. if ATTACK == false then
  3928. end
  3929. end
  3930.  
  3931. function MouseUp(Mouse)
  3932. HOLD = false
  3933. end
  3934.  
  3935. function KeyDown(Key)
  3936. KEYHOLD = true
  3937. if Key == "z" and ATTACK == false then
  3938. if MODE == "Superior" then
  3939. TimeSweep()
  3940. elseif MODE == "JusticeHorn" then
  3941. MagicMissiles()
  3942. elseif MODE == "Maniac" then
  3943. Wall()
  3944. end
  3945. end
  3946.  
  3947. if Key == "x" and ATTACK == false then
  3948. if MODE == "Superior" then
  3949. Smite2()
  3950. elseif MODE == "JusticeHorn" then
  3951. PandorasBox()
  3952. elseif MODE == "Maniac" then
  3953. Inferno_Ring()
  3954. end
  3955. end
  3956.  
  3957. if Key == "c" and ATTACK == false then
  3958. if MODE == "Superior" then
  3959. Smite()
  3960. elseif MODE == "JusticeHorn" then
  3961. ChainPunch()
  3962. elseif MODE == "Maniac" then
  3963. RavagingOverthrower()
  3964. end
  3965. end
  3966.  
  3967. if Key == "v" and ATTACK == false then
  3968. if MODE == "Superior" then
  3969. Earthquake()
  3970. elseif MODE == "JusticeHorn" then
  3971. WarpMeteor()
  3972. elseif MODE == "Maniac" then
  3973. Endless_Pain()
  3974. end
  3975. end
  3976.  
  3977. if Key == "b" and ATTACK == false then
  3978. if MODE == "Superior" then
  3979. Prison_Key()
  3980. elseif MODE == "JusticeHorn" then
  3981. TimesUp()
  3982. elseif MODE == "Maniac" then
  3983. Stonewill()
  3984. end
  3985. end
  3986.  
  3987.  
  3988. if Key == "p" and ATTACK == false then
  3989. TakeOnMe()
  3990. end
  3991.  
  3992. if Key == "1" and ATTACK == false then
  3993. Taunt()
  3994. end
  3995.  
  3996. if Key == "2" and ATTACK == false then
  3997. Taunt2()
  3998. end
  3999.  
  4000. if Key == "f" and ATTACK == false then
  4001. Switch()
  4002. end
  4003.  
  4004. if Key == "e" and ATTACK == false then
  4005. Switch2()
  4006. end
  4007.  
  4008. if Key == "q" and ATTACK == false then
  4009. Switch3()
  4010. end
  4011. end
  4012.  
  4013. function KeyUp(Key)
  4014. KEYHOLD = false
  4015. end
  4016.  
  4017. Mouse.Button1Down:connect(function(NEWKEY)
  4018. MouseDown(NEWKEY)
  4019. end)
  4020. Mouse.Button1Up:connect(function(NEWKEY)
  4021. MouseUp(NEWKEY)
  4022. end)
  4023. Mouse.KeyDown:connect(function(NEWKEY)
  4024. KeyDown(NEWKEY)
  4025. end)
  4026. Mouse.KeyUp:connect(function(NEWKEY)
  4027. KeyUp(NEWKEY)
  4028. end)
  4029.  
  4030. --//=================================\\
  4031. --\\=================================//
  4032.  
  4033.  
  4034. function unanchor()
  4035. if UNANCHOR == true then
  4036. RootPart.Anchored = false
  4037. end
  4038. g = Character:GetChildren()
  4039. for i = 1, #g do
  4040. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  4041. g[i].Anchored = false
  4042. end
  4043. end
  4044. g = Weapon:GetChildren()
  4045. for i = 1, #g do
  4046. if g[i].ClassName == "Part" then
  4047. g[i].Anchored = false
  4048. end
  4049. end
  4050. end
  4051.  
  4052.  
  4053. --//=================================\\
  4054. --|| WRAP THE WHOLE SCRIPT UP
  4055. --\\=================================//
  4056.  
  4057. Humanoid.Changed:connect(function(Jump)
  4058. if Jump == "Jump" and (Disable_Jump == true) then
  4059. Humanoid.Jump = false
  4060. end
  4061. end)
  4062.  
  4063. while true do
  4064. Swait()
  4065. script.Parent = WEAPONGUI
  4066. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  4067. v:Stop();
  4068. end
  4069. ANIMATE.Parent = nil
  4070. SINE = SINE + CHANGE*1.5
  4071. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4072. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4073. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  4074. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  4075. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4076. 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)
  4077. 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)
  4078. 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)
  4079. 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)
  4080. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4081. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4082. 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)
  4083. 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)
  4084. 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)
  4085. end
  4086. if TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4087. ANIM = "Fall"
  4088. if ATTACK == false then
  4089. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4090. 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)
  4091. 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)
  4092. 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)
  4093. 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)
  4094. 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)
  4095. end
  4096. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4097. ANIM = "Idle"
  4098. if ATTACK == false then
  4099. if MODE == "Main" then
  4100. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4101. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4102. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.95, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4103. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.95, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4104. RightHip.C0 = Clerp(RightHip.C0, CF(1.45, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4105. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.45, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4106. elseif MODE == "Superior" then
  4107. 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)
  4108. 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)
  4109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*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)
  4110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.35*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)
  4111. 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)
  4112. 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)
  4113. elseif MODE == "JusticeHorn" then
  4114. 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)
  4115. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0.1) - 0.1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  4116. 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)
  4117. 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)
  4118. 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)
  4119. 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)
  4120. elseif MODE == "Maniac" then
  4121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4122. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4125. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  4126. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  4127. end
  4128. end
  4129. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4130. ANIM = "Walk"
  4131. if ATTACK == false then
  4132. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.005 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4133. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4134. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4135. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4136. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4137. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4138. end
  4139. end
  4140. unanchor()
  4141. Humanoid.MaxHealth = "inf"
  4142. Humanoid.Health = "inf"
  4143. if Rooted == false then
  4144. Disable_Jump = false
  4145. Humanoid.WalkSpeed = Speed
  4146. elseif Rooted == true then
  4147. Disable_Jump = true
  4148. Humanoid.WalkSpeed = 0
  4149. end
  4150. for _, c in pairs(Character:GetChildren()) do
  4151. if c.ClassName == "Part" and c.Name ~= "Detail" then
  4152. c.Material = "Fabric"
  4153. if c:FindFirstChildOfClass("ParticleEmitter") then
  4154. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4155. end
  4156. if c ~= Head then
  4157. c.Color = C3(0,0,0)
  4158. else
  4159. c.Color = C3(0,0,0)
  4160. end
  4161. if c == Head then
  4162. if c:FindFirstChild("face") then
  4163. c.face:remove()
  4164. end
  4165. end
  4166. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  4167. c:remove()
  4168. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  4169. c:remove()
  4170. end
  4171. sick.SoundId = "rbxassetid://"..SONG
  4172. sick.Looped = true
  4173. sick.Pitch = 1
  4174. sick.Volume = 1
  4175. sick.Parent = Effects
  4176. sick.Playing = PLAYSONG
  4177. end
  4178. Humanoid.Name = "The-Switcher = "..Player.Name
  4179. end
  4180.  
  4181. --//=================================\\
  4182. --\\=================================//
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188. --//====================================================\\--
  4189. --|| END OF SCRIPT
  4190. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement