Advertisement
samuelrichter66

I am superior

Apr 28th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 143.55 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154.  
  155.  
  156. print("I was bored so i leak the logged stuff now go ahead")
  157.  
  158. --//====================================================\\--
  159. --|| SUPERIOR V2 BY KILLERZTH_1596
  160. --\\====================================================//--
  161.  
  162. wait(0.2)
  163.  
  164. Player = game:GetService("Players").LocalPlayer
  165. PlayerGui = Player.PlayerGui
  166. Cam = workspace.CurrentCamera
  167. Backpack = Player.Backpack
  168. Character = Player.Character
  169. Humanoid = Character.Humanoid
  170. Mouse = Player:GetMouse()
  171. RootPart = Character["HumanoidRootPart"]
  172. Torso = Character["Torso"]
  173. Head = Character["Head"]
  174. RightArm = Character["Right Arm"]
  175. LeftArm = Character["Left Arm"]
  176. RightLeg = Character["Right Leg"]
  177. LeftLeg = Character["Left Leg"]
  178. RootJoint = RootPart["RootJoint"]
  179. Neck = Torso["Neck"]
  180. RightShoulder = Torso["Right Shoulder"]
  181. LeftShoulder = Torso["Left Shoulder"]
  182. RightHip = Torso["Right Hip"]
  183. LeftHip = Torso["Left Hip"]
  184. Character.Archivable = true
  185. Player:ClearCharacterAppearance()
  186.  
  187. IT = Instance.new
  188. CF = CFrame.new
  189. VT = Vector3.new
  190. RAD = math.rad
  191. C3 = Color3.new
  192. UD2 = UDim2.new
  193. BRICKC = BrickColor.new
  194. ANGLES = CFrame.Angles
  195. EULER = CFrame.fromEulerAnglesXYZ
  196. COS = math.cos
  197. ACOS = math.acos
  198. SIN = math.sin
  199. ASIN = math.asin
  200. ABS = math.abs
  201. MRANDOM = math.random
  202. FLOOR = math.floor
  203.  
  204. --//=================================\\
  205. --|| USEFUL VALUES
  206. --\\=================================//
  207.  
  208. Animation_Speed = 3
  209. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  210. local Speed = 20
  211. local SIZE = 1.4
  212. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  213. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  214. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  215. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  216. local DAMAGEMULTIPLIER = 1
  217. local ANIM = "Idle"
  218. local ATTACK = false
  219. local EQUIPPED = false
  220. local HOLD = false
  221. local COMBO = 1
  222. local Rooted = false
  223. local SINE = 0
  224. local KEYHOLD = false
  225. local CHANGE = 2 / Animation_Speed
  226. local WALKINGANIM = false
  227. local VALUE1 = false
  228. local VALUE2 = false
  229. local ROBLOXIDLEANIMATION = IT("Animation")
  230. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  231. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  232. local ATANIM = IT("Animation")
  233. ATANIM.Name = "Attack Animation"
  234. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  235. --ROBLOXIDLEANIMATION.Parent = Humanoid
  236. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  237. WEAPONGUI.Name = "Weapon GUI"
  238. local Weapon = IT("Model")
  239. Weapon.Name = "Adds"
  240. local Effects = IT("Folder", Weapon)
  241. Effects.Name = "Effects"
  242. local ANIMATOR = Humanoid.Animator
  243. local ANIMATE = Character.Animate
  244. local UNANCHOR = true
  245. local CLOCKLOOP = 0
  246. local SONG = 1873219898
  247. local CLOCKTARGET = nil
  248. local CLOCKSPEED = 5
  249. script.Parent = WEAPONGUI
  250. local CLONE = Character:Clone()
  251. CLONE.Parent = nil
  252. Character.Archivable = false
  253. local sick = Instance.new("Sound",Torso)
  254. local TAUNT = false
  255. Player_Size = 1.4
  256. local PLAYSONG = true
  257.  
  258. --//=================================\\
  259. --\\=================================//
  260.  
  261.  
  262. --//=================================\\
  263. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  264. --\\=================================//
  265.  
  266. ArtificialHB = Instance.new("BindableEvent", script)
  267. ArtificialHB.Name = "ArtificialHB"
  268.  
  269. script:WaitForChild("ArtificialHB")
  270.  
  271. frame = Frame_Speed
  272. tf = 0
  273. allowframeloss = false
  274. tossremainder = false
  275. lastframe = tick()
  276. script.ArtificialHB:Fire()
  277.  
  278. game:GetService("RunService").Heartbeat:connect(function(s, p)
  279. tf = tf + s
  280. if tf >= frame then
  281. if allowframeloss then
  282. script.ArtificialHB:Fire()
  283. lastframe = tick()
  284. else
  285. for i = 1, math.floor(tf / frame) do
  286. script.ArtificialHB:Fire()
  287. end
  288. lastframe = tick()
  289. end
  290. if tossremainder then
  291. tf = 0
  292. else
  293. tf = tf - frame * math.floor(tf / frame)
  294. end
  295. end
  296. end)
  297.  
  298. --//=================================\\
  299. --\\=================================//
  300.  
  301. --//=================================\\
  302. --|| SOME TAG EDIT
  303. --\\=================================//
  304.  
  305. m = game.Players.LocalPlayer
  306. char = m.Character
  307. local txt = Instance.new("BillboardGui", char)
  308. txt.Adornee = char.Head
  309. txt.Name = "_status"
  310. txt.Size = UDim2.new(2, 0, 1.2, 0)
  311. txt.StudsOffset = Vector3.new(-9, 8, 0)
  312. local text = Instance.new("TextLabel", txt)
  313. text.Size = UDim2.new(10, 0, 7, 0)
  314. text.FontSize = "Size24"
  315. text.TextScaled = true
  316. text.TextTransparency = 0
  317. text.BackgroundTransparency = 1
  318. text.TextTransparency = 0
  319. text.TextStrokeTransparency = 0
  320. text.Font = "Bodoni"
  321. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  322. v = Instance.new("Part")
  323. v.Name = "ColorBrick"
  324. v.Parent = m.Character
  325. v.FormFactor = "Symmetric"
  326. v.Anchored = true
  327. v.CanCollide = false
  328. v.BottomSurface = "Smooth"
  329. v.TopSurface = "Smooth"
  330. v.Size = Vector3.new(10, 5, 3)
  331. v.Transparency = 1
  332. v.CFrame = char.Torso.CFrame
  333. v.BrickColor = BrickColor.new("Really black")
  334. v.Transparency = 1
  335. v.Shape = "Block"
  336. spawn(function()
  337. local TweenService = game:GetService("TweenService")
  338. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,0,0),Color3.fromRGB(0,0,0)}
  339. local Int = 0
  340. while wait(0.5) do
  341. if Int == #Colours then Int = 0 end
  342. Int = Int+1
  343. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  344. end
  345. end)
  346. text.Text = "Pandora"
  347.  
  348. --//=================================\\
  349. --\\=================================//
  350.  
  351. --//=================================\\
  352. --|| SOME FUNCTIONS
  353. --\\=================================//
  354.  
  355. local EyeSizes={
  356. NumberSequenceKeypoint.new(0,2,0),
  357. NumberSequenceKeypoint.new(1,0,0)
  358. }
  359. local EyeTrans={
  360. NumberSequenceKeypoint.new(0,0.5,0),
  361. NumberSequenceKeypoint.new(1,1,0)
  362. }
  363. local PE=Instance.new("ParticleEmitter",nil)
  364. PE.LightEmission=.8
  365. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  366. PE.Size=NumberSequence.new(EyeSizes)
  367. PE.Transparency=NumberSequence.new(EyeTrans)
  368. PE.Lifetime=NumberRange.new(0.35,1)
  369. PE.Rotation=NumberRange.new(0,360)
  370. PE.Rate=100
  371. PE.VelocitySpread = 10000
  372. PE.Acceleration = Vector3.new(0,85,0)
  373. PE.Drag = 5
  374. PE.Speed = NumberRange.new(0.1,5)
  375. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  376. PE.ZOffset = 0.5
  377. PE.Name = "PE"
  378. PE.Enabled = false
  379. function Fire(art)
  380. local PARTICLES = PE:Clone()
  381. PARTICLES.Parent = art
  382. PARTICLES.Enabled = true
  383. return PARTICLES
  384. end
  385.  
  386. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  387. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  388. local mesh
  389. if KIND == "Base" then
  390. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  391. elseif KIND == "Thin" then
  392. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  393. elseif KIND == "Round" then
  394. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  395. end
  396. wave.CFrame = CFRAME
  397. coroutine.resume(coroutine.create(function(PART)
  398. for i = 1, WAIT do
  399. Swait()
  400. mesh.Scale = mesh.Scale + GROW / 10
  401. wave.Transparency = wave.Transparency + 0.5 / WAIT
  402. if wave.Transparency > 0.99 then
  403. wave:remove()
  404. end
  405. end
  406. end))
  407. end
  408.  
  409. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  410. for _, c in pairs(PARENT:GetChildren()) do
  411. if c.ClassName == "Model" then
  412. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  413. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  414. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  415. if DIST > (TORSO.Position - FROM).Magnitude then
  416. table.insert(TABLE, c)
  417. end
  418. AddChildrenToTable(FROM, c, DIST, TABLE)
  419. elseif c.ClassName == "Folder" then
  420. AddChildrenToTable(FROM, c, DIST, TABLE)
  421. end
  422. end
  423. end
  424. end
  425.  
  426. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  427. PLAYMAINANIM = false
  428. if WhichPose == "Cast1" then
  429. for i=0, Time, 0.1 / Animation_Speed do
  430. Swait()
  431. if Magic == true then
  432. 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})
  433. end
  434. if Gyro ~= nil and Gyro ~= false then
  435. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  436. end
  437. 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(35)), Speed / Animation_Speed)
  438. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.5*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  439. 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)
  440. 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)
  441. 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)
  442. 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)
  443. end
  444. elseif WhichPose == "Cast2" then
  445. for i=0, Time, 0.1 / Animation_Speed do
  446. Swait()
  447. if Magic == true then
  448. 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})
  449. 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})
  450. end
  451. if Gyro ~= nil and Gyro ~= false then
  452. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  453. end
  454. 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)
  455. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.5 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  456. 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)
  457. 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)
  458. 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)
  459. 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)
  460. end
  461. elseif WhichPose == "Prepare key" then
  462. for i=0, Time, 0.1 / Animation_Speed do
  463. Swait()
  464. if Gyro ~= nil and Gyro ~= false then
  465. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  466. end
  467. 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)
  468. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.5*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  469. 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)
  470. 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)
  471. 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)
  472. 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)
  473. end
  474. elseif WhichPose == "Turn key" then
  475. for i=0, Time, 0.1 / Animation_Speed do
  476. Swait()
  477. if Gyro ~= nil and Gyro ~= false then
  478. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  479. end
  480. 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)
  481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.5*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  482. 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)
  483. 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)
  484. 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)
  485. 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)
  486. end
  487. end
  488. PLAYMAINANIM = true
  489. end
  490.  
  491.  
  492. local EyeSizes={
  493. NumberSequenceKeypoint.new(0,1,0),
  494. NumberSequenceKeypoint.new(1,0,0)
  495. }
  496. local EyeTrans={
  497. NumberSequenceKeypoint.new(0,0.8,0),
  498. NumberSequenceKeypoint.new(1,1,0)
  499. }
  500. local PE=Instance.new("ParticleEmitter",nil)
  501. PE.LightEmission=.8
  502. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  503. PE.Size=NumberSequence.new(EyeSizes)
  504. PE.Transparency=NumberSequence.new(EyeTrans)
  505. PE.Lifetime=NumberRange.new(0.35,1.5)
  506. PE.Rotation=NumberRange.new(0,360)
  507. PE.Rate=999
  508. PE.VelocitySpread = 10000
  509. PE.Acceleration = Vector3.new(0,0,0)
  510. PE.Drag = 5
  511. PE.Speed = NumberRange.new(0,0,0)
  512. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  513. PE.ZOffset = -0
  514. PE.Name = "PE"
  515. PE.Enabled = false
  516.  
  517. function particles(art)
  518. local PARTICLES = PE:Clone()
  519. PARTICLES.Parent = art
  520. end
  521.  
  522. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  523. if FLOOR ~= nil then
  524. coroutine.resume(coroutine.create(function()
  525. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  526. PART.CFrame = CF(POSITION)
  527. for i = 1, 45 do
  528. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  529. RingPiece.Material = FLOOR.Material
  530. RingPiece.Color = FLOOR.Color
  531. 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)))
  532. Debris:AddItem(RingPiece,SWAIT)
  533. end
  534. PART:remove()
  535. end))
  536. end
  537. end
  538.  
  539. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  540. if FLOOR ~= nil then
  541. for i = 1, AMOUNT do
  542. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  543. DEBREE.Material = FLOOR.Material
  544. DEBREE.Color = FLOOR.Color
  545. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  546. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  547. coroutine.resume(coroutine.create(function()
  548. Swait(15)
  549. DEBREE.Parent = workspace
  550. DEBREE.CanCollide = true
  551. Debris:AddItem(DEBREE,SWAIT)
  552. end))
  553. end
  554. end
  555. end
  556.  
  557. local DECAL = IT("Decal")
  558. function MakeRing()
  559. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  560. local MSH = IT("BlockMesh", RING)
  561. local TOP = DECAL:Clone()
  562. local BOTTOM = DECAL:Clone()
  563. TOP.Parent = RING
  564. BOTTOM.Parent = RING
  565. TOP.Face = "Top"
  566. BOTTOM.Face = "Bottom"
  567. TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
  568. BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
  569. local function REMOVE()
  570. coroutine.resume(coroutine.create(function()
  571. local SIZE = MSH.Scale.X
  572. for i = 1, 35 do
  573. Swait()
  574. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  575. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  576. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  577. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  578. end
  579. RING:remove()
  580. end))
  581. end
  582. return RING, MSH, REMOVE
  583. end
  584.  
  585. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  586. local TORSO = Torso
  587. local HUM = Humanoid
  588. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  589. coroutine.wrap(function()
  590. VT = Vector3.new
  591. MRANDOM = math.random
  592. local A = TIME
  593. local B = INTENSITY
  594. local C = true
  595. local HUMANOID = Humanoid
  596. local TIMER = A or 35
  597. local SHAKE = B or 5
  598. local FADE = C or true
  599. if HUMANOID then
  600. local FADER = SHAKE / TIMER
  601. for i = 1, TIMER do
  602. wait()
  603. 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)
  604. end
  605. HUMANOID.CameraOffset = VT(0, 0, 0)
  606. end
  607.  
  608. end)()
  609. end
  610. end
  611.  
  612. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  613. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  614. end
  615.  
  616. function PositiveAngle(NUMBER)
  617. if NUMBER >= 0 then
  618. NUMBER = 0
  619. end
  620. return NUMBER
  621. end
  622.  
  623. function NegativeAngle(NUMBER)
  624. if NUMBER <= 0 then
  625. NUMBER = 0
  626. end
  627. return NUMBER
  628. end
  629.  
  630. function Swait(NUMBER)
  631. if NUMBER == 0 or NUMBER == nil then
  632. ArtificialHB.Event:wait()
  633. else
  634. for i = 1, NUMBER do
  635. ArtificialHB.Event:wait()
  636. end
  637. end
  638. end
  639.  
  640. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  641. local NEWMESH = IT(MESH)
  642. if MESH == "SpecialMesh" then
  643. NEWMESH.MeshType = MESHTYPE
  644. if MESHID ~= "nil" and MESHID ~= "" then
  645. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  646. end
  647. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  648. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  649. end
  650. end
  651. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  652. NEWMESH.Scale = SCALE
  653. NEWMESH.Parent = PARENT
  654. return NEWMESH
  655. end
  656.  
  657. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  658. local NEWPART = IT("Part")
  659. NEWPART.formFactor = FORMFACTOR
  660. NEWPART.Reflectance = REFLECTANCE
  661. NEWPART.Transparency = TRANSPARENCY
  662. NEWPART.CanCollide = false
  663. NEWPART.Locked = true
  664. NEWPART.Anchored = true
  665. if ANCHOR == false then
  666. NEWPART.Anchored = false
  667. end
  668. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  669. NEWPART.Name = NAME
  670. NEWPART.Size = SIZE
  671. NEWPART.Position = Torso.Position
  672. NEWPART.Material = MATERIAL
  673. NEWPART:BreakJoints()
  674. NEWPART.Parent = PARENT
  675. return NEWPART
  676. end
  677.  
  678. local function weldBetween(a, b)
  679. local weldd = Instance.new("ManualWeld")
  680. weldd.Part0 = a
  681. weldd.Part1 = b
  682. weldd.C0 = CFrame.new()
  683. weldd.C1 = b.CFrame:inverse() * a.CFrame
  684. weldd.Parent = a
  685. return weldd
  686. end
  687.  
  688.  
  689. function QuaternionFromCFrame(cf)
  690. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  691. local trace = m00 + m11 + m22
  692. if trace > 0 then
  693. local s = math.sqrt(1 + trace)
  694. local recip = 0.5 / s
  695. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  696. else
  697. local i = 0
  698. if m11 > m00 then
  699. i = 1
  700. end
  701. if m22 > (i == 0 and m00 or m11) then
  702. i = 2
  703. end
  704. if i == 0 then
  705. local s = math.sqrt(m00 - m11 - m22 + 1)
  706. local recip = 0.5 / s
  707. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  708. elseif i == 1 then
  709. local s = math.sqrt(m11 - m22 - m00 + 1)
  710. local recip = 0.5 / s
  711. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  712. elseif i == 2 then
  713. local s = math.sqrt(m22 - m00 - m11 + 1)
  714. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  715. end
  716. end
  717. end
  718.  
  719. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  720. local xs, ys, zs = x + x, y + y, z + z
  721. local wx, wy, wz = w * xs, w * ys, w * zs
  722. local xx = x * xs
  723. local xy = x * ys
  724. local xz = x * zs
  725. local yy = y * ys
  726. local yz = y * zs
  727. local zz = z * zs
  728. 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))
  729. end
  730.  
  731. function QuaternionSlerp(a, b, t)
  732. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  733. local startInterp, finishInterp;
  734. if cosTheta >= 0.0001 then
  735. if (1 - cosTheta) > 0.0001 then
  736. local theta = ACOS(cosTheta)
  737. local invSinTheta = 1 / SIN(theta)
  738. startInterp = SIN((1 - t) * theta) * invSinTheta
  739. finishInterp = SIN(t * theta) * invSinTheta
  740. else
  741. startInterp = 1 - t
  742. finishInterp = t
  743. end
  744. else
  745. if (1 + cosTheta) > 0.0001 then
  746. local theta = ACOS(-cosTheta)
  747. local invSinTheta = 1 / SIN(theta)
  748. startInterp = SIN((t - 1) * theta) * invSinTheta
  749. finishInterp = SIN(t * theta) * invSinTheta
  750. else
  751. startInterp = t - 1
  752. finishInterp = t
  753. end
  754. end
  755. 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
  756. end
  757.  
  758. function Clerp(a, b, t)
  759. local qa = {QuaternionFromCFrame(a)}
  760. local qb = {QuaternionFromCFrame(b)}
  761. local ax, ay, az = a.x, a.y, a.z
  762. local bx, by, bz = b.x, b.y, b.z
  763. local _t = 1 - t
  764. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  765. end
  766.  
  767. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  768. local frame = IT("Frame")
  769. frame.BackgroundTransparency = TRANSPARENCY
  770. frame.BorderSizePixel = BORDERSIZEPIXEL
  771. frame.Position = POSITION
  772. frame.Size = SIZE
  773. frame.BackgroundColor3 = COLOR
  774. frame.BorderColor3 = BORDERCOLOR
  775. frame.Name = NAME
  776. frame.Parent = PARENT
  777. return frame
  778. end
  779.  
  780. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  781. local label = IT("TextLabel")
  782. label.BackgroundTransparency = 1
  783. label.Size = UD2(1, 0, 1, 0)
  784. label.Position = UD2(0, 0, 0, 0)
  785. label.TextColor3 = TEXTCOLOR
  786. label.TextStrokeTransparency = STROKETRANSPARENCY
  787. label.TextTransparency = TRANSPARENCY
  788. label.FontSize = TEXTFONTSIZE
  789. label.Font = TEXTFONT
  790. label.BorderSizePixel = BORDERSIZEPIXEL
  791. label.TextStrokeColor3 = C3(1,1,1)
  792. label.TextScaled = false
  793. label.Text = TEXT
  794. label.Name = NAME
  795. label.Parent = PARENT
  796. return label
  797. end
  798.  
  799. function NoOutlines(PART)
  800. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  801. end
  802.  
  803. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  804. local NEWWELD = IT(TYPE)
  805. NEWWELD.Part0 = PART0
  806. NEWWELD.Part1 = PART1
  807. NEWWELD.C0 = C0
  808. NEWWELD.C1 = C1
  809. NEWWELD.Parent = PARENT
  810. return NEWWELD
  811. end
  812.  
  813. local S = IT("Sound")
  814. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  815. local NEWSOUND = nil
  816. coroutine.resume(coroutine.create(function()
  817. NEWSOUND = S:Clone()
  818. NEWSOUND.Parent = PARENT
  819. NEWSOUND.Volume = VOLUME
  820. NEWSOUND.Pitch = PITCH
  821. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  822. NEWSOUND:play()
  823. if DOESLOOP == true then
  824. NEWSOUND.Looped = true
  825. else
  826. repeat wait(1) until NEWSOUND.Playing == false
  827. NEWSOUND:remove()
  828. end
  829. end))
  830. return NEWSOUND
  831. end
  832.  
  833. function CFrameFromTopBack(at, top, back)
  834. local right = top:Cross(back)
  835. 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)
  836. end
  837.  
  838. --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})
  839. function WACKYEFFECT(Table)
  840. local TYPE = (Table.EffectType or "Sphere")
  841. local SIZE = (Table.Size or VT(1,1,1))
  842. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  843. local TRANSPARENCY = (Table.Transparency or 0)
  844. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  845. local CFRAME = (Table.CFrame or Torso.CFrame)
  846. local MOVEDIRECTION = (Table.MoveToPos or nil)
  847. local ROTATION1 = (Table.RotationX or 0)
  848. local ROTATION2 = (Table.RotationY or 0)
  849. local ROTATION3 = (Table.RotationZ or 0)
  850. local MATERIAL = (Table.Material or "Neon")
  851. local COLOR = (Table.Color or C3(1,1,1))
  852. local TIME = (Table.Time or 45)
  853. local SOUNDID = (Table.SoundID or nil)
  854. local SOUNDPITCH = (Table.SoundPitch or nil)
  855. local SOUNDVOLUME = (Table.SoundVolume or nil)
  856. coroutine.resume(coroutine.create(function()
  857. local PLAYSSOUND = false
  858. local SOUND = nil
  859. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  860. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  861. PLAYSSOUND = true
  862. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  863. end
  864. EFFECT.Color = COLOR
  865. local MSH = nil
  866. if TYPE == "Sphere" then
  867. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  868. elseif TYPE == "Block" then
  869. MSH = IT("BlockMesh",EFFECT)
  870. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  871. elseif TYPE == "Wave" then
  872. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  873. elseif TYPE == "Ring" then
  874. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  875. elseif TYPE == "Slash" then
  876. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  877. elseif TYPE == "Round Slash" then
  878. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  879. elseif TYPE == "Swirl" then
  880. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  881. elseif TYPE == "Skull" then
  882. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  883. elseif TYPE == "Crystal" then
  884. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  885. end
  886. if MSH ~= nil then
  887. local MOVESPEED = nil
  888. if MOVEDIRECTION ~= nil then
  889. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  890. end
  891. local GROWTH = SIZE - ENDSIZE
  892. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  893. if TYPE == "Block" then
  894. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  895. else
  896. EFFECT.CFrame = CFRAME
  897. end
  898. for LOOP = 1, TIME+1 do
  899. Swait()
  900. MSH.Scale = MSH.Scale - GROWTH/TIME
  901. if TYPE == "Wave" then
  902. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  903. end
  904. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  905. if TYPE == "Block" then
  906. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  907. else
  908. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  909. end
  910. if MOVEDIRECTION ~= nil then
  911. local ORI = EFFECT.Orientation
  912. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  913. EFFECT.Orientation = ORI
  914. end
  915. end
  916. if PLAYSSOUND == false then
  917. EFFECT:remove()
  918. else
  919. repeat Swait() until SOUND.Playing == false
  920. EFFECT:remove()
  921. end
  922. else
  923. if PLAYSSOUND == false then
  924. EFFECT:remove()
  925. else
  926. repeat Swait() until SOUND.Playing == false
  927. EFFECT:remove()
  928. end
  929. end
  930. end))
  931. end
  932.  
  933. function MakeForm(PART,TYPE)
  934. if TYPE == "Cyl" then
  935. local MSH = IT("CylinderMesh",PART)
  936. elseif TYPE == "Ball" then
  937. local MSH = IT("SpecialMesh",PART)
  938. MSH.MeshType = "Sphere"
  939. elseif TYPE == "Wedge" then
  940. local MSH = IT("SpecialMesh",PART)
  941. MSH.MeshType = "Wedge"
  942. end
  943. end
  944.  
  945. Debris = game:GetService("Debris")
  946.  
  947. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  948. local DIRECTION = CF(StartPos,EndPos).lookVector
  949. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  950. end
  951.  
  952. function turnto(position)
  953. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  954. end
  955.  
  956. --//=================================\\
  957. --|| WEAPON CREATION
  958. --\\=================================//
  959.  
  960. local BODY = {}
  961. for _, c in pairs(Character:GetDescendants()) do
  962. if c:IsA("BasePart") and c.Name ~= "Handle" then
  963. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  964. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  965. end
  966. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  967. elseif c:IsA("JointInstance") then
  968. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  969. end
  970. end
  971. for e = 1, #BODY do
  972. if BODY[e] ~= nil then
  973. local STUFF = BODY[e]
  974. local PART = STUFF[1]
  975. local PARENT = STUFF[2]
  976. local MATERIAL = STUFF[3]
  977. local COLOR = STUFF[4]
  978. local TRANSPARENCY = STUFF[5]
  979. if PART.ClassName == "Part" and PART ~= RootPart then
  980. PART.Material = MATERIAL
  981. PART.Color = COLOR
  982. PART.Transparency = TRANSPARENCY
  983. end
  984. PART.AncestryChanged:Connect(function()
  985. PART.Parent = PARENT
  986. end)
  987. end
  988. end
  989.  
  990. function refit()
  991. Character.Parent = workspace
  992. for e = 1, #BODY do
  993. if BODY[e] ~= nil then
  994. local STUFF = BODY[e]
  995. local PART = STUFF[1]
  996. local PARENT = STUFF[2]
  997. local MATERIAL = STUFF[3]
  998. local COLOR = STUFF[4]
  999. local TRANSPARENCY = STUFF[5]
  1000. if PART.ClassName == "Part" and PART ~= RootPart then
  1001. PART.Material = MATERIAL
  1002. PART.Color = COLOR
  1003. PART.Transparency = TRANSPARENCY
  1004. end
  1005. if PART.Parent ~= PARENT then
  1006. Humanoid:remove()
  1007. PART.Parent = PARENT
  1008. Humanoid = IT("Humanoid",Character)
  1009. end
  1010. end
  1011. end
  1012. end
  1013.  
  1014. function chatfunc(text)
  1015. local chat = coroutine.wrap(function()
  1016. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1017. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1018. end
  1019. local Bill = Instance.new("BillboardGui",Character)
  1020. Bill.Size = UDim2.new(0,100,0,40)
  1021. Bill.StudsOffset = Vector3.new(0,3,0)
  1022. Bill.Adornee = Character.Head
  1023. Bill.Name = "TalkingBillBoard"
  1024. local Hehe = Instance.new("TextLabel",Bill)
  1025. Hehe.BackgroundTransparency = 1
  1026. Hehe.BorderSizePixel = 0
  1027. Hehe.Text = ""
  1028. Hehe.Font = "Fantasy"
  1029. Hehe.TextSize = 40
  1030. Hehe.TextStrokeTransparency = 0
  1031. Hehe.Size = UDim2.new(1,0,0.5,0)
  1032. coroutine.resume(coroutine.create(function()
  1033. while Hehe ~= nil do
  1034. wait()
  1035. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1036. Hehe.Rotation = math.random(-5,5)
  1037. Hehe.TextColor3 = Color3.new(0,0,0)
  1038. Hehe.TextStrokeColor3 = Color3.new(255,0,0)
  1039. end
  1040. end))
  1041. for i = 1,string.len(text),1 do
  1042. wait()
  1043. Hehe.Text = string.sub(text,1,i)
  1044. end
  1045. wait(3)--Re[math.random(1, 93)]
  1046. for i = 0, 1, .025 do
  1047. wait()
  1048. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1049. Hehe.TextStrokeTransparency = i
  1050. Hehe.TextTransparency = i
  1051. end
  1052. Bill:Destroy()
  1053. end)
  1054. chat()
  1055. end
  1056.  
  1057. function onChatted(msg)
  1058. chatfunc(msg)
  1059. end
  1060.  
  1061. Player.Chatted:connect(onChatted)
  1062.  
  1063. chatfunc("Hello Ordinary Dude..?")
  1064.  
  1065. Humanoid.Parent = nil
  1066. RootPart.Size = RootPart.Size*SIZE
  1067. Torso.Size = Torso.Size*SIZE
  1068. RightArm.Size = RightArm.Size*SIZE
  1069. RightLeg.Size = RightLeg.Size*SIZE
  1070. LeftArm.Size = LeftArm.Size*SIZE
  1071. LeftLeg.Size = LeftLeg.Size*SIZE
  1072. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1073. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  1074. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1075. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1076. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1077. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  1078. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1079. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1080. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1081. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1082. Head.Size = Head.Size*SIZE
  1083. RootJoint.Parent = RootPart
  1084. Neck.Parent = Torso
  1085. RightShoulder.Parent = Torso
  1086. LeftShoulder.Parent = Torso
  1087. RightHip.Parent = Torso
  1088. LeftHip.Parent = Torso
  1089.  
  1090. Humanoid.DisplayDistanceType = "None"
  1091. local top = Instance.new("Shirt")
  1092. top.ShirtTemplate = "rbxassetid://45695443"
  1093. top.Parent = Character
  1094. top.Name = "Cloth"
  1095. local bottom = Instance.new("Pants")
  1096. bottom.PantsTemplate = "rbxassetid://45696190"
  1097. bottom.Parent = Character
  1098. bottom.Name = "Cloth"
  1099. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  1100. PRT.Color = C3(0,0,0)
  1101. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  1102. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1103. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  1104. PRT.Color = C3(0,0,0)
  1105. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1106. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  1107. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  1108. PRT.Color = C3(255/255, 0/255, 0/255)
  1109. MakeForm(PRT,"Ball")
  1110. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1111. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  1112. PRT.Color = C3(255/255, 0/255, 0/255)
  1113. MakeForm(PRT,"Ball")
  1114. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  1115. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1116. PRT.Color = C3(255/255, 0/255, 0/255)
  1117. MakeForm(PRT,"Ball")
  1118. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1119. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  1120. PRT.Color = C3(255/255, 0/255, 0/255)
  1121. MakeForm(PRT,"Ball")
  1122. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  1123. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1124. PRT.Color = C3(255/255, 0/255, 0/255)
  1125. MakeForm(PRT,"Ball")
  1126. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  1127. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  1128. PRT.Color = C3(255/255, 0/255, 0/255)
  1129. MakeForm(PRT,"Ball")
  1130. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  1131.  
  1132. local LASTPART = Head
  1133. for i = 1, 24 do
  1134. local MATH = (1-(i/30))
  1135. if LASTPART == Head then
  1136. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1137. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  1138. LASTPART = Horn
  1139. Horn.Color = C3(255/255),(0/255),(0/255)
  1140. else
  1141. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1142. 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))
  1143. LASTPART = Horn
  1144. Horn.Color = C3(255/255),(0/255),(0/255)
  1145. end
  1146. end
  1147. local LASTPART = Head
  1148. for i = 1, 24 do
  1149. local MATH = (1-(i/30))
  1150. if LASTPART == Head then
  1151. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1152. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  1153. LASTPART = Horn
  1154. Horn.Color = C3(255/255),(0/255),(0/255)
  1155. else
  1156. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1157. 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))
  1158. LASTPART = Horn
  1159. Horn.Color = C3(255/255),(0/255),(0/255)
  1160. end
  1161. end
  1162. local LASTPART = Head
  1163. for i = 1, 8 do
  1164. local MATH = (1-(i/14))
  1165. if LASTPART == Head then
  1166. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1167. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  1168. LASTPART = Horn
  1169. Horn.Color = C3(255/255),(0/255),(0/255)
  1170. else
  1171. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1172. 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))
  1173. LASTPART = Horn
  1174. Horn.Color = C3(255/255),(0/255),(0/255)
  1175. end
  1176. end
  1177. local LASTPART = Head
  1178. for i = 1, 8 do
  1179. local MATH = (1-(i/14))
  1180. if LASTPART == Head then
  1181. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1182. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1183. LASTPART = Horn
  1184. Horn.Color = C3(255/255),(0/255),(0/255)
  1185. else
  1186. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1187. 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))
  1188. LASTPART = Horn
  1189. Horn.Color = C3(255/255),(0/255),(0/255)
  1190. end
  1191. end
  1192. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1193. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1194. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1195. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1196. MakeForm(PRT,"Cyl")
  1197. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1198. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1199. MakeForm(PRT,"Cyl")
  1200. PRT.Color = C3(255/255, 0/255, 0/255)
  1201. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1202. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1203. MakeForm(RING,"Cyl")
  1204. RING.Color = C3(0,0,0)
  1205. for i = 1, 12 do
  1206. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1207. PRT.Color = C3(0,0,0)
  1208. local MSH = IT("BlockMesh",PRT)
  1209. MSH.Scale = VT(0.6,1,1)
  1210. 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))
  1211. end
  1212. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1213. PRT.Color = C3(0,0,0)
  1214. local MSH = IT("BlockMesh",PRT)
  1215. MSH.Scale = VT(0.4,1,1)
  1216. 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))
  1217. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1218. PRT.Color = C3(0,0,0)
  1219. local MSH = IT("BlockMesh",PRT)
  1220. MSH.Scale = VT(0.4,1,1)
  1221. 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))
  1222. coroutine.resume(coroutine.create(function()
  1223. while true do
  1224. Swait()
  1225. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1226. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1227. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1228. if CLOCKLOOP <= -150 then
  1229. if VALUE1 == false then
  1230. CLOCKLOOP = 0
  1231. 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(0/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
  1232. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1233. ApplyAoE(HITPOS,10,15,45,75,false)
  1234. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1235. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  1236. if CLOCKTARGET ~= nil then
  1237. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1238. if CLOCKTARGET.Torso ~= nil then
  1239. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1240. end
  1241. if CLOCKTARGET.Health == 0 then
  1242. CLOCKTARGET = nil
  1243. end
  1244. end
  1245. end
  1246. end
  1247. end
  1248. end))
  1249.  
  1250. for _, c in pairs(Weapon:GetChildren()) do
  1251. if c.ClassName == "Part" then
  1252. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1253. end
  1254. end
  1255.  
  1256. Neck.Name = "Weld"
  1257. RootJoint.Name = "Weld"
  1258. RightShoulder.Name = "Weld"
  1259. LeftShoulder.Name = "Weld"
  1260. RightHip.Name = "Weld"
  1261. LeftHip.Name = "Weld"
  1262.  
  1263. local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
  1264. local SKILLFONT = "Fantasy"
  1265. local SKILLTEXTSIZE = 7
  1266.  
  1267. Weapon.Parent = Character
  1268. Humanoid.Parent = Character
  1269.  
  1270. Humanoid.Died:connect(function()
  1271. ATTACK = true
  1272. end)
  1273.  
  1274. --//=================================\\
  1275. --|| DAMAGING
  1276. --\\=================================//
  1277.  
  1278. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1279. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1280. defence.Name = ("HitBy"..Player.Name)
  1281. game:GetService("Debris"):AddItem(defence, 0.001)
  1282. Damage = Damage * DAMAGEMULTIPLIER
  1283. if Humanoid.Health ~= 0 then
  1284. local CritChance = MRANDOM(1,100)
  1285. if Damage > Humanoid.Health then
  1286. Damage = math.ceil(Humanoid.Health)
  1287. if Damage == 0 then
  1288. Damage = 0.1
  1289. end
  1290. end
  1291. Humanoid.Health = Humanoid.Health - Damage
  1292. end
  1293. end
  1294.  
  1295. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1296. local CHILDREN = workspace:GetDescendants()
  1297. for index, CHILD in pairs(CHILDREN) do
  1298. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1299. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1300. if HUM then
  1301. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1302. if TORSO then
  1303. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1304. if INSTAKILL == true then
  1305. CHILD:BreakJoints()
  1306. else
  1307. local DMG = MRANDOM(MINDMG,MAXDMG)
  1308. ApplyDamage(HUM,DMG,TORSO)
  1309. end
  1310. if FLING > 0 then
  1311. for _, c in pairs(CHILD:GetChildren()) do
  1312. if c:IsA("BasePart") then
  1313. local bv = Instance.new("BodyVelocity")
  1314. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1315. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1316. bv.Parent = c
  1317. Debris:AddItem(bv,0.05)
  1318. end
  1319. end
  1320. end
  1321. end
  1322. end
  1323. end
  1324. end
  1325. end
  1326. end
  1327.  
  1328. --//=================================\\
  1329. --|| ATTACK FUNCTIONS AND STUFF
  1330. --\\=================================//
  1331.  
  1332. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1333. local CHILDREN = workspace:GetDescendants()
  1334. for index, CHILD in pairs(CHILDREN) do
  1335. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1336. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1337. if HUM then
  1338. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1339. if TORSO then
  1340. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1341. CHILD:BreakJoints()
  1342. if FLING ~= 0 then
  1343. for _, c in pairs(CHILD:GetChildren()) do
  1344. if c:IsA("BasePart") and c.Transparency == 0 then
  1345. if BURN == true then
  1346. Fire(c)
  1347. end
  1348. local bv = Instance.new("BodyVelocity")
  1349. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1350. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1351. bv.Parent = c
  1352. Debris:AddItem(bv,0.05)
  1353. end
  1354. end
  1355. end
  1356. end
  1357. end
  1358. end
  1359. end
  1360. end
  1361. end
  1362.  
  1363. function MagicMissiles()
  1364. chatfunc("Justice rains from above.")
  1365. ATTACK = true
  1366. Rooted = false
  1367. local SELECTING = true
  1368. local SPOTS = {}
  1369. coroutine.resume(coroutine.create(function()
  1370. local LOOP = 0
  1371. repeat
  1372. LOOP = LOOP + 1
  1373. Swait()
  1374. if LOOP >= 10 then
  1375. LOOP = 0
  1376. for i = 1, #SPOTS do
  1377. if SPOTS[i] ~= nil then
  1378. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1379. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1380. end
  1381. end
  1382. end
  1383. 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)
  1384. 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)
  1385. 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)
  1386. 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)
  1387. 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)
  1388. 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)
  1389. until SELECTING == false
  1390. Rooted = false
  1391. repeat
  1392. LOOP = LOOP + 1
  1393. Swait()
  1394. if LOOP >= 10 then
  1395. LOOP = 0
  1396. for i = 1, #SPOTS do
  1397. if SPOTS[i] ~= nil then
  1398. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1399. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1400. end
  1401. end
  1402. end
  1403. 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)
  1404. 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)
  1405. 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)
  1406. 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)
  1407. 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)
  1408. 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)
  1409. until ATTACK == false
  1410. end))
  1411. repeat
  1412. repeat Swait() until HOLD == true
  1413. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1414. if DIST > 1500 then
  1415. DIST = 1500
  1416. end
  1417. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1418. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1419. if HITFLOOR ~= nil then
  1420. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1421. 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, 0/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1422. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1423. end
  1424. repeat Swait() until HOLD == false
  1425. until #SPOTS == 1
  1426. SELECTING = false
  1427. for i = 1, #SPOTS do
  1428. if SPOTS[i] ~= nil then
  1429. local POS = SPOTS[i]
  1430. coroutine.resume(coroutine.create(function()
  1431. local MISSILE = IT("Model",Effects)
  1432. MISSILE.Name = "Missile"
  1433. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,2,2))
  1434. MakeForm(BASEPART,"Cyl")
  1435. MISSILE.PrimaryPart = BASEPART
  1436. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1437. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,4,2))
  1438. MakeForm(HEAD,"Ball")
  1439. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1440. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2.5,0.1,2.5))
  1441. MakeForm(TAIL,"Cyl")
  1442. TAIL.CFrame = BASEPART.CFrame*CF(0,1,0)
  1443. for i = 1, 10 do
  1444. Swait()
  1445. for _, c in pairs(MISSILE:GetChildren()) do
  1446. if c.ClassName == "Part" then
  1447. c.Transparency = c.Transparency - 1/10
  1448. end
  1449. end
  1450. end
  1451. for i = 1, 15*1.5 do
  1452. Swait()
  1453. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1454. end
  1455. ApplyAoE(BASEPART.CFrame.p,40,70,90,150,false)
  1456. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1457. 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(0/255, 0/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1458. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1459. 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1460. MISSILE:remove()
  1461. end))
  1462. end
  1463. end
  1464. wait(0.8)
  1465. ATTACK = false
  1466. Rooted = false
  1467. end
  1468.  
  1469. function TimesUp()
  1470. chatfunc("Your Time has come.")
  1471. CLOCKTARGET = nil
  1472. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1473. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1474. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1475. if TORSO then
  1476. ATTACK = true
  1477. Rooted = false
  1478. coroutine.resume(coroutine.create(function()
  1479. repeat
  1480. Swait()
  1481. 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)
  1482. 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)
  1483. 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)
  1484. 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)
  1485. 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)
  1486. 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)
  1487. until ATTACK == false
  1488. end))
  1489. if Effects:FindFirstChild("NeonDoll") then
  1490. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1491. end
  1492. wait(0.5)
  1493. local FAKECHARACTER = IT("Model",Effects)
  1494. FAKECHARACTER.Name = "NeonDoll"
  1495. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.3,0.3,0.15),false)
  1496. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1497. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1498. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1499. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1500. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1501. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1502. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1503. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really black", "Part", VT(0.15,0.3,0.15),false)
  1504. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1505. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Really red", "Part", VT(0.15,0.15,0.15),false)
  1506. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1507. CreateSound(201858045, TORS, 5, 0.4, false)
  1508. for i = 1, 150 do
  1509. Swait()
  1510. CLOCKSPEED = 1
  1511. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1512. if c.ClassName == "Part" then
  1513. c.Transparency = c.Transparency - 0.5/150
  1514. end
  1515. end
  1516. end
  1517. CLOCKTARGET = HUM
  1518. coroutine.resume(coroutine.create(function()
  1519. repeat Swait() CLOCKSPEED = 30 until CLOCKTARGET == nil
  1520. for i = 1, 25 do
  1521. Swait()
  1522. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1523. if c.ClassName == "Part" then
  1524. c.Transparency = c.Transparency + 0.5/25
  1525. end
  1526. end
  1527. end
  1528. CLOCKSPEED = 5
  1529. FAKECHARACTER:remove()
  1530. end))
  1531. wait(0.5)
  1532. ATTACK = false
  1533. Rooted = false
  1534. end
  1535. end
  1536. end
  1537.  
  1538. function ChainPunch()
  1539. chatfunc("Shadow Fist!")
  1540. ATTACK = true
  1541. Rooted = false
  1542. local GYRO = IT("BodyGyro",RootPart)
  1543. GYRO.D = 25
  1544. GYRO.P = 2000
  1545. GYRO.MaxTorque = VT(0,40000,0)
  1546. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1547. repeat
  1548. Swait()
  1549. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1550. 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)
  1551. 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)
  1552. 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)
  1553. 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)
  1554. 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)
  1555. 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)
  1556. until HOLD == true
  1557. local POS = Mouse.Hit.p
  1558. local CHAINS = false
  1559. local CHAINLINKS = {}
  1560. local A = IT("Attachment",RightArm)
  1561. A.Position = VT(1,-1,0)*SIZE
  1562. A.Orientation = VT(-90, -89.982, 0)
  1563. local B = IT("Attachment",RightArm)
  1564. B.Position = VT(-1,-1,0)*SIZE
  1565. B.Orientation = VT(-90, 89.988, 0)
  1566. local C = IT("Attachment",RightArm)
  1567. C.Position = VT(0.5,-1.3,0)*SIZE
  1568. C.Orientation = VT(-90, -89.982, 0)
  1569. local D = IT("Attachment",RightArm)
  1570. D.Position = VT(-0.5,-1.3,0)*SIZE
  1571. D.Orientation = VT(-90, 89.988, 0)
  1572. local LIGHT = IT("Attachment",RightArm)
  1573. LIGHT.Position = VT(0,-1,0)*SIZE
  1574. local LIGHT2 = IT("PointLight",LIGHT)
  1575. LIGHT2.Range = 7
  1576. LIGHT2.Brightness = 5
  1577. LIGHT2.Color = C3(255/255, 0/255, 0/255)
  1578. for i = 1, 2 do
  1579. local TWIST = -2
  1580. local START = A
  1581. local END = B
  1582. if i == 1 then
  1583. START = B
  1584. END = A
  1585. end
  1586. local ChainLink = IT("Beam",Torso)
  1587. ChainLink.Texture = "rbxassetid://73042633"
  1588. ChainLink.Color = ColorSequence.new(C3(255/255, 0/255, 0/255))
  1589. ChainLink.TextureSpeed = 1
  1590. ChainLink.Width0 = 1
  1591. ChainLink.Width1 = 1
  1592. ChainLink.TextureLength = 2.5
  1593. ChainLink.Attachment0 = START
  1594. ChainLink.Attachment1 = END
  1595. ChainLink.CurveSize0 = TWIST
  1596. ChainLink.CurveSize1 = TWIST
  1597. --ChainLink.FaceCamera = true
  1598. ChainLink.Segments = 45
  1599. ChainLink.Transparency = NumberSequence.new(1)
  1600. table.insert(CHAINLINKS,ChainLink)
  1601. end
  1602. for i = 1, 2 do
  1603. local TWIST = -1
  1604. local START = C
  1605. local END = D
  1606. if i == 1 then
  1607. START = D
  1608. END = C
  1609. end
  1610. local ChainLink = IT("Beam",Torso)
  1611. ChainLink.Texture = "rbxassetid://73042633"
  1612. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1613. ChainLink.TextureSpeed = 1
  1614. ChainLink.Width0 = 1
  1615. ChainLink.Width1 = 1
  1616. ChainLink.TextureLength = 5
  1617. ChainLink.Attachment0 = START
  1618. ChainLink.Attachment1 = END
  1619. ChainLink.CurveSize0 = TWIST
  1620. ChainLink.CurveSize1 = TWIST
  1621. --ChainLink.FaceCamera = true
  1622. ChainLink.Segments = 25
  1623. ChainLink.LightEmission = 0.5
  1624. ChainLink.Transparency = NumberSequence.new(1)
  1625. table.insert(CHAINLINKS,ChainLink)
  1626. end
  1627. coroutine.resume(coroutine.create(function()
  1628. repeat
  1629. Swait()
  1630. 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)
  1631. 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)
  1632. 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)
  1633. 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)
  1634. 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)
  1635. 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)
  1636. until CHAINS == true
  1637. repeat
  1638. Swait()
  1639. 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)
  1640. 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)
  1641. 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)
  1642. 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)
  1643. 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)
  1644. 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)
  1645. until ATTACK == false
  1646. for e = 1, 15 do
  1647. Swait()
  1648. for i = 1, #CHAINLINKS do
  1649. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1650. end
  1651. end
  1652. A:remove()
  1653. B:remove()
  1654. C:remove()
  1655. D:remove()
  1656. end))
  1657. CreateSound(233856115, RightArm, 5, 1.2, false)
  1658. for e = 1, 15 do
  1659. Swait()
  1660. for i = 1, #CHAINLINKS do
  1661. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1662. end
  1663. end
  1664. CHAINS = true
  1665. Rooted = true
  1666. wait(0.25)
  1667. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1668. FIST.Color = C3(255, 0/0, 0)
  1669. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1670. local LIGHT3 = IT("PointLight",FIST)
  1671. LIGHT3.Range = 7
  1672. LIGHT3.Brightness = 5
  1673. LIGHT3.Color = C3(255/255, 0/255, 0/255)
  1674. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1675. local FISTA = IT("Attachment",FIST)
  1676. FISTA.Position = VT(0.062, 0.977, 0)
  1677. local ChainLink = IT("Beam",Torso)
  1678. ChainLink.Texture = "rbxassetid://73042633"
  1679. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1680. ChainLink.TextureSpeed = 0
  1681. ChainLink.Width0 = 3
  1682. ChainLink.Width1 = 3
  1683. ChainLink.TextureLength = 12
  1684. ChainLink.Attachment0 = LIGHT
  1685. ChainLink.Attachment1 = FISTA
  1686. ChainLink.FaceCamera = true
  1687. ChainLink.Segments = 45
  1688. ChainLink.LightEmission = 0.5
  1689. ChainLink.Transparency = NumberSequence.new(0.25)
  1690. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1691. for i = 1, 85 do
  1692. Swait()
  1693. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1694. ChainLink.TextureLength = 12+(i*2)
  1695. ApplyAoE(FIST.Position,10,15,25,100,false)
  1696. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1697. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1698. if HITFLOOR ~= nil then
  1699. HITFLOOR:BreakJoints()
  1700. coroutine.resume(coroutine.create(function()
  1701. for i = 1, 15 do
  1702. Swait()
  1703. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1704. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1705. 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(0/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1706. end
  1707. end))
  1708. break
  1709. end
  1710. end
  1711. coroutine.resume(coroutine.create(function()
  1712. for i = 1, 50 do
  1713. Swait()
  1714. FIST.Transparency = FIST.Transparency + 0.5/50
  1715. LIGHT3.Range = LIGHT3.Range - 300/500
  1716. end
  1717. FIST:remove()
  1718. end))
  1719. LIGHT:remove()
  1720. GYRO:remove()
  1721. ATTACK = false
  1722. Rooted = false
  1723. end
  1724.  
  1725. function WarpMeteor()
  1726. chatfunc("Meteor Strike")
  1727. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1728. if DIST > 180 then
  1729. DIST = 180
  1730. end
  1731. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1732. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1733. if HITFLOOR then
  1734. local POS = HITPOS
  1735. ATTACK = true
  1736. Rooted = true
  1737. local WARPED = false
  1738. local SMASHED = false
  1739. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1740. coroutine.resume(coroutine.create(function()
  1741. repeat
  1742. Swait()
  1743. 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)
  1744. 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)
  1745. 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)
  1746. 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)
  1747. 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)
  1748. 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)
  1749. until WARPED == true
  1750. repeat
  1751. Swait()
  1752. 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)
  1753. 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)
  1754. 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)
  1755. 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)
  1756. 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)
  1757. 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)
  1758. until SMASHED == true
  1759. repeat
  1760. Swait()
  1761. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1762. 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)
  1763. 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)
  1764. 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)
  1765. 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)
  1766. 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)
  1767. until ATTACK == false
  1768. end))
  1769. VALUE1 = true
  1770. CreateSound(233856115, Torso, 5, 1.6, false)
  1771. for i = 1, 25 do
  1772. Swait()
  1773. for _, c in pairs(Character:GetChildren()) do
  1774. if c.ClassName == "Part" then
  1775. c.Transparency = c.Transparency + 1/25
  1776. end
  1777. end
  1778. for _, c in pairs(Weapon:GetChildren()) do
  1779. if c.ClassName == "Part" then
  1780. c.Transparency = c.Transparency + 1/25
  1781. end
  1782. end
  1783. end
  1784. UNANCHOR = false
  1785. RootPart.Anchored = true
  1786. RootPart.Velocity = VT(0,0,0)
  1787. local ROOTPOS = RootPart.Position
  1788. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1789. WARPED = true
  1790. for i = 1, 25 do
  1791. Swait()
  1792. for _, c in pairs(Character:GetChildren()) do
  1793. if c.ClassName == "Part" then
  1794. c.Transparency = c.Transparency - 1/25
  1795. end
  1796. end
  1797. for _, c in pairs(Weapon:GetChildren()) do
  1798. if c.ClassName == "Part" then
  1799. c.Transparency = c.Transparency - 1/25
  1800. end
  1801. end
  1802. end
  1803. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Part", VT(0,0,0))
  1804. SHELL.CFrame = RootPart.CFrame
  1805. MakeForm(SHELL,"Ball")
  1806. CreateSound(402981977, SHELL, 5, 1.6, false)
  1807. for i = 1, 10 do
  1808. Swait()
  1809. SHELL.Transparency = SHELL.Transparency - 1/10
  1810. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1811. end
  1812. for i = 1, math.ceil(75/2) do
  1813. Swait()
  1814. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1815. SHELL.CFrame = CF(RootPart.Position)
  1816. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), 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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1817. end
  1818. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1819. SHELL.CFrame = CF(RootPart.Position)
  1820. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*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})
  1821. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1822. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1823. for i = 1, 5 do
  1824. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*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, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1825. end
  1826. SHELL:remove()
  1827. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1828. SMASHED = true
  1829. wait(1)
  1830. VALUE1 = false
  1831. UNANCHOR = true
  1832. ATTACK = false
  1833. Rooted = false
  1834. end
  1835. end
  1836.  
  1837. function PandorasBox()
  1838. chatfunc("What is Inside The box...?")
  1839. 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)
  1840. if HITFLOOR ~= nil then
  1841. ATTACK = true
  1842. Rooted = true
  1843. local RINGSPIN = true
  1844. local CONSTRUCTING = true
  1845. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1846. RING.Color = C3(0,0,0)
  1847. MakeForm(RING,"Cyl")
  1848. RING.CFrame = CF(HITPOS)
  1849. CreateSound(402981977, RING, 5, 1.2, false)
  1850. coroutine.resume(coroutine.create(function()
  1851. repeat
  1852. Swait()
  1853. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1854. 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)
  1855. 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)
  1856. 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)
  1857. 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)
  1858. 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)
  1859. 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)
  1860. until CONSTRUCTING == false
  1861. repeat
  1862. Swait()
  1863. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1864. until RINGSPIN == false
  1865. for i = 1, 25 do
  1866. Swait()
  1867. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1868. RING.Size = RING.Size - VT(0.15,0,0.15)
  1869. --DECAL.Transparency = DECAL.Transparency + 1/25
  1870. RING.Transparency = RING.Transparency + 1/25
  1871. end
  1872. RING:remove()
  1873. end))
  1874. for i = 1, 15 do
  1875. Swait()
  1876. RING.Size = RING.Size + VT(0.75,0,0.75)
  1877. RING.Transparency = RING.Transparency - 1/15
  1878. end
  1879. local BOXSPIN = true
  1880. local PANDORASBOX = IT("Model",Effects)
  1881. PANDORASBOX.Name = "Pandora's Box"
  1882. local BOX = IT("Model",PANDORASBOX)
  1883. BOX.Name = "Body"
  1884. local LID = IT("Model",PANDORASBOX)
  1885. LID.Name = "Lid"
  1886. --BUILDING THE BOX--
  1887. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1888. BASE.Color = C3(0,0,0)
  1889. PANDORASBOX.PrimaryPart = BASE
  1890. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1891. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1892. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1893. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1894. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1895. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1896. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1897. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,1.9,0.2))
  1898. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1899. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1900. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1901. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1902. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1903. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1904. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1905. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1906. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1907. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1908. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1909. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1910. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1911. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1912. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1913. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1914. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1915. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  1916. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1917. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  1918. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1919. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  1920. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1921. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  1922. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1923. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  1924. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1925. -------------
  1926. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  1927. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1928. LID.PrimaryPart = LIDPART
  1929. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1930. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1931. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(2.1,0.2,0.2))
  1932. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1933. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1934. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1935. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Really red", "Marble", VT(0.2,0.2,2.1))
  1936. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1937. local DECAL = IT("Decal",LIDPART)
  1938. DECAL.Face = "Top"
  1939. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1940. DECAL.Color3 = C3(0,0,0)
  1941. --BUILDING THE BOX--
  1942. coroutine.resume(coroutine.create(function()
  1943. repeat
  1944. Swait()
  1945. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1946. until BOXSPIN == false
  1947. end))
  1948. for i = 1, 25 do
  1949. Swait()
  1950. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1951. end
  1952. wait(0.5)
  1953. BOXSPIN = false
  1954. CONSTRUCTING = false
  1955. coroutine.resume(coroutine.create(function()
  1956. 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})
  1957. --[[for i = 1, 45 do
  1958. Swait()
  1959. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1960. end-
  1961. LID:remove()]]--
  1962. for _, c in pairs(LID:GetChildren()) do
  1963. if c.ClassName == "Part" then
  1964. c.Anchored = false
  1965. c.CanCollide = true
  1966. if c ~= LIDPART then
  1967. weldBetween(LIDPART,c)
  1968. end
  1969. end
  1970. end
  1971. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1972. Debris:AddItem(LID,15)
  1973. wait(0.5)
  1974. local RANDOMEFFECT = MRANDOM(1,4)
  1975. if RANDOMEFFECT == 1 then
  1976. for i = 1, 45 do
  1977. wait((2-(i/15))/15)
  1978. 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})
  1979. end
  1980. wait(1)
  1981. 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})
  1982. 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})
  1983. 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})
  1984. for i = 1, 5 do
  1985. 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})
  1986. end
  1987. ApplyAoE(BASE.Position,50,1,200,375,false)
  1988. ApplyAoE(BASE.Position,250,35,75,175,false)
  1989. elseif RANDOMEFFECT == 2 then
  1990. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1991. FIELD.CFrame = BASE.CFrame
  1992. MakeForm(FIELD,"Ball")
  1993. for i = 1, 50 do
  1994. Swait()
  1995. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1996. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1997. end
  1998. wait(0.2)
  1999. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2000. coroutine.resume(coroutine.create(function()
  2001. for i = 1, 75 do
  2002. Swait()
  2003. LOOP.Volume = LOOP.Volume + 10/75
  2004. LOOP.Parent = FIELD
  2005. local CHILDREN = workspace:GetDescendants()
  2006. for index, CHILD in pairs(CHILDREN) do
  2007. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2008. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2009. if HUM then
  2010. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2011. if TORSO then
  2012. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2013. HUM.Health = HUM.Health - 0.1
  2014. TORSO.Velocity = VT(0,5,0)
  2015. HUM.PlatformStand = true
  2016. if TORSO.RotVelocity.Magnitude < 15 then
  2017. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2018. end
  2019. end
  2020. end
  2021. end
  2022. end
  2023. end
  2024. FIELD.Size = FIELD.Size + VT(3,3,3)
  2025. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2026. end
  2027. for i = 1, 500 do
  2028. Swait()
  2029. LOOP.Parent = FIELD
  2030. local CHILDREN = workspace:GetDescendants()
  2031. for index, CHILD in pairs(CHILDREN) do
  2032. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2033. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2034. if HUM then
  2035. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2036. if TORSO then
  2037. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2038. TORSO.Velocity = VT(0,5,0)
  2039. HUM.Health = HUM.Health - 0.1
  2040. HUM.PlatformStand = true
  2041. if TORSO.RotVelocity.Magnitude < 15 then
  2042. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2043. end
  2044. end
  2045. end
  2046. end
  2047. end
  2048. end
  2049. end
  2050. for i = 1, 25 do
  2051. Swait()
  2052. LOOP.Volume = LOOP.Volume + 10/25
  2053. LOOP.Parent = FIELD
  2054. local CHILDREN = workspace:GetDescendants()
  2055. for index, CHILD in pairs(CHILDREN) do
  2056. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2057. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2058. if HUM then
  2059. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2060. if TORSO then
  2061. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2062. TORSO.Velocity = VT(0,5,0)
  2063. HUM.Health = HUM.Health - 0.1
  2064. HUM.PlatformStand = false
  2065. if TORSO.RotVelocity.Magnitude < 15 then
  2066. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2067. end
  2068. end
  2069. end
  2070. end
  2071. end
  2072. end
  2073. FIELD.Size = FIELD.Size - VT(3,3,3)
  2074. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2075. end
  2076. FIELD:remove()
  2077. end))
  2078. elseif RANDOMEFFECT == 3 then
  2079. for i = 1, 10 do
  2080. wait(0.15)
  2081. 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})
  2082. coroutine.resume(coroutine.create(function()
  2083. local MINION = CLONE:Clone()
  2084. MINION.Parent = Effects
  2085. MINION.Name = "Shadow"
  2086. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2087. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2088. for _, c in pairs(MINION:GetChildren()) do
  2089. if c.ClassName == "Part" then
  2090. c.Material = "Neon"
  2091. c.Color = C3(0,0,0)
  2092. c.Transparency = 0.25
  2093. if c.Name == "Head" then
  2094. c:ClearAllChildren()
  2095. local MSH = IT("BlockMesh",c)
  2096. MSH.Scale = VT(0.5,1,1)
  2097. end
  2098. end
  2099. end
  2100. local TORSO = MINION.Torso
  2101. local HUMAN = MINION.Humanoid
  2102. HUMAN.WalkSpeed = 20
  2103. HUMAN.MaxHealth = math.huge
  2104. HUMAN.Health = math.huge
  2105. HUMAN.DisplayDistanceType = "None"
  2106. HUMAN.Died:connect(function()
  2107. MINION:remove()
  2108. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2109. end)
  2110. wait(1)
  2111. local findNearestTorso = function(POS)
  2112. local list = game.Workspace:GetDescendants()
  2113. local torso = nil
  2114. local dist = 500
  2115. local temp = nil
  2116. local human = nil
  2117. local temp2 = nil
  2118. for x = 1, #list do
  2119. temp2 = list[x]
  2120. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2121. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2122. human = temp2:findFirstChildOfClass("Humanoid")
  2123. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2124. if (temp.Position - POS).magnitude < dist then
  2125. torso = temp
  2126. dist = (temp.Position - POS).magnitude
  2127. end
  2128. end
  2129. end
  2130. end
  2131. return torso, dist
  2132. end
  2133. for i = 1, 40 do
  2134. if HUMAN.Health == 0 then
  2135. break
  2136. end
  2137. wait(0.3)
  2138. local target,dist= findNearestTorso(TORSO.Position)
  2139. if target then
  2140. HUMAN:MoveTo(target.Position)
  2141. if dist < 25 then
  2142. CreateSound(348663022, TORSO, 10, 1, true)
  2143. wait(2)
  2144. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2145. --ANIM:Play()
  2146. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2147. ApplyAoE(TORSO.Position,10,0,0,85,true)
  2148. 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})
  2149. for i = 1, 5 do
  2150. 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})
  2151. end
  2152. break
  2153. end
  2154. end
  2155. end
  2156. MINION:remove()
  2157. end))
  2158. end
  2159. elseif RANDOMEFFECT == 4 then
  2160. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2161. FIELD.Color = C3(0,0,0)
  2162. FIELD.CFrame = BASE.CFrame
  2163. MakeForm(FIELD,"Ball")
  2164. FIELD.CanCollide = true
  2165. for i = 1, 50 do
  2166. Swait()
  2167. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2168. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2169. end
  2170. wait(0.2)
  2171. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2172. coroutine.resume(coroutine.create(function()
  2173. local E = 0
  2174. for i = 1, 75 do
  2175. E = E + 1
  2176. Swait()
  2177. if E >= 35 then
  2178. E = 0
  2179. 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})
  2180. end
  2181. LOOP.Volume = LOOP.Volume + 10/75
  2182. LOOP.Parent = FIELD
  2183. local CHILDREN = workspace:GetDescendants()
  2184. for index, CHILD in pairs(CHILDREN) do
  2185. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2186. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2187. if HUM then
  2188. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2189. if TORSO then
  2190. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2191. for _, c in pairs(CHILD:GetChildren()) do
  2192. if c:IsA("BasePart") then
  2193. local bv = Instance.new("BodyVelocity")
  2194. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2195. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2196. bv.Parent = c
  2197. Debris:AddItem(bv,0.05)
  2198. end
  2199. end
  2200. HUM.Health = HUM.Health - 0.3
  2201. end
  2202. end
  2203. end
  2204. end
  2205. end
  2206. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2207. end
  2208. for i = 1, 180 do
  2209. E = E + 1
  2210. Swait()
  2211. if E >= 35 then
  2212. E = 0
  2213. 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})
  2214. end
  2215. LOOP.Parent = FIELD
  2216. local CHILDREN = workspace:GetDescendants()
  2217. for index, CHILD in pairs(CHILDREN) do
  2218. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2219. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2220. if HUM then
  2221. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2222. if TORSO then
  2223. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2224. for _, c in pairs(CHILD:GetChildren()) do
  2225. if c:IsA("BasePart") then
  2226. local bv = Instance.new("BodyVelocity")
  2227. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2228. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2229. bv.Parent = c
  2230. Debris:AddItem(bv,0.05)
  2231. end
  2232. end
  2233. HUM.Health = HUM.Health - 0.3
  2234. end
  2235. end
  2236. end
  2237. end
  2238. end
  2239. end
  2240. ApplyAoE(FIELD.Position,40,15,20,375,false)
  2241. 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})
  2242. for i = 1, 5 do
  2243. 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})
  2244. end
  2245. FIELD:remove()
  2246. end))
  2247. elseif RANDOMEFFECT == 5 then
  2248. end
  2249. wait(0.5)
  2250. for i = 1, 25 do
  2251. Swait()
  2252. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2253. end
  2254. PANDORASBOX:remove()
  2255. RINGSPIN = false
  2256. end))
  2257. ATTACK = false
  2258. Rooted = false
  2259. end
  2260. end
  2261.  
  2262. function TimeSweep()
  2263. ATTACK = true
  2264. Rooted = false
  2265. for i=0, 0.5, 0.1 / Animation_Speed do
  2266. Swait()
  2267. 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)
  2268. 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)
  2269. end
  2270. for e = 1, #BODY do
  2271. if BODY[e] ~= nil then
  2272. local STUFF = BODY[e]
  2273. local PART = STUFF[1]
  2274. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2275. local PRT = PART:Clone()
  2276. PRT.Anchored = true
  2277. PRT.CanCollide = false
  2278. PRT.Material = "Neon"
  2279. PRT.Color = C3(1,0,0)
  2280. PRT.Name = "WarpEffect"
  2281. PRT.Parent = Effects
  2282. PRT.CFrame = PART.CFrame
  2283. PRT:BreakJoints()
  2284. if PRT:FindFirstChildOfClass("Sound") then
  2285. PRT:FindFirstChildOfClass("Sound"):remove()
  2286. end
  2287. if PRT:FindFirstChildOfClass("Decal") then
  2288. PRT:FindFirstChildOfClass("Decal"):remove()
  2289. end
  2290. coroutine.resume(coroutine.create(function()
  2291. for i = 1, 100 do
  2292. Swait()
  2293. PRT.Transparency = PRT.Transparency + 1/100
  2294. end
  2295. PRT:remove()
  2296. end))
  2297. end
  2298. end
  2299. end
  2300. local POS = RootPart.Orientation
  2301. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2302. RootPart.Orientation = POS
  2303. RootJoint.Parent = RootPart
  2304. for i=0, 0.5, 0.1 / Animation_Speed do
  2305. Swait()
  2306. 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)
  2307. 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)
  2308. end
  2309. for i=0, 0.1, 0.1 / Animation_Speed do
  2310. Swait()
  2311. 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)
  2312. end
  2313. ATTACK = false
  2314. Rooted = false
  2315. end
  2316.  
  2317. function Taunt()
  2318. chatfunc("Just don't bore me yeah")
  2319. ATTACK = true
  2320. Rooted = true
  2321. local TAUNT = CreateSound(159882635, Torso,17, 1, false)
  2322. repeat
  2323. Swait()
  2324. TAUNT.Parent = Torso
  2325. TAUNT.Playing = true
  2326. 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)
  2327. 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)
  2328. 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)
  2329. 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)
  2330. 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)
  2331. 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)
  2332. until TAUNT.TimePosition >= 1.25
  2333. for i=0, 1.6, 0.1 / Animation_Speed do
  2334. Swait()
  2335. TAUNT.Parent = Torso
  2336. 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)
  2337. 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)
  2338. 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)
  2339. 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)
  2340. 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)
  2341. 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)
  2342. end
  2343. ATTACK = false
  2344. Rooted = false
  2345. end
  2346.  
  2347. function Smite()
  2348. local RING, MESH, DELET = MakeRing()
  2349. local POS = Mouse.Hit.p
  2350. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  2351. for i = 1, 45 do
  2352. Swait()
  2353. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  2354. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2355. end
  2356. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  2357. if HITFLOOR then
  2358. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2359. MakeForm(BEAM, "Cyl")
  2360. local DIST = (RING.Position - HITPOS).Magnitude
  2361. BEAM.Size = VT(0, DIST, 0)
  2362. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2363. for i = 1, 5 do
  2364. WACKYEFFECT({
  2365. EffectType = "Wave",
  2366. Size = VT(25, 0, 25),
  2367. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  2368. Transparency = 0,
  2369. Transparency2 = 1,
  2370. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2371. MoveToPos = nil,
  2372. RotationX = 0,
  2373. RotationY = 3,
  2374. RotationZ = 0,
  2375. Material = "Neon",
  2376. Color = C3(0, 0, 0),
  2377. SoundID = nil,
  2378. SoundPitch = nil,
  2379. SoundVolume = nil
  2380. })
  2381. WACKYEFFECT({
  2382. EffectType = "Round Slash",
  2383. Size = VT(3, 0, 3) / 13,
  2384. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  2385. Transparency = 0,
  2386. Transparency2 = 1,
  2387. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  2388. MoveToPos = nil,
  2389. RotationX = 0,
  2390. RotationY = 0,
  2391. RotationZ = 0,
  2392. Material = "Neon",
  2393. Color = C3(1, 0, 0),
  2394. SoundID = nil,
  2395. SoundPitch = nil,
  2396. SoundVolume = nil
  2397. })
  2398. WACKYEFFECT({
  2399. Time = 35,
  2400. EffectType = "Sphere",
  2401. Size = VT(22, 22, 22),
  2402. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  2403. Transparency = 0,
  2404. Transparency2 = 1,
  2405. CFrame = CF(HITPOS),
  2406. MoveToPos = nil,
  2407. RotationX = 0,
  2408. RotationY = 0,
  2409. RotationZ = 0,
  2410. Material = "Neon",
  2411. Color = C3(0, 0, 0),
  2412. SoundID = 459523898,
  2413. SoundPitch = MRANDOM(9, 12) / 10,
  2414. SoundVolume = 10
  2415. })
  2416. end
  2417. SHAKECAM(HITPOS, 100, 8, 15)
  2418. ApplyAoE(HITPOS, 50)
  2419. for i = 1, 25 do
  2420. Swait()
  2421. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  2422. BEAM.Transparency = BEAM.Transparency + 0.04
  2423. end
  2424. BEAM:remove()
  2425. end
  2426. wait(0.2)
  2427. DELET()
  2428. end
  2429.  
  2430. function Earthquake()
  2431. ATTACK = true
  2432. Rooted = true
  2433. local GYRO = IT("BodyGyro", RootPart)
  2434. GYRO.D = 20
  2435. GYRO.P = 4000
  2436. GYRO.MaxTorque = VT(0, 40000, 0)
  2437. local RING, MESH, DELET = MakeRing()
  2438. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2439. RING.CFrame = CF(HITPOS)
  2440. for i = 0, 0.6, 0.1 / Animation_Speed do
  2441. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2442. Swait()
  2443. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  2444. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2445. 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})
  2446. 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)
  2447. 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)
  2448. end
  2449. local BLASTS = {468991944, 468991990}
  2450. coroutine.resume(coroutine.create(function()
  2451. local CFRAME = RootPart.CFrame
  2452. for i = 1, 100 do
  2453. CFRAME = CFRAME * CF(0, 0, -35)
  2454. do
  2455. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2456. if HITFLOOR then
  2457. Swait()
  2458. do
  2459. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  2460. coroutine.resume(coroutine.create(function()
  2461. local RING, MESH, DELET = MakeRing()
  2462. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  2463. for i = 1, 25 do
  2464. Swait()
  2465. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  2466. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2467. end
  2468. ApplyAoE(RING.Position, 65)
  2469. SHAKECAM(RING.Position, 80, 12, 15)
  2470. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2471. WACKYEFFECT({
  2472. Time = 25,
  2473. EffectType = "Sphere",
  2474. Size = VT(22, 22, 22),
  2475. Size2 = VT(85, 85, 85),
  2476. Transparency = 0,
  2477. Transparency2 = 1,
  2478. CFrame = CF(RING.Position),
  2479. MoveToPos = nil,
  2480. RotationX = 0,
  2481. RotationY = 0,
  2482. RotationZ = 0,
  2483. Material = "Neon",
  2484. Color = C3(0, 0, 0),
  2485. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2486. SoundPitch = MRANDOM(9, 12) / 10,
  2487. SoundVolume = 10
  2488. })
  2489. for e = 1, 3 do
  2490. WACKYEFFECT({
  2491. EffectType = "Wave",
  2492. Size = VT(25, 0, 25),
  2493. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2494. Transparency = 0,
  2495. Transparency2 = 1,
  2496. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2497. MoveToPos = nil,
  2498. RotationX = 0,
  2499. RotationY = 3,
  2500. RotationZ = 0,
  2501. Material = "Neon",
  2502. Color = C3(0, 0, 0),
  2503. SoundID = nil,
  2504. SoundPitch = nil,
  2505. SoundVolume = nil
  2506. })
  2507. WACKYEFFECT({
  2508. Time = 35,
  2509. EffectType = "Sphere",
  2510. Size = VT(22, 45, 22),
  2511. Size2 = VT(25, 45 + e * 75, 25),
  2512. Transparency = 0,
  2513. Transparency2 = 1,
  2514. CFrame = CF(RING.Position) * TURN,
  2515. MoveToPos = nil,
  2516. RotationX = 0,
  2517. RotationY = 0,
  2518. RotationZ = 0,
  2519. Material = "Neon",
  2520. Color = C3(0, 0, 0),
  2521. SoundID = nil,
  2522. SoundPitch = MRANDOM(9, 12) / 10,
  2523. SoundVolume = 10
  2524. })
  2525. end
  2526. wait(0.3)
  2527. DELET()
  2528. end))
  2529. end
  2530. end
  2531. end
  2532. end
  2533. end))
  2534. Rooted = false
  2535. DELET()
  2536. GYRO:remove()
  2537. ATTACK = false
  2538. Rooted = false
  2539. end
  2540.  
  2541. function SpawnSmite(POS)
  2542. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2543. local EMITPOS = HITPOS
  2544. if HITFLOOR ~= nil then
  2545. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2546. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2547. EMITPOS = HITPOS
  2548. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2549. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2550. EMITPOS = HITPOS
  2551. end
  2552. end
  2553. if HITFLOOR ~= nil then
  2554. ApplyAoE(EMITPOS,10)
  2555. 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})
  2556. 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})
  2557. 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})
  2558. for i = 1, 5 do
  2559. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2560. 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})
  2561. end
  2562. end
  2563. end
  2564.  
  2565. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2566. coroutine.resume(coroutine.create(function()
  2567. local METEOR = IT("Model",Effects)
  2568. METEOR.Name = "Meteorite"
  2569. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2570. METEOR.PrimaryPart = CENTER
  2571. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2572. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2573. for i = 1, 15 do
  2574. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  2575. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2576. end
  2577. if ISDEBREE ~= true then
  2578. 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))))
  2579. else
  2580. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2581. end
  2582. local IMPACT = false
  2583. CreateSound(463593339, CENTER, 10, 0.6)
  2584. if SIZE >= 3.5 then
  2585. for i = 1, MRANDOM(3,7) do
  2586. 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)
  2587. end
  2588. end
  2589. for i = 1, 200 do
  2590. Swait()
  2591. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  2592. if HITFLOOR == nil then
  2593. local ORI = CENTER.Orientation
  2594. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2595. else
  2596. if HITFLOOR.Anchored == true then
  2597. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2598. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  2599. end
  2600. IMPACT = true
  2601. break
  2602. end
  2603. end
  2604. if IMPACT == true then
  2605. 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})
  2606. 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})
  2607. 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})
  2608. ApplyAoE(CENTER.Position,30*SIZE)
  2609. end
  2610. METEOR:remove()
  2611. end))
  2612. end
  2613.  
  2614. function Smite2()
  2615. ATTACK = true
  2616. Rooted = false
  2617. CreateSound(1368573150, RightArm, 3, 1.5)
  2618. for i=0, 0.6, 0.1 / Animation_Speed do
  2619. Swait()
  2620. 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})
  2621. 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)
  2622. 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)
  2623. end
  2624. local POWER = 0
  2625. repeat
  2626. Swait()
  2627. WACKYEFFECT({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})
  2628. 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)
  2629. 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)
  2630. POWER = POWER + 0.5
  2631. if POWER >= 85 then
  2632. POWER = 85
  2633. end
  2634. until KEYHOLD == false
  2635. if POWER < 0.6 then
  2636. SpawnSmite(Mouse.Hit.p)
  2637. else
  2638. if POWER < 15 then
  2639. POWER = 15
  2640. end
  2641. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2642. end
  2643. ATTACK = false
  2644. Rooted = false
  2645. end
  2646.  
  2647. function Taunt2()
  2648. chatfunc("I don't have all day.")
  2649. ATTACK = true
  2650. Rooted = false
  2651. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  2652. coroutine.resume(coroutine.create(function()
  2653. repeat
  2654. Swait()
  2655. 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)
  2656. 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)
  2657. 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)
  2658. 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)
  2659. 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)
  2660. 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)
  2661. until ATTACK == false
  2662. end))
  2663. repeat wait() until TAUNT.Playing == false
  2664. ATTACK = false
  2665. Rooted = false
  2666. end
  2667.  
  2668. function Prison_Key()
  2669. if Mouse.Target ~= nil then
  2670. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2671. chatfunc("See ya.")
  2672. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2673. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2674. local GYRO = IT("BodyGyro",RootPart)
  2675. GYRO.D = 750
  2676. GYRO.P = 20000
  2677. GYRO.MaxTorque = VT(0,40000000,0)
  2678. local grav = Instance.new("BodyPosition",TORSO)
  2679. grav.D = 15
  2680. grav.P = 20000
  2681. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2682. grav.position = TORSO.Position
  2683. local GYRO2 = IT("BodyGyro",TORSO)
  2684. GYRO2.D = 750
  2685. GYRO2.P = 20000
  2686. GYRO2.MaxTorque = VT(0,40000000,0)
  2687. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2688. grav.Name = "Jail"
  2689. local LOCKPARTS = {}
  2690. ATTACK = true
  2691. Rooted = false
  2692. local LOCK = IT("Model",Effects)
  2693. LOCK.Name = "Lock"
  2694. local LOCK2 = IT("Model",LOCK)
  2695. LOCK2.Name = "Metal"
  2696. --CREATE LOCK--
  2697. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  2698. LOCK.PrimaryPart = BASE
  2699. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2700. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  2701. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2702. MakeForm(PRT,"Cyl")
  2703. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2704. PRT.Color = C3(0.58,0.58,0.58)
  2705. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2706. MakeForm(PRT,"Cyl")
  2707. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2708. PRT.Color = C3(0.58,0.58,0.58)
  2709. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2710. for i = 1, 45 do
  2711. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2712. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2713. end
  2714. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2715. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2716. LOCK2.PrimaryPart = PRT
  2717. ---------------
  2718. local CHILDREN = LOCK:GetDescendants()
  2719. for index, CHILD in pairs(CHILDREN) do
  2720. if CHILD:IsA("BasePart") then
  2721. CHILD.Transparency = 1
  2722. end
  2723. end
  2724. for i = 1, 75 do
  2725. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2726. Swait()
  2727. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2728. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2729. local CHILDREN = LOCK:GetDescendants()
  2730. for index, CHILD in pairs(CHILDREN) do
  2731. if CHILD:IsA("BasePart") then
  2732. CHILD.Transparency = CHILD.Transparency - 1/75
  2733. end
  2734. end
  2735. end
  2736. HUM.DisplayDistanceType = "None"
  2737. local KEY = IT("Model",Effects)
  2738. KEY.Name = "Key"
  2739. --CREATE KEY--
  2740. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "KeyBase", VT(0.1, 1, 0.1),false)
  2741. KEY.PrimaryPart = KBASE
  2742. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2743. local WLD = weldBetween(RightArm,KBASE)
  2744. for i = 1, 45 do
  2745. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.1, 0.1, 0.1),false)
  2746. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2747. weldBetween(KBASE,PRT)
  2748. end
  2749. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2750. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2751. weldBetween(KBASE,PRT)
  2752. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really red", "Key", VT(0.3, 0.1, 0.1),false)
  2753. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2754. weldBetween(KBASE,PRT)
  2755. --------------
  2756. Rooted = true
  2757. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2758. coroutine.resume(coroutine.create(function()
  2759. for i = 1, 10 do
  2760. Swait()
  2761. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2762. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2763. end
  2764. CreateSound(1149318312,BASE,5,1,false)
  2765. CreateSound(160772554,BASE,3,1,false)
  2766. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2767. for i = 1, 4 do
  2768. 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"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2769. end
  2770. 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"Really red".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2771. wait(1)
  2772. TORSO.Parent.Parent = LOCK
  2773. for i = 1, 75 do
  2774. Swait()
  2775. local CHILDREN = KEY:GetDescendants()
  2776. for index, CHILD in pairs(CHILDREN) do
  2777. if CHILD:IsA("BasePart") then
  2778. CHILD.Transparency = i/25
  2779. end
  2780. end
  2781. local CHILDREN = LOCK:GetDescendants()
  2782. for index, CHILD in pairs(CHILDREN) do
  2783. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2784. CHILD.Transparency = CHILD.Transparency + 1/75
  2785. elseif CHILD.ClassName == "Decal" then
  2786. CHILD.Transparency = CHILD.Transparency + 1/75
  2787. end
  2788. end
  2789. end
  2790. TORSO.Parent:ClearAllChildren()
  2791. KEY:remove()
  2792. LOCK:remove()
  2793. end))
  2794. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2795. GYRO:remove()
  2796. ATTACK = false
  2797. Rooted = false
  2798. end
  2799. end
  2800. end
  2801.  
  2802. function Endless_Pain()
  2803. local HITBODIES = {}
  2804. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2805. if HITFLOOR ~= nil then
  2806. CreateSound("463598785", RootPart, 10, 0.8)
  2807. ATTACK = true
  2808. Rooted = true
  2809. VALUE1 = true
  2810. for i = 1, 500 do
  2811. Swait()
  2812. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  2813. 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))), "Really red", VT(0.001, 0, 0.001))
  2814. 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)), "Really red", VT(0, 0, 0))
  2815. 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)
  2816. 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)
  2817. 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)
  2818. 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)
  2819. 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)
  2820. 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)
  2821. for e = 1, #HITBODIES do
  2822. if HITBODIES[e] ~= nil then
  2823. local BOD = HITBODIES[e]
  2824. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2825. if TORS and TORS:FindFirstChild("BV") == nil then
  2826. local bv = Instance.new("BodyVelocity")
  2827. bv.Name = "BV"
  2828. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2829. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  2830. bv.Parent = TORS
  2831. Debris:AddItem(bv, 0.1)
  2832. end
  2833. end
  2834. end
  2835. end
  2836. coroutine.resume(coroutine.create(function()
  2837. for e = 1, #HITBODIES do
  2838. Swait()
  2839. if HITBODIES[e] ~= nil then
  2840. local BOD = HITBODIES[e]
  2841. for i = 1, #HITBODIES do
  2842. if HITBODIES[i] == BOD and i ~= e then
  2843. table.remove(HITBODIES, i)
  2844. end
  2845. end
  2846. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2847. if TORS then
  2848. TORS.Anchored = false
  2849. CreateSound("92597369", TORS, 10, 0.8)
  2850. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  2851. BOD:BreakJoints()
  2852. for _, c in pairs(BOD:GetChildren()) do
  2853. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2854. local bv = Instance.new("BodyVelocity")
  2855. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2856. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  2857. bv.Parent = c
  2858. Debris:AddItem(bv, 0.2)
  2859. end
  2860. end
  2861. end
  2862. end
  2863. end
  2864. end))
  2865. VALUE1 = false
  2866. ATTACK = false
  2867. Rooted = false
  2868. end
  2869. end
  2870.  
  2871. function Inferno_Ring()
  2872. ATTACK = true
  2873. Rooted = false
  2874. local GYRO = IT("BodyGyro",RootPart)
  2875. GYRO.D = 750
  2876. GYRO.P = 20000
  2877. GYRO.MaxTorque = VT(0,40000000,0)
  2878. local FIRE = IT("Model",Effects)
  2879. FIRE.Name = "Fire"
  2880. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "Center", VT(0,0,0))
  2881. FIRE.PrimaryPart = MAIN
  2882. local FIRES = {}
  2883. for i = 1, 45 do
  2884. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "RingPart", VT(3,3,3))
  2885. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  2886. local F = Fire(PRT)
  2887. table.insert(FIRES,F)
  2888. end
  2889. repeat
  2890. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  2891. Pose("Cast1",1.5,0.01,false,GYRO)
  2892. until HOLD == true
  2893. coroutine.resume(coroutine.create(function()
  2894. for i = 1, 4 do
  2895. ApplyAoE(MAIN.Position,21,-15,true)
  2896. CreateSound(463598785,MAIN,3,1,false)
  2897. for E = 1, #FIRES do
  2898. if FIRES[E] ~= nil then
  2899. FIRES[E].Acceleration = VT(0,300,0)
  2900. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  2901. end
  2902. end
  2903. wait(0.3)
  2904. end
  2905. for E = 1, #FIRES do
  2906. if FIRES[E] ~= nil then
  2907. FIRES[E].Enabled = false
  2908. end
  2909. end
  2910. Debris:AddItem(FIRE,5)
  2911. end))
  2912. CreateSound(215395388,RightArm,3,2,false)
  2913. Pose("RightArmUp",1.5,0.5,true)
  2914. GYRO:remove()
  2915. ATTACK = false
  2916. Rooted = false
  2917. end
  2918.  
  2919. function TakeOnMe()
  2920. Speed = 5
  2921. local MEME = CreateSound(1554763595, Effects, 2, 1, false)
  2922. ATTACK = true
  2923. Rooted = false
  2924. local DANCE = true
  2925. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  2926. if NEWKEY == "]" then
  2927. DANCE = false
  2928. end
  2929. end)
  2930. PLAYSONG = false
  2931. while true do
  2932. for i = 1, 15 do
  2933. Swait()
  2934. MEME.Parent = Effects
  2935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.4*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.5*SIZE + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2937. 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)
  2938. 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)
  2939. 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)
  2940. 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)
  2941. end
  2942. if DANCE == false then
  2943. break
  2944. end
  2945. for i = 1, 15 do
  2946. Swait()
  2947. MEME.Parent = Effects
  2948. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.4*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2949. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.5*SIZE + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2950. 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)
  2951. 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)
  2952. 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)
  2953. 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)
  2954. end
  2955. end
  2956. PLAYSONG = true
  2957. KEY:Disconnect()
  2958. MEME:remove()
  2959. Speed = 25
  2960. ATTACK = false
  2961. Rooted = false
  2962. end
  2963.  
  2964. --//=================================\\
  2965. --|| ASSIGN THINGS TO KEYS
  2966. --\\=================================//
  2967.  
  2968. function MouseDown(Mouse)
  2969. HOLD = true
  2970. if ATTACK == false then
  2971. end
  2972. end
  2973.  
  2974. function MouseUp(Mouse)
  2975. HOLD = false
  2976. end
  2977.  
  2978. function KeyDown(Key)
  2979. KEYHOLD = true
  2980. if Key == "z" and ATTACK == false then
  2981. MagicMissiles()
  2982. end
  2983.  
  2984. if Key == "b" and ATTACK == false then
  2985. TimesUp()
  2986. end
  2987.  
  2988. if Key == "q" and ATTACK == false then
  2989. TimeSweep()
  2990. end
  2991.  
  2992. if Key == "f" and ATTACK == false then
  2993. Smite2()
  2994. end
  2995.  
  2996. if Key == "g" and ATTACK == false then
  2997. Endless_Pain()
  2998. end
  2999.  
  3000. if Key == "c" and ATTACK == false then
  3001. ChainPunch()
  3002. end
  3003.  
  3004. if Key == "]" and ATTACK == false then
  3005. TakeOnMe()
  3006. end
  3007.  
  3008. if Key == "r" and ATTACK == false then
  3009. Earthquake()
  3010. end
  3011.  
  3012. if Key == "y" and ATTACK == false then
  3013. Prison_Key()
  3014. end
  3015.  
  3016. if Key == "v" and ATTACK == false then
  3017. WarpMeteor()
  3018. end
  3019.  
  3020. if Key == "t" and ATTACK == false then
  3021. Smite()
  3022. end
  3023.  
  3024. if Key == "h" and ATTACK == false then
  3025. Inferno_Ring()
  3026. end
  3027.  
  3028. if Key == "x" and ATTACK == false then
  3029. PandorasBox()
  3030. end
  3031.  
  3032. if Key == "1" and ATTACK == false then
  3033. Taunt()
  3034. end
  3035.  
  3036. if Key == "2" and ATTACK == false then
  3037. Taunt2()
  3038. end
  3039. end
  3040.  
  3041. function KeyUp(Key)
  3042. KEYHOLD = false
  3043. end
  3044.  
  3045. Mouse.Button1Down:connect(function(NEWKEY)
  3046. MouseDown(NEWKEY)
  3047. end)
  3048. Mouse.Button1Up:connect(function(NEWKEY)
  3049. MouseUp(NEWKEY)
  3050. end)
  3051. Mouse.KeyDown:connect(function(NEWKEY)
  3052. KeyDown(NEWKEY)
  3053. end)
  3054. Mouse.KeyUp:connect(function(NEWKEY)
  3055. KeyUp(NEWKEY)
  3056. end)
  3057.  
  3058. --//=================================\\
  3059. --\\=================================//
  3060.  
  3061.  
  3062. function unanchor()
  3063. if UNANCHOR == true then
  3064. RootPart.Anchored = false
  3065. end
  3066. g = Character:GetChildren()
  3067. for i = 1, #g do
  3068. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  3069. g[i].Anchored = false
  3070. end
  3071. end
  3072. g = Weapon:GetChildren()
  3073. for i = 1, #g do
  3074. if g[i].ClassName == "Part" then
  3075. g[i].Anchored = false
  3076. end
  3077. end
  3078. end
  3079.  
  3080.  
  3081. --//=================================\\
  3082. --|| WRAP THE WHOLE SCRIPT UP
  3083. --\\=================================//
  3084.  
  3085. Humanoid.Changed:connect(function(Jump)
  3086. if Jump == "Jump" and (Disable_Jump == true) then
  3087. Humanoid.Jump = false
  3088. end
  3089. end)
  3090.  
  3091. while true do
  3092. Swait()
  3093. script.Parent = WEAPONGUI
  3094. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3095. v:Stop();
  3096. end
  3097. ANIMATE.Parent = nil
  3098. SINE = SINE + CHANGE*1.5
  3099. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3100. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3101. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3102. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  3103. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3104. 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)
  3105. 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)
  3106. 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)
  3107. 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)
  3108. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3109. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3110. 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)
  3111. 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)
  3112. 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)
  3113. end
  3114. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3115. ANIM = "Jump"
  3116. if ATTACK == false then
  3117. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3118. 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)
  3119. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3120. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3121. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  3122. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  3123. end
  3124. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3125. ANIM = "Fall"
  3126. if ATTACK == false then
  3127. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3128. 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)
  3129. 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)
  3130. 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)
  3131. 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)
  3132. 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)
  3133. end
  3134. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3135. ANIM = "Idle"
  3136. if ATTACK == false then
  3137. 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)
  3138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.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)
  3140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 25)), RAD(55 - 2.5 * SIN(SINE / 25))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3141. 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)
  3142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1.3- 0.06 * SIN(SINE / 24)*SIZE - 0.1 * SIN(SINE / 12) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(-5 - 5 *COS(SINE / 12))) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3143. end
  3144. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3145. ANIM = "Walk"
  3146. if ATTACK == false then
  3147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  3149. 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)
  3150. 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)
  3151. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3153. end
  3154. end
  3155. unanchor()
  3156. Humanoid.MaxHealth = "inf"
  3157. Humanoid.Health = "inf"
  3158. if Rooted == false then
  3159. Disable_Jump = false
  3160. Humanoid.WalkSpeed = Speed
  3161. elseif Rooted == true then
  3162. Disable_Jump = true
  3163. Humanoid.WalkSpeed = 0
  3164. end
  3165. for _, c in pairs(Character:GetChildren()) do
  3166. if c.ClassName == "Part" and c.Name ~= "Detail" then
  3167. c.Material = "Fabric"
  3168. if c:FindFirstChildOfClass("ParticleEmitter") then
  3169. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3170. end
  3171. if c ~= Head then
  3172. c.Color = C3(0,0,0)
  3173. else
  3174. c.Color = C3(0,0,0)
  3175. end
  3176. if c == Head then
  3177. if c:FindFirstChild("face") then
  3178. c.face:remove()
  3179. end
  3180. end
  3181. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3182. c:remove()
  3183. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3184. c:remove()
  3185. end
  3186. sick.SoundId = "rbxassetid://725718078"
  3187. sick.Looped = true
  3188. sick.Pitch = .95
  3189. sick.Volume = 2
  3190. sick.Parent = RootJoint
  3191. sick.Playing = PLAYSONG
  3192. end
  3193. Humanoid.Name = "Superior by Guest_842104 "..Player.Name
  3194. end
  3195.  
  3196. --//=================================\\
  3197. --\\=================================//
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203. --//====================================================\\--
  3204. --|| END OF SCRIPT
  3205. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement