Advertisement
DarkScriptZEditors

Untitled

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