Advertisement
Guest User

?

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