Advertisement
Guest User

Pandora Switcher

a guest
Dec 23rd, 2019
2,144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 246.44 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Translated to FE by Phantom Ghost")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. wait(1 / 60)
  85. p = owner
  86. char = p.Character
  87. torso = char.Torso
  88. neck = char.Torso.Neck
  89. hum = char.Humanoid
  90. hum.MaxHealth = 75000
  91. wait()
  92. hum.Health =hum.MaxHealth
  93. char.Head.face.Texture = "rbxassetid://405587215"
  94.  
  95. function startup()
  96. coroutine.resume(coroutine.create(function()
  97. local m = Instance.new("Model", char)
  98. m.Name = "* C"
  99. local chat = Instance.new("Part", m)
  100. chat.TopSurface = "Smooth"
  101. chat.BottomSurface = "Smooth"
  102. chat.Name = "Head"
  103. chat.FormFactor = "Custom"
  104. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  105. chat.Transparency = 0.9
  106. chat.CanCollide = false
  107. local Weld7 = Instance.new("Weld", char)
  108. Weld7.Part0 = char.Head
  109. Weld7.Part1 = chat
  110. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  111. local cy7 = Instance.new("BlockMesh", chat)
  112. local h = Instance.new("Humanoid", m)
  113. h.MaxHealth = 0
  114. m.Name = "Star Platinum"
  115. end))
  116. end
  117.  
  118. z = Instance.new("Sound", torso)
  119. z.SoundId = "rbxassetid://264396581" -- Put Music ID Here.
  120. z.Looped = true
  121. z.Volume = 1
  122. wait(.1)
  123. z:Play()
  124.  
  125. char["Body Colors"].HeadColor = BrickColor.new("Pastel Blue")
  126. char["Body Colors"].TorsoColor = BrickColor.new("Pastel Blue")
  127. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel Blue")
  128. char["Body Colors"].RightArmColor = BrickColor.new("Pastel Blue")
  129. char["Body Colors"].LeftLegColor = BrickColor.new("Pastel Blue")
  130. char["Body Colors"].RightLegColor = BrickColor.new("Pastel Blue")
  131.  
  132. shirt = Instance.new("Shirt", char)
  133. shirt.Name = "Shirt"
  134. pants = Instance.new("Pants", char)
  135. pants.Name = "Pants"
  136. char.Shirt.ShirtTemplate = "rbxassetid://496506720"
  137. char.Pants.PantsTemplate = "rbxassetid://496512137"
  138.  
  139. Hat = Instance.new("Model")
  140. Hat.Parent = char
  141. Hat.Name = "Hat"
  142. rh = Instance.new("Part")
  143. rh.Parent = Hat
  144. rh.BrickColor = BrickColor.new("Really black")
  145. rh.Locked = true
  146. rh.CanCollide = false
  147. mesh = Instance.new("SpecialMesh")
  148. rh.formFactor = "Symmetric"
  149. mesh.MeshType = "FileMesh"
  150. mesh.MeshId = "rbxassetid://439736904"
  151. mesh.Parent = rh
  152. local weld = Instance.new("Weld")
  153. weld.Parent = rh
  154. weld.Part0 = rh
  155. weld.Part1 =char.Head
  156. weld.C0 = CFrame.new(0, -0.5, 0.5)*CFrame.Angles(0, 3, 0)
  157. mesh.Scale = Vector3.new(0.002,0.002, 0.002)
  158.  
  159. Effects = { }
  160. local Player = owner
  161. local Character = Player.Character
  162. local Humanoid = Character.Humanoid
  163. Humanoid.WalkSpeed = 20
  164. local Mouse = Player:GetMouse()
  165. local LeftArm = Character["Left Arm"]
  166. local RightArm = Character["Right Arm"]
  167. local LeftLeg = Character["Left Leg"]
  168. local RightLeg = Character["Right Leg"]
  169. local Head = Character.Head
  170. local Torso = Character.Torso
  171. local Camera = game.Workspace.CurrentCamera
  172. local RootPart = Character.HumanoidRootPart
  173. local RootJoint = RootPart.RootJoint
  174. local attack = false
  175. local Anim = 'Idle'
  176. local attacktype = 1
  177. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  178. local velocity = RootPart.Velocity.y
  179. local sine = 0
  180. local change = 1
  181. local Create = LoadLibrary("RbxUtility").Create
  182. local TimeStop = false
  183.  
  184. local m = Create("Model"){
  185. Parent = Character,
  186. Name = "WeaponModel",
  187. }
  188.  
  189. Humanoid.Animator.Parent = nil
  190. Character.Animate.Parent = nil
  191.  
  192. local newMotor = function(part0, part1, c0, c1)
  193. local w = Create('Motor'){
  194. Parent = part0,
  195. Part0 = part0,
  196. Part1 = part1,
  197. C0 = c0,
  198. C1 = c1,
  199. }
  200. return w
  201. end
  202.  
  203. function clerp(a, b, t)
  204. return a:lerp(b, t)
  205. end
  206.  
  207. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  208. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  209.  
  210. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  211. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  212. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  213. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  214. RootJoint.C1 = CFrame.new(0, 0, 0)
  215. RootJoint.C0 = CFrame.new(0, 0, 0)
  216. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  217. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  218.  
  219. local rarmc1 = RW.C1
  220. local larmc1 = LW.C1
  221. local rlegc1 = RH.C1
  222. local llegc1 = LH.C1
  223.  
  224. local resetc1 = false
  225.  
  226. function PlayAnimationFromTable(table, speed, bool)
  227. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  228. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  229. RW.C0 = clerp(RW.C0, table[3], speed)
  230. LW.C0 = clerp(LW.C0, table[4], speed)
  231. RH.C0 = clerp(RH.C0, table[5], speed)
  232. LH.C0 = clerp(LH.C0, table[6], speed)
  233. if bool == true then
  234. if resetc1 == false then
  235. resetc1 = true
  236. RootJoint.C1 = RootJoint.C1
  237. Torso.Neck.C1 = Torso.Neck.C1
  238. RW.C1 = rarmc1
  239. LW.C1 = larmc1
  240. RH.C1 = rlegc1
  241. LH.C1 = llegc1
  242. end
  243. end
  244. end
  245.  
  246. ArtificialHB = Create("BindableEvent", script){
  247. Parent = script,
  248. Name = "Heartbeat",
  249. }
  250.  
  251. script:WaitForChild("Heartbeat")
  252.  
  253. frame = 1 / 35
  254. tf = 0
  255. allowframeloss = false
  256. tossremainder = false
  257. lastframe = tick()
  258. script.Heartbeat:Fire()
  259.  
  260. game:GetService("RunService").Heartbeat:connect(function(s, p)
  261. tf = tf + s
  262. if tf >= frame then
  263. if allowframeloss then
  264. script.Heartbeat:Fire()
  265. lastframe = tick()
  266. else
  267. for i = 1, math.floor(tf / frame) do
  268. script.Heartbeat:Fire()
  269. end
  270. lastframe = tick()
  271. end
  272. if tossremainder then
  273. tf = 0
  274. else
  275. tf = tf - frame * math.floor(tf / frame)
  276. end
  277. end
  278. end)
  279.  
  280. function swait(num)
  281. if num == 0 or num == nil then
  282. ArtificialHB.Event:wait()
  283. else
  284. for i = 0, num do
  285. ArtificialHB.Event:wait()
  286. end
  287. end
  288. end
  289.  
  290. function RemoveOutlines(part)
  291. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  292. end
  293.  
  294. CFuncs = {
  295. Part = {
  296. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  297. local Part = Create("Part"){
  298. Parent = Parent,
  299. Reflectance = Reflectance,
  300. Transparency = Transparency,
  301. CanCollide = false,
  302. Locked = true,
  303. BrickColor = BrickColor.new(tostring(BColor)),
  304. Name = Name,
  305. Size = Size,
  306. Material = Material,
  307. }
  308. RemoveOutlines(Part)
  309. return Part
  310. end;
  311. };
  312.  
  313. Mesh = {
  314. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  315. local Msh = Create(Mesh){
  316. Parent = Part,
  317. Offset = OffSet,
  318. Scale = Scale,
  319. }
  320. if Mesh == "SpecialMesh" then
  321. Msh.MeshType = MeshType
  322. Msh.MeshId = MeshId
  323. end
  324. return Msh
  325. end;
  326. };
  327.  
  328. Weld = {
  329. Create = function(Parent, Part0, Part1, C0, C1)
  330. local Weld = Create("Weld"){
  331. Parent = Parent,
  332. Part0 = Part0,
  333. Part1 = Part1,
  334. C0 = C0,
  335. C1 = C1,
  336. }
  337. return Weld
  338. end;
  339. };
  340.  
  341. Sound = {
  342. Create = function(id, par, vol, pit)
  343. local Sound = Create("Sound"){
  344. Volume = vol,
  345. Pitch = pit or 1,
  346. SoundId = "rbxassetid://" .. id,
  347. Parent = par or workspace,
  348. }
  349. Sound:play()
  350. return Sound
  351. end;
  352. };
  353.  
  354. Decal = {
  355. Create = function(Color, Texture, Transparency, Name, Parent)
  356. local Decal = Create("Decal"){
  357. Color3 = Color,
  358. Texture = "rbxassetid://" .. Texture,
  359. Transparency = Transparency,
  360. Name = Name,
  361. Parent = Parent,
  362. }
  363. return Decal
  364. end;
  365. };
  366.  
  367. BillboardGui = {
  368. Create = function(Parent, Image, Position, Size)
  369. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  370. BillPar.CFrame = CFrame.new(Position)
  371. local Bill = Create("BillboardGui"){
  372. Parent = BillPar,
  373. Adornee = BillPar,
  374. Size = UDim2.new(1, 0, 1, 0),
  375. SizeOffset = Vector2.new(Size, Size),
  376. }
  377. local d = Create("ImageLabel", Bill){
  378. Parent = Bill,
  379. BackgroundTransparency = 1,
  380. Size = UDim2.new(1, 0, 1, 0),
  381. Image = "rbxassetid://" .. Image,
  382. }
  383. return BillPar
  384. end
  385. };
  386.  
  387. ParticleEmitter = {
  388. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  389. local Particle = Create("ParticleEmitter"){
  390. Parent = Parent,
  391. Color = ColorSequence.new(Color1, Color2),
  392. LightEmission = LightEmission,
  393. Size = Size,
  394. Texture = Texture,
  395. Transparency = Transparency,
  396. ZOffset = ZOffset,
  397. Acceleration = Accel,
  398. Drag = Drag,
  399. LockedToPart = LockedToPart,
  400. VelocityInheritance = VelocityInheritance,
  401. EmissionDirection = EmissionDirection,
  402. Enabled = Enabled,
  403. Lifetime = LifeTime,
  404. Rate = Rate,
  405. Rotation = Rotation,
  406. RotSpeed = RotSpeed,
  407. Speed = Speed,
  408. VelocitySpread = VelocitySpread,
  409. }
  410. return Particle
  411. end;
  412. };
  413.  
  414. CreateTemplate = {
  415.  
  416. };
  417. }
  418.  
  419. function rayCast(Position, Direction, Range, Ignore)
  420. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  421. end
  422.  
  423. function FindNearestTorso(Position, Distance, SinglePlayer)
  424. if SinglePlayer then
  425. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  426. end
  427. local List = {}
  428. for i, v in pairs(workspace:GetChildren()) do
  429. if v:IsA("Model") then
  430. if v:findFirstChild("Torso") then
  431. if v ~= Character then
  432. if (v.Torso.Position - Position).magnitude <= Distance then
  433. table.insert(List, v)
  434. end
  435. end
  436. end
  437. end
  438. end
  439. return List
  440. end
  441.  
  442. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  443. if hit.Parent == nil then
  444. return
  445. end
  446. local h = hit.Parent:FindFirstChild("Humanoid")
  447. for _, v in pairs(hit.Parent:children()) do
  448. if v:IsA("Humanoid") then
  449. h = v
  450. end
  451. end
  452. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  453. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  454. if hit.Parent.DebounceHit.Value == true then
  455. return
  456. end
  457. end
  458. local c = Create("ObjectValue"){
  459. Name = "creator",
  460. Value = game:service("Players").LocalPlayer,
  461. Parent = h,
  462. }
  463. game:GetService("Debris"):AddItem(c, .5)
  464. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  465. local Damage = math.random(minim, maxim)
  466. local blocked = false
  467. local block = hit.Parent:findFirstChild("Block")
  468. if block ~= nil then
  469. if block.className == "IntValue" then
  470. if block.Value > 0 then
  471. blocked = true
  472. block.Value = block.Value - 1
  473. print(block.Value)
  474. end
  475. end
  476. end
  477. if TimeStop == false then
  478. h.Health = h.Health - Damage
  479. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Deep blue").Color)
  480. elseif TimeStop == true then
  481. repeat wait() until TimeStop == false
  482. h.Health = h.Health - (Damage / 2)
  483. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Deep blue").Color)
  484. end
  485. if Type == "Knockdown" then
  486. local hum = hit.Parent.Humanoid
  487. hum.PlatformStand = true
  488. coroutine.resume(coroutine.create(function(HHumanoid)
  489. swait(1)
  490. HHumanoid.PlatformStand = false
  491. end), hum)
  492. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  493. local bodvol = Create("BodyVelocity"){
  494. velocity = angle * knockback,
  495. P = 5000,
  496. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  497. Parent = hit,
  498. }
  499. local rl = Create("BodyAngularVelocity"){
  500. P = 3000,
  501. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  502. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  503. Parent = hit,
  504. }
  505. game:GetService("Debris"):AddItem(bodvol, .5)
  506. game:GetService("Debris"):AddItem(rl, .5)
  507. elseif Type == "Normal" then
  508. local vp = Create("BodyVelocity"){
  509. P = 500,
  510. maxForce = Vector3.new(math.huge, 0, math.huge),
  511. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  512. }
  513. if knockback > 0 then
  514. vp.Parent = hit.Parent.Torso
  515. end
  516. game:GetService("Debris"):AddItem(vp, .5)
  517. elseif Type == "Up" then
  518. local bodyVelocity = Create("BodyVelocity"){
  519. velocity = Vector3.new(0, 20, 0),
  520. P = 5000,
  521. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  522. Parent = hit,
  523. }
  524. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  525. elseif Type == "DarkUp" then
  526. coroutine.resume(coroutine.create(function()
  527. for i = 0, 1, 0.1 do
  528. swait()
  529. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  530. end
  531. end))
  532. local bodyVelocity = Create("BodyVelocity"){
  533. velocity = Vector3.new(0, 20, 0),
  534. P = 5000,
  535. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  536. Parent = hit,
  537. }
  538. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  539. elseif Type == "Snare" then
  540. local bp = Create("BodyPosition"){
  541. P = 2000,
  542. D = 100,
  543. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  544. position = hit.Parent.Torso.Position,
  545. Parent = hit.Parent.Torso,
  546. }
  547. game:GetService("Debris"):AddItem(bp, 1)
  548. elseif Type == "Freeze" then
  549. local BodPos = Create("BodyPosition"){
  550. P = 50000,
  551. D = 1000,
  552. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  553. position = hit.Parent.Torso.Position,
  554. Parent = hit.Parent.Torso,
  555. }
  556. local BodGy = Create("BodyGyro") {
  557. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  558. P = 20e+003,
  559. Parent = hit.Parent.Torso,
  560. cframe = hit.Parent.Torso.CFrame,
  561. }
  562. hit.Parent.Torso.Anchored = true
  563. coroutine.resume(coroutine.create(function(Part)
  564. swait(1.5)
  565. Part.Anchored = false
  566. end), hit.Parent.Torso)
  567. game:GetService("Debris"):AddItem(BodPos, 3)
  568. game:GetService("Debris"):AddItem(BodGy, 3)
  569. end
  570. local debounce = Create("BoolValue"){
  571. Name = "DebounceHit",
  572. Parent = hit.Parent,
  573. Value = true,
  574. }
  575. game:GetService("Debris"):AddItem(debounce, Delay)
  576. c = Create("ObjectValue"){
  577. Name = "creator",
  578. Value = Player,
  579. Parent = h,
  580. }
  581. game:GetService("Debris"):AddItem(c, .5)
  582. end
  583. end
  584.  
  585. function ShowDamage(Pos, Text, Time, Color)
  586. local Rate = (1 / 30)
  587. local Pos = (Pos or Vector3.new(0, 0, 0))
  588. local Text = (Text or "")
  589. local Time = (Time or 2)
  590. local Color = (Color or Color3.new(1, 0, 1))
  591. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  592. EffectPart.Anchored = true
  593. local BillboardGui = Create("BillboardGui"){
  594. Size = UDim2.new(3, 0, 3, 0),
  595. Adornee = EffectPart,
  596. Parent = EffectPart,
  597. }
  598. local TextLabel = Create("TextLabel"){
  599. BackgroundTransparency = 1,
  600. Size = UDim2.new(1, 0, 1, 0),
  601. Text = Text,
  602. Font = "SciFi",
  603. TextColor3 = Color,
  604. TextScaled = true,
  605. Parent = BillboardGui,
  606. }
  607. game.Debris:AddItem(EffectPart, (Time))
  608. EffectPart.Parent = game:GetService("Workspace")
  609. delay(0, function()
  610. local Frames = (Time / Rate)
  611. for Frame = 1, Frames do
  612. wait(Rate)
  613. local Percent = (Frame / Frames)
  614. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  615. TextLabel.TextTransparency = Percent
  616. end
  617. if EffectPart and EffectPart.Parent then
  618. EffectPart:Destroy()
  619. end
  620. end)
  621. end
  622.  
  623. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  624. for _, c in pairs(workspace:children()) do
  625. local hum = c:findFirstChild("Humanoid")
  626. if hum ~= nil then
  627. local head = c:findFirstChild("Torso")
  628. if head ~= nil then
  629. local targ = head.Position - Part.Position
  630. local mag = targ.magnitude
  631. if mag <= Magnitude and c.Name ~= Player.Name then
  632. for i = 1, 10 do
  633. Effects.Elect.Create(head.CFrame, 10, 10, 10)
  634. end
  635. CFuncs.Sound.Create("0", head, 1, 1)
  636. Effects.Sphere.Create(BrickColor.new("Deep blue"), head.CFrame, .5, .5, .5, .5, .5, .5, .05)
  637. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  638. end
  639. end
  640. end
  641. end
  642. end
  643.  
  644. HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  645. HandleRWeld = CFuncs.Weld.Create(m, Character["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997161865, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
  646. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxR", Vector3.new(1.00394952, 1.05222011, 1.02503109))
  647. HitboxRWeld = CFuncs.Weld.Create(m, HandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 0, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  648. HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HandleL", Vector3.new(0.403949469, 0.452220112, 0.425030977))
  649. HandleLWeld = CFuncs.Weld.Create(m, Character["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997924805, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
  650. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Deep blue", "HitboxL", Vector3.new(1.00394952, 1.05222011, 1.02503109))
  651. HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  652. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  653. sref.Anchored = true
  654.  
  655. EffectModel = Create("Model"){
  656. Parent = Character,
  657. Name = "Effects",
  658. }
  659.  
  660. Effects = {
  661. Block = {
  662. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  663. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  664. prt.Anchored = true
  665. prt.CFrame = cframe
  666. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  667. game:GetService("Debris"):AddItem(prt, 10)
  668. if Type == 1 or Type == nil then
  669. table.insert(Effects, {
  670. prt,
  671. "Block1",
  672. delay,
  673. x3,
  674. y3,
  675. z3,
  676. msh
  677. })
  678. elseif Type == 2 then
  679. table.insert(Effects, {
  680. prt,
  681. "Block2",
  682. delay,
  683. x3,
  684. y3,
  685. z3,
  686. msh
  687. })
  688. end
  689. end;
  690. };
  691.  
  692. Cylinder = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  694. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698. game:GetService("Debris"):AddItem(prt, 2)
  699. table.insert(Effects, {
  700. prt,
  701. "Cylinder",
  702. delay,
  703. x3,
  704. y3,
  705. z3,
  706. msh
  707. })
  708. end;
  709. };
  710.  
  711. Head = {
  712. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  713. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  714. prt.Anchored = true
  715. prt.CFrame = cframe
  716. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  717. game:GetService("Debris"):AddItem(prt, 10)
  718. table.insert(Effects, {
  719. prt,
  720. "Cylinder",
  721. delay,
  722. x3,
  723. y3,
  724. z3,
  725. msh
  726. })
  727. end;
  728. };
  729.  
  730. Sphere = {
  731. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  732. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  733. prt.Anchored = true
  734. prt.CFrame = cframe
  735. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  736. game:GetService("Debris"):AddItem(prt, 10)
  737. table.insert(Effects, {
  738. prt,
  739. "Cylinder",
  740. delay,
  741. x3,
  742. y3,
  743. z3,
  744. msh
  745. })
  746. end;
  747. };
  748.  
  749. Elect = {
  750. Create = function(cff, x, y, z)
  751. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Deep blue"), "Part", Vector3.new(1, 1, 1))
  752. prt.Anchored = true
  753. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  754. prt.CFrame = CFrame.new(prt.Position)
  755. game:GetService("Debris"):AddItem(prt, 2)
  756. local xval = math.random() / 2
  757. local yval = math.random() / 2
  758. local zval = math.random() / 2
  759. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  760. table.insert(Effects, {
  761. prt,
  762. "Elec",
  763. 0.1,
  764. x,
  765. y,
  766. z,
  767. xval,
  768. yval,
  769. zval
  770. })
  771. end;
  772.  
  773. };
  774.  
  775. Ring = {
  776. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  777. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  778. prt.Anchored = true
  779. prt.CFrame = cframe
  780. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  781. game:GetService("Debris"):AddItem(prt, 10)
  782. table.insert(Effects, {
  783. prt,
  784. "Cylinder",
  785. delay,
  786. x3,
  787. y3,
  788. z3,
  789. msh
  790. })
  791. end;
  792. };
  793.  
  794.  
  795. Wave = {
  796. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  797. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  798. prt.Anchored = true
  799. prt.CFrame = cframe
  800. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  801. game:GetService("Debris"):AddItem(prt, 10)
  802. table.insert(Effects, {
  803. prt,
  804. "Cylinder",
  805. delay,
  806. x3,
  807. y3,
  808. z3,
  809. msh
  810. })
  811. end;
  812. };
  813.  
  814. Break = {
  815. Create = function(brickcolor, cframe, x1, y1, z1)
  816. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  817. prt.Anchored = true
  818. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  819. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  820. local num = math.random(10, 50) / 1000
  821. game:GetService("Debris"):AddItem(prt, 10)
  822. table.insert(Effects, {
  823. prt,
  824. "Shatter",
  825. num,
  826. prt.CFrame,
  827. math.random() - math.random(),
  828. 0,
  829. math.random(50, 100) / 100
  830. })
  831. end;
  832. };
  833.  
  834. Fire = {
  835. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  836. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  837. prt.Anchored = true
  838. prt.CFrame = cframe
  839. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  840. game:GetService("Debris"):AddItem(prt, 10)
  841. table.insert(Effects, {
  842. prt,
  843. "Fire",
  844. delay,
  845. 1,
  846. 1,
  847. 1,
  848. msh
  849. })
  850. end;
  851. };
  852.  
  853. FireWave = {
  854. Create = function(brickcolor, cframe, x1, y1, z1)
  855. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  856. prt.Anchored = true
  857. prt.CFrame = cframe
  858. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  859. local d = Create("Decal"){
  860. Parent = prt,
  861. Texture = "rbxassetid://26356434",
  862. Face = "Top",
  863. }
  864. local d = Create("Decal"){
  865. Parent = prt,
  866. Texture = "rbxassetid://26356434",
  867. Face = "Bottom",
  868. }
  869. game:GetService("Debris"):AddItem(prt, 10)
  870. table.insert(Effects, {
  871. prt,
  872. "FireWave",
  873. 1,
  874. 30,
  875. math.random(400, 600) / 100,
  876. msh
  877. })
  878. end;
  879. };
  880.  
  881. Lightning = {
  882. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  883. local magz = (p0 - p1).magnitude
  884. local curpos = p0
  885. local trz = {
  886. -ofs,
  887. ofs
  888. }
  889. for i = 1, tym do
  890. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  891. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  892. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  893. li.Material = "Neon"
  894. if tym == i then
  895. local magz2 = (curpos - p1).magnitude
  896. li.Size = Vector3.new(th, th, magz2)
  897. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  898. table.insert(Effects, {
  899. li,
  900. "Disappear",
  901. last
  902. })
  903. else
  904. do
  905. do
  906. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  907. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  908. game.Debris:AddItem(li, 10)
  909. table.insert(Effects, {
  910. li,
  911. "Disappear",
  912. last
  913. })
  914. end
  915. end
  916. end
  917. end
  918. end
  919. };
  920.  
  921. EffectTemplate = {
  922.  
  923. };
  924. }
  925.  
  926. local DORARA = false
  927.  
  928. function ORA()
  929. attack = true
  930. for i = 0, 1, 0.2 do
  931. swait()
  932. PlayAnimationFromTable({
  933. CFrame.new(4.76837158e-007, -0.107780606, -0.0868092626, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  934. CFrame.new(0, 1.4999913, 2.38418608e-007, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  935. CFrame.new(1.50214899, 0.590444803, 0.195881441, 0.965925872, 3.76027884e-007, 0.258818895, 0.257834077, -0.0871552154, -0.962250412, 0.0225570519, 0.99619478, -0.0841855928) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  936. CFrame.new(-1.60470915, 0.600643516, 0.204860806, 0.937436998, -0.0449436344, -0.345242023, -0.345831364, -0.00582624972, -0.938278675, 0.0401581824, 0.998972595, -0.0210046768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  937. CFrame.new(0.636808395, -1.93472588, -0.370165229, 0.936116338, -0.0517791435, -0.347858071, 0.0266665779, 0.996705353, -0.0765988752, 0.350678325, 0.0624292716, 0.934412897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  938. CFrame.new(-0.6665681, -1.92173398, -0.343467057, 0.962250233, 0.0613082647, 0.265171379, -0.0410595685, 0.99584806, -0.0812460929, -0.269051433, 0.0672912449, 0.960772276) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  939. }, .3, false)
  940. end
  941. local DORA = CFuncs.Sound.Create("161823027", Torso, 1, 1)
  942. Instance.new("DistortionSoundEffect", DORA).Level = .45
  943. DORA.Looped = true
  944. local Con1 = HitboxL.Touched:connect(function(hit) Damage(HitboxL, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  945. local Con2 = HitboxR.Touched:connect(function(hit) Damage(HitboxR, hit, 1, 5, 0, "Normal", RootPart, 0, "260430117", 1) end)
  946. while DORARA == true do
  947. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  948. for i = 0, 1, 0.7 do
  949. swait()
  950. Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
  951. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  952. PlayAnimationFromTable({
  953. CFrame.new(-0.0223142356, -0.107780628, -0.249816686, 0.906307876, 0.0733869597, -0.416197479, 0, 0.98480773, 0.173648462, 0.422617942, -0.157378972, 0.892539084) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  954. CFrame.new(-2.22850417e-007, 1.49999118, 1.16660271e-006, 0.906307936, 1.49011612e-008, 0.422617972, -7.27595761e-009, 1, 0, -0.422618032, 0, 0.906308055) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  955. CFrame.new(1.5318948, 0.588474631, 0.207054406, 0.899958313, 0.340718478, 0.272003621, 0.314965397, -0.0767233223, -0.945997, -0.301449746, 0.9370296, -0.176362336) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  956. CFrame.new(-1.27977741, 0.723447502, -1.20010054, 0.726744413, 0.46058476, -0.509611845, -0.503104627, -0.148215696, -0.851421177, -0.46768418, 0.875153661, 0.124007396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  957. CFrame.new(0.636807501, -1.93472636, -0.370165735, 0.868198872, -0.0517790169, 0.493507534, 0.075819321, 0.996705353, -0.0288097262, -0.490389913, 0.0624299645, 0.869264364) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  958. CFrame.new(-0.666569352, -1.92173386, -0.343467534, 0.86083132, 0.0613082871, 0.505183935, -0.018632248, 0.995848, -0.0891051888, -0.508549333, 0.0672918186, 0.858399451) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  959. }, .9, false)
  960. end
  961. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  962. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 2, 2, 2, .15)
  963. RootPart.Velocity = RootPart.CFrame.lookVector * 5
  964. for i = 0, 1, 0.7 do
  965. swait()
  966. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .2)
  967. PlayAnimationFromTable({
  968. CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  969. CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  970. CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  971. CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  972. CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  973. CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  974. }, .9, false)
  975. end
  976.  
  977. fat = Instance.new("BindableEvent", script)
  978. fat.Name = "Heartbeat"
  979. script:WaitForChild("Heartbeat")
  980. frame = 0.013333333333333
  981. tf = 0
  982. allowframeloss = false
  983. tossremainder = false
  984. lastframe = tick()
  985. script.Heartbeat:Fire()
  986. local ss = Instance.new("Sound",char)
  987. ss.Volume = 3
  988. ss.Looped = true
  989. ss.Pitch = 1
  990. ss.SoundId = "rbxassetid://0"
  991. ss:Play()
  992. function sbchat(msg,displayname)
  993. if not displayname then
  994. displayname = 'bela'
  995. end
  996. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  997. local st = Instance.new('StringValue')
  998. st.Name = 'SB_Chat'
  999. st.Value = displayname..'/'..msg
  1000. delay(0.2,function() st.Parent = v end)
  1001. end
  1002. end
  1003.  
  1004. sbchat("ORA ORA ORA",'[Star Platinum]')
  1005. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1006. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxR.CFrame, .5, .5, .5, 2, 2, 2, .2)
  1007. end
  1008. Con1:disconnect()
  1009. Con2:disconnect()
  1010. DORA:Stop()
  1011. attack = false
  1012. end
  1013.  
  1014. local stoppedParts = {}
  1015.  
  1016.  
  1017. function getAllParts()
  1018. local rtn = {}
  1019.  
  1020. local function recurse(object)
  1021. for q,e in next, object:children() do
  1022. if e:isA'BasePart' and e.Name ~= "HumanoidRootPart" then
  1023. table.insert(rtn, e)
  1024. end
  1025. recurse(e)
  1026. end
  1027. end
  1028.  
  1029. recurse(workspace)
  1030. return rtn
  1031. end
  1032.  
  1033. function stopParts(distance)
  1034. stoppedParts = {}
  1035. for nada, part in next, getAllParts() do
  1036. local dist = (Torso.Position-part.Position).magnitude
  1037. if dist <= distance and part.Name ~='Base' and part.Name ~= 'Baseplate' and not part:isDescendantOf(Torso.Parent) and part.Anchored ~= true then
  1038. table.insert(stoppedParts, part)
  1039. if part.Name ~= "Torso" and part.Anchored ~= true then
  1040. part.Anchored = true
  1041. end
  1042. end
  1043. end
  1044. end
  1045.  
  1046.  
  1047. function freeParts()
  1048. for q,e in next, stoppedParts do
  1049. stoppedParts[q] = nil
  1050. e.Anchored = false
  1051. end
  1052. end
  1053.  
  1054. local effect = Instance.new('ColorCorrectionEffect')
  1055. function TheWorld(Mode)
  1056. if Mode == "Time Start" then
  1057. Effects.Sphere.Create(BrickColor.new("Deep blue"), HitboxL.CFrame, .5, .5, .5, 1.5, 1.5, 1.5, .15)
  1058. for i = 1,50 do
  1059. if effect.Saturation <= 0 then
  1060. effect.Saturation = effect.Saturation + i/50
  1061. end
  1062. swait(1/30)
  1063. end
  1064. freeParts()
  1065. effect.Saturation = 0
  1066. effect.Contrast = 0
  1067. effect.Parent = nil
  1068. workspace.Gravity = 196.2
  1069. end
  1070. if Mode == "Quick Stop" then
  1071.  
  1072. fat = Instance.new("BindableEvent", script)
  1073. fat.Name = "Heartbeat"
  1074. script:WaitForChild("Heartbeat")
  1075. frame = 0.013333333333333
  1076. tf = 0
  1077. allowframeloss = false
  1078. tossremainder = false
  1079. lastframe = tick()
  1080. script.Heartbeat:Fire()
  1081. local ss = Instance.new("Sound",char)
  1082. ss.Volume = 3
  1083. ss.Looped = true
  1084. ss.Pitch = 1
  1085. ss.SoundId = "rbxassetid://0"
  1086. ss:Play()
  1087. function sbchat(msg,displayname)
  1088. if not displayname then
  1089. displayname = 'bela'
  1090. end
  1091. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  1092. local st = Instance.new('StringValue')
  1093. st.Name = 'SB_Chat'
  1094. st.Value = displayname..'/'..msg
  1095. delay(0.2,function() st.Parent = v end)
  1096. end
  1097. end
  1098.  
  1099. sbchat("THE WORLD!",'[Star Platinum]')
  1100. local zawarudo = CFuncs.Sound.Create("735067173", workspace, 1, 1)
  1101. Instance.new("DistortionSoundEffect", zawarudo).Level = .67
  1102. swait(60)
  1103. Effects.Sphere.Create(BrickColor.new("Institutional white"), RootPart.CFrame, 1, 1, 1, 50, 50, 50, .01)
  1104. effect.Parent = game.Lighting
  1105. for i = 1,50 do
  1106. effect.Saturation = -(i/10)
  1107. swait()
  1108. end
  1109. stopParts(5555)
  1110. end
  1111. end
  1112.  
  1113. Mouse.Button1Down:connect(function()
  1114. if attack == false and DORARA == false then
  1115. DORARA = true
  1116. ORA()
  1117. end
  1118. end)
  1119.  
  1120. Mouse.Button1Up:connect(function()
  1121. if attack == true and DORARA == true then
  1122. DORARA = false
  1123. end
  1124. end)
  1125.  
  1126. Mouse.KeyDown:connect(function(k)
  1127. k = k:lower()
  1128. if attack == false and k == 'g' and TimeStop == false then
  1129. TimeStop = true
  1130. TheWorld("Quick Stop")
  1131. elseif attack == false and k == 'g' and TimeStop == true then
  1132. TimeStop = false
  1133. TheWorld("Time Start")
  1134. end
  1135. end)
  1136.  
  1137. while true do
  1138. swait()
  1139. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1140. for i, v in pairs(Character:GetChildren()) do
  1141. if v:IsA("Part") then
  1142. v.Material = "SmoothPlastic"
  1143. elseif v:IsA("Accessory") then
  1144. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1145. end
  1146. end
  1147. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1148. velocity = RootPart.Velocity.y
  1149. sine = sine + change
  1150. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1151. if RootPart.Velocity.y > 1 and hit == nil then
  1152. Anim = "Jump"
  1153. if attack == false then
  1154. PlayAnimationFromTable({
  1155. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, -0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1156. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, -0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1157. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1158. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1159. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1160. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1161. }, .3, false)
  1162. end
  1163. elseif RootPart.Velocity.y < -1 and hit == nil then
  1164. Anim = "Fall"
  1165. if attack == false then
  1166. PlayAnimationFromTable({
  1167. CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1168. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1169. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1170. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1171. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1172. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1173. }, .3, false)
  1174. end
  1175. elseif Torsovelocity < 1 and hit ~= nil then
  1176. Anim = "Idle"
  1177. if attack == false then
  1178. change = 1
  1179. PlayAnimationFromTable({
  1180. CFrame.new(-0.0254490171, -0.100000001, -0.0245252885, 0.965925872, 0, 0.258818984, 0, 1, 0, -0.258818984, 0, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1181. CFrame.new(-5.58793545e-008, 1.49999201, 2.23517418e-007, 0.965925872, 0.02255762, -0.257834077, 0, 0.996194661, 0.087155968, 0.258818984, -0.0841862038, 0.962250173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1182. CFrame.new(1.18608475, 0.561332762, -0.668662548, 0.815707564, 0.397307515, 0.420437992, 0.567439079, -0.408345699, -0.71502924, -0.112402454, 0.821827531, -0.558538496) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1183. CFrame.new(-1.18486226, 0.664583206, -0.703545451, 0.801997423, -0.384815574, -0.456855893, -0.595755875, -0.459863067, -0.658483863, 0.0433037281, 0.800276875, -0.598065078) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1184. CFrame.new(0.602607846, -1.89999723, -0.281901717, 0.938264608, -0.0318391919, -0.344450235, 0.0551190265, 0.996793628, 0.0580029301, 0.341499031, -0.0734078437, 0.937011182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1185. CFrame.new(-0.68740654, -1.99010217, 0.313043743, 0.998308659, 0.0566585623, -0.0130319893, -0.0526040196, 0.975744903, 0.212496698, 0.0247556716, -0.211451754, 0.977074862) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1186. }, .3, false)
  1187. end
  1188. elseif Torsovelocity > 2 and hit ~= nil then
  1189. Anim = "Walk"
  1190. if attack == false then
  1191. change = 2
  1192. PlayAnimationFromTable({
  1193. CFrame.new(-0, -0.331043243, -0.246173918, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876) * CFrame.new(0, .1, 0) * CFrame.Angles(0, math.rad(-5 * math.cos(sine / 7)), 0),
  1194. CFrame.new(0, 1.4999913, 6.55651093e-007, 1, 0, 0, 0, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(5 * math.cos(sine / 7)), 0),
  1195. CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1196. CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1197. CFrame.new(.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1198. CFrame.new(-.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0)),
  1199. }, .3, false)
  1200. end
  1201. end
  1202. if 0 < #Effects then
  1203. for e = 1, #Effects do
  1204. if Effects[e] ~= nil then
  1205. local Thing = Effects[e]
  1206. if Thing ~= nil then
  1207. local Part = Thing[1]
  1208. local Mode = Thing[2]
  1209. local Delay = Thing[3]
  1210. local IncX = Thing[4]
  1211. local IncY = Thing[5]
  1212. local IncZ = Thing[6]
  1213. if Thing[2] == "Shoot" then
  1214. local Look = Thing[1]
  1215. local move = 5
  1216. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1217. if Thing[10] ~= nil then
  1218. da = pos
  1219. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1220. cfa = CFrame.new(Thing[4], pos)
  1221. tehCF = cfa:lerp(cf2, 0.2)
  1222. Thing[1] = tehCF.lookVector
  1223. end
  1224. local mag = (Thing[4] - pos).magnitude
  1225. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1226. Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
  1227. Thing[4] = Thing[4] + Look * move
  1228. Thing[3] = Thing[3] - 1
  1229. if 2 < Thing[5] then
  1230. Thing[5] = Thing[5] - 0.3
  1231. Thing[6] = Thing[6] - 0.3
  1232. end
  1233. if hit ~= nil then
  1234. Thing[3] = 0
  1235. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1236. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1237. ref.Anchored = true
  1238. ref.CFrame = CFrame.new(pos)
  1239. Effects.Block.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  1240. Effects.Sphere.Create(BrickColor.new("Deep blue"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1241. game:GetService("Debris"):AddItem(ref, 1)
  1242. end
  1243. if Thing[3] <= 0 then
  1244. table.remove(Effects, e)
  1245. end
  1246. end
  1247. do
  1248. do
  1249. if Thing[2] == "FireWave" then
  1250. if Thing[3] <= Thing[4] then
  1251. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1252. Thing[3] = Thing[3] + 1
  1253. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1254. else
  1255. Part.Parent = nil
  1256. table.remove(Effects, e)
  1257. end
  1258. end
  1259. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1260. if Thing[1].Transparency <= 1 then
  1261. if Thing[2] == "Block1" then
  1262. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1263. Mesh = Thing[7]
  1264. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1265. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1266. else
  1267. if Thing[2] == "Block2" then
  1268. Thing[1].CFrame = Thing[1].CFrame
  1269. Mesh = Thing[7]
  1270. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1271. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1272. else
  1273. if Thing[2] == "Fire" then
  1274. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1275. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1276. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1277. else
  1278. if Thing[2] == "Cylinder" then
  1279. Mesh = Thing[7]
  1280. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1281. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1282. else
  1283. if Thing[2] == "Blood" then
  1284. Mesh = Thing[7]
  1285. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1286. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1287. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1288. else
  1289. if Thing[2] == "Elec" then
  1290. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1291. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1292. else
  1293. if Thing[2] == "Disappear" then
  1294. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1295. end
  1296. end
  1297. end
  1298. end
  1299. end
  1300. end
  1301. end
  1302. else
  1303. Part.Parent = nil
  1304. table.remove(Effects, e)
  1305. end
  1306. end
  1307. end
  1308. end
  1309. end
  1310. end
  1311. end
  1312. end
  1313. end
  1314.  
  1315. print ("Updated 0.1 Fixed and change Smite2 Move")
  1316.  
  1317. --//====================================================\\--
  1318. --|| The Switcher by WanTH092
  1319. --\\====================================================//--
  1320.  
  1321. wait(0.2)
  1322.  
  1323. Player = game:GetService("Players").owner
  1324. PlayerGui = Player.PlayerGui
  1325. Cam = workspace.CurrentCamera
  1326. Backpack = Player.Backpack
  1327. Character = Player.Character
  1328. Humanoid = Character.Humanoid
  1329. RootPart = Character["HumanoidRootPart"]
  1330. Torso = Character["Torso"]
  1331. Head = Character["Head"]
  1332. RightArm = Character["Right Arm"]
  1333. LeftArm = Character["Left Arm"]
  1334. RightLeg = Character["Right Leg"]
  1335. LeftLeg = Character["Left Leg"]
  1336. RootJoint = RootPart["RootJoint"]
  1337. Neck = Torso["Neck"]
  1338. RightShoulder = Torso["Right Shoulder"]
  1339. LeftShoulder = Torso["Left Shoulder"]
  1340. RightHip = Torso["Right Hip"]
  1341. LeftHip = Torso["Left Hip"]
  1342. Character.Archivable = true
  1343. Player:ClearCharacterAppearance()
  1344.  
  1345. IT = Instance.new
  1346. CF = CFrame.new
  1347. VT = Vector3.new
  1348. RAD = math.rad
  1349. C3 = Color3.new
  1350. UD2 = UDim2.new
  1351. BRICKC = BrickColor.new
  1352. ANGLES = CFrame.Angles
  1353. EULER = CFrame.fromEulerAnglesXYZ
  1354. COS = math.cos
  1355. ACOS = math.acos
  1356. SIN = math.sin
  1357. ASIN = math.asin
  1358. ABS = math.abs
  1359. MRANDOM = math.random
  1360. FLOOR = math.floor
  1361.  
  1362. --//=================================\\
  1363. --|| USEFUL VALUES
  1364. --\\=================================//
  1365.  
  1366. Animation_Speed = 3
  1367. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1368. local Speed = 25
  1369. local SIZE = 1.4
  1370. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1371. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1372. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1373. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1374. local DAMAGEMULTIPLIER = 1
  1375. local ANIM = "Idle"
  1376. local ATTACK = false
  1377. local EQUIPPED = false
  1378. local HOLD = false
  1379. local COMBO = 1
  1380. local Rooted = false
  1381. local SINE = 0
  1382. local KEYHOLD = false
  1383. local CHANGE = 2 / Animation_Speed
  1384. local WALKINGANIM = false
  1385. local VALUE1 = false
  1386. local VALUE2 = false
  1387. local ROBLOXIDLEANIMATION = IT("Animation")
  1388. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1389. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1390. local ATANIM = IT("Animation")
  1391. ATANIM.Name = "Attack Animation"
  1392. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  1393. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1394. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1395. WEAPONGUI.Name = "Weapon GUI"
  1396. local Weapon = IT("Model")
  1397. Weapon.Name = "Adds"
  1398. local Effects = IT("Folder", Weapon)
  1399. Effects.Name = "Effects"
  1400. local ANIMATOR = Humanoid.Animator
  1401. local ANIMATE = Character.Animate
  1402. local UNANCHOR = true
  1403. local CLOCKLOOP = 0
  1404. local SONG = 1117396305
  1405. local CLOCKTARGET = nil
  1406. local CLOCKSPEED = 0
  1407. script.Parent = WEAPONGUI
  1408. local CLONE = Character:Clone()
  1409. CLONE.Parent = nil
  1410. Character.Archivable = false
  1411. local sick = Instance.new("Sound",Torso)
  1412. local TAUNT = false
  1413. Player_Size = 1.4
  1414. local PLAYSONG = true
  1415. local MODE = "Main"
  1416.  
  1417. --//=================================\\
  1418. --\\=================================//
  1419.  
  1420.  
  1421. --//=================================\\
  1422. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1423. --\\=================================//
  1424.  
  1425. ArtificialHB = Instance.new("BindableEvent", script)
  1426. ArtificialHB.Name = "ArtificialHB"
  1427.  
  1428. script:WaitForChild("ArtificialHB")
  1429.  
  1430. frame = Frame_Speed
  1431. tf = 0
  1432. allowframeloss = false
  1433. tossremainder = false
  1434. lastframe = tick()
  1435. script.ArtificialHB:Fire()
  1436.  
  1437. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1438. tf = tf + s
  1439. if tf >= frame then
  1440. if allowframeloss then
  1441. script.ArtificialHB:Fire()
  1442. lastframe = tick()
  1443. else
  1444. for i = 1, math.floor(tf / frame) do
  1445. script.ArtificialHB:Fire()
  1446. end
  1447. lastframe = tick()
  1448. end
  1449. if tossremainder then
  1450. tf = 0
  1451. else
  1452. tf = tf - frame * math.floor(tf / frame)
  1453. end
  1454. end
  1455. end)
  1456.  
  1457. --//=================================\\
  1458. --\\=================================//
  1459.  
  1460. --//=================================\\
  1461. --|| SOME TAG EDIT
  1462. --\\=================================//
  1463.  
  1464. m = game.Players.owner
  1465. char = m.Character
  1466. local txt = Instance.new("BillboardGui", char)
  1467. txt.Adornee = char.Head
  1468. txt.Name = "_status"
  1469. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1470. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1471. local text = Instance.new("TextLabel", txt)
  1472. text.Size = UDim2.new(10, 0, 7, 0)
  1473. text.FontSize = "Size24"
  1474. text.TextScaled = true
  1475. text.TextTransparency = 0
  1476. text.BackgroundTransparency = 1
  1477. text.TextTransparency = 0
  1478. text.TextStrokeTransparency = 0
  1479. text.Font = "Bodoni"
  1480. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  1481. v = Instance.new("Part")
  1482. v.Name = "ColorBrick"
  1483. v.Parent = m.Character
  1484. v.FormFactor = "Symmetric"
  1485. v.Anchored = true
  1486. v.CanCollide = false
  1487. v.BottomSurface = "Smooth"
  1488. v.TopSurface = "Smooth"
  1489. v.Size = Vector3.new(10, 5, 3)
  1490. v.Transparency = 1
  1491. v.CFrame = char.Torso.CFrame
  1492. v.BrickColor = BrickColor.new("Really black")
  1493. v.Transparency = 1
  1494. v.Shape = "Block"
  1495. spawn(function()
  1496. local TweenService = game:GetService("TweenService")
  1497. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(255,255,255),Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,0,0),Color3.fromRGB(255,255,255),Color3.fromRGB(0,0,0)}
  1498. local Int = 0
  1499. while wait(0.5) do
  1500. if Int == #Colours then Int = 0 end
  1501. Int = Int+1
  1502. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  1503. end
  1504. end)
  1505. text.Text = "Edit by wanTH092"
  1506. wait(3)
  1507. text.Text = "Showcased by NameClan (Lol)"
  1508. wait(4)
  1509. text.Text = "The Switcher"
  1510.  
  1511. --//=================================\\
  1512. --\\=================================//
  1513.  
  1514. --//=================================\\
  1515. --|| SOME FUNCTIONS
  1516. --\\=================================//
  1517.  
  1518. local EyeSizes={
  1519. NumberSequenceKeypoint.new(0,2,0),
  1520. NumberSequenceKeypoint.new(1,0,0)
  1521. }
  1522. local EyeTrans={
  1523. NumberSequenceKeypoint.new(0,0.5,0),
  1524. NumberSequenceKeypoint.new(1,1,0)
  1525. }
  1526. local PE=Instance.new("ParticleEmitter",nil)
  1527. PE.LightEmission=.8
  1528. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Really red").Color)
  1529. PE.Size=NumberSequence.new(EyeSizes)
  1530. PE.Transparency=NumberSequence.new(EyeTrans)
  1531. PE.Lifetime=NumberRange.new(0.35,1)
  1532. PE.Rotation=NumberRange.new(0,360)
  1533. PE.Rate=100
  1534. PE.VelocitySpread = 10000
  1535. PE.Acceleration = Vector3.new(0,85,0)
  1536. PE.Drag = 5
  1537. PE.Speed = NumberRange.new(0.1,5)
  1538. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  1539. PE.ZOffset = 0.5
  1540. PE.Name = "PE"
  1541. PE.Enabled = false
  1542. function Fire(art)
  1543. local PARTICLES = PE:Clone()
  1544. PARTICLES.Parent = art
  1545. PARTICLES.Enabled = true
  1546. return PARTICLES
  1547. end
  1548.  
  1549. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1550. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1551. local mesh
  1552. if KIND == "Base" then
  1553. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1554. elseif KIND == "Thin" then
  1555. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1556. elseif KIND == "Round" then
  1557. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1558. end
  1559. wave.CFrame = CFRAME
  1560. coroutine.resume(coroutine.create(function(PART)
  1561. for i = 1, WAIT do
  1562. Swait()
  1563. mesh.Scale = mesh.Scale + GROW / 10
  1564. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1565. if wave.Transparency > 0.99 then
  1566. wave:remove()
  1567. end
  1568. end
  1569. end))
  1570. end
  1571.  
  1572. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1573. for _, c in pairs(PARENT:GetChildren()) do
  1574. if c.ClassName == "Model" then
  1575. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1576. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1577. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1578. if DIST > (TORSO.Position - FROM).Magnitude then
  1579. table.insert(TABLE, c)
  1580. end
  1581. AddChildrenToTable(FROM, c, DIST, TABLE)
  1582. elseif c.ClassName == "Folder" then
  1583. AddChildrenToTable(FROM, c, DIST, TABLE)
  1584. end
  1585. end
  1586. end
  1587. end
  1588.  
  1589. function VanishPlayer()
  1590. for _, c in pairs(Character:GetChildren()) do
  1591. if c.ClassName == "Part" then
  1592. c.Transparency = 1
  1593. if c:FindFirstChildOfClass("Decal") then
  1594. c:FindFirstChildOfClass("Decal").Transparency = 1
  1595. end
  1596. if c:FindFirstChildOfClass("ParticleEmitter") then
  1597. c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1598. end
  1599. elseif c.ClassName == "Accessory" then
  1600. c.Handle.Transparency = 1
  1601. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  1602. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  1603. end
  1604. end
  1605. end
  1606. end
  1607.  
  1608. function killnearest(position,range,maxstrength)
  1609. for i,v in ipairs(workspace:GetChildren()) do
  1610. local body = v:GetChildren()
  1611. for part = 1, #body do
  1612. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1613. if(body[part].Position - position).Magnitude < range then
  1614. if v.ClassName == "Model" then
  1615. v:BreakJoints()
  1616. end
  1617. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1618. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1619. end
  1620. end
  1621. end
  1622. if v.ClassName == "Part" then
  1623. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1624. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1625. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1626. end
  1627. end
  1628. end
  1629. end
  1630.  
  1631. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1632. PLAYMAINANIM = false
  1633. if WhichPose == "Cast1" then
  1634. for i=0, Time, 0.1 / Animation_Speed do
  1635. Swait()
  1636. if Magic == true then
  1637. 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})
  1638. end
  1639. if Gyro ~= nil and Gyro ~= false then
  1640. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1641. end
  1642. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  1643. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.35*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  1644. 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)
  1645. 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)
  1646. 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)
  1647. 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)
  1648. end
  1649. elseif WhichPose == "Cast2" then
  1650. for i=0, Time, 0.1 / Animation_Speed do
  1651. Swait()
  1652. if Magic == true then
  1653. 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})
  1654. 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})
  1655. end
  1656. if Gyro ~= nil and Gyro ~= false then
  1657. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1658. end
  1659. 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)
  1660. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1661. 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)
  1662. 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)
  1663. 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)
  1664. 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)
  1665. end
  1666. elseif WhichPose == "RightArmUp2" then
  1667. for i=0, Time, 0.1 / Animation_Speed do
  1668. Swait()
  1669. if Magic == true then
  1670. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1671. end
  1672. if Gyro ~= nil and Gyro ~= false then
  1673. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1674. end
  1675. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  1676. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0) - 0)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1677. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1678. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1679. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1680. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1681. end
  1682. elseif WhichPose == "Prepare key" then
  1683. for i=0, Time, 0.1 / Animation_Speed do
  1684. Swait()
  1685. if Gyro ~= nil and Gyro ~= false then
  1686. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1687. end
  1688. 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)
  1689. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  1690. 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)
  1691. 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)
  1692. 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)
  1693. 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)
  1694. end
  1695. elseif WhichPose == "Turn key" then
  1696. for i=0, Time, 0.1 / Animation_Speed do
  1697. Swait()
  1698. if Gyro ~= nil and Gyro ~= false then
  1699. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1700. end
  1701. 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)
  1702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((1*SIZE) - 1*SIZE)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  1703. 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)
  1704. 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)
  1705. 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)
  1706. 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)
  1707. end
  1708. end
  1709. PLAYMAINANIM = true
  1710. end
  1711.  
  1712.  
  1713. local EyeSizes={
  1714. NumberSequenceKeypoint.new(0,1,0),
  1715. NumberSequenceKeypoint.new(1,0,0)
  1716. }
  1717. local EyeTrans={
  1718. NumberSequenceKeypoint.new(0,0.8,0),
  1719. NumberSequenceKeypoint.new(1,1,0)
  1720. }
  1721. local PE=Instance.new("ParticleEmitter",nil)
  1722. PE.LightEmission=.8
  1723. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  1724. PE.Size=NumberSequence.new(EyeSizes)
  1725. PE.Transparency=NumberSequence.new(EyeTrans)
  1726. PE.Lifetime=NumberRange.new(0.35,1.5)
  1727. PE.Rotation=NumberRange.new(0,360)
  1728. PE.Rate=999
  1729. PE.VelocitySpread = 10000
  1730. PE.Acceleration = Vector3.new(0,0,0)
  1731. PE.Drag = 5
  1732. PE.Speed = NumberRange.new(0,0,0)
  1733. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  1734. PE.ZOffset = -0
  1735. PE.Name = "PE"
  1736. PE.Enabled = false
  1737.  
  1738. function particles(art)
  1739. local PARTICLES = PE:Clone()
  1740. PARTICLES.Parent = art
  1741. end
  1742.  
  1743. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1744. if FLOOR ~= nil then
  1745. coroutine.resume(coroutine.create(function()
  1746. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1747. PART.CFrame = CF(POSITION)
  1748. for i = 1, 45 do
  1749. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1750. RingPiece.Material = FLOOR.Material
  1751. RingPiece.Color = FLOOR.Color
  1752. 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)))
  1753. Debris:AddItem(RingPiece,SWAIT)
  1754. end
  1755. PART:remove()
  1756. end))
  1757. end
  1758. end
  1759.  
  1760. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1761. if FLOOR ~= nil then
  1762. for i = 1, AMOUNT do
  1763. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1764. DEBREE.Material = FLOOR.Material
  1765. DEBREE.Color = FLOOR.Color
  1766. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1767. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1768. coroutine.resume(coroutine.create(function()
  1769. Swait(15)
  1770. DEBREE.Parent = workspace
  1771. DEBREE.CanCollide = true
  1772. Debris:AddItem(DEBREE,SWAIT)
  1773. end))
  1774. end
  1775. end
  1776. end
  1777.  
  1778. local DECAL = IT("Decal")
  1779. function MakeRing()
  1780. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1781. local MSH = IT("BlockMesh", RING)
  1782. local TOP = DECAL:Clone()
  1783. local BOTTOM = DECAL:Clone()
  1784. TOP.Parent = RING
  1785. BOTTOM.Parent = RING
  1786. TOP.Face = "Top"
  1787. BOTTOM.Face = "Bottom"
  1788. TOP.Texture = "http://www.roblox.com/asset/?id=273474310"
  1789. BOTTOM.Texture = "http://www.roblox.com/asset/?id=273474310"
  1790. local function REMOVE()
  1791. coroutine.resume(coroutine.create(function()
  1792. local SIZE = MSH.Scale.X
  1793. for i = 1, 35 do
  1794. Swait()
  1795. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1796. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1797. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1798. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1799. end
  1800. RING:remove()
  1801. end))
  1802. end
  1803. return RING, MSH, REMOVE
  1804. end
  1805.  
  1806. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1807. local TORSO = Torso
  1808. local HUM = Humanoid
  1809. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1810. coroutine.wrap(function()
  1811. VT = Vector3.new
  1812. MRANDOM = math.random
  1813. local A = TIME
  1814. local B = INTENSITY
  1815. local C = true
  1816. local HUMANOID = Humanoid
  1817. local TIMER = A or 35
  1818. local SHAKE = B or 5
  1819. local FADE = C or true
  1820. if HUMANOID then
  1821. local FADER = SHAKE / TIMER
  1822. for i = 1, TIMER do
  1823. wait()
  1824. 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)
  1825. end
  1826. HUMANOID.CameraOffset = VT(0, 0, 0)
  1827. end
  1828.  
  1829. end)()
  1830. end
  1831. end
  1832.  
  1833. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1834. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1835. end
  1836.  
  1837. function PositiveAngle(NUMBER)
  1838. if NUMBER >= 0 then
  1839. NUMBER = 0
  1840. end
  1841. return NUMBER
  1842. end
  1843.  
  1844. function NegativeAngle(NUMBER)
  1845. if NUMBER <= 0 then
  1846. NUMBER = 0
  1847. end
  1848. return NUMBER
  1849. end
  1850.  
  1851. function Swait(NUMBER)
  1852. if NUMBER == 0 or NUMBER == nil then
  1853. ArtificialHB.Event:wait()
  1854. else
  1855. for i = 1, NUMBER do
  1856. ArtificialHB.Event:wait()
  1857. end
  1858. end
  1859. end
  1860.  
  1861. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1862. local NEWMESH = IT(MESH)
  1863. if MESH == "SpecialMesh" then
  1864. NEWMESH.MeshType = MESHTYPE
  1865. if MESHID ~= "nil" and MESHID ~= "" then
  1866. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1867. end
  1868. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1869. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1870. end
  1871. end
  1872. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1873. NEWMESH.Scale = SCALE
  1874. NEWMESH.Parent = PARENT
  1875. return NEWMESH
  1876. end
  1877.  
  1878. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1879. local NEWPART = IT("Part")
  1880. NEWPART.formFactor = FORMFACTOR
  1881. NEWPART.Reflectance = REFLECTANCE
  1882. NEWPART.Transparency = TRANSPARENCY
  1883. NEWPART.CanCollide = false
  1884. NEWPART.Locked = true
  1885. NEWPART.Anchored = true
  1886. if ANCHOR == false then
  1887. NEWPART.Anchored = false
  1888. end
  1889. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1890. NEWPART.Name = NAME
  1891. NEWPART.Size = SIZE
  1892. NEWPART.Position = Torso.Position
  1893. NEWPART.Material = MATERIAL
  1894. NEWPART:BreakJoints()
  1895. NEWPART.Parent = PARENT
  1896. return NEWPART
  1897. end
  1898.  
  1899. local function weldBetween(a, b)
  1900. local weldd = Instance.new("ManualWeld")
  1901. weldd.Part0 = a
  1902. weldd.Part1 = b
  1903. weldd.C0 = CFrame.new()
  1904. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1905. weldd.Parent = a
  1906. return weldd
  1907. end
  1908.  
  1909.  
  1910. function QuaternionFromCFrame(cf)
  1911. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1912. local trace = m00 + m11 + m22
  1913. if trace > 0 then
  1914. local s = math.sqrt(1 + trace)
  1915. local recip = 0.5 / s
  1916. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1917. else
  1918. local i = 0
  1919. if m11 > m00 then
  1920. i = 1
  1921. end
  1922. if m22 > (i == 0 and m00 or m11) then
  1923. i = 2
  1924. end
  1925. if i == 0 then
  1926. local s = math.sqrt(m00 - m11 - m22 + 1)
  1927. local recip = 0.5 / s
  1928. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1929. elseif i == 1 then
  1930. local s = math.sqrt(m11 - m22 - m00 + 1)
  1931. local recip = 0.5 / s
  1932. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1933. elseif i == 2 then
  1934. local s = math.sqrt(m22 - m00 - m11 + 1)
  1935. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1936. end
  1937. end
  1938. end
  1939.  
  1940. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1941. local xs, ys, zs = x + x, y + y, z + z
  1942. local wx, wy, wz = w * xs, w * ys, w * zs
  1943. local xx = x * xs
  1944. local xy = x * ys
  1945. local xz = x * zs
  1946. local yy = y * ys
  1947. local yz = y * zs
  1948. local zz = z * zs
  1949. 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))
  1950. end
  1951.  
  1952. function QuaternionSlerp(a, b, t)
  1953. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1954. local startInterp, finishInterp;
  1955. if cosTheta >= 0.0001 then
  1956. if (1 - cosTheta) > 0.0001 then
  1957. local theta = ACOS(cosTheta)
  1958. local invSinTheta = 1 / SIN(theta)
  1959. startInterp = SIN((1 - t) * theta) * invSinTheta
  1960. finishInterp = SIN(t * theta) * invSinTheta
  1961. else
  1962. startInterp = 1 - t
  1963. finishInterp = t
  1964. end
  1965. else
  1966. if (1 + cosTheta) > 0.0001 then
  1967. local theta = ACOS(-cosTheta)
  1968. local invSinTheta = 1 / SIN(theta)
  1969. startInterp = SIN((t - 1) * theta) * invSinTheta
  1970. finishInterp = SIN(t * theta) * invSinTheta
  1971. else
  1972. startInterp = t - 1
  1973. finishInterp = t
  1974. end
  1975. end
  1976. 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
  1977. end
  1978.  
  1979. function Clerp(a, b, t)
  1980. local qa = {QuaternionFromCFrame(a)}
  1981. local qb = {QuaternionFromCFrame(b)}
  1982. local ax, ay, az = a.x, a.y, a.z
  1983. local bx, by, bz = b.x, b.y, b.z
  1984. local _t = 1 - t
  1985. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1986. end
  1987.  
  1988. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1989. local frame = IT("Frame")
  1990. frame.BackgroundTransparency = TRANSPARENCY
  1991. frame.BorderSizePixel = BORDERSIZEPIXEL
  1992. frame.Position = POSITION
  1993. frame.Size = SIZE
  1994. frame.BackgroundColor3 = COLOR
  1995. frame.BorderColor3 = BORDERCOLOR
  1996. frame.Name = NAME
  1997. frame.Parent = PARENT
  1998. return frame
  1999. end
  2000.  
  2001. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2002. local label = IT("TextLabel")
  2003. label.BackgroundTransparency = 1
  2004. label.Size = UD2(1, 0, 1, 0)
  2005. label.Position = UD2(0, 0, 0, 0)
  2006. label.TextColor3 = TEXTCOLOR
  2007. label.TextStrokeTransparency = STROKETRANSPARENCY
  2008. label.TextTransparency = TRANSPARENCY
  2009. label.FontSize = TEXTFONTSIZE
  2010. label.Font = TEXTFONT
  2011. label.BorderSizePixel = BORDERSIZEPIXEL
  2012. label.TextStrokeColor3 = C3(1,1,1)
  2013. label.TextScaled = false
  2014. label.Text = TEXT
  2015. label.Name = NAME
  2016. label.Parent = PARENT
  2017. return label
  2018. end
  2019.  
  2020. function NoOutlines(PART)
  2021. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2022. end
  2023.  
  2024. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2025. local NEWWELD = IT(TYPE)
  2026. NEWWELD.Part0 = PART0
  2027. NEWWELD.Part1 = PART1
  2028. NEWWELD.C0 = C0
  2029. NEWWELD.C1 = C1
  2030. NEWWELD.Parent = PARENT
  2031. return NEWWELD
  2032. end
  2033.  
  2034. local S = IT("Sound")
  2035. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2036. local NEWSOUND = nil
  2037. coroutine.resume(coroutine.create(function()
  2038. NEWSOUND = S:Clone()
  2039. NEWSOUND.Parent = PARENT
  2040. NEWSOUND.Volume = VOLUME
  2041. NEWSOUND.Pitch = PITCH
  2042. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2043. NEWSOUND:play()
  2044. if DOESLOOP == true then
  2045. NEWSOUND.Looped = true
  2046. else
  2047. repeat wait(1) until NEWSOUND.Playing == false
  2048. NEWSOUND:remove()
  2049. end
  2050. end))
  2051. return NEWSOUND
  2052. end
  2053.  
  2054. function CFrameFromTopBack(at, top, back)
  2055. local right = top:Cross(back)
  2056. 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)
  2057. end
  2058.  
  2059. --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})
  2060. function WACKYEFFECT(Table)
  2061. local TYPE = (Table.EffectType or "Sphere")
  2062. local SIZE = (Table.Size or VT(1,1,1))
  2063. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  2064. local TRANSPARENCY = (Table.Transparency or 0)
  2065. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2066. local CFRAME = (Table.CFrame or Torso.CFrame)
  2067. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2068. local ROTATION1 = (Table.RotationX or 0)
  2069. local ROTATION2 = (Table.RotationY or 0)
  2070. local ROTATION3 = (Table.RotationZ or 0)
  2071. local MATERIAL = (Table.Material or "Neon")
  2072. local COLOR = (Table.Color or C3(1,1,1))
  2073. local TIME = (Table.Time or 45)
  2074. local SOUNDID = (Table.SoundID or nil)
  2075. local SOUNDPITCH = (Table.SoundPitch or nil)
  2076. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2077. coroutine.resume(coroutine.create(function()
  2078. local PLAYSSOUND = false
  2079. local SOUND = nil
  2080. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2081. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2082. PLAYSSOUND = true
  2083. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2084. end
  2085. EFFECT.Color = COLOR
  2086. local MSH = nil
  2087. if TYPE == "Sphere" then
  2088. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2089. elseif TYPE == "Block" then
  2090. MSH = IT("BlockMesh",EFFECT)
  2091. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2092. elseif TYPE == "Wave" then
  2093. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2094. elseif TYPE == "Ring" then
  2095. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2096. elseif TYPE == "Slash" then
  2097. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2098. elseif TYPE == "Round Slash" then
  2099. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2100. elseif TYPE == "Swirl" then
  2101. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2102. elseif TYPE == "Skull" then
  2103. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2104. elseif TYPE == "Crystal" then
  2105. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2106. end
  2107. if MSH ~= nil then
  2108. local MOVESPEED = nil
  2109. if MOVEDIRECTION ~= nil then
  2110. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2111. end
  2112. local GROWTH = SIZE - ENDSIZE
  2113. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2114. if TYPE == "Block" then
  2115. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2116. else
  2117. EFFECT.CFrame = CFRAME
  2118. end
  2119. for LOOP = 1, TIME+1 do
  2120. Swait()
  2121. MSH.Scale = MSH.Scale - GROWTH/TIME
  2122. if TYPE == "Wave" then
  2123. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2124. end
  2125. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2126. if TYPE == "Block" then
  2127. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2128. else
  2129. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2130. end
  2131. if MOVEDIRECTION ~= nil then
  2132. local ORI = EFFECT.Orientation
  2133. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2134. EFFECT.Orientation = ORI
  2135. end
  2136. end
  2137. if PLAYSSOUND == false then
  2138. EFFECT:remove()
  2139. else
  2140. repeat Swait() until SOUND.Playing == false
  2141. EFFECT:remove()
  2142. end
  2143. else
  2144. if PLAYSSOUND == false then
  2145. EFFECT:remove()
  2146. else
  2147. repeat Swait() until SOUND.Playing == false
  2148. EFFECT:remove()
  2149. end
  2150. end
  2151. end))
  2152. end
  2153.  
  2154. function MakeForm(PART,TYPE)
  2155. if TYPE == "Cyl" then
  2156. local MSH = IT("CylinderMesh",PART)
  2157. elseif TYPE == "Ball" then
  2158. local MSH = IT("SpecialMesh",PART)
  2159. MSH.MeshType = "Sphere"
  2160. elseif TYPE == "Wedge" then
  2161. local MSH = IT("SpecialMesh",PART)
  2162. MSH.MeshType = "Wedge"
  2163. end
  2164. end
  2165.  
  2166. Debris = game:GetService("Debris")
  2167.  
  2168. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2169. local DIRECTION = CF(StartPos,EndPos).lookVector
  2170. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2171. end
  2172.  
  2173. function turnto(position)
  2174. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2175. end
  2176.  
  2177. --//=================================\\
  2178. --|| RAGDOLL STUFF
  2179. --\\=================================//
  2180.  
  2181. function recurse(root,callback,i)
  2182. i= i or 0
  2183. for _,v in pairs(root:GetChildren()) do
  2184. i = i + 1
  2185. callback(i,v)
  2186.  
  2187. if #v:GetChildren() > 0 then
  2188. i = recurse(v,callback,i)
  2189. end
  2190. end
  2191.  
  2192. return i
  2193. end
  2194.  
  2195. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2196. attachmentName = attachmentName.."RigAttachment"
  2197. local constraint = Instance.new(className.."Constraint")
  2198. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2199. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2200. constraint.Name = "RagdollConstraint"..part1.Name
  2201.  
  2202. for _,propertyData in next,properties or {} do
  2203. constraint[propertyData[1]] = propertyData[2]
  2204. end
  2205.  
  2206. constraint.Parent = character
  2207. end
  2208.  
  2209. function getAttachment0(character, attachmentName)
  2210. for _,child in next,character:GetChildren() do
  2211. local attachment = child:FindFirstChild(attachmentName)
  2212. if attachment then
  2213. return attachment
  2214. end
  2215. end
  2216. end
  2217.  
  2218. function ArtificialHitbox(Part)
  2219. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2220. HITBOX.CanCollide = true
  2221. HITBOX.CFrame = Part.CFrame
  2222. weldBetween(Part,HITBOX)
  2223. end
  2224.  
  2225. function R15Ragdoll(character,KeepArms)
  2226. character:BreakJoints()
  2227. coroutine.resume(coroutine.create(function()
  2228. recurse(character, function(_,v)
  2229. if v:IsA("Attachment") then
  2230. v.Axis = Vector3.new(0, 1, 0)
  2231. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2232. v.Rotation = Vector3.new(0, 0, 0)
  2233. end
  2234. end)
  2235. for _,child in next,character:GetChildren() do
  2236. if child:IsA("Accoutrement") then
  2237. for _,part in next,child:GetChildren() do
  2238. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  2239. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2240. local attachment0 = getAttachment0(character,attachment1.Name)
  2241. if attachment0 and attachment1 then
  2242. local constraint = Instance.new("HingeConstraint")
  2243. constraint.Attachment0 = attachment0
  2244. constraint.Attachment1 = attachment1
  2245. constraint.LimitsEnabled = true
  2246. constraint.UpperAngle = 0
  2247. constraint.LowerAngle = 0
  2248. constraint.Parent = character
  2249. end
  2250. ArtificialHitbox(part)
  2251. elseif part.Name == "HumanoidRootPart" then
  2252. part:remove()
  2253. end
  2254. end
  2255. end
  2256. end
  2257.  
  2258. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  2259. {"LimitsEnabled",true};
  2260. {"UpperAngle",5};
  2261. })
  2262. if character:FindFirstChild("Head") then
  2263. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  2264. {"LimitsEnabled",true};
  2265. {"UpperAngle",15};
  2266. })
  2267. end
  2268.  
  2269. local handProperties = {
  2270. {"LimitsEnabled", true};
  2271. {"UpperAngle",0};
  2272. {"LowerAngle",0};
  2273. }
  2274. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  2275. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  2276.  
  2277. local shinProperties = {
  2278. {"LimitsEnabled", true};
  2279. {"UpperAngle", 0};
  2280. {"LowerAngle", -75};
  2281. }
  2282. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  2283. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  2284.  
  2285. local footProperties = {
  2286. {"LimitsEnabled", true};
  2287. {"UpperAngle", 15};
  2288. {"LowerAngle", -45};
  2289. }
  2290. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  2291. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  2292. if KeepArms == true then
  2293. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  2294. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  2295. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  2296. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  2297. end
  2298. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  2299. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  2300. Debris:AddItem(character,5)
  2301. end))
  2302. end
  2303.  
  2304. function Ragdoll(Character2,CharTorso,KeepArms)
  2305. coroutine.resume(coroutine.create(function()
  2306. Character2:BreakJoints()
  2307. local hum = Character2:findFirstChild("Humanoid")
  2308. hum:remove()
  2309. local function Scan(ch)
  2310. local e
  2311. for e = 1,#ch do
  2312. Scan(ch[e]:GetChildren())
  2313. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2314. ch[e]:remove()
  2315. end
  2316. end
  2317. end
  2318. local NEWHUM = IT("Humanoid")
  2319. NEWHUM.Name = "Corpse"
  2320. NEWHUM.Health = 0
  2321. NEWHUM.MaxHealth = 0
  2322. NEWHUM.PlatformStand = true
  2323. NEWHUM.Parent = Character2
  2324. NEWHUM.DisplayDistanceType = "None"
  2325.  
  2326. local ch = Character2:GetChildren()
  2327. local i
  2328. for i = 1,#ch do
  2329. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2330. ch[i]:remove()
  2331. end
  2332. end
  2333.  
  2334. local Torso2 = Character2.Torso
  2335. local movevector = Vector3.new()
  2336.  
  2337. if Torso2 then
  2338. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  2339. local Head = Character2:FindFirstChild("Head")
  2340. if Head then
  2341. local Neck = Instance.new("Weld")
  2342. Neck.Name = "Neck"
  2343. Neck.Part0 = Torso2
  2344. Neck.Part1 = Head
  2345. Neck.C0 = CFrame.new(0, 1.5, 0)
  2346. Neck.C1 = CFrame.new()
  2347. Neck.Parent = Torso2
  2348.  
  2349. end
  2350. local Limb = Character2:FindFirstChild("Right Arm")
  2351. if Limb and KeepArms == true then
  2352.  
  2353. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2354. local Joint = Instance.new("Glue")
  2355. Joint.Name = "RightShoulder"
  2356. Joint.Part0 = Torso2
  2357. Joint.Part1 = Limb
  2358. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2359. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2360. Joint.Parent = Torso2
  2361.  
  2362. local B = Instance.new("Part")
  2363. B.TopSurface = 0
  2364. B.BottomSurface = 0
  2365. B.formFactor = "Symmetric"
  2366. B.Size = Vector3.new(1, 1, 1)
  2367. B.Transparency = 1
  2368. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2369. B.Parent = Character2
  2370. local W = Instance.new("Weld")
  2371. W.Part0 = Limb
  2372. W.Part1 = B
  2373. W.C0 = CFrame.new(0, -0.5, 0)
  2374. W.Parent = Limb
  2375.  
  2376. end
  2377. local Limb = Character2:FindFirstChild("Left Arm")
  2378. if Limb and KeepArms == true then
  2379.  
  2380. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2381. local Joint = Instance.new("Glue")
  2382. Joint.Name = "LeftShoulder"
  2383. Joint.Part0 = Torso2
  2384. Joint.Part1 = Limb
  2385. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2386. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2387. Joint.Parent = Torso2
  2388.  
  2389. local B = Instance.new("Part")
  2390. B.TopSurface = 0
  2391. B.BottomSurface = 0
  2392. B.formFactor = "Symmetric"
  2393. B.Size = Vector3.new(1, 1, 1)
  2394. B.Transparency = 1
  2395. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2396. B.Parent = Character2
  2397. local W = Instance.new("Weld")
  2398. W.Part0 = Limb
  2399. W.Part1 = B
  2400. W.C0 = CFrame.new(0, -0.5, 0)
  2401. W.Parent = Limb
  2402.  
  2403. end
  2404. local Limb = Character2:FindFirstChild("Right Leg")
  2405. if Limb then
  2406.  
  2407. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2408. local Joint = Instance.new("Glue")
  2409. Joint.Name = "RightHip"
  2410. Joint.Part0 = Torso2
  2411. Joint.Part1 = Limb
  2412. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2413. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2414. Joint.Parent = Torso2
  2415.  
  2416. local B = Instance.new("Part")
  2417. B.TopSurface = 0
  2418. B.BottomSurface = 0
  2419. B.formFactor = "Symmetric"
  2420. B.Size = Vector3.new(1, 1, 1)
  2421. B.Transparency = 1
  2422. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2423. B.Parent = Character2
  2424. local W = Instance.new("Weld")
  2425. W.Part0 = Limb
  2426. W.Part1 = B
  2427. W.C0 = CFrame.new(0, -0.5, 0)
  2428. W.Parent = Limb
  2429.  
  2430. end
  2431. local Limb = Character2:FindFirstChild("Left Leg")
  2432. if Limb then
  2433.  
  2434. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2435. local Joint = Instance.new("Glue")
  2436. Joint.Name = "LeftHip"
  2437. Joint.Part0 = Torso2
  2438. Joint.Part1 = Limb
  2439. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2440. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2441. Joint.Parent = Torso2
  2442.  
  2443. local B = Instance.new("Part")
  2444. B.TopSurface = 0
  2445. B.BottomSurface = 0
  2446. B.formFactor = "Symmetric"
  2447. B.Size = Vector3.new(1, 1, 1)
  2448. B.Transparency = 1
  2449. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2450. B.Parent = Character2
  2451. local W = Instance.new("Weld")
  2452. W.Part0 = Limb
  2453. W.Part1 = B
  2454. W.C0 = CFrame.new(0, -0.5, 0)
  2455. W.Parent = Limb
  2456.  
  2457. end
  2458. --[
  2459. local Bar = Instance.new("Part")
  2460. Bar.TopSurface = 0
  2461. Bar.BottomSurface = 0
  2462. Bar.formFactor = "Symmetric"
  2463. Bar.Size = Vector3.new(1, 1, 1)
  2464. Bar.Transparency = 1
  2465. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2466. Bar.Parent = Character2
  2467. local Weld = Instance.new("Weld")
  2468. Weld.Part0 = Torso2
  2469. Weld.Part1 = Bar
  2470. Weld.C0 = CFrame.new(0, 0.5, 0)
  2471. Weld.Parent = Torso2
  2472. --]]
  2473. end
  2474. Character2.Parent = workspace
  2475. Debris:AddItem(Character2,5)
  2476.  
  2477. return Character2,Torso2
  2478. end))
  2479. end
  2480.  
  2481. --//=================================\\
  2482. --|| WEAPON CREATION
  2483. --\\=================================//
  2484.  
  2485. local BODY = {}
  2486. for _, c in pairs(Character:GetDescendants()) do
  2487. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2488. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2489. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2490. end
  2491. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  2492. elseif c:IsA("JointInstance") then
  2493. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  2494. end
  2495. end
  2496. for e = 1, #BODY do
  2497. if BODY[e] ~= nil then
  2498. local STUFF = BODY[e]
  2499. local PART = STUFF[1]
  2500. local PARENT = STUFF[2]
  2501. local MATERIAL = STUFF[3]
  2502. local COLOR = STUFF[4]
  2503. local TRANSPARENCY = STUFF[5]
  2504. if PART.ClassName == "Part" and PART ~= RootPart then
  2505. PART.Material = MATERIAL
  2506. PART.Color = COLOR
  2507. PART.Transparency = TRANSPARENCY
  2508. end
  2509. PART.AncestryChanged:Connect(function()
  2510. PART.Parent = PARENT
  2511. end)
  2512. end
  2513. end
  2514.  
  2515. function refit()
  2516. Character.Parent = workspace
  2517. for e = 1, #BODY do
  2518. if BODY[e] ~= nil then
  2519. local STUFF = BODY[e]
  2520. local PART = STUFF[1]
  2521. local PARENT = STUFF[2]
  2522. local MATERIAL = STUFF[3]
  2523. local COLOR = STUFF[4]
  2524. local TRANSPARENCY = STUFF[5]
  2525. if PART.ClassName == "Part" and PART ~= RootPart then
  2526. PART.Material = MATERIAL
  2527. PART.Color = COLOR
  2528. PART.Transparency = TRANSPARENCY
  2529. end
  2530. if PART.Parent ~= PARENT then
  2531. Humanoid:remove()
  2532. PART.Parent = PARENT
  2533. Humanoid = IT("Humanoid",Character)
  2534. end
  2535. end
  2536. end
  2537. end
  2538.  
  2539. function chatfunc(text)
  2540. local chat = coroutine.wrap(function()
  2541. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2542. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2543. end
  2544. local Bill = Instance.new("BillboardGui",Character)
  2545. Bill.Size = UDim2.new(0,100,0,40)
  2546. Bill.StudsOffset = Vector3.new(0,3,0)
  2547. Bill.Adornee = Character.Head
  2548. Bill.Name = "TalkingBillBoard"
  2549. local Hehe = Instance.new("TextLabel",Bill)
  2550. Hehe.BackgroundTransparency = 1
  2551. Hehe.BorderSizePixel = 0
  2552. Hehe.Text = ""
  2553. Hehe.Font = "Fantasy"
  2554. Hehe.TextSize = 40
  2555. Hehe.TextStrokeTransparency = 0
  2556. Hehe.Size = UDim2.new(1,0,0.5,0)
  2557. coroutine.resume(coroutine.create(function()
  2558. while Hehe ~= nil do
  2559. wait()
  2560. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2561. Hehe.Rotation = math.random(-5,5)
  2562. Hehe.TextColor3 = Color3.new(3,9,2)
  2563. Hehe.TextStrokeColor3 = Color3.new(255,255,0)
  2564. end
  2565. end))
  2566. for i = 1,string.len(text),1 do
  2567. wait()
  2568. Hehe.Text = string.sub(text,1,i)
  2569. end
  2570. wait(3)--Re[math.random(1, 93)]
  2571. for i = 0, 1, .025 do
  2572. wait()
  2573. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2574. Hehe.TextStrokeTransparency = i
  2575. Hehe.TextTransparency = i
  2576. end
  2577. Bill:Destroy()
  2578. end)
  2579. chat()
  2580. end
  2581.  
  2582. function onChatted(msg)
  2583. chatfunc(msg)
  2584. end
  2585.  
  2586. Player.Chatted:connect(onChatted)
  2587.  
  2588.  
  2589. Humanoid.Parent = nil
  2590. RootPart.Size = RootPart.Size*SIZE
  2591. Torso.Size = Torso.Size*SIZE
  2592. RightArm.Size = RightArm.Size*SIZE
  2593. RightLeg.Size = RightLeg.Size*SIZE
  2594. LeftArm.Size = LeftArm.Size*SIZE
  2595. LeftLeg.Size = LeftLeg.Size*SIZE
  2596. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  2597. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  2598. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2599. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2600. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  2601. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  2602. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2603. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2604. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2605. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2606. Head.Size = Head.Size*SIZE
  2607. RootJoint.Parent = RootPart
  2608. Neck.Parent = Torso
  2609. RightShoulder.Parent = Torso
  2610. LeftShoulder.Parent = Torso
  2611. RightHip.Parent = Torso
  2612. LeftHip.Parent = Torso
  2613.  
  2614. Humanoid.DisplayDistanceType = "None"
  2615. local top = Instance.new("Shirt")
  2616. top.ShirtTemplate = "rbxassetid://45695443"
  2617. top.Parent = Character
  2618. top.Name = "Cloth"
  2619. local bottom = Instance.new("Pants")
  2620. bottom.PantsTemplate = "rbxassetid://45696190"
  2621. bottom.Parent = Character
  2622. bottom.Name = "Cloth"
  2623.  
  2624. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size))
  2625. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2626. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(1.07*Player_Size,1.07*Player_Size,1.07*Player_Size))
  2627. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2628. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(1.07*Player_Size,0.5*Player_Size,1.07*Player_Size))
  2629. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, 0.85 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2630. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size,1.07*Player_Size))
  2631. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2632. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.7*Player_Size,0.5*Player_Size,1.07*Player_Size))
  2633. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2634. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.5*Player_Size,1.5*Player_Size, 0.5*Player_Size))
  2635. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.35 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2636. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.5*Player_Size,1.5*Player_Size, 0.5*Player_Size))
  2637. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.35 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2638. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size, 1.2*Player_Size))
  2639. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2640.  
  2641. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2*Player_Size,0.2*Player_Size, 0.2*Player_Size))
  2642. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.12 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), CF(0, 0, 0))
  2643. local mesh = IT("SpecialMesh",part)
  2644. mesh.MeshType = "FileMesh"
  2645. mesh.MeshId = "http://www.roblox.com/asset/?id=55821108"
  2646.  
  2647. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Handle", VT(0.2*Player_Size,0.2*Player_Size, 0.2*Player_Size))
  2648. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0.4 * Player_Size, 0.12 * Player_Size, 0.75 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2649. local mesh = IT("SpecialMesh",part)
  2650. mesh.MeshType = "FileMesh"
  2651. mesh.MeshId = "http://www.roblox.com/asset/?id=55820516"
  2652.  
  2653. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Lavender", "Handle", VT(0.35*Player_Size,0.35*Player_Size, 1.25*Player_Size))
  2654. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2655. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(0.5*Player_Size,0.5*Player_Size, 1.2*Player_Size))
  2656. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(-0.2 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2657. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Institutional white", "Handle", VT(1.1*Player_Size,0.2*Player_Size, 1.1*Player_Size))
  2658. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2659. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(1.15*Player_Size,0.05*Player_Size, 1.15*Player_Size))
  2660. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -0.7 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2661. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Institutional white", "Handle", VT(1*Player_Size,0.1*Player_Size,1*Player_Size))
  2662. local weld = CreateWeldOrSnapOrMotor("Weld", part, LeftArm, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2663. local mesh = IT("CylinderMesh",part)
  2664.  
  2665. local beampart = CreatePart(3, Weapon, "Neon", 0, 0, "Lavender", "Handle", VT(0.6*Player_Size,0.1*Player_Size,0.6*Player_Size))
  2666. local weld = CreateWeldOrSnapOrMotor("Weld", beampart, LeftArm, beampart, CF(0 * Player_Size, -1.02 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2667. local mesh = IT("CylinderMesh",beampart)
  2668.  
  2669. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  2670. PRT.Color = C3(0,0,0)
  2671. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  2672. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  2673. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  2674. PRT.Color = C3(0,0,0)
  2675. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  2676. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  2677. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  2678. PRT.Color = C3(255/255, 255/255, 0/255)
  2679. MakeForm(PRT,"Ball")
  2680. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  2681. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  2682. PRT.Color = C3(255/255, 0/255, 0/255)
  2683. MakeForm(PRT,"Ball")
  2684. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  2685. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  2686. PRT.Color = C3(255/255, 255/255, 0/255)
  2687. MakeForm(PRT,"Ball")
  2688. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  2689. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  2690. PRT.Color = C3(255/255, 255/255, 0/255)
  2691. MakeForm(PRT,"Ball")
  2692. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  2693. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  2694. PRT.Color = C3(255/255, 0/255, 0/255)
  2695. MakeForm(PRT,"Ball")
  2696. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  2697. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  2698. PRT.Color = C3(255/255, 0/255, 0/255)
  2699. MakeForm(PRT,"Ball")
  2700. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  2701.  
  2702. local LASTPART = Head
  2703. for i = 1, 24 do
  2704. local MATH = (1-(i/30))
  2705. if LASTPART == Head then
  2706. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2707. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  2708. LASTPART = Horn
  2709. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2710. else
  2711. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2712. 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))
  2713. LASTPART = Horn
  2714. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2715. end
  2716. end
  2717. local LASTPART = Head
  2718. for i = 1, 24 do
  2719. local MATH = (1-(i/30))
  2720. if LASTPART == Head then
  2721. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2722. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  2723. LASTPART = Horn
  2724. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2725. else
  2726. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2727. 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))
  2728. LASTPART = Horn
  2729. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2730. end
  2731. end
  2732. local LASTPART = Head
  2733. for i = 1, 8 do
  2734. local MATH = (1-(i/14))
  2735. if LASTPART == Head then
  2736. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2737. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  2738. LASTPART = Horn
  2739. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2740. else
  2741. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2742. 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))
  2743. LASTPART = Horn
  2744. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2745. end
  2746. end
  2747. local LASTPART = Head
  2748. for i = 1, 8 do
  2749. local MATH = (1-(i/14))
  2750. if LASTPART == Head then
  2751. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2752. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  2753. LASTPART = Horn
  2754. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2755. else
  2756. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2757. 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))
  2758. LASTPART = Horn
  2759. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  2760. end
  2761. end
  2762. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2763. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2764. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2765. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2766. MakeForm(PRT,"Cyl")
  2767. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2768. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2769. MakeForm(PRT,"Cyl")
  2770. PRT.Color = C3(255/255, 0/255, 0/255)
  2771. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2772. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2773. MakeForm(RING,"Cyl")
  2774. RING.Color = C3(0,0,0)
  2775. for i = 1, 12 do
  2776. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0)*SIZE,false)
  2777. PRT.Color = C3(0,0,0)
  2778. local MSH = IT("BlockMesh",PRT)
  2779. MSH.Scale = VT(0.6,1,1)
  2780. 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))
  2781. end
  2782. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2783. PRT.Color = C3(0,0,0)
  2784. local MSH = IT("BlockMesh",PRT)
  2785. MSH.Scale = VT(0.4,1,1)
  2786. 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))
  2787. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really red", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2788. PRT.Color = C3(0,0,0)
  2789. local MSH = IT("BlockMesh",PRT)
  2790. MSH.Scale = VT(0.4,1,1)
  2791. 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))
  2792. coroutine.resume(coroutine.create(function()
  2793. while true do
  2794. Swait()
  2795. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2796. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2797. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2798. if CLOCKLOOP <= -150 then
  2799. if VALUE1 == false then
  2800. CLOCKLOOP = 0
  2801. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
  2802. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2803. ApplyAoE(HITPOS,10,15,45,75,false)
  2804. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  2805. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
  2806. if CLOCKTARGET ~= nil then
  2807. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  2808. if CLOCKTARGET.Torso ~= nil then
  2809. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2810. end
  2811. if CLOCKTARGET.Health == 0 then
  2812. CLOCKTARGET = nil
  2813. end
  2814. end
  2815. end
  2816. end
  2817. end
  2818. end))
  2819.  
  2820. for _, c in pairs(Weapon:GetChildren()) do
  2821. if c.ClassName == "Part" then
  2822. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2823. end
  2824. end
  2825.  
  2826. Neck.Name = "Weld"
  2827. RootJoint.Name = "Weld"
  2828. RightShoulder.Name = "Weld"
  2829. LeftShoulder.Name = "Weld"
  2830. RightHip.Name = "Weld"
  2831. LeftHip.Name = "Weld"
  2832.  
  2833. local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
  2834. local SKILLFONT = "Fantasy"
  2835. local SKILLTEXTSIZE = 7
  2836.  
  2837. Weapon.Parent = Character
  2838. Humanoid.Parent = Character
  2839.  
  2840. Humanoid.Died:connect(function()
  2841. ATTACK = true
  2842. end)
  2843.  
  2844. --//=================================\\
  2845. --|| DAMAGING
  2846. --\\=================================//
  2847.  
  2848. function CheckTableForString(Table, String)
  2849. for i, v in pairs(Table) do
  2850. if string.find(string.lower(String), string.lower(v)) then
  2851. return true
  2852. end
  2853. end
  2854. return false
  2855. end
  2856.  
  2857. function CheckIntangible(Hit)
  2858. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2859. if Hit and Hit.Parent then
  2860. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2861. return true
  2862. end
  2863. end
  2864. return false
  2865. end
  2866.  
  2867. function ApplyDamage(Humanoid,Damage,TorsoPart)
  2868. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2869. defence.Name = ("HitBy"..Player.Name)
  2870. game:GetService("Debris"):AddItem(defence, 0.001)
  2871. Damage = Damage * DAMAGEMULTIPLIER
  2872. if Humanoid.Health ~= 0 then
  2873. local CritChance = MRANDOM(1,100)
  2874. if Damage > Humanoid.Health then
  2875. Damage = math.ceil(Humanoid.Health)
  2876. if Damage == 0 then
  2877. Damage = 0.1
  2878. end
  2879. end
  2880. Humanoid.Health = Humanoid.Health - Damage
  2881. end
  2882. end
  2883.  
  2884. function MagicSphere2(size,waitt,cframe,color)
  2885. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  2886. local mesh = IT("SpecialMesh",wave)
  2887. mesh.MeshType = "Sphere"
  2888. mesh.Scale = VT(size,size,size)
  2889. mesh.Offset = VT(0,0,0)
  2890. wave.CFrame = cframe
  2891. coroutine.resume(coroutine.create(function(PART)
  2892. for i = 1, waitt do
  2893. Swait()
  2894. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  2895. wave.Transparency = wave.Transparency - (1/waitt)
  2896. end
  2897. wave:remove()
  2898. end))
  2899. end
  2900.  
  2901. function MagicSphere(size,waitt,cframe,color)
  2902. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  2903. local mesh = IT("SpecialMesh",wave)
  2904. mesh.MeshType = "Sphere"
  2905. mesh.Scale = VT(size,size,size)
  2906. mesh.Offset = VT(0,0,0)
  2907. wave.CFrame = cframe
  2908. coroutine.resume(coroutine.create(function(PART)
  2909. for i = 1, waitt do
  2910. Swait()
  2911. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  2912. wave.Transparency = wave.Transparency + (1/waitt)
  2913. if wave.Transparency > 0.99 then
  2914. wave:remove()
  2915. end
  2916. end
  2917. end))
  2918. end
  2919.  
  2920. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  2921. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  2922. local mesh = IT("SpecialMesh",wave)
  2923. mesh.MeshType = "FileMesh"
  2924. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2925. mesh.Scale = VT(size,size,size)
  2926. wave.CFrame = cframe
  2927. coroutine.resume(coroutine.create(function(PART)
  2928. for i = 1, waitt do
  2929. Swait()
  2930. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  2931. if doesrotate == true then
  2932. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  2933. end
  2934. wave.Transparency = wave.Transparency + (0.5/waitt)
  2935. if wave.Transparency > 0.99 then
  2936. wave:remove()
  2937. end
  2938. end
  2939. end))
  2940. end
  2941.  
  2942. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2943. local Direction = CFrame.new(StartPos, Vec).lookVector
  2944. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2945. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2946. if RayHit and CheckIntangible(RayHit) then
  2947. if DelayIfHit then
  2948. wait()
  2949. end
  2950. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2951. end
  2952. return RayHit, RayPos, RayNormal
  2953. end
  2954.  
  2955. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2956. local CHILDREN = workspace:GetDescendants()
  2957. for index, CHILD in pairs(CHILDREN) do
  2958. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2959. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2960. if HUM then
  2961. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2962. if TORSO then
  2963. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2964. if INSTAKILL == true then
  2965. CHILD:BreakJoints()
  2966. else
  2967. local DMG = MRANDOM(MINDMG,MAXDMG)
  2968. ApplyDamage(HUM,DMG,TORSO)
  2969. end
  2970. if FLING > 0 then
  2971. for _, c in pairs(CHILD:GetChildren()) do
  2972. if c:IsA("BasePart") then
  2973. local bv = Instance.new("BodyVelocity")
  2974. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2975. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2976. bv.Parent = c
  2977. Debris:AddItem(bv,0.05)
  2978. end
  2979. end
  2980. end
  2981. end
  2982. end
  2983. end
  2984. end
  2985. end
  2986. end
  2987. --//=================================\\
  2988. --|| MODE CHANGING
  2989. --\\=================================//
  2990.  
  2991. function Switch()
  2992. ATTACK = true
  2993. Rooted = true
  2994. if MODE == "Main" then
  2995. for i=0, 0.3, 0.1 / Animation_Speed do
  2996. Swait()
  2997. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2998. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2999. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3000. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3001. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3002. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3003. end
  3004. for i=0, 1, 0.1 / Animation_Speed do
  3005. Swait()
  3006. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3007. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3008. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3009. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3010. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3011. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3012. end
  3013. CreateSound(363808674, Torso, 6, 1, false)
  3014. for i=0, 0.6, 0.1 / Animation_Speed do
  3015. Swait()
  3016. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3017. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  3018. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3019. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3020. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3021. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3022. end
  3023. CreateSound(363808674, Torso, 6, 1, false)
  3024. for i=0, 0.6, 0.1 / Animation_Speed do
  3025. Swait()
  3026. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3027. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  3028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3030. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3032. end
  3033. SONG = 1092048938
  3034. CLOCKSPEED = 1.5
  3035. text.Text = "InJustice"
  3036. MODE = "JusticeHorn"
  3037. elseif MODE == "JusticeHorn" then
  3038. CreateSound(147722227, Torso, 4, 1.3, false)
  3039. for i=0, 0.3, 0.1 / Animation_Speed do
  3040. Swait()
  3041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3044. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3045. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3046. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3047. end
  3048. SONG = 1117396305
  3049. CLOCKSPEED = 0
  3050. text.Text = "The Switcher"
  3051. MODE = "Main"
  3052. end
  3053. ATTACK = false
  3054. Rooted = false
  3055. end
  3056.  
  3057. function Switch3()
  3058. ATTACK = true
  3059. Rooted = true
  3060. if MODE == "Main" then
  3061. for i=0, 0.3, 0.1 / Animation_Speed do
  3062. Swait()
  3063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3067. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3068. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3069. end
  3070. for i=0, 1, 0.1 / Animation_Speed do
  3071. Swait()
  3072. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3076. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3077. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3078. end
  3079. CreateSound(363808674, Torso, 6, 1, false)
  3080. for i=0, 0.6, 0.1 / Animation_Speed do
  3081. Swait()
  3082. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3083. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  3084. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3085. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3086. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3087. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3088. end
  3089. CreateSound(363808674, Torso, 6, 1, false)
  3090. for i=0, 0.6, 0.1 / Animation_Speed do
  3091. Swait()
  3092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  3094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3096. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3098. end
  3099. SONG = 1873219898
  3100. CLOCKSPEED = 0.3
  3101. text.Text = "Superior"
  3102. MODE = "Superior"
  3103. elseif MODE == "Superior" then
  3104. CreateSound(147722227, Torso, 4, 1.3, false)
  3105. for i=0, 0.3, 0.1 / Animation_Speed do
  3106. Swait()
  3107. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3111. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3113. end
  3114. SONG = 1117396305
  3115. CLOCKSPEED = 0
  3116. text.Text = "The Switcher"
  3117. MODE = "Main"
  3118. end
  3119. ATTACK = false
  3120. Rooted = false
  3121. end
  3122.  
  3123. function Switch2()
  3124. ATTACK = true
  3125. Rooted = true
  3126. if MODE == "Main" then
  3127. for i=0, 0.3, 0.1 / Animation_Speed do
  3128. Swait()
  3129. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3130. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3131. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3132. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3133. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3134. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3135. end
  3136. for i=0, 1, 0.1 / Animation_Speed do
  3137. Swait()
  3138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.75 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3142. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3144. end
  3145. CreateSound(363808674, Torso, 6, 1, false)
  3146. for i=0, 0.6, 0.1 / Animation_Speed do
  3147. Swait()
  3148. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3149. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  3150. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3151. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3152. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3153. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3154. end
  3155. CreateSound(363808674, Torso, 6, 1, false)
  3156. for i=0, 0.6, 0.1 / Animation_Speed do
  3157. Swait()
  3158. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4 + ((0.1) - 0.1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  3160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.65, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3162. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.5 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3164. end
  3165. SONG = 534861083
  3166. CLOCKSPEED = 0.75
  3167. text.Text = "T0M-YUM"
  3168. MODE = "Maniac"
  3169. elseif MODE == "Maniac" then
  3170. CreateSound(147722227, Torso, 4, 1.3, false)
  3171. for i=0, 0.3, 0.1 / Animation_Speed do
  3172. Swait()
  3173. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3174. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3175. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3176. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.8, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3177. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3178. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1.25 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3179. end
  3180. SONG = 1117396305
  3181. CLOCKSPEED = 0
  3182. text.Text = "The Switcher"
  3183. MODE = "Main"
  3184. end
  3185. ATTACK = false
  3186. Rooted = false
  3187. end
  3188.  
  3189. --//=================================\\
  3190. --|| ATTACK FUNCTIONS AND STUFF
  3191. --\\=================================//
  3192.  
  3193. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  3194. local CHILDREN = workspace:GetDescendants()
  3195. for index, CHILD in pairs(CHILDREN) do
  3196. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3197. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3198. if HUM then
  3199. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3200. if TORSO then
  3201. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  3202. CHILD:BreakJoints()
  3203. if FLING ~= 0 then
  3204. for _, c in pairs(CHILD:GetChildren()) do
  3205. if c:IsA("BasePart") and c.Transparency == 0 then
  3206. if BURN == true then
  3207. Fire(c)
  3208. end
  3209. local bv = Instance.new("BodyVelocity")
  3210. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3211. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3212. bv.Parent = c
  3213. Debris:AddItem(bv,0.05)
  3214. end
  3215. end
  3216. end
  3217. end
  3218. end
  3219. end
  3220. end
  3221. end
  3222. end
  3223.  
  3224. function MagicMissiles()
  3225. ATTACK = true
  3226. Rooted = true
  3227. local SELECTING = true
  3228. local SPOTS = {}
  3229. coroutine.resume(coroutine.create(function()
  3230. local LOOP = 0
  3231. repeat
  3232. LOOP = LOOP + 1
  3233. Swait()
  3234. if LOOP >= 10 then
  3235. LOOP = 0
  3236. for i = 1, #SPOTS do
  3237. if SPOTS[i] ~= nil then
  3238. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3239. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3240. end
  3241. end
  3242. end
  3243. 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)
  3244. 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)
  3245. 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)
  3246. 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)
  3247. 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)
  3248. 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)
  3249. until SELECTING == false
  3250. Rooted = false
  3251. repeat
  3252. LOOP = LOOP + 1
  3253. Swait()
  3254. if LOOP >= 10 then
  3255. LOOP = 0
  3256. for i = 1, #SPOTS do
  3257. if SPOTS[i] ~= nil then
  3258. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3259. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3260. end
  3261. end
  3262. end
  3263. 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)
  3264. 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)
  3265. 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)
  3266. 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)
  3267. 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)
  3268. 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)
  3269. until ATTACK == false
  3270. end))
  3271. repeat
  3272. repeat Swait() until HOLD == true
  3273. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  3274. if DIST > 1500 then
  3275. DIST = 1500
  3276. end
  3277. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  3278. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  3279. if HITFLOOR ~= nil then
  3280. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  3281. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  3282. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3283. end
  3284. repeat Swait() until HOLD == false
  3285. until #SPOTS == 1
  3286. chatfunc("Justice rains from above.")
  3287. SELECTING = false
  3288. for i = 1, #SPOTS do
  3289. if SPOTS[i] ~= nil then
  3290. local POS = SPOTS[i]
  3291. coroutine.resume(coroutine.create(function()
  3292. local MISSILE = IT("Model",Effects)
  3293. MISSILE.Name = "Missile"
  3294. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,2,2))
  3295. MakeForm(BASEPART,"Cyl")
  3296. MISSILE.PrimaryPart = BASEPART
  3297. BASEPART.CFrame = POS*CF(0,-30*3,0)
  3298. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2,4,2))
  3299. MakeForm(HEAD,"Ball")
  3300. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  3301. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Really black", "Part", VT(2.5,0.1,2.5))
  3302. MakeForm(TAIL,"Cyl")
  3303. TAIL.CFrame = BASEPART.CFrame*CF(0,1,0)
  3304. for i = 1, 10 do
  3305. Swait()
  3306. for _, c in pairs(MISSILE:GetChildren()) do
  3307. if c.ClassName == "Part" then
  3308. c.Transparency = c.Transparency - 1/10
  3309. end
  3310. end
  3311. end
  3312. for i = 1, 15*1.5 do
  3313. Swait()
  3314. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  3315. end
  3316. ApplyAoE(BASEPART.CFrame.p,40,70,90,150,false)
  3317. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,2,150), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  3318. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  3319. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(44,4,44), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3320. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(40,6,40), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 255/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3321. MISSILE:remove()
  3322. end))
  3323. end
  3324. end
  3325. wait(0.8)
  3326. ATTACK = false
  3327. Rooted = false
  3328. end
  3329.  
  3330. function TimesUp()
  3331. CLOCKTARGET = nil
  3332. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3333. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3334. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3335. if TORSO then
  3336. ATTACK = true
  3337. Rooted = false
  3338. coroutine.resume(coroutine.create(function()
  3339. repeat
  3340. Swait()
  3341. 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)
  3342. 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)
  3343. 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)
  3344. 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)
  3345. 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)
  3346. 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)
  3347. until ATTACK == false
  3348. end))
  3349. if Effects:FindFirstChild("NeonDoll") then
  3350. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  3351. end
  3352. wait(0.5)
  3353. local FAKECHARACTER = IT("Model",Effects)
  3354. FAKECHARACTER.Name = "NeonDoll"
  3355. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.3,0.3,0.15),false)
  3356. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  3357. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  3358. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  3359. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  3360. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  3361. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  3362. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  3363. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.3,0.15),false)
  3364. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  3365. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "New Yeller", "Part", VT(0.15,0.15,0.15),false)
  3366. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  3367. CreateSound(201858045, TORS, 5, 0.4, false)
  3368. for i = 1, 150 do
  3369. Swait()
  3370. CLOCKSPEED = 0.5
  3371. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  3372. if c.ClassName == "Part" then
  3373. c.Transparency = c.Transparency - 0.5/150
  3374. end
  3375. end
  3376. end
  3377. CLOCKTARGET = HUM
  3378. chatfunc("IT'S TIME TO STOP")
  3379. coroutine.resume(coroutine.create(function()
  3380. repeat Swait() CLOCKSPEED = 5 until CLOCKTARGET == nil
  3381. for i = 1, 25 do
  3382. Swait()
  3383. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  3384. if c.ClassName == "Part" then
  3385. c.Transparency = c.Transparency + 0.5/25
  3386. end
  3387. end
  3388. end
  3389. CLOCKSPEED = 1.5
  3390. FAKECHARACTER:remove()
  3391. end))
  3392. wait(0.5)
  3393. ATTACK = false
  3394. Rooted = false
  3395. end
  3396. end
  3397. end
  3398.  
  3399. function ChainPunch()
  3400. ATTACK = true
  3401. Rooted = false
  3402. local GYRO = IT("BodyGyro",RootPart)
  3403. GYRO.D = 25
  3404. GYRO.P = 2000
  3405. GYRO.MaxTorque = VT(0,40000,0)
  3406. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3407. repeat
  3408. Swait()
  3409. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3410. 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)
  3411. 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)
  3412. 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)
  3413. 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)
  3414. 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)
  3415. 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)
  3416. until HOLD == true
  3417. local POS = Mouse.Hit.p
  3418. local CHAINS = false
  3419. local CHAINLINKS = {}
  3420. local A = IT("Attachment",RightArm)
  3421. A.Position = VT(1,-1,0)*SIZE
  3422. A.Orientation = VT(-90, -89.982, 0)
  3423. local B = IT("Attachment",RightArm)
  3424. B.Position = VT(-1,-1,0)*SIZE
  3425. B.Orientation = VT(-90, 89.988, 0)
  3426. local C = IT("Attachment",RightArm)
  3427. C.Position = VT(0.5,-1.3,0)*SIZE
  3428. C.Orientation = VT(-90, -89.982, 0)
  3429. local D = IT("Attachment",RightArm)
  3430. D.Position = VT(-0.5,-1.3,0)*SIZE
  3431. D.Orientation = VT(-90, 89.988, 0)
  3432. local LIGHT = IT("Attachment",RightArm)
  3433. LIGHT.Position = VT(0,-1,0)*SIZE
  3434. local LIGHT2 = IT("PointLight",LIGHT)
  3435. LIGHT2.Range = 7
  3436. LIGHT2.Brightness = 5
  3437. LIGHT2.Color = C3(255/255, 255/255, 0/255)
  3438. for i = 1, 2 do
  3439. local TWIST = -2
  3440. local START = A
  3441. local END = B
  3442. if i == 1 then
  3443. START = B
  3444. END = A
  3445. end
  3446. local ChainLink = IT("Beam",Torso)
  3447. ChainLink.Texture = "rbxassetid://73042633"
  3448. ChainLink.Color = ColorSequence.new(C3(255/255, 255/255, 0/255))
  3449. ChainLink.TextureSpeed = 1
  3450. ChainLink.Width0 = 1
  3451. ChainLink.Width1 = 1
  3452. ChainLink.TextureLength = 2.5
  3453. ChainLink.Attachment0 = START
  3454. ChainLink.Attachment1 = END
  3455. ChainLink.CurveSize0 = TWIST
  3456. ChainLink.CurveSize1 = TWIST
  3457. --ChainLink.FaceCamera = true
  3458. ChainLink.Segments = 45
  3459. ChainLink.Transparency = NumberSequence.new(1)
  3460. table.insert(CHAINLINKS,ChainLink)
  3461. end
  3462. for i = 1, 2 do
  3463. local TWIST = -1
  3464. local START = C
  3465. local END = D
  3466. if i == 1 then
  3467. START = D
  3468. END = C
  3469. end
  3470. local ChainLink = IT("Beam",Torso)
  3471. ChainLink.Texture = "rbxassetid://73042633"
  3472. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  3473. ChainLink.TextureSpeed = 1
  3474. ChainLink.Width0 = 1
  3475. ChainLink.Width1 = 1
  3476. ChainLink.TextureLength = 5
  3477. ChainLink.Attachment0 = START
  3478. ChainLink.Attachment1 = END
  3479. ChainLink.CurveSize0 = TWIST
  3480. ChainLink.CurveSize1 = TWIST
  3481. --ChainLink.FaceCamera = true
  3482. ChainLink.Segments = 25
  3483. ChainLink.LightEmission = 0.5
  3484. ChainLink.Transparency = NumberSequence.new(1)
  3485. table.insert(CHAINLINKS,ChainLink)
  3486. end
  3487. coroutine.resume(coroutine.create(function()
  3488. repeat
  3489. chatfunc("SMASH!!!")
  3490. Swait()
  3491. 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)
  3492. 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)
  3493. 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)
  3494. 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)
  3495. 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)
  3496. 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)
  3497. until CHAINS == true
  3498. repeat
  3499. Swait()
  3500. 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)
  3501. 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)
  3502. 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)
  3503. 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)
  3504. 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)
  3505. 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)
  3506. until ATTACK == false
  3507. for e = 1, 15 do
  3508. Swait()
  3509. for i = 1, #CHAINLINKS do
  3510. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  3511. end
  3512. end
  3513. A:remove()
  3514. B:remove()
  3515. C:remove()
  3516. D:remove()
  3517. end))
  3518. CreateSound(233856115, RightArm, 5, 1.2, false)
  3519. for e = 1, 15 do
  3520. Swait()
  3521. for i = 1, #CHAINLINKS do
  3522. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  3523. end
  3524. end
  3525. CHAINS = true
  3526. Rooted = true
  3527. wait(0.25)
  3528. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
  3529. FIST.Color = C3(1, 215/255, 1)
  3530. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  3531. local LIGHT3 = IT("PointLight",FIST)
  3532. LIGHT3.Range = 7
  3533. LIGHT3.Brightness = 5
  3534. LIGHT3.Color = C3(255/255, 0/255, 0/255)
  3535. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  3536. local FISTA = IT("Attachment",FIST)
  3537. FISTA.Position = VT(0.062, 0.977, 0)
  3538. local ChainLink = IT("Beam",Torso)
  3539. ChainLink.Texture = "rbxassetid://73042633"
  3540. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  3541. ChainLink.TextureSpeed = 0
  3542. ChainLink.Width0 = 3
  3543. ChainLink.Width1 = 3
  3544. ChainLink.TextureLength = 12
  3545. ChainLink.Attachment0 = LIGHT
  3546. ChainLink.Attachment1 = FISTA
  3547. ChainLink.FaceCamera = true
  3548. ChainLink.Segments = 45
  3549. ChainLink.LightEmission = 0.5
  3550. ChainLink.Transparency = NumberSequence.new(0.25)
  3551. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  3552. for i = 1, 85 do
  3553. Swait()
  3554. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  3555. ChainLink.TextureLength = 12+(i*2)
  3556. ApplyAoE(FIST.Position,10,15,25,100,false)
  3557. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(2, 9, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3558. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  3559. if HITFLOOR ~= nil then
  3560. HITFLOOR:BreakJoints()
  3561. coroutine.resume(coroutine.create(function()
  3562. for i = 1, 15 do
  3563. Swait()
  3564. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  3565. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  3566. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(2, 9, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3567. end
  3568. end))
  3569. break
  3570. end
  3571. end
  3572. coroutine.resume(coroutine.create(function()
  3573. for i = 1, 50 do
  3574. Swait()
  3575. FIST.Transparency = FIST.Transparency + 0.5/50
  3576. LIGHT3.Range = LIGHT3.Range - 300/500
  3577. end
  3578. FIST:remove()
  3579. end))
  3580. LIGHT:remove()
  3581. GYRO:remove()
  3582. ATTACK = false
  3583. Rooted = false
  3584. end
  3585.  
  3586. function WarpMeteor()
  3587. chatfunc("Meteor Strike..")
  3588. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  3589. if DIST > 180 then
  3590. DIST = 180
  3591. end
  3592. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  3593. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  3594. if HITFLOOR then
  3595. local POS = HITPOS
  3596. ATTACK = true
  3597. Rooted = true
  3598. local WARPED = false
  3599. local SMASHED = false
  3600. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  3601. coroutine.resume(coroutine.create(function()
  3602. repeat
  3603. Swait()
  3604. 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)
  3605. 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)
  3606. 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)
  3607. 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)
  3608. 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)
  3609. 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)
  3610. until WARPED == true
  3611. repeat
  3612. Swait()
  3613. 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)
  3614. 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)
  3615. 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)
  3616. 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)
  3617. 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)
  3618. 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)
  3619. until SMASHED == true
  3620. repeat
  3621. Swait()
  3622. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3623. 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)
  3624. 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)
  3625. 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)
  3626. 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)
  3627. 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)
  3628. until ATTACK == false
  3629. end))
  3630. VALUE1 = true
  3631. CreateSound(233856115, Torso, 5, 1.6, false)
  3632. for i = 1, 25 do
  3633. Swait()
  3634. for _, c in pairs(Character:GetChildren()) do
  3635. if c.ClassName == "Part" then
  3636. c.Transparency = c.Transparency + 1/25
  3637. end
  3638. end
  3639. for _, c in pairs(Weapon:GetChildren()) do
  3640. if c.ClassName == "Part" then
  3641. c.Transparency = c.Transparency + 1/25
  3642. end
  3643. end
  3644. end
  3645. UNANCHOR = false
  3646. RootPart.Anchored = true
  3647. RootPart.Velocity = VT(0,0,0)
  3648. local ROOTPOS = RootPart.Position
  3649. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  3650. WARPED = true
  3651. for i = 1, 25 do
  3652. Swait()
  3653. for _, c in pairs(Character:GetChildren()) do
  3654. if c.ClassName == "Part" then
  3655. c.Transparency = c.Transparency - 1/25
  3656. end
  3657. end
  3658. for _, c in pairs(Weapon:GetChildren()) do
  3659. if c.ClassName == "Part" then
  3660. c.Transparency = c.Transparency - 1/25
  3661. end
  3662. end
  3663. end
  3664. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
  3665. SHELL.CFrame = RootPart.CFrame
  3666. MakeForm(SHELL,"Ball")
  3667. CreateSound(402981977, SHELL, 5, 1.6, false)
  3668. for i = 1, 10 do
  3669. Swait()
  3670. SHELL.Transparency = SHELL.Transparency - 1/10
  3671. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  3672. end
  3673. for i = 1, math.ceil(75/2) do
  3674. Swait()
  3675. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  3676. SHELL.CFrame = CF(RootPart.Position)
  3677. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(45,43,45), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  3678. end
  3679. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  3680. SHELL.CFrame = CF(RootPart.Position)
  3681. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(75,55,75)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  3682. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(65,43,65)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  3683. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(65,43,65)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  3684. for i = 1, 5 do
  3685. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(75,43,75)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3686. end
  3687. SHELL:remove()
  3688. ApplyAoE(RootPart.Position,115,75,115,215,false)
  3689. SMASHED = true
  3690. wait(1)
  3691. VALUE1 = false
  3692. UNANCHOR = true
  3693. ATTACK = false
  3694. Rooted = false
  3695. end
  3696. end
  3697.  
  3698. function PandorasBox()
  3699. chatfunc("What's Inside The Box")
  3700. 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)
  3701. if HITFLOOR ~= nil then
  3702. ATTACK = true
  3703. Rooted = true
  3704. local RINGSPIN = true
  3705. local CONSTRUCTING = true
  3706. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  3707. RING.Color = C3(0,0,0)
  3708. MakeForm(RING,"Cyl")
  3709. RING.CFrame = CF(HITPOS)
  3710. CreateSound(402981977, RING, 5, 1.2, false)
  3711. coroutine.resume(coroutine.create(function()
  3712. repeat
  3713. Swait()
  3714. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3715. 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)
  3716. 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)
  3717. 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)
  3718. 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)
  3719. 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)
  3720. 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)
  3721. until CONSTRUCTING == false
  3722. repeat
  3723. Swait()
  3724. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3725. until RINGSPIN == false
  3726. for i = 1, 25 do
  3727. Swait()
  3728. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3729. RING.Size = RING.Size - VT(0.15,0,0.15)
  3730. --DECAL.Transparency = DECAL.Transparency + 1/25
  3731. RING.Transparency = RING.Transparency + 1/25
  3732. end
  3733. RING:remove()
  3734. end))
  3735. for i = 1, 15 do
  3736. Swait()
  3737. RING.Size = RING.Size + VT(0.75,0,0.75)
  3738. RING.Transparency = RING.Transparency - 1/15
  3739. end
  3740. local BOXSPIN = true
  3741. local PANDORASBOX = IT("Model",Effects)
  3742. PANDORASBOX.Name = "Pandora's Box"
  3743. local BOX = IT("Model",PANDORASBOX)
  3744. BOX.Name = "Body"
  3745. local LID = IT("Model",PANDORASBOX)
  3746. LID.Name = "Lid"
  3747. --BUILDING THE BOX--
  3748. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  3749. BASE.Color = C3(0,0,0)
  3750. PANDORASBOX.PrimaryPart = BASE
  3751. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  3752. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  3753. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  3754. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  3755. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  3756. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  3757. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  3758. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,1.9,0.2))
  3759. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  3760. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  3761. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  3762. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  3763. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  3764. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  3765. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  3766. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  3767. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  3768. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  3769. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  3770. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  3771. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  3772. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  3773. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  3774. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  3775. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  3776. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  3777. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  3778. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  3779. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  3780. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  3781. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  3782. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  3783. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  3784. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  3785. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  3786. -------------
  3787. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  3788. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  3789. LID.PrimaryPart = LIDPART
  3790. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  3791. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  3792. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(2.1,0.2,0.2))
  3793. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  3794. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  3795. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  3796. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "New Yeller", "Marble", VT(0.2,0.2,2.1))
  3797. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  3798. local DECAL = IT("Decal",LIDPART)
  3799. DECAL.Face = "Top"
  3800. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  3801. DECAL.Color3 = C3(0,0,0)
  3802. --BUILDING THE BOX--
  3803. coroutine.resume(coroutine.create(function()
  3804. repeat
  3805. Swait()
  3806. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  3807. until BOXSPIN == false
  3808. end))
  3809. for i = 1, 25 do
  3810. Swait()
  3811. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  3812. end
  3813. wait(0.5)
  3814. BOXSPIN = false
  3815. CONSTRUCTING = false
  3816. coroutine.resume(coroutine.create(function()
  3817. 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})
  3818. --[[for i = 1, 45 do
  3819. Swait()
  3820. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  3821. end-
  3822. LID:remove()]]--
  3823. for _, c in pairs(LID:GetChildren()) do
  3824. if c.ClassName == "Part" then
  3825. c.Anchored = false
  3826. c.CanCollide = true
  3827. if c ~= LIDPART then
  3828. weldBetween(LIDPART,c)
  3829. end
  3830. end
  3831. end
  3832. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  3833. Debris:AddItem(LID,15)
  3834. wait(0.5)
  3835. local RANDOMEFFECT = MRANDOM(1,4)
  3836. if RANDOMEFFECT == 1 then
  3837. for i = 1, 45 do
  3838. wait((2-(i/15))/15)
  3839. 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})
  3840. end
  3841. wait(1)
  3842. 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})
  3843. 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})
  3844. 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})
  3845. for i = 1, 5 do
  3846. 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})
  3847. end
  3848. ApplyAoE(BASE.Position,50,1,200,375,false)
  3849. ApplyAoE(BASE.Position,250,35,75,175,false)
  3850. elseif RANDOMEFFECT == 2 then
  3851. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  3852. FIELD.CFrame = BASE.CFrame
  3853. MakeForm(FIELD,"Ball")
  3854. for i = 1, 50 do
  3855. Swait()
  3856. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  3857. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  3858. end
  3859. wait(0.2)
  3860. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  3861. coroutine.resume(coroutine.create(function()
  3862. for i = 1, 75 do
  3863. Swait()
  3864. LOOP.Volume = LOOP.Volume + 10/75
  3865. LOOP.Parent = FIELD
  3866. local CHILDREN = workspace:GetDescendants()
  3867. for index, CHILD in pairs(CHILDREN) do
  3868. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3869. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3870. if HUM then
  3871. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3872. if TORSO then
  3873. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  3874. HUM.Health = HUM.Health - 0.1
  3875. TORSO.Velocity = VT(0,5,0)
  3876. HUM.PlatformStand = true
  3877. if TORSO.RotVelocity.Magnitude < 15 then
  3878. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  3879. end
  3880. end
  3881. end
  3882. end
  3883. end
  3884. end
  3885. FIELD.Size = FIELD.Size + VT(3,3,3)
  3886. FIELD.Transparency = FIELD.Transparency + 0.8/75
  3887. end
  3888. for i = 1, 500 do
  3889. Swait()
  3890. LOOP.Parent = FIELD
  3891. local CHILDREN = workspace:GetDescendants()
  3892. for index, CHILD in pairs(CHILDREN) do
  3893. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3894. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3895. if HUM then
  3896. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3897. if TORSO then
  3898. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  3899. TORSO.Velocity = VT(0,5,0)
  3900. HUM.Health = HUM.Health - 0.1
  3901. HUM.PlatformStand = true
  3902. if TORSO.RotVelocity.Magnitude < 15 then
  3903. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  3904. end
  3905. end
  3906. end
  3907. end
  3908. end
  3909. end
  3910. end
  3911. for i = 1, 25 do
  3912. Swait()
  3913. LOOP.Volume = LOOP.Volume + 10/25
  3914. LOOP.Parent = FIELD
  3915. local CHILDREN = workspace:GetDescendants()
  3916. for index, CHILD in pairs(CHILDREN) do
  3917. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3918. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3919. if HUM then
  3920. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3921. if TORSO then
  3922. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  3923. TORSO.Velocity = VT(0,5,0)
  3924. HUM.Health = HUM.Health - 0.1
  3925. HUM.PlatformStand = false
  3926. if TORSO.RotVelocity.Magnitude < 15 then
  3927. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  3928. end
  3929. end
  3930. end
  3931. end
  3932. end
  3933. end
  3934. FIELD.Size = FIELD.Size - VT(3,3,3)
  3935. FIELD.Transparency = FIELD.Transparency + 0.2/25
  3936. end
  3937. FIELD:remove()
  3938. end))
  3939. elseif RANDOMEFFECT == 3 then
  3940. for i = 1, 10 do
  3941. wait(0.15)
  3942. 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})
  3943. coroutine.resume(coroutine.create(function()
  3944. local MINION = CLONE:Clone()
  3945. MINION.Parent = Effects
  3946. MINION.Name = "Shadow"
  3947. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  3948. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  3949. for _, c in pairs(MINION:GetChildren()) do
  3950. if c.ClassName == "Part" then
  3951. c.Material = "Neon"
  3952. c.Color = C3(0,0,0)
  3953. c.Transparency = 0.25
  3954. if c.Name == "Head" then
  3955. c:ClearAllChildren()
  3956. local MSH = IT("BlockMesh",c)
  3957. MSH.Scale = VT(0.5,1,1)
  3958. end
  3959. end
  3960. end
  3961. local TORSO = MINION.Torso
  3962. local HUMAN = MINION.Humanoid
  3963. HUMAN.WalkSpeed = 20
  3964. HUMAN.MaxHealth = math.huge
  3965. HUMAN.Health = math.huge
  3966. HUMAN.DisplayDistanceType = "None"
  3967. HUMAN.Died:connect(function()
  3968. MINION:remove()
  3969. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  3970. end)
  3971. wait(1)
  3972. local findNearestTorso = function(POS)
  3973. local list = game.Workspace:GetDescendants()
  3974. local torso = nil
  3975. local dist = 500
  3976. local temp = nil
  3977. local human = nil
  3978. local temp2 = nil
  3979. for x = 1, #list do
  3980. temp2 = list[x]
  3981. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  3982. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  3983. human = temp2:findFirstChildOfClass("Humanoid")
  3984. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3985. if (temp.Position - POS).magnitude < dist then
  3986. torso = temp
  3987. dist = (temp.Position - POS).magnitude
  3988. end
  3989. end
  3990. end
  3991. end
  3992. return torso, dist
  3993. end
  3994. for i = 1, 40 do
  3995. if HUMAN.Health == 0 then
  3996. break
  3997. end
  3998. wait(0.3)
  3999. local target,dist= findNearestTorso(TORSO.Position)
  4000. if target then
  4001. HUMAN:MoveTo(target.Position)
  4002. if dist < 25 then
  4003. CreateSound(348663022, TORSO, 10, 1, true)
  4004. wait(2)
  4005. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  4006. --ANIM:Play()
  4007. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  4008. ApplyAoE(TORSO.Position,10,0,0,85,true)
  4009. 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})
  4010. for i = 1, 5 do
  4011. 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})
  4012. end
  4013. break
  4014. end
  4015. end
  4016. end
  4017. MINION:remove()
  4018. end))
  4019. end
  4020. elseif RANDOMEFFECT == 4 then
  4021. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  4022. FIELD.Color = C3(0,0,0)
  4023. FIELD.CFrame = BASE.CFrame
  4024. MakeForm(FIELD,"Ball")
  4025. FIELD.CanCollide = true
  4026. for i = 1, 50 do
  4027. Swait()
  4028. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  4029. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  4030. end
  4031. wait(0.2)
  4032. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  4033. coroutine.resume(coroutine.create(function()
  4034. local E = 0
  4035. for i = 1, 75 do
  4036. E = E + 1
  4037. Swait()
  4038. if E >= 35 then
  4039. E = 0
  4040. 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})
  4041. end
  4042. LOOP.Volume = LOOP.Volume + 10/75
  4043. LOOP.Parent = FIELD
  4044. local CHILDREN = workspace:GetDescendants()
  4045. for index, CHILD in pairs(CHILDREN) do
  4046. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4047. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4048. if HUM then
  4049. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4050. if TORSO then
  4051. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  4052. for _, c in pairs(CHILD:GetChildren()) do
  4053. if c:IsA("BasePart") then
  4054. local bv = Instance.new("BodyVelocity")
  4055. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4056. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  4057. bv.Parent = c
  4058. Debris:AddItem(bv,0.05)
  4059. end
  4060. end
  4061. HUM.Health = HUM.Health - 0.3
  4062. end
  4063. end
  4064. end
  4065. end
  4066. end
  4067. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  4068. end
  4069. for i = 1, 180 do
  4070. E = E + 1
  4071. Swait()
  4072. if E >= 35 then
  4073. E = 0
  4074. 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})
  4075. end
  4076. LOOP.Parent = FIELD
  4077. local CHILDREN = workspace:GetDescendants()
  4078. for index, CHILD in pairs(CHILDREN) do
  4079. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4080. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4081. if HUM then
  4082. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4083. if TORSO then
  4084. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  4085. for _, c in pairs(CHILD:GetChildren()) do
  4086. if c:IsA("BasePart") then
  4087. local bv = Instance.new("BodyVelocity")
  4088. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4089. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  4090. bv.Parent = c
  4091. Debris:AddItem(bv,0.05)
  4092. end
  4093. end
  4094. HUM.Health = HUM.Health - 0.3
  4095. end
  4096. end
  4097. end
  4098. end
  4099. end
  4100. end
  4101. ApplyAoE(FIELD.Position,40,15,20,375,false)
  4102. 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})
  4103. for i = 1, 5 do
  4104. 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})
  4105. end
  4106. FIELD:remove()
  4107. end))
  4108. elseif RANDOMEFFECT == 5 then
  4109. end
  4110. wait(0.5)
  4111. for i = 1, 25 do
  4112. Swait()
  4113. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  4114. end
  4115. PANDORASBOX:remove()
  4116. RINGSPIN = false
  4117. end))
  4118. ATTACK = false
  4119. Rooted = false
  4120. end
  4121. end
  4122.  
  4123. function TimeSweep()
  4124. ATTACK = true
  4125. Rooted = false
  4126. for i=0, 0.5, 0.1 / Animation_Speed do
  4127. Swait()
  4128. 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)
  4129. 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)
  4130. end
  4131. for e = 1, #BODY do
  4132. if BODY[e] ~= nil then
  4133. local STUFF = BODY[e]
  4134. local PART = STUFF[1]
  4135. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  4136. local PRT = PART:Clone()
  4137. PRT.Anchored = true
  4138. PRT.CanCollide = false
  4139. PRT.Material = "Neon"
  4140. PRT.Color = C3(1,0,0)
  4141. PRT.Name = "WarpEffect"
  4142. PRT.Parent = Effects
  4143. PRT.CFrame = PART.CFrame
  4144. PRT:BreakJoints()
  4145. if PRT:FindFirstChildOfClass("Sound") then
  4146. PRT:FindFirstChildOfClass("Sound"):remove()
  4147. end
  4148. if PRT:FindFirstChildOfClass("Decal") then
  4149. PRT:FindFirstChildOfClass("Decal"):remove()
  4150. end
  4151. coroutine.resume(coroutine.create(function()
  4152. for i = 1, 100 do
  4153. Swait()
  4154. PRT.Transparency = PRT.Transparency + 1/100
  4155. end
  4156. PRT:remove()
  4157. end))
  4158. end
  4159. end
  4160. end
  4161. local POS = RootPart.Orientation
  4162. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  4163. RootPart.Orientation = POS
  4164. RootJoint.Parent = RootPart
  4165. for i=0, 0.5, 0.1 / Animation_Speed do
  4166. Swait()
  4167. 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)
  4168. 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)
  4169. end
  4170. for i=0, 0.1, 0.1 / Animation_Speed do
  4171. Swait()
  4172. 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)
  4173. end
  4174. ATTACK = false
  4175. Rooted = false
  4176. end
  4177.  
  4178. function Taunt()
  4179. chatfunc("Just don't bore me yeah")
  4180. ATTACK = true
  4181. Rooted = true
  4182. local TAUNT = CreateSound(159882635, Torso,17, 1, false)
  4183. repeat
  4184. Swait()
  4185. TAUNT.Parent = Torso
  4186. TAUNT.Playing = true
  4187. 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)
  4188. 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)
  4189. 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)
  4190. 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)
  4191. 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)
  4192. 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)
  4193. until TAUNT.TimePosition >= 1.25
  4194. for i=0, 1.6, 0.1 / Animation_Speed do
  4195. Swait()
  4196. TAUNT.Parent = Torso
  4197. 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)
  4198. 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)
  4199. 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)
  4200. 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)
  4201. 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)
  4202. 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)
  4203. end
  4204. ATTACK = false
  4205. Rooted = false
  4206. end
  4207.  
  4208. function Smite()
  4209. local RING, MESH, DELET = MakeRing()
  4210. local POS = Mouse.Hit.p
  4211. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  4212. for i = 1, 45 do
  4213. Swait()
  4214. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  4215. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4216. end
  4217. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  4218. if HITFLOOR then
  4219. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  4220. MakeForm(BEAM, "Cyl")
  4221. local DIST = (RING.Position - HITPOS).Magnitude
  4222. BEAM.Size = VT(0, DIST, 0)
  4223. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  4224. for i = 1, 5 do
  4225. WACKYEFFECT({
  4226. EffectType = "Wave",
  4227. Size = VT(25, 0, 25),
  4228. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  4229. Transparency = 0,
  4230. Transparency2 = 1,
  4231. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  4232. MoveToPos = nil,
  4233. RotationX = 0,
  4234. RotationY = 3,
  4235. RotationZ = 0,
  4236. Material = "Neon",
  4237. Color = C3(0, 0, 0),
  4238. SoundID = nil,
  4239. SoundPitch = nil,
  4240. SoundVolume = nil
  4241. })
  4242. WACKYEFFECT({
  4243. EffectType = "Round Slash",
  4244. Size = VT(3, 0, 3) / 13,
  4245. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  4246. Transparency = 0,
  4247. Transparency2 = 1,
  4248. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  4249. MoveToPos = nil,
  4250. RotationX = 0,
  4251. RotationY = 0,
  4252. RotationZ = 0,
  4253. Material = "Neon",
  4254. Color = C3(1, 0, 0),
  4255. SoundID = nil,
  4256. SoundPitch = nil,
  4257. SoundVolume = nil
  4258. })
  4259. WACKYEFFECT({
  4260. Time = 35,
  4261. EffectType = "Sphere",
  4262. Size = VT(22, 22, 22),
  4263. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  4264. Transparency = 0,
  4265. Transparency2 = 1,
  4266. CFrame = CF(HITPOS),
  4267. MoveToPos = nil,
  4268. RotationX = 0,
  4269. RotationY = 0,
  4270. RotationZ = 0,
  4271. Material = "Neon",
  4272. Color = C3(0, 0, 0),
  4273. SoundID = 459523898,
  4274. SoundPitch = MRANDOM(9, 12) / 10,
  4275. SoundVolume = 10
  4276. })
  4277. end
  4278. SHAKECAM(HITPOS, 100, 8, 15)
  4279. ApplyAoE(HITPOS, 50)
  4280. for i = 1, 25 do
  4281. Swait()
  4282. BEAM.Size = BEAM.Size + VT(0.5, 0, 0.5)
  4283. BEAM.Transparency = BEAM.Transparency + 0.04
  4284. end
  4285. BEAM:remove()
  4286. end
  4287. wait(0.2)
  4288. DELET()
  4289. end
  4290.  
  4291. function Earthquake()
  4292. ATTACK = true
  4293. Rooted = true
  4294. local GYRO = IT("BodyGyro", RootPart)
  4295. GYRO.D = 20
  4296. GYRO.P = 4000
  4297. GYRO.MaxTorque = VT(0, 40000, 0)
  4298. local RING, MESH, DELET = MakeRing()
  4299. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  4300. RING.CFrame = CF(HITPOS)
  4301. for i = 0, 0.6, 0.1 / Animation_Speed do
  4302. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  4303. Swait()
  4304. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  4305. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4306. 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})
  4307. 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)
  4308. 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)
  4309. end
  4310. local BLASTS = {468991944, 468991990}
  4311. coroutine.resume(coroutine.create(function()
  4312. local CFRAME = RootPart.CFrame
  4313. for i = 1, 100 do
  4314. CFRAME = CFRAME * CF(0, 0, -35)
  4315. do
  4316. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  4317. if HITFLOOR then
  4318. Swait()
  4319. do
  4320. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  4321. coroutine.resume(coroutine.create(function()
  4322. local RING, MESH, DELET = MakeRing()
  4323. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  4324. for i = 1, 25 do
  4325. Swait()
  4326. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  4327. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4328. end
  4329. ApplyAoE(RING.Position, 65)
  4330. SHAKECAM(RING.Position, 80, 15, 30)
  4331. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  4332. WACKYEFFECT({
  4333. Time = 25,
  4334. EffectType = "Sphere",
  4335. Size = VT(22, 22, 22),
  4336. Size2 = VT(85, 85, 85),
  4337. Transparency = 0,
  4338. Transparency2 = 1,
  4339. CFrame = CF(RING.Position),
  4340. MoveToPos = nil,
  4341. RotationX = 0,
  4342. RotationY = 0,
  4343. RotationZ = 0,
  4344. Material = "Neon",
  4345. Color = C3(0, 0, 0),
  4346. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  4347. SoundPitch = MRANDOM(9, 12) / 10,
  4348. SoundVolume = 10
  4349. })
  4350. for e = 1, 3 do
  4351. WACKYEFFECT({
  4352. EffectType = "Wave",
  4353. Size = VT(25, 0, 25),
  4354. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  4355. Transparency = 0,
  4356. Transparency2 = 1,
  4357. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  4358. MoveToPos = nil,
  4359. RotationX = 0,
  4360. RotationY = 3,
  4361. RotationZ = 0,
  4362. Material = "Neon",
  4363. Color = C3(0, 0, 0),
  4364. SoundID = nil,
  4365. SoundPitch = nil,
  4366. SoundVolume = nil
  4367. })
  4368. WACKYEFFECT({
  4369. Time = 35,
  4370. EffectType = "Sphere",
  4371. Size = VT(22, 45, 22),
  4372. Size2 = VT(25, 45 + e * 75, 25),
  4373. Transparency = 0,
  4374. Transparency2 = 1,
  4375. CFrame = CF(RING.Position) * TURN,
  4376. MoveToPos = nil,
  4377. RotationX = 0,
  4378. RotationY = 0,
  4379. RotationZ = 0,
  4380. Material = "Neon",
  4381. Color = C3(0, 0, 0),
  4382. SoundID = nil,
  4383. SoundPitch = MRANDOM(9, 12) / 10,
  4384. SoundVolume = 10
  4385. })
  4386. end
  4387. wait(0.3)
  4388. DELET()
  4389. end))
  4390. end
  4391. end
  4392. end
  4393. end
  4394. end))
  4395. Rooted = false
  4396. DELET()
  4397. GYRO:remove()
  4398. ATTACK = false
  4399. Rooted = false
  4400. end
  4401.  
  4402. function SpawnSmite(POS)
  4403. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  4404. local EMITPOS = HITPOS
  4405. if HITFLOOR ~= nil then
  4406. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  4407. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  4408. EMITPOS = HITPOS
  4409. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4410. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  4411. EMITPOS = HITPOS
  4412. end
  4413. end
  4414. if HITFLOOR ~= nil then
  4415. ApplyAoE(EMITPOS,10)
  4416. 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})
  4417. 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})
  4418. 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})
  4419. for i = 1, 5 do
  4420. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  4421. 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})
  4422. end
  4423. end
  4424. end
  4425.  
  4426. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  4427. coroutine.resume(coroutine.create(function()
  4428. local METEOR = IT("Model",Effects)
  4429. METEOR.Name = "Meteorite"
  4430. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  4431. METEOR.PrimaryPart = CENTER
  4432. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  4433. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4434. for i = 1, 15 do
  4435. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  4436. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4437. end
  4438. if ISDEBREE ~= true then
  4439. 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))))
  4440. else
  4441. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  4442. end
  4443. local IMPACT = false
  4444. CreateSound(463593339, CENTER, 10, 0.6)
  4445. if SIZE >= 3.5 then
  4446. for i = 1, MRANDOM(3,7) do
  4447. 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)
  4448. end
  4449. end
  4450. for i = 1, 200 do
  4451. Swait()
  4452. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  4453. if HITFLOOR == nil then
  4454. local ORI = CENTER.Orientation
  4455. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  4456. else
  4457. if HITFLOOR.Anchored == true then
  4458. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  4459. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  4460. end
  4461. IMPACT = true
  4462. break
  4463. end
  4464. end
  4465. if IMPACT == true then
  4466. 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})
  4467. 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})
  4468. 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})
  4469. ApplyAoE(CENTER.Position,30*SIZE)
  4470. end
  4471. METEOR:remove()
  4472. end))
  4473. end
  4474.  
  4475. function Smite2()
  4476. ATTACK = true
  4477. Rooted = false
  4478. CreateSound(1368573150, RightArm, 3, 0.8)
  4479. CreateSound(649634100, Torso, 10, 0.8)
  4480. for i=0, 1.2, 0.1 / Animation_Speed do
  4481. Swait()
  4482. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4483. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4484. 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)
  4485. end
  4486. local POS = Mouse.Hit.p
  4487. CreateSound(463593339, Effects, 3, 1)
  4488. coroutine.resume(coroutine.create(function()
  4489. for i = 1, 35 do
  4490. wait(MRANDOM(35,45)/100)
  4491. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  4492. end
  4493. end))
  4494. ATTACK = false
  4495. Rooted = false
  4496. end
  4497.  
  4498. function Taunt()
  4499. ATTACK = true
  4500. Rooted = false
  4501. TAUNT = true
  4502. for i=0, 0.1, 0.1 / Animation_Speed do
  4503. Swait()
  4504. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4505. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4506. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4507. end
  4508. for i=0, 3, 0.1 / Animation_Speed do
  4509. Swait()
  4510. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4511. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4513. end
  4514. CreateSound(363808674, Torso, 10, 1.3)
  4515. for i=0, 1, 0.1 / Animation_Speed do
  4516. Swait()
  4517. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  4518. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  4519. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4520. end
  4521. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4522. CreateSound(649634100, Torso, 10, 0.8)
  4523. for i=0, 0.01, 0.1 / Animation_Speed do
  4524. Swait()
  4525. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  4526. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  4527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  4528. end
  4529. ATTACK = false
  4530. Rooted = false
  4531. TAUNT = false
  4532. end
  4533.  
  4534. function Taunt2()
  4535. ATTACK = true
  4536. Rooted = true
  4537. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  4538. coroutine.resume(coroutine.create(function()
  4539. repeat
  4540. Swait()
  4541. 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)
  4542. 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)
  4543. 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)
  4544. 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)
  4545. 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)
  4546. 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)
  4547. until ATTACK == false
  4548. end))
  4549. repeat wait() until TAUNT.Playing == false
  4550. ATTACK = false
  4551. Rooted = false
  4552. end
  4553.  
  4554. function Prison_Key()
  4555. if Mouse.Target ~= nil then
  4556. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4557. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4558. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4559. local GYRO = IT("BodyGyro",RootPart)
  4560. GYRO.D = 750
  4561. GYRO.P = 20000
  4562. GYRO.MaxTorque = VT(0,40000000,0)
  4563. local grav = Instance.new("BodyPosition",TORSO)
  4564. grav.D = 15
  4565. grav.P = 20000
  4566. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4567. grav.position = TORSO.Position
  4568. local GYRO2 = IT("BodyGyro",TORSO)
  4569. GYRO2.D = 750
  4570. GYRO2.P = 20000
  4571. GYRO2.MaxTorque = VT(0,40000000,0)
  4572. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  4573. grav.Name = "Jail"
  4574. local LOCKPARTS = {}
  4575. ATTACK = true
  4576. Rooted = false
  4577. local LOCK = IT("Model",Effects)
  4578. LOCK.Name = "Lock"
  4579. local LOCK2 = IT("Model",LOCK)
  4580. LOCK2.Name = "Metal"
  4581. --CREATE LOCK--
  4582. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  4583. LOCK.PrimaryPart = BASE
  4584. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  4585. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 1, 3))
  4586. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  4587. MakeForm(PRT,"Cyl")
  4588. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  4589. PRT.Color = C3(0.58,0.58,0.58)
  4590. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  4591. MakeForm(PRT,"Cyl")
  4592. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  4593. PRT.Color = C3(0.58,0.58,0.58)
  4594. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  4595. for i = 1, 45 do
  4596. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  4597. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  4598. end
  4599. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  4600. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  4601. LOCK2.PrimaryPart = PRT
  4602. ---------------
  4603. local CHILDREN = LOCK:GetDescendants()
  4604. for index, CHILD in pairs(CHILDREN) do
  4605. if CHILD:IsA("BasePart") then
  4606. CHILD.Transparency = 1
  4607. end
  4608. end
  4609. for i = 1, 75 do
  4610. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  4611. Swait()
  4612. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  4613. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  4614. local CHILDREN = LOCK:GetDescendants()
  4615. for index, CHILD in pairs(CHILDREN) do
  4616. if CHILD:IsA("BasePart") then
  4617. CHILD.Transparency = CHILD.Transparency - 1/75
  4618. end
  4619. end
  4620. end
  4621. HUM.DisplayDistanceType = "None"
  4622. local KEY = IT("Model",Effects)
  4623. KEY.Name = "Key"
  4624. --CREATE KEY--
  4625. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Black", "KeyBase", VT(0.1, 1, 0.1),false)
  4626. KEY.PrimaryPart = KBASE
  4627. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  4628. local WLD = weldBetween(RightArm,KBASE)
  4629. for i = 1, 45 do
  4630. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.1, 0.1, 0.1),false)
  4631. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  4632. weldBetween(KBASE,PRT)
  4633. end
  4634. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.3, 0.1, 0.1),false)
  4635. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  4636. weldBetween(KBASE,PRT)
  4637. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Black", "Key", VT(0.3, 0.1, 0.1),false)
  4638. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  4639. weldBetween(KBASE,PRT)
  4640. --------------
  4641. Rooted = true
  4642. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  4643. coroutine.resume(coroutine.create(function()
  4644. for i = 1, 10 do
  4645. Swait()
  4646. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  4647. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  4648. end
  4649. CreateSound(1149318312,BASE,5,1,false)
  4650. CreateSound(160772554,BASE,3,1,false)
  4651. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  4652. for i = 1, 4 do
  4653. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4654. end
  4655. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  4656. wait(1)
  4657. TORSO.Parent.Parent = LOCK
  4658. for i = 1, 75 do
  4659. Swait()
  4660. local CHILDREN = KEY:GetDescendants()
  4661. for index, CHILD in pairs(CHILDREN) do
  4662. if CHILD:IsA("BasePart") then
  4663. CHILD.Transparency = i/25
  4664. end
  4665. end
  4666. local CHILDREN = LOCK:GetDescendants()
  4667. for index, CHILD in pairs(CHILDREN) do
  4668. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  4669. CHILD.Transparency = CHILD.Transparency + 1/75
  4670. elseif CHILD.ClassName == "Decal" then
  4671. CHILD.Transparency = CHILD.Transparency + 1/75
  4672. end
  4673. end
  4674. end
  4675. TORSO.Parent:ClearAllChildren()
  4676. KEY:remove()
  4677. LOCK:remove()
  4678. end))
  4679. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  4680. GYRO:remove()
  4681. ATTACK = false
  4682. Rooted = false
  4683. end
  4684. end
  4685. end
  4686.  
  4687. function Endless_Pain()
  4688. local HITBODIES = {}
  4689. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  4690. if HITFLOOR ~= nil then
  4691. CreateSound("463598785", RootPart, 10, 0.8)
  4692. ATTACK = true
  4693. Rooted = true
  4694. VALUE1 = true
  4695. for i = 1, 500 do
  4696. Swait()
  4697. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  4698. Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0*SIZE, 0.1*SIZE, 0*SIZE), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Mid grey", VT(0.001, 0, 0.001))
  4699. Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0*SIZE, 0.1*SIZE, 0*SIZE), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Mid grey", VT(0, 0, 0))
  4700. 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)
  4701. 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)
  4702. 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)
  4703. 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)
  4704. 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)
  4705. 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)
  4706. for e = 1, #HITBODIES do
  4707. if HITBODIES[e] ~= nil then
  4708. local BOD = HITBODIES[e]
  4709. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  4710. if TORS and TORS:FindFirstChild("BV") == nil then
  4711. local bv = Instance.new("BodyVelocity")
  4712. bv.Name = "BV"
  4713. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4714. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  4715. bv.Parent = TORS
  4716. Debris:AddItem(bv, 0.1)
  4717. end
  4718. end
  4719. end
  4720. end
  4721. coroutine.resume(coroutine.create(function()
  4722. for e = 1, #HITBODIES do
  4723. Swait()
  4724. if HITBODIES[e] ~= nil then
  4725. local BOD = HITBODIES[e]
  4726. for i = 1, #HITBODIES do
  4727. if HITBODIES[i] == BOD and i ~= e then
  4728. table.remove(HITBODIES, i)
  4729. end
  4730. end
  4731. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  4732. if TORS then
  4733. TORS.Anchored = false
  4734. CreateSound("92597369", TORS, 10, 0.8)
  4735. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Really red", VT(0.01, 0, 0.01))
  4736. BOD:BreakJoints()
  4737. for _, c in pairs(BOD:GetChildren()) do
  4738. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  4739. local bv = Instance.new("BodyVelocity")
  4740. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4741. bv.velocity = CF(HITPOS, c.Position).lookVector * 250
  4742. bv.Parent = c
  4743. Debris:AddItem(bv, 0.2)
  4744. end
  4745. end
  4746. end
  4747. end
  4748. end
  4749. end))
  4750. VALUE1 = false
  4751. ATTACK = false
  4752. Rooted = false
  4753. end
  4754. end
  4755.  
  4756. function Inferno_Ring()
  4757. ATTACK = true
  4758. Rooted = false
  4759. local GYRO = IT("BodyGyro",RootPart)
  4760. GYRO.D = 750
  4761. GYRO.P = 20000
  4762. GYRO.MaxTorque = VT(0,40000000,0)
  4763. local FIRE = IT("Model",Effects)
  4764. FIRE.Name = "Fire"
  4765. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "Center", VT(0,0,0))
  4766. FIRE.PrimaryPart = MAIN
  4767. local FIRES = {}
  4768. for i = 1, 45 do
  4769. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Really red", "RingPart", VT(3,3,3))
  4770. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  4771. local F = Fire(PRT)
  4772. table.insert(FIRES,F)
  4773. end
  4774. repeat
  4775. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  4776. Pose("Cast1",1.5,0.01,false,GYRO)
  4777. until HOLD == true
  4778. coroutine.resume(coroutine.create(function()
  4779. for i = 1, 4 do
  4780. ApplyAoE(MAIN.Position,21,-15,true)
  4781. CreateSound(463598785,MAIN,3,1,false)
  4782. for E = 1, #FIRES do
  4783. if FIRES[E] ~= nil then
  4784. FIRES[E].Acceleration = VT(0,300,0)
  4785. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  4786. end
  4787. end
  4788. wait(0.3)
  4789. end
  4790. for E = 1, #FIRES do
  4791. if FIRES[E] ~= nil then
  4792. FIRES[E].Enabled = false
  4793. end
  4794. end
  4795. Debris:AddItem(FIRE,5)
  4796. end))
  4797. CreateSound(215395388,RightArm,3,2,false)
  4798. Pose("RightArmUp",1.5,0.5,true)
  4799. GYRO:remove()
  4800. ATTACK = false
  4801. Rooted = false
  4802. end
  4803.  
  4804. function TakeOnMe()
  4805. Speed = 5
  4806. local MEME = CreateSound(1554763595, Effects, 2, 1, false)
  4807. ATTACK = true
  4808. Rooted = false
  4809. local DANCE = true
  4810. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  4811. if NEWKEY == "]" then
  4812. DANCE = false
  4813. end
  4814. end)
  4815. PLAYSONG = false
  4816. while true do
  4817. for i = 1, 15 do
  4818. Swait()
  4819. MEME.Parent = Effects
  4820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + 0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4822. 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)
  4823. 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)
  4824. 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)
  4825. 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)
  4826. end
  4827. if DANCE == false then
  4828. break
  4829. end
  4830. for i = 1, 15 do
  4831. Swait()
  4832. MEME.Parent = Effects
  4833. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 1 + -0.25*SIZE+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4835. 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)
  4836. 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)
  4837. 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)
  4838. 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)
  4839. end
  4840. end
  4841. PLAYSONG = true
  4842. KEY:Disconnect()
  4843. MEME:remove()
  4844. Speed = 25
  4845. ATTACK = false
  4846. Rooted = false
  4847. end
  4848.  
  4849. function RavagingOverthrower()
  4850. ATTACK = true
  4851. Rooted = true
  4852. for i=0, 1, 0.1 / Animation_Speed do
  4853. Swait()
  4854. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1.4 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(30), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4858. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4859. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4860. end
  4861. CreateSound("348663022", Torso, 5, 1)
  4862. local StartPos = RootPart.CFrame * CF(0,15,0).p
  4863. for i = 1, 5 do
  4864. MagicSphere2(25,25,CF(StartPos),"Really black")
  4865. Swait(15)
  4866. end
  4867. local soundeffect = IT("Sound",Torso)
  4868. soundeffect.SoundId = "rbxassetid://487186990"
  4869. soundeffect.Looped = true
  4870. soundeffect.Volume = 3
  4871. soundeffect.Playing = true
  4872. repeat
  4873. turnto(Mouse.Hit.p)
  4874. MagicSphere2(25,25,CF(StartPos),"White")
  4875. MagicSphere(25/10,25,CF(StartPos),"White")
  4876. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  4877. local distance = (StartPos - RayPos).magnitude
  4878. local RayBeam = IT("Part",Effects)
  4879. RayBeam.Material = "Neon"
  4880. RayBeam.Anchored = true
  4881. RayBeam.BrickColor = BRICKC"Lavender"
  4882. local mesh = IT("SpecialMesh",RayBeam)
  4883. mesh.MeshType = "Cylinder"
  4884. RayBeam.Size = Vector3.new(distance+10, 5, 5)
  4885. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  4886. MagicSphere(15,5,CF(RayPos),"Lavender")
  4887. killnearest(RayPos,15,100)
  4888. for i = 1, 3 do
  4889. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  4890. end
  4891. Swait()
  4892. if KEYHOLD == false then
  4893. coroutine.resume(coroutine.create(function()
  4894. for i = 1, 5 do
  4895. RayBeam.Transparency = RayBeam.Transparency + 1/5
  4896. Swait()
  4897. end
  4898. RayBeam:remove()
  4899. end))
  4900. else
  4901. RayBeam:remove()
  4902. end
  4903. until KEYHOLD == false
  4904. soundeffect:remove()
  4905. ATTACK = false
  4906. Rooted = false
  4907. end
  4908.  
  4909. function Wall()
  4910. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  4911. if HITFLOOR ~= nil then
  4912. if HITFLOOR.Anchored == true then
  4913. local WALL = HITFLOOR:Clone()
  4914. WALL.Size = VT(45,45,5)
  4915. WALL.Parent = Effects
  4916. WALL.Name = "Wall"
  4917. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  4918. CreateSound(130972023,WALL,5,0.8,false)
  4919. ATTACK = true
  4920. Rooted = true
  4921. local HIT = WALL.Touched:Connect(function(hit)
  4922. if hit.Parent ~= Character then
  4923. hit:BreakJoints()
  4924. end
  4925. end)
  4926. coroutine.resume(coroutine.create(function()
  4927. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4928. for i = 1, 90 do
  4929. Swait()
  4930. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  4931. end
  4932. HIT:disconnect()
  4933. wait(5)
  4934. for i = 1, 46 do
  4935. Swait()
  4936. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  4937. end
  4938. WALL:remove()
  4939. end))
  4940. Pose("RightArmUp2",1.5,1.2,true)
  4941. ATTACK = false
  4942. Rooted = false
  4943. end
  4944. end
  4945. end
  4946.  
  4947. function Petrify(Foe)
  4948. local STONEMODEL = IT("Model", Effects)
  4949. local CHILDREN = Foe:GetDescendants()
  4950. for index, CHILD in pairs(CHILDREN) do
  4951. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  4952. CHILD.Parent = STONEMODEL
  4953. CHILD.Material = "Slate"
  4954. CHILD.Color = C3(0.5, 0.5, 0.5)
  4955. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  4956. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  4957. mesh.TextureId = ""
  4958. end
  4959. if CHILD:FindFirstChildOfClass("Decal") then
  4960. local mesh = CHILD:FindFirstChildOfClass("Decal")
  4961. mesh:remove()
  4962. end
  4963. if CHILD.ClassName == "MeshPart" then
  4964. CHILD.TextureID = ""
  4965. end
  4966. if CHILD.ClassName == "UnionOperation" then
  4967. CHILD.UsePartColor = true
  4968. end
  4969. CHILD.CanCollide = true
  4970. end
  4971. end
  4972. Debris:AddItem(STONEMODEL, 5)
  4973. end
  4974.  
  4975. function Stonewill()
  4976. ATTACK = true
  4977. Rooted = true
  4978. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4979. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4980. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4981. if TORSO then
  4982. local GYRO = IT("BodyGyro", RootPart)
  4983. GYRO.D = 750
  4984. GYRO.P = 2000
  4985. GYRO.MaxTorque = VT(0, 40000, 0)
  4986. CreateSound("907330103", Torso, 5, 1.1)
  4987. for i = 0, 1.6, 0.1 / Animation_Speed do
  4988. Swait()
  4989. WACKYEFFECT({
  4990. Time = 5,
  4991. EffectType = "Round Slash",
  4992. Size = VT(0, 0, 0),
  4993. Size2 = VT(0.01, 0, 0.01),
  4994. Transparency = 0.5,
  4995. Transparency2 = 1,
  4996. CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4997. MoveToPos = nil,
  4998. RotationX = MRANDOM(-50, 50) / 10,
  4999. RotationY = MRANDOM(-50, 50) / 10,
  5000. RotationZ = MRANDOM(-50, 50) / 10,
  5001. Material = "Neon",
  5002. Color = C3(1, 0, 0),
  5003. SoundID = nil,
  5004. SoundPitch = nil,
  5005. SoundVolume = nil
  5006. })
  5007. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  5008. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  5009. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  5010. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.8 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  5011. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5012. if ANIM == "Idle" then
  5013. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5014. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5015. elseif ANIM == "Walk" then
  5016. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5017. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5018. elseif ANIM == "Jump" or ANIM == "Fall" then
  5019. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  5020. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  5021. end
  5022. end
  5023. GYRO:remove()
  5024. for i = 1, 15 do
  5025. WACKYEFFECT({
  5026. Time = MRANDOM(15, 85),
  5027. EffectType = "Round Slash",
  5028. Size = VT(0, 0, 0),
  5029. Size2 = VT(0.3, 0, 0.3),
  5030. Transparency = 0.5,
  5031. Transparency2 = 1,
  5032. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5033. MoveToPos = nil,
  5034. RotationX = MRANDOM(-50, 50) / 10,
  5035. RotationY = MRANDOM(-50, 50) / 10,
  5036. RotationZ = MRANDOM(-50, 50) / 10,
  5037. Material = "Neon",
  5038. Color = C3(1, 0, 0),
  5039. SoundID = nil,
  5040. SoundPitch = nil,
  5041. SoundVolume = nil
  5042. })
  5043. end
  5044. local bv = Instance.new("BodyVelocity")
  5045. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5046. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  5047. bv.Parent = TORSO
  5048. Debris:AddItem(bv, 0.05)
  5049. CreateSound("1222405264", TORSO, 10, 0.9)
  5050. Petrify(HUM.Parent)
  5051. for i = 0, 0.5, 0.1 / Animation_Speed do
  5052. Swait()
  5053. WACKYEFFECT({
  5054. Time = 5,
  5055. EffectType = "Round Slash",
  5056. Size = VT(0, 0, 0),
  5057. Size2 = VT(0.01, 0, 0.01),
  5058. Transparency = 0.5,
  5059. Transparency2 = 1,
  5060. CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5061. MoveToPos = nil,
  5062. RotationX = MRANDOM(-50, 50) / 10,
  5063. RotationY = MRANDOM(-50, 50) / 10,
  5064. RotationZ = MRANDOM(-50, 50) / 10,
  5065. Material = "Neon",
  5066. Color = C3(1, 0, 0),
  5067. SoundID = nil,
  5068. SoundPitch = nil,
  5069. SoundVolume = nil
  5070. })
  5071. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  5072. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  5073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  5074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.8, 0.8 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5076. if ANIM == "Idle" then
  5077. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5079. elseif ANIM == "Walk" then
  5080. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5082. elseif ANIM == "Jump" or ANIM == "Fall" then
  5083. RightHip.C0 = Clerp(RightHip.C0, CF(1.5, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  5084. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.5, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  5085. end
  5086. end
  5087. end
  5088. end
  5089. ATTACK = false
  5090. Rooted = false
  5091. end
  5092.  
  5093. --//=================================\\
  5094. --|| ASSIGN THINGS TO KEYS
  5095. --\\=================================//
  5096.  
  5097. function MouseDown(Mouse)
  5098. HOLD = true
  5099. if ATTACK == false then
  5100. end
  5101. end
  5102.  
  5103. function MouseUp(Mouse)
  5104. HOLD = false
  5105. end
  5106.  
  5107. function KeyDown(Key)
  5108. KEYHOLD = true
  5109. if Key == "z" and ATTACK == false then
  5110. if MODE == "Superior" then
  5111. TimeSweep()
  5112. elseif MODE == "JusticeHorn" then
  5113. MagicMissiles()
  5114. elseif MODE == "Maniac" then
  5115. Wall()
  5116. end
  5117. end
  5118.  
  5119. if Key == "x" and ATTACK == false then
  5120. if MODE == "Superior" then
  5121. Smite2()
  5122. elseif MODE == "JusticeHorn" then
  5123. PandorasBox()
  5124. elseif MODE == "Maniac" then
  5125. Inferno_Ring()
  5126. end
  5127. end
  5128.  
  5129. if Key == "c" and ATTACK == false then
  5130. if MODE == "Superior" then
  5131. Smite()
  5132. elseif MODE == "JusticeHorn" then
  5133. ChainPunch()
  5134. elseif MODE == "Maniac" then
  5135. RavagingOverthrower()
  5136. end
  5137. end
  5138.  
  5139. if Key == "v" and ATTACK == false then
  5140. if MODE == "Superior" then
  5141. Earthquake()
  5142. elseif MODE == "JusticeHorn" then
  5143. WarpMeteor()
  5144. elseif MODE == "Maniac" then
  5145. Endless_Pain()
  5146. end
  5147. end
  5148.  
  5149. if Key == "b" and ATTACK == false then
  5150. if MODE == "Superior" then
  5151. Prison_Key()
  5152. elseif MODE == "JusticeHorn" then
  5153. TimesUp()
  5154. elseif MODE == "Maniac" then
  5155. Stonewill()
  5156. end
  5157. end
  5158.  
  5159.  
  5160. if Key == "p" and ATTACK == false then
  5161. TakeOnMe()
  5162. end
  5163.  
  5164. if Key == "1" and ATTACK == false then
  5165. Taunt()
  5166. end
  5167.  
  5168. if Key == "2" and ATTACK == false then
  5169. Taunt2()
  5170. end
  5171.  
  5172. if Key == "f" and ATTACK == false then
  5173. Switch()
  5174. end
  5175.  
  5176. if Key == "e" and ATTACK == false then
  5177. Switch2()
  5178. end
  5179.  
  5180. if Key == "q" and ATTACK == false then
  5181. Switch3()
  5182. end
  5183. end
  5184.  
  5185. function KeyUp(Key)
  5186. KEYHOLD = false
  5187. end
  5188.  
  5189. Mouse.Button1Down:connect(function(NEWKEY)
  5190. MouseDown(NEWKEY)
  5191. end)
  5192. Mouse.Button1Up:connect(function(NEWKEY)
  5193. MouseUp(NEWKEY)
  5194. end)
  5195. Mouse.KeyDown:connect(function(NEWKEY)
  5196. KeyDown(NEWKEY)
  5197. end)
  5198. Mouse.KeyUp:connect(function(NEWKEY)
  5199. KeyUp(NEWKEY)
  5200. end)
  5201.  
  5202. --//=================================\\
  5203. --\\=================================//
  5204.  
  5205.  
  5206. function unanchor()
  5207. if UNANCHOR == true then
  5208. RootPart.Anchored = false
  5209. end
  5210. g = Character:GetChildren()
  5211. for i = 1, #g do
  5212. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  5213. g[i].Anchored = false
  5214. end
  5215. end
  5216. g = Weapon:GetChildren()
  5217. for i = 1, #g do
  5218. if g[i].ClassName == "Part" then
  5219. g[i].Anchored = false
  5220. end
  5221. end
  5222. end
  5223.  
  5224.  
  5225. --//=================================\\
  5226. --|| WRAP THE WHOLE SCRIPT UP
  5227. --\\=================================//
  5228.  
  5229. Humanoid.Changed:connect(function(Jump)
  5230. if Jump == "Jump" and (Disable_Jump == true) then
  5231. Humanoid.Jump = false
  5232. end
  5233. end)
  5234.  
  5235. while true do
  5236. Swait()
  5237. script.Parent = WEAPONGUI
  5238. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  5239. v:Stop();
  5240. end
  5241. ANIMATE.Parent = nil
  5242. SINE = SINE + CHANGE*1.5
  5243. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5244. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5245. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  5246. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  5247. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  5248. 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)
  5249. 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)
  5250. 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)
  5251. 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)
  5252. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  5253. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5254. 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)
  5255. 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)
  5256. 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)
  5257. end
  5258. if TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  5259. ANIM = "Fall"
  5260. if ATTACK == false then
  5261. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5262. 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)
  5263. 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)
  5264. 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)
  5265. 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)
  5266. 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)
  5267. end
  5268. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  5269. ANIM = "Idle"
  5270. if ATTACK == false then
  5271. if MODE == "Main" then
  5272. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.5 + ((0.1) - 0.1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.95, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.95, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5276. RightHip.C0 = Clerp(RightHip.C0, CF(1.45, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5277. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.45, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5278. elseif MODE == "Superior" then
  5279. 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)
  5280. 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)
  5281. 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)
  5282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.35*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5283. 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)
  5284. 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)
  5285. elseif MODE == "JusticeHorn" then
  5286. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5287. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0.4*SIZE + ((0.1) - 0.1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  5288. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5289. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9*SIZE, 0.25*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5290. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5291. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5292. elseif MODE == "Maniac" then
  5293. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  5294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  5295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5297. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  5298. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  5299. end
  5300. end
  5301. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  5302. ANIM = "Walk"
  5303. if ATTACK == false then
  5304. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.005 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  5305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5307. 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)
  5308. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5310. end
  5311. end
  5312. unanchor()
  5313. Humanoid.MaxHealth = "inf"
  5314. Humanoid.Health = "inf"
  5315. if Rooted == false then
  5316. Disable_Jump = false
  5317. Humanoid.WalkSpeed = Speed
  5318. elseif Rooted == true then
  5319. Disable_Jump = true
  5320. Humanoid.WalkSpeed = 0
  5321. end
  5322. for _, c in pairs(Character:GetChildren()) do
  5323. if c.ClassName == "Part" and c.Name ~= "Detail" then
  5324. c.Material = "Fabric"
  5325. if c:FindFirstChildOfClass("ParticleEmitter") then
  5326. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  5327. end
  5328. if c ~= Head then
  5329. c.Color = C3(0,0,0)
  5330. else
  5331. c.Color = C3(0,0,0)
  5332. end
  5333. if c == Head then
  5334. if c:FindFirstChild("face") then
  5335. c.face:remove()
  5336. end
  5337. end
  5338. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  5339. c:remove()
  5340. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  5341. c:remove()
  5342. end
  5343. sick.SoundId = "rbxassetid://"..SONG
  5344. sick.Looped = true
  5345. sick.Pitch = 1
  5346. sick.Volume = 1
  5347. sick.Parent = Effects
  5348. sick.Playing = PLAYSONG
  5349. end
  5350. Humanoid.Name = "The-Switcher = "..Player.Name
  5351. end
  5352.  
  5353. --//=================================\\
  5354. --\\=================================//
  5355.  
  5356.  
  5357.  
  5358.  
  5359.  
  5360. --//====================================================\\--
  5361. --|| END OF SCRIPT
  5362. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement