UltimatePaster5677

Switcher V2

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