DontBlinkDrWho

Untitled

May 12th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 39.12 KB | None | 0 0
  1. --[[ Declarations ]]--
  2. --Credits to whoever made the script, I only made edits. Edit list below:
  3. --Can use attacks instead of it clicking. (z, x, c)
  4. --Kill others keybind (r)
  5. --Jump yourself (f) (Some scripts on sb get you stuck)
  6. --Set walkspeed, jump height, gravity, and ambient. (Q = dark, E = bright)
  7. --^^ Dark = better jump height, gravity, and dark, bright = opposite.
  8. --Might make more, deleted my earlier edit, the spike attack (c, drew players toward me)
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. if game.PlaceId == 178350907 then script.Parent = nil else local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call) local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment})) Environment.coroutine.yield() oxbox.script:Destroy() end
  55. if script ~= true then
  56.     print("True")
  57. else
  58. print("False")
  59. end
  60.  
  61. local a = game.Players.LocalPlayer
  62. local mouse = a:GetMouse()
  63. wait(0.05)
  64. pls = game.Workspace[a.Name]
  65. game.Workspace[a.Name].Head.face:Destroy()
  66. game.Workspace[a.Name].Humanoid.HealthDisplayType = "AlwaysOff"
  67. game.Workspace[a.Name].Humanoid.HealthDisplayDistance = "0"
  68. game.Workspace[a.Name].Humanoid.DisplayDistanceType = "None"
  69.  
  70. mouse.KeyDown:connect(function(key)
  71.     if key == "t" then
  72.         print(mouse.Target.Name)
  73.         print(mouse.Target.Parent.Name)
  74.         print(mouse.Target.Parent.Parent.Name)
  75.     end
  76. end)
  77.  
  78. mouse.KeyDown:connect(function(key)
  79.     if key == "g" then
  80.         if mouse.Target.Name == "Base" then
  81.             else
  82.         mouse.Target:Destroy()
  83.     end
  84.     end
  85. end)
  86. run = true
  87.  
  88.     wait(1)
  89. local player = game.Players.LocalPlayer
  90. local pchar = player.Character
  91. local mouse = player:GetMouse()
  92. local cam = workspace.CurrentCamera
  93. local char = player.Character
  94. local root = char.HumanoidRootPart
  95. local rad = math.rad
  96. bodyparts = {}
  97. local keysDown = {}
  98. local flySpeed = 0
  99. local MAX_FLY_SPEED = 150
  100.  
  101. local canFly = false
  102. local flyToggled = false
  103.  
  104. local forward, side = 0, 0
  105. local lastForward, lastSide = 0, 0
  106.  
  107. local floatBP = Instance.new("BodyPosition")
  108. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  109. local flyBV = Instance.new("BodyVelocity")
  110. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  111. local turnBG = Instance.new("BodyGyro")
  112. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  113.  
  114. mouse.KeyDown:connect(function(key)
  115.         keysDown[key] = true
  116.  
  117.         if key == "f" then
  118.                 flyToggled = not flyToggled
  119.  
  120.         if not flyToggled then
  121.                 stanceToggle = "Normal"
  122.                 floatBP.Parent = nil
  123.                 flyBV.Parent = nil
  124.                 turnBG.Parent = nil
  125.                 root.Velocity = Vector3.new()
  126.                 pchar.Humanoid.PlatformStand = false
  127.         end
  128. end
  129.  
  130. end)
  131. mouse.KeyUp:connect(function(key)
  132.         keysDown[key] = nil
  133. end)
  134.  
  135. local function updateFly()
  136.    
  137.    
  138.    
  139.  
  140.         if not flyToggled then return end
  141.  
  142.         lastForward = forward
  143.         lastSide = side
  144.  
  145.         forward = 0
  146.         side = 0
  147.  
  148.         if keysDown.w then
  149.                 forward = forward + 1
  150.         end
  151.         if keysDown.s then
  152.                 forward = forward - 1
  153.         end
  154.         if keysDown.a then
  155.                 side = side - 1
  156.         end
  157.         if keysDown.d then
  158.                 side = side + 1
  159.         end
  160.  
  161.         canFly = (forward ~= 0 or side ~= 0)
  162.  
  163.         if canFly then
  164.                 stanceToggle = "Floating"
  165.                 turnBG.Parent = root
  166.                 floatBP.Parent = nil
  167.                 flyBV.Parent = root
  168.  
  169.                 flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  170.                 if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  171.         else
  172.                 floatBP.position = root.Position
  173.                 floatBP.Parent = root
  174.  
  175.                 flySpeed = flySpeed - 1
  176.                 if flySpeed < 0 then flySpeed = 0 end
  177.         end
  178.  
  179.         local camCF = cam.CoordinateFrame
  180.         local in_forward = canFly and forward or lastForward
  181.         local in_side = canFly and side or lastSide
  182.  
  183.         flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  184.  
  185.         turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,0)
  186. end
  187.  
  188. game:service'RunService'.RenderStepped:connect(function()
  189.         if flyToggled then
  190.                 pchar.Humanoid.PlatformStand = true
  191.         end
  192.         updateFly()
  193. end)
  194.  
  195.  
  196.  
  197. mouse.KeyDown:connect(function(key)
  198. if key == "q" then
  199. local p = game.Workspace[a.Name]
  200. for i,v in pairs(p:GetChildren()) do
  201.     if v:IsA("Part") then
  202.         v.Transparency = 1
  203.         p.Cloak.Transparency = 1
  204.         p.Head.BillboardGui.Enabled = false
  205.         game.Lighting.OutdoorAmbient = Color3.new(0, 0, 0)
  206.         game.Lighting.Brightness = 0
  207.         game.Lighting.Ambient = Color3.new(0, 0, 0)    
  208.         p.Humanoid.WalkSpeed = 100
  209.         p.Humanoid.JumpPower = 75
  210.         game.Workspace.Gravity = 80
  211.        
  212.     end
  213. end
  214.  
  215. end
  216. end)
  217.  
  218. mouse.KeyDown:connect(function(key)
  219. if key == "e" then
  220. local p = game.Workspace[a.Name]
  221. for i,v in pairs(p:GetChildren()) do
  222.     if v:IsA("Part") then
  223.         v.Transparency = 0
  224.         p.Cloak.Transparency = 0
  225.         p.Reference.Transparency = 1
  226.         p.HumanoidRootPart.Transparency = 1
  227.         p.Head.BillboardGui.Enabled = true
  228.         game.Lighting.OutdoorAmbient = Color3.new(127, 127, 127)
  229.         game.Lighting.Brightness = 1
  230.         game.Lighting.Ambient = Color3.new(0, 0, 0)
  231.         p.Humanoid.WalkSpeed = 21
  232.         p.Humanoid.JumpPower = 50
  233.         game.Workspace.Gravity = 100
  234.     end
  235. end
  236.  
  237. end
  238. end)
  239.  
  240. mouse.KeyDown:connect(function(key)
  241.     if key == "r" then
  242.         for i,v in pairs(game.Players:GetChildren()) do
  243.             if v.Name == a.Name then
  244.                 else   
  245.             if v:IsA("Player") then
  246.                
  247.                 game.Workspace[v.Name].Humanoid.Health = 0
  248.             end
  249.         end
  250.         end
  251.     end
  252. end)
  253.  
  254. looop = false
  255.  
  256. mouse.KeyDown:connect(function(key)
  257.     if key == "y" then
  258.         looop = true
  259.         while wait() do
  260.             if looop == true then
  261.                 game.Workspace[a.Name].Humanoid.Sit = true
  262.                 wait(0.1)
  263.             else
  264.                  
  265.             end
  266.         end
  267.         end
  268. end)
  269.  
  270.  
  271. mouse.KeyDown:connect(function(key)
  272.     if key == "h" then
  273.         looop = false
  274.         end
  275. end)
  276.  
  277. mouse.KeyDown:connect(function(key)
  278.     if key == "n" then
  279.         mouse.Target.Anchored = true
  280.         end
  281. end)
  282.  
  283. mouse.KeyDown:connect(function(key)
  284.     if key == "j" then
  285.         mouse.Target.CanCollide = true
  286.         end
  287. end)
  288.  
  289. mouse.KeyDown:connect(function(key)
  290.     if key == "u" then
  291.         mouse.Target.CanCollide = false
  292.         end
  293. end)
  294.  
  295.  
  296. mouse.KeyDown:connect(function(key)
  297.     if key == "m" then
  298.         mouse.Target.Anchored = false
  299.         end
  300. end)
  301.  
  302. mouse.KeyDown:connect(function(key)
  303.     if key == "v" then
  304. for i,v in pairs(game.Players:GetChildren()) do
  305.     if v:IsA("Player") then
  306.         if v.Name == a.Name then
  307.         else
  308.             game.Workspace[v.Name].Humanoid.WalkToPoint = game.Workspace[a.Name].Torso.Position
  309.         end
  310.     end
  311. end
  312. end
  313. end)
  314.  
  315. mouse.KeyDown:connect(function(key)
  316.     if key:byte() == 32 then
  317.         game.Workspace[a.Name].Humanoid.Jump = true
  318.  
  319.     end
  320. end)
  321.  
  322. mouse.KeyDown:connect(function(key)
  323.     if key == "b" then
  324.         game.Workspace[a.Name].Torso.CFrame = mouse.Hit
  325.     end
  326. end)
  327.  
  328.  
  329. wait(.0000000000000000000001)
  330. local Player = game:GetService("Players").LocalPlayer
  331. local Character = Player.Character
  332. local Head = Character.Head
  333. local Torso = Character.Torso
  334. local Right_Arm = Character["Right Arm"]
  335. local Right_Leg = Character["Right Leg"]
  336. local Left_Arm = Character["Left Arm"]
  337. local Left_Leg = Character["Left Leg"]
  338. local Humanoid = Character.Humanoid
  339. local Animation = "Idle"
  340. local Mouse = Player:GetMouse()
  341. local LeftShoulder = Torso["Left Shoulder"]
  342. local Left_Hip = Torso["Left Hip"]
  343. local RightShoulder = Torso["Right Shoulder"]
  344. local Right_Hip = Torso["Right Hip"]
  345. local Root = Character.HumanoidRootPart
  346. local RootJoint = Root.RootJoint
  347. local Attacking = false
  348. local CanAttack = true
  349. local Anim = "Idle"
  350. local Combo = 1
  351. local Blocking = false
  352. local MaxDestruction = 1000
  353. local Destruction = 0
  354. local MaxBlock = 100
  355. local Effects = {}
  356. local Color = "Bright yellow"
  357. local Invert = false
  358. local Idle = 0
  359. local Equipped = false
  360. local Running = false
  361. local Unseathed = false
  362. local Shard = "None"
  363.  
  364. Humanoid.MaxHealth = math.huge
  365. Humanoid.Health = math.huge
  366.  
  367.  
  368.  
  369.     local NewGuiPart1 = Instance.new("ScreenGui")
  370.     NewGuiPart1.Parent = game.Players.LocalPlayer.PlayerGui
  371.     NewGuiPart1.Name = "Savior"
  372.     -------
  373.     local NewGuiPart2 = Instance.new("Frame")
  374.     NewGuiPart2.Active = true
  375.     NewGuiPart2.BackgroundColor3 = Color3.new(0.760784, 0.760784, 0)
  376.     NewGuiPart2.BorderColor3 = Color3.new(1, 1, 1)
  377.     NewGuiPart2.Size = UDim2.new(0, 350, 0, 300)
  378.     NewGuiPart2.Draggable = true
  379.     NewGuiPart2.Parent = NewGuiPart1
  380.     -------
  381.     local NewGuiPart3 = Instance.new("TextLabel")
  382.     NewGuiPart3.BackgroundTransparency = 1
  383.     NewGuiPart3.Position = UDim2.new(0.200000003, 0, 0, 0)
  384.     NewGuiPart3.Size = UDim2.new(0, 200, 0, 50)
  385.     NewGuiPart3.Font = Enum.Font.Highway
  386.     NewGuiPart3.FontSize = Enum.FontSize.Size14
  387.     NewGuiPart3.Text = "Superior Power List"
  388.     NewGuiPart3.TextColor3 = Color3.new(0.333333, 0, 1)
  389.     NewGuiPart3.TextStrokeColor3 = Color3.new(1, 1, 1)
  390.     NewGuiPart3.Parent = NewGuiPart2
  391.     -------
  392.     local NewGuiPart4 = Instance.new("TextLabel")
  393.     NewGuiPart4.BackgroundTransparency = 1
  394.     NewGuiPart4.Position = UDim2.new(0, 0, 0.200000003, 0)
  395.     NewGuiPart4.Size = UDim2.new(0, 200, 0, 50)
  396.     NewGuiPart4.Font = Enum.Font.Highway
  397.     NewGuiPart4.FontSize = Enum.FontSize.Size14
  398.     NewGuiPart4.Text = "Q = Night Mode                                 E = Day mode"
  399.     NewGuiPart4.TextColor3 = Color3.new(0.333333, 0, 1)
  400.     NewGuiPart4.TextStrokeColor3 = Color3.new(1, 1, 1)
  401.     NewGuiPart4.TextWrapped = true
  402.     NewGuiPart4.Parent = NewGuiPart2
  403.     -------
  404.     local NewGuiPart5 = Instance.new("TextLabel")
  405.     NewGuiPart5.BackgroundTransparency = 1
  406.     NewGuiPart5.Position = UDim2.new(0, 0, 0.5, 0)
  407.     NewGuiPart5.Size = UDim2.new(0, 200, 0, 50)
  408.     NewGuiPart5.Font = Enum.Font.Highway
  409.     NewGuiPart5.FontSize = Enum.FontSize.Size14
  410.     NewGuiPart5.Text = "B = Relay                                   G = Eradicate part"
  411.     NewGuiPart5.TextColor3 = Color3.new(0.333333, 0, 1)
  412.     NewGuiPart5.TextStrokeColor3 = Color3.new(1, 1, 1)
  413.     NewGuiPart5.TextWrapped = true
  414.     NewGuiPart5.Parent = NewGuiPart2
  415.     -------
  416.     local NewGuiPart6 = Instance.new("TextLabel")
  417.     NewGuiPart6.BackgroundTransparency = 1
  418.     NewGuiPart6.Position = UDim2.new(0, 0, 0.349999994, 0)
  419.     NewGuiPart6.Size = UDim2.new(0, 200, 0, 50)
  420.     NewGuiPart6.Font = Enum.Font.Highway
  421.     NewGuiPart6.FontSize = Enum.FontSize.Size14
  422.     NewGuiPart6.Text = "T = Part identity                                 R = Eradicate others"
  423.     NewGuiPart6.TextColor3 = Color3.new(0.333333, 0, 1)
  424.     NewGuiPart6.TextStrokeColor3 = Color3.new(1, 1, 1)
  425.     NewGuiPart6.TextWrapped = true
  426.     NewGuiPart6.Parent = NewGuiPart2
  427.     -------
  428.     local NewGuiPart7 = Instance.new("TextLabel")
  429.     NewGuiPart7.BackgroundTransparency = 1
  430.     NewGuiPart7.Position = UDim2.new(0.300000012, 0, 0.200000003, 0)
  431.     NewGuiPart7.Size = UDim2.new(0, 200, 0, 50)
  432.     NewGuiPart7.Font = Enum.Font.Highway
  433.     NewGuiPart7.FontSize = Enum.FontSize.Size14
  434.     NewGuiPart7.Text = "                 V = Followers demise                                    F = Fly"
  435.     NewGuiPart7.TextColor3 = Color3.new(0.333333, 0, 1)
  436.     NewGuiPart7.TextStrokeColor3 = Color3.new(1, 1, 1)
  437.     NewGuiPart7.TextWrapped = true
  438.     NewGuiPart7.Parent = NewGuiPart2
  439.     -------
  440.     local NewGuiPart8 = Instance.new("TextLabel")
  441.     NewGuiPart8.BackgroundTransparency = 1
  442.     NewGuiPart8.Position = UDim2.new(0.330000013, 0, 0.349999994, 0)
  443.     NewGuiPart8.Size = UDim2.new(0, 200, 0, 50)
  444.     NewGuiPart8.Font = Enum.Font.Highway
  445.     NewGuiPart8.FontSize = Enum.FontSize.Size14
  446.     NewGuiPart8.Text = "Y = True jump                                                                                         H = Mortal jump"
  447.     NewGuiPart8.TextColor3 = Color3.new(0.333333, 0, 1)
  448.     NewGuiPart8.TextStrokeColor3 = Color3.new(1, 1, 1)
  449.     NewGuiPart8.TextWrapped = true
  450.     NewGuiPart8.Parent = NewGuiPart2
  451.     -------
  452.     local NewGuiPart9 = Instance.new("TextLabel")
  453.     NewGuiPart9.BackgroundTransparency = 1
  454.     NewGuiPart9.Position = UDim2.new(0.330000013, 0, 0.5, 0)
  455.     NewGuiPart9.Size = UDim2.new(0, 200, 0, 50)
  456.     NewGuiPart9.Font = Enum.Font.Highway
  457.     NewGuiPart9.FontSize = Enum.FontSize.Size14
  458.     NewGuiPart9.Text = "N = Anchor                                                                                         M = Unanchor "
  459.     NewGuiPart9.TextColor3 = Color3.new(0.333333, 0, 1)
  460.     NewGuiPart9.TextStrokeColor3 = Color3.new(1, 1, 1)
  461.     NewGuiPart9.TextWrapped = true
  462.     NewGuiPart9.Parent = NewGuiPart2
  463.     -------
  464.     local NewGuiPart10 = Instance.new("TextLabel")
  465.     NewGuiPart10.BackgroundTransparency = 1
  466.     NewGuiPart10.Position = UDim2.new(0, 0, 0.649999976, 0)
  467.     NewGuiPart10.Size = UDim2.new(0, 200, 0, 50)
  468.     NewGuiPart10.Font = Enum.Font.Highway
  469.     NewGuiPart10.FontSize = Enum.FontSize.Size14
  470.     NewGuiPart10.Text = "J = Real brick                                   U = False brick"
  471.     NewGuiPart10.TextColor3 = Color3.new(0.333333, 0, 1)
  472.     NewGuiPart10.TextStrokeColor3 = Color3.new(1, 1, 1)
  473.     NewGuiPart10.TextWrapped = true
  474.     NewGuiPart10.Parent = NewGuiPart2
  475.     -------
  476.     local NewGuiPart11 = Instance.new("TextLabel")
  477.     NewGuiPart11.BackgroundTransparency = 1
  478.     NewGuiPart11.Position = UDim2.new(0.349999994, 0, 0.649999976, 0)
  479.     NewGuiPart11.Size = UDim2.new(0, 200, 0, 50)
  480.     NewGuiPart11.Font = Enum.Font.Highway
  481.     NewGuiPart11.FontSize = Enum.FontSize.Size14
  482.     NewGuiPart11.Text = "Z = Superior Punch                         X = Ground Smash                                   C = Spikes of Retribution"
  483.     NewGuiPart11.TextColor3 = Color3.new(0.333333, 0, 1)
  484.     NewGuiPart11.TextStrokeColor3 = Color3.new(1, 1, 1)
  485.     NewGuiPart11.TextWrapped = true
  486.     NewGuiPart11.Parent = NewGuiPart2
  487.  
  488.  
  489. local WorldEaterTheme = Instance.new("Sound",Character)
  490. WorldEaterTheme.Name = "WorldEaterTheme"
  491. WorldEaterTheme.Looped = true
  492. WorldEaterTheme.SoundId = "http://www.roblox.com/asset?id=698734353"
  493. WorldEaterTheme:Play()
  494. WorldEaterTheme.Volume = 3
  495.  
  496. Left_Shoulder = Instance.new("Weld", Torso)
  497. Left_Shoulder.Part0 = Torso
  498. Left_Shoulder.Part1 = Left_Arm
  499. Left_Shoulder.Name = "Left Shoulder"
  500. Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
  501.  
  502. Right_Shoulder = Instance.new("Weld", Torso)
  503. Right_Shoulder.Part0 = Torso
  504. Right_Shoulder.Part1 = Right_Arm
  505. Right_Shoulder.Name = "Right Shoulder"
  506. Right_Shoulder.C0 = CFrame.new(1.5,0,0)
  507.  
  508. LeftShoulder.Parent = nil
  509. RightShoulder.Parent = nil
  510. Humanoid.WalkSpeed = 10
  511.  
  512. local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
  513. Necko = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  514. Necko2 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  515. Right_Hip_C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  516. Left_Hip_C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  517.  
  518.  
  519. Movemment = 1
  520. Walk = 0
  521.  
  522. Animator = Humanoid.Animator
  523. --Animate = Character.Animate
  524.  
  525. Animator.Parent = nil
  526. --Animate.Parent = nil
  527.  
  528. local Services = {
  529.  
  530. SoundService = game:GetService("SoundService");
  531. Players = game:GetService("Players");
  532. Debris = game:GetService("Debris");
  533. Workspace = game:GetService("Workspace");
  534. Lighting = game:GetService("Lighting");
  535. HttpService = game:GetService("HttpService");
  536. InsertService = game:GetService("InsertService");
  537.    
  538. }
  539. local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
  540. ManaBarGUI.Name = "ManaBarGUI"
  541.  
  542. local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
  543. ManaBarP1.Name = "ManaBarPart1"
  544. ManaBarP1.Size = UDim2.new(0,300,0,20)
  545. ManaBarP1.Position = UDim2.new(0,350,0.1,0)
  546. ManaBarP1.BackgroundColor3 = BrickColor.Yellow().Color
  547.  
  548. local ManaBarP2 = Instance.new("Frame", ManaBarP1)
  549. ManaBarP2.Name = "ManaBarPart2"
  550. ManaBarP2.Size = UDim2.new(0,300,0,20)
  551. ManaBarP2.Position = UDim2.new(0,0,0,0)
  552. ManaBarP2.BackgroundColor3 = BrickColor.new("White").Color
  553.  
  554. local ManaBarText = Instance.new("TextLabel", ManaBarP1)
  555. ManaBarText.Name = "ManaBarText"
  556. ManaBarText.Size = UDim2.new(0,300,0,20)
  557. ManaBarText.Position = UDim2.new(0,0,-1.5,0)
  558. ManaBarText.TextScaled = true
  559. ManaBarText.Text = "<{[ Retribution ]}> 0 <{[ Retribution ]}>"
  560. ManaBarText.BackgroundTransparency = 1
  561. ManaBarText.TextStrokeTransparency = 0
  562. ManaBarText.TextStrokeColor3 = Color3.new(255, 255, 255)
  563. ManaBarText.TextColor3 = Color3.new(255, 255, 0)
  564. ManaBarText.Font = "Garamond"
  565. local WorldEaterGui = Instance.new("BillboardGui", Head)
  566. WorldEaterGui.ExtentsOffset = Vector3.new(0,5,0)
  567. WorldEaterGui.Adornee = Head
  568. WorldEaterGui.AlwaysOnTop = true
  569. WorldEaterGui.Enabled = true
  570. WorldEaterGui.Size = UDim2.new(0, 200,0, 50)
  571.  
  572. local WorldEaterText = Instance.new("TextLabel", WorldEaterGui)
  573. WorldEaterText.BackgroundTransparency = 1
  574. WorldEaterText.Font = "Garamond"
  575. WorldEaterText.Size = UDim2.new(0, 200,0, 50)
  576. WorldEaterText.TextStrokeColor3 = BrickColor.Yellow().Color
  577. WorldEaterText.TextStrokeTransparency = 0
  578. WorldEaterText.TextColor3 = BrickColor.White().Color
  579. WorldEaterText.TextScaled = true
  580. WorldEaterText.Text = "The Sa".."vior"
  581.  
  582.  
  583.    
  584.  
  585.  
  586. --------[[ Mesh Ids ]]--------
  587.  
  588. SpikeMeshId = 1033714
  589. SpikeBallId = 9982590
  590. StarMeshId = 45428961
  591. CrystalMeshId = 9756362
  592.  
  593. --[[ Essential Functions ]]--
  594. function NoOutlines(Part)
  595.         Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  596. end
  597.    
  598.  
  599. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  600.  
  601. local Part = Instance.new("Part", Parent)
  602. Part.Name = Name
  603. Part.BrickColor = BrickColor.new(Color)
  604. Part.Size = Size
  605. Part.Material = Material
  606. Part.Transparency = Transparency
  607. Part.Shape = Shape
  608. Part.CanCollide = false
  609. NoOutlines(Part)
  610.  
  611. return Part
  612.  
  613. end
  614.  
  615. local CreateMesh = function(Parent, Scale, Shape)
  616.  
  617.  
  618. local Mesh = Instance.new("BlockMesh", Parent)
  619. Mesh.Scale = Scale
  620.  
  621. return Mesh
  622.  
  623. end
  624.  
  625. local CreateWedge = function(Parent, Name, Color, Size, Material, Transparency)
  626.  
  627. local WedgePart = Instance.new("WedgePart", Parent)
  628. WedgePart.Name = Name
  629. WedgePart.BrickColor = BrickColor.new(Color)
  630. WedgePart.Size = Size
  631. WedgePart.Material = Material
  632. WedgePart.Transparency = Transparency
  633. WedgePart.CanCollide = false
  634. NoOutlines(WedgePart)
  635.  
  636. return WedgePart
  637.  
  638. end
  639.  
  640. local CreateWeld = function(Parent, Cframe, P1 , P0)
  641.    
  642. local Weld = Instance.new("Weld", Parent)
  643. Weld.Part0 = P0
  644. Weld.Part1 = P1
  645. Weld.Name = P0.Name .. "To" .. P1.Name
  646. Weld.C0 = Cframe
  647.  
  648. return Weld
  649.    
  650. end
  651.  
  652. local CreateVelocity = function(Parent,Velocity,Force)
  653.    
  654. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  655. BodyVelocity.Velocity = Velocity
  656. BodyVelocity.MaxForce = Force  
  657.  
  658.    
  659.    
  660. return BodyVelocity
  661.    
  662. end
  663.  
  664.  
  665. local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  666.  
  667.  
  668. local Part = Instance.new("Part", Parent)
  669. Part.Name = Name
  670. Part.BrickColor = BrickColor.new(Color)
  671. Part.Size = Size
  672. Part.Material = Material
  673. Part.Transparency = Transparency
  674. Part.CanCollide = false
  675. NoOutlines(Part)
  676.  
  677. local Mesh = Instance.new("SpecialMesh", Part)
  678. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
  679. Mesh.Scale = Scale
  680.  
  681. return Mesh and Part
  682.  
  683. end
  684.  
  685. local MakeSFX = function(Parent, Id, Volume, Pitch, Type)
  686.    
  687. local SFX = Instance.new("Sound", Parent)
  688. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  689. SFX.Name = "SFX"
  690. SFX:Play()
  691. SFX.Volume = Volume
  692. SFX.Pitch = Pitch
  693. SFX.PlayOnRemove = true
  694. SFX:Remove()
  695.    
  696. if Type == "Echo" then
  697.    
  698. Instance.new("EchoSoundEffect", SFX)   
  699.    
  700. end
  701.    
  702. end
  703.  
  704. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  705.  
  706.  
  707. local Part = Instance.new("Part", Parent)
  708. Part.Name = Name
  709. Part.BrickColor = BrickColor.new(Color)
  710. Part.Size = Size
  711. Part.Material = Material
  712. Part.Transparency = Transparency
  713. Part.CanCollide = false
  714. NoOutlines(Part)
  715.  
  716. local Mesh = Instance.new("SpecialMesh", Part)
  717. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
  718. Mesh.Scale = Scale
  719.  
  720. return Mesh and Part
  721.  
  722. end
  723.  
  724. CircleEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  725.    
  726. local Part = Instance.new("Part", Parent)
  727. Part.Transparency = Transparency
  728. Part.Name = "CircleEffect"
  729. Part.Size = Vector3.new()
  730. Part.Anchored = true
  731. Part.CanCollide = false
  732. Part.Position = Position
  733. Part.BrickColor = BrickColor.new(Brickcolor)
  734. Part.Material = Material
  735. NoOutlines(Part)
  736.  
  737. local Mesh = Instance.new("SpecialMesh", Part)
  738. Mesh.MeshType = "Sphere"
  739. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  740.  
  741. Services.Debris:AddItem(Part, Time)
  742.  
  743.  
  744. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  745.  
  746.  
  747. end
  748.  
  749. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  750.    
  751. local Part = Instance.new("Part", Parent)
  752. Part.Transparency = Transparency
  753. Part.Name = "BlockEffect"
  754. Part.Size = Vector3.new()
  755. Part.Anchored = true
  756. Part.Position = Position
  757. Part.CanCollide = false
  758. Part.BrickColor = BrickColor.new(Brickcolor)
  759. Part.Material = Material
  760. NoOutlines(Part)
  761.  
  762. local Mesh = Instance.new("BlockMesh", Part)
  763. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  764.  
  765. Services.Debris:AddItem(Part, Time)
  766.  
  767. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  768.  
  769.  
  770. end
  771.  
  772. --[[ Damage function ]]--
  773.  
  774.  
  775. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  776.    
  777. local HitHumanoid = Hit.Parent.Humanoid
  778.  
  779.  
  780. local Damage = math.random(Min, Max)
  781.  
  782.  
  783. coroutine.resume(coroutine.create(function()
  784. HitHumanoid:TakeDamage(Damage)
  785. end))
  786.    
  787. if Type == "Shrink" then
  788. MakeSFX(Hit.Parent.Torso, 209527235, 1, 1) 
  789. for i,v in pairs(Hit.Parent:children()) do
  790. if v:IsA("Part") then
  791. coroutine.resume(coroutine.create(function()       
  792. for i = 1,100 do
  793. wait() 
  794. v.Size = v.Size - Vector3.new(0.05,0.05,0.05)
  795. v.Transparency = v.Transparency + 0.05
  796.    
  797. end    
  798. end))
  799. end
  800. end
  801.    
  802. end
  803.  
  804.    
  805.    
  806.    
  807.    
  808.    
  809. if Type == "Normal" then
  810.    
  811. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  812. Services.Debris:AddItem(Push, 0)   
  813. DamageLabel(Hit.Parent, Damage, Hit)
  814.  
  815. elseif Type == "Ranged" then
  816. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  817. Services.Debris:AddItem(Push, 0)   
  818. DamageLabel(Hit.Parent, Damage, Hit)
  819.  
  820. elseif Type == "Impale" then
  821.  
  822. local Spike = CreateSpike(Services.Workspace, "D e a t h", "Institutional white", Vector3.new(), "SmoothPlastic", 0, Vector3.new(1,20,1))  
  823. Spike.Anchored = true
  824. Spike.Rotation = Vector3.new(math.random(-50,50), 0 , math.random(-50,50))
  825. Spike.Position = Hit.Parent.Torso.Position
  826.  
  827.  
  828. Services.Debris:AddItem(Spike, 30)
  829.  
  830. Hit.Parent:BreakJoints()
  831. Hit.Parent.Torso.Position = Spike.Position + Vector3.new(0,5,0)
  832. Hit.Parent.Torso.Anchored = true
  833.    
  834. MakeSFX(Spike, 306247724, 1,1) 
  835. MakeSFX(Hit.Parent.Torso, 209527175, 10,1)
  836. elseif Type == "Knockdown" then
  837.    
  838.        
  839. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  840. DamageLabel(Hit.Parent, Damage, Hit)
  841. Services.Debris:AddItem(Push, 0.3)
  842.  
  843. coroutine.resume(coroutine.create(function()
  844.    
  845. HitHumanoid.PlatformStand = true
  846. wait(1)
  847. HitHumanoid.PlatformStand = false  
  848.    
  849.    
  850. end))  
  851. end
  852.  
  853. if HitSFX == "Penetration" then
  854.    
  855. MakeSFX(Hit, 199149269, 1 , 1)
  856.  
  857. elseif HitSFX == "Punch" then
  858.    
  859. MakeSFX(Hit, 278062209, 1 , 1)
  860.    
  861.    
  862.    
  863.    
  864. end
  865. end
  866.  
  867. function DamageLabel(HitCharacter, DamageDealt, Hit)
  868.    
  869. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  870. DamageShowingPart.Position = HitCharacter.Head.Position
  871.  
  872. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  873. DamageGui.Name = "Damage"
  874. DamageGui.AlwaysOnTop = true
  875. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  876.  
  877. local DamageNumber = Instance.new("TextLabel", DamageGui)
  878. DamageNumber.Size = UDim2.new(1,0,1,0)
  879. if Hit.Parent:FindFirstChild("Head") then
  880. DamageNumber.TextStrokeColor3 = Hit.Parent.Head.BrickColor.Color
  881. DamageNumber.TextColor3 = Hit.BrickColor.Color
  882. end
  883. DamageNumber.TextStrokeTransparency = 0
  884. DamageNumber.BackgroundTransparency = 1
  885. DamageNumber.Font = "SourceSansBold"
  886. DamageNumber.TextScaled = true
  887. DamageNumber.Text = DamageDealt
  888.    
  889. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  890. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  891. BodyVelocity.Velocity = Vector3.new(0,2,0) 
  892.    
  893. Services.Debris:AddItem(DamageShowingPart, 3)
  894.    
  895.    
  896. end
  897.  
  898. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  899. for _,WorkspaceChildren in pairs(workspace:children()) do
  900.    
  901. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  902.  
  903. if HitHumanoid ~= nil then
  904. local Hit = WorkspaceChildren:findFirstChild("Torso")
  905.  
  906. if Hit ~= nil then
  907.    
  908. local Target = Hit.Position - Part.Position
  909.  
  910. local Magnitude = Target.magnitude
  911.  
  912. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  913.    
  914. local HitBlock = Hit.Parent:FindFirstChild("Block")
  915.    
  916. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  917.  
  918. local HitBlock2 = Hit.Parent.Block.BlockDurability 
  919.    
  920. if HitBlock2.Value > 15 then
  921.    
  922. local HitN = math.random(1,5)
  923.    
  924. HitBlock2.Value = HitBlock2.Value - 15 
  925.    
  926.    
  927. if HitN == 1 then
  928. MakeSFX(Hit ,199148971, 0.5, 1)
  929. end
  930.  
  931. if HitN == 2 then
  932. MakeSFX(Hit ,199149025, 0.5, 1)
  933. end
  934.  
  935. if HitN == 3 then
  936. MakeSFX(Hit ,199149072, 0.5, 1)
  937. end
  938.  
  939. if HitN == 4 then
  940. MakeSFX(Hit ,199149109, 0.5, 1)
  941. end
  942.  
  943. if HitN == 5 then
  944. MakeSFX(Hit ,199149119, 0.5, 1)
  945. end
  946. return
  947. end
  948. end
  949.  
  950. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  951.  
  952.    
  953.  
  954. end
  955. end
  956. end
  957. end
  958. end
  959.  
  960.  
  961.  
  962. local Cloak = Instance.new("Part", Character)
  963. Cloak.Name = "Cloak"
  964. Cloak.CanCollide = false
  965. Cloak.BrickColor = BrickColor.new("Institutional white")
  966.  
  967.  
  968.  
  969.  
  970. local CloakMesh = Instance.new("SpecialMesh", Cloak)
  971. CloakMesh.MeshId = "http://www.roblox.com/asset?id=87249889"
  972. CloakMesh.TextureId = "http://www.roblox.com/asset?id=134518907"
  973.  
  974. local CloakWeld = CreateWeld(Cloak, CFrame.new(0,0,0) * CFrame.Angles(0,0,0), Head , Cloak, "ArkusToCharacter")
  975.  
  976. for i,v in pairs(Character:children()) do
  977. if v:IsA("Accessory") then
  978.     v:Remove()
  979. elseif v:IsA("Shirt") then
  980.     v:Remove()
  981. elseif v:IsA("Pants") then
  982.     v:Remove() 
  983. elseif v:IsA("BodyColors") then
  984.  
  985. Head.BrickColor =BrickColor.new("Institutional white")
  986. Torso.BrickColor = BrickColor.new("Institutional white")
  987. Right_Arm.BrickColor = BrickColor.new("Institutional white")
  988. Right_Leg.BrickColor = BrickColor.new("Institutional white")
  989. Left_Arm.BrickColor = BrickColor.new("Institutional white")
  990. Left_Leg.BrickColor = BrickColor.new("Institutional white")
  991.  
  992. v.HeadColor = BrickColor.new("Institutional white")
  993. v.TorsoColor = BrickColor.new("Institutional white")
  994. v.RightArmColor = BrickColor.new("Institutional white")
  995. v.LeftArmColor = BrickColor.new("Institutional white")
  996. v.RightLegColor = BrickColor.new("Institutional white")
  997. v.LeftLegColor = BrickColor.new("Institutional white")
  998.    
  999. end
  1000. end
  1001.  
  1002.  
  1003.  
  1004. --[[ CLerp Declarations ]]--
  1005.  
  1006. function clerp(a,b,t)
  1007.     local qa = {QuaternionFromCFrame(a)}
  1008.     local qb = {QuaternionFromCFrame(b)}
  1009.     local ax, ay, az = a.x, a.y, a.z
  1010.     local bx, by, bz = b.x, b.y, b.z
  1011.     local _t = 1-t
  1012.     return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1013. end
  1014.  
  1015. function QuaternionFromCFrame(cf) -- dis one
  1016.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1017.     local trace = m00 + m11 + m22
  1018.     if trace > 0 then
  1019.         local s = math.sqrt(1 + trace)
  1020.         local recip = 0.5/s
  1021.         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1022.     else
  1023.         local i = 0
  1024.         if m11 > m00 then
  1025.             i = 1
  1026.         end
  1027.         if m22 > (i == 0 and m00 or m11) then
  1028.             i = 2
  1029.         end
  1030.         if i == 0 then
  1031.             local s = math.sqrt(m00-m11-m22+1)
  1032.             local recip = 0.5/s
  1033.             return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1034.         elseif i == 1 then
  1035.             local s = math.sqrt(m11-m22-m00+1)
  1036.             local recip = 0.5/s
  1037.             return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1038.         elseif i == 2 then
  1039.             local s = math.sqrt(m22-m00-m11+1)
  1040.             local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1041.         end
  1042.     end
  1043. end
  1044.  
  1045. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1046.     local xs, ys, zs = x + x, y + y, z + z
  1047.     local wx, wy, wz = w*xs, w*ys, w*zs
  1048.     local xx = x*xs
  1049.     local xy = x*ys
  1050.     local xz = x*zs
  1051.     local yy = y*ys
  1052.     local yz = y*zs
  1053.     local zz = z*zs
  1054.     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))
  1055. end
  1056.  
  1057. function QuaternionSlerp(a, b, t)
  1058.     local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1059.     local startInterp, finishInterp;
  1060.     if cosTheta >= 0.0001 then
  1061.         if (1 - cosTheta) > 0.0001 then
  1062.             local theta = math.acos(cosTheta)
  1063.             local invSinTheta = 1/math.sin(theta)
  1064.             startInterp = math.sin((1-t)*theta)*invSinTheta
  1065.             finishInterp = math.sin(t*theta)*invSinTheta  
  1066.         else
  1067.             startInterp = 1-t
  1068.             finishInterp = t
  1069.         end
  1070.     else
  1071.         if (1+cosTheta) > 0.0001 then
  1072.             local theta = math.acos(-cosTheta)
  1073.             local invSinTheta = 1/math.sin(theta)
  1074.             startInterp = math.sin((t-1)*theta)*invSinTheta
  1075.             finishInterp = math.sin(t*theta)*invSinTheta
  1076.         else
  1077.             startInterp = t-1
  1078.             finishInterp = t
  1079.         end
  1080.     end
  1081.     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
  1082. end
  1083.  
  1084. function RayCast(Pos, Dir, Max, Ignore)
  1085.     return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1086. end
  1087.  
  1088.  
  1089. function Bars()
  1090.    
  1091. --[[ Mana Bar ]]-- 
  1092. if Destruction ~= MaxDestruction then
  1093.    
  1094. Destruction = Destruction + 1
  1095.  
  1096. end
  1097.  
  1098. if Destruction >= MaxDestruction then
  1099.    
  1100. Destruction = Destruction
  1101.    
  1102. end
  1103.  
  1104.  
  1105. ManaBarText.Text = "<{[ Retribution ]}> <|"..Destruction.."|> <{[ Retribution ]}>"
  1106.  
  1107. ManaBarP2.Size = UDim2.new(Destruction / Destruction,0,0,20)   
  1108.    
  1109. end
  1110. local EyeReference = CreatePart(Character, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1111. local EyeReferenceWeld = CreateWeld(EyeReference,  CFrame.new(0.15,-0.1,-0.7), EyeReference, Head)
  1112.  
  1113. coroutine.resume(coroutine.create(function()
  1114.    
  1115. while wait(3) do
  1116.  
  1117.    
  1118. CircleEffect(EyeReference.Position, Services.Workspace,  1, 1, 1, 1, 1, 1, 0.5, "Bright red", "Neon", 0.5)
  1119.    
  1120.    
  1121. end
  1122.    
  1123. end))
  1124. --[[ Attacks ]]--
  1125.  
  1126. function Attack1()
  1127. Attacking = true
  1128. MakeSFX(EyeReference, 341336274, 1,1)
  1129. wait(0.3)
  1130. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1131. local ReferenceWeld = CreateWeld(Reference,  CFrame.new(0,0.5,-5), Reference, Root)
  1132.  
  1133. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1134. local Reference2Weld = CreateWeld(Reference2,  CFrame.new(0,0.5,-2), Reference2, Root)
  1135.  
  1136.  
  1137. for i = 1,10 do
  1138.  
  1139. wait()
  1140. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1.6),0.5)
  1141. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1.3),0.2)
  1142. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1143. Left_Shoulder.C0 = clerp(Left_Shoulder.C0,  CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0,0,-1.6), 0.4)
  1144. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0) * CFrame.Angles(0,1.6,0),0.3)
  1145. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(0,-1.6,0),0.3)
  1146.  
  1147. end
  1148.  
  1149. CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1150. wait(0.5)
  1151. CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1152. wait(0.5)
  1153. CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1154. wait(0.5)
  1155. CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Lime green", "Neon", 0.5)
  1156. wait(0.5)
  1157. MakeSFX(Reference, 306247724, 1,1) 
  1158. CircleEffect(Reference.Position, Services.Workspace,  1, 1, 1, 5, 5, 5, 5, "Lime green", "Neon", 0.5)
  1159. ValidateDamage(Reference, 10 ,10 , 14, "Shrink", "Penetration", 5)
  1160. Attacking = false
  1161. end
  1162.  
  1163. function Attack2()
  1164.    
  1165. Attacking = true
  1166. Humanoid.WalkSpeed = 0
  1167. Humanoid.JumpPower = 0
  1168.  
  1169.  
  1170. for i = 1,25 do
  1171. wait()
  1172.  
  1173. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
  1174. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1175. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1, 1, 0) * CFrame.Angles(3.2,0,-0.6), 0.3)
  1176. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
  1177. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  1178. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  1179.    
  1180. end
  1181.  
  1182. MakeSFX(Torso, 142070127, 1, 1)
  1183. ValidateDamage(Torso, 60 ,23, 26, "Knockdown", "Penetration", 15)
  1184. local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1185. if Hit ~= nil then
  1186. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1187. Reference.Anchored = true
  1188. Reference.CFrame = CFrame.new(Position)
  1189.  
  1190. CircleEffect(Reference.Position, Services.Workspace,  1, 1, 1, 5, 5, 5, 5, "Institutional white", "Neon", 0.5)
  1191.  
  1192. game:GetService("Debris"):AddItem(Reference,0.1)
  1193. for i=1,50 do
  1194.    
  1195. local Ground = CreatePart(Services.Workspace, "Ground", Hit.BrickColor.Color, Vector3.new(math.random(1,3), math.random(1,3), math.random(1,3)), Hit.Material, 0, "Block")
  1196. Ground.Anchored = true
  1197. Ground.CanCollide = true
  1198. Ground.CFrame = CFrame.new(Position) * CFrame.new(math.random(-30,30), 0, math.random(-30,30)) * CFrame.Angles(math.random(-50,50),math.random(-50,50), math.random(-50,50))
  1199.  
  1200. game:GetService("Debris"):AddItem(Ground,10)
  1201.  
  1202. end
  1203. end
  1204.    
  1205. for i = 1,25 do
  1206. wait()
  1207.  
  1208. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.5)
  1209. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1210. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  1211. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
  1212. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
  1213. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
  1214.    
  1215. end
  1216.  
  1217. Attacking = false
  1218. Humanoid.WalkSpeed = 16
  1219. Humanoid.JumpPower = 50
  1220.    
  1221.    
  1222.    
  1223. end
  1224.  
  1225.  
  1226. function Attack3()
  1227. Humanoid.WalkSpeed = 0
  1228. Humanoid.JumpPower = 0
  1229. Attacking = true
  1230. wait(1)
  1231. MakeSFX(Torso, 341336274, 1, 1.2)
  1232. CircleEffect(Torso.Position, Services.Workspace,  1, 1, 1, 20, 20, 20, 5, "Institutional white", "Neon", 0.5)
  1233. wait(1)
  1234. MakeSFX(Torso, 341336274, 1, 1.2)
  1235. CircleEffect(Torso.Position, Services.Workspace,  1, 1, 1, 20, 20, 20, 5, "Institutional white", "Neon", 0.5)
  1236. wait(1)
  1237. MakeSFX(Torso, 341336274, 1, 1.2)
  1238. CircleEffect(Torso.Position, Services.Workspace,  1, 1, 1, 20, 20, 20, 5, "Institutional white", "Neon", 0.5)
  1239. ValidateDamage(Torso, 60 ,0, 0, "Impale", "Penetration", 15)
  1240. Humanoid.WalkSpeed = 16
  1241. Humanoid.JumpPower = 50
  1242. Attacking = false
  1243. end
  1244.  
  1245. mouse.KeyDown:connect(function(key)
  1246.     if key == "z" then
  1247.         Attack1()
  1248.  
  1249.     end
  1250. end)
  1251.  
  1252. mouse.KeyDown:connect(function(key)
  1253.     if key == "x" then
  1254.         Attack2()
  1255.  
  1256.     end
  1257. end)
  1258.  
  1259. mouse.KeyDown:connect(function(key)
  1260.     if key == "c" then
  1261.         Attack3()
  1262.  
  1263.     end
  1264. end)
  1265.  
  1266.  
  1267. --[[ CLerp Animations ]]--
  1268. Change1 = 0
  1269. Change2 = 0
  1270. Change3 = 0
  1271. Change4 = 0
  1272.  
  1273. while true do
  1274. wait()
  1275.  
  1276. local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude
  1277. local Velderp = Root.Velocity.y
  1278. HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)   
  1279.  
  1280. Bars()
  1281.  
  1282.  
  1283. if Torvel < 1 and HitFloor ~= nil and Attacking == false then
  1284. Anim = "Idle"
  1285.    
  1286. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1287. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,-0.3,0),0.3)
  1288. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
  1289. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
  1290. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1291. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
  1292.  
  1293. end
  1294.  
  1295.  
  1296. if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
  1297. Anim = "Walking"
  1298.  
  1299. if Invert == false then
  1300. Change1 = Change1 + 0.1
  1301.  
  1302. elseif Invert == true then
  1303.    
  1304. Change1 = Change1 - 0.1
  1305.  
  1306. end
  1307.  
  1308. if Change1 > 0.5 then
  1309.    
  1310. Invert = true
  1311.  
  1312. elseif Change1 < -0.5 then
  1313.  
  1314. Invert  = false
  1315.  
  1316. end
  1317.  
  1318. if Attacking == false then
  1319.  
  1320. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1321. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,-0.3,0),0.3)
  1322. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -Change1) * CFrame.Angles(Change1,0,0), 0.3)
  1323. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, Change1) * CFrame.Angles(-Change1,0,0), 0.3)
  1324. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-Change1 / 4)*CFrame.Angles(Change1,1.6,0),0.2)
  1325. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,Change1 / 4)*CFrame.Angles(-Change1,-1.6,0),0.2)
  1326.  
  1327. end
  1328. end
  1329.  
  1330. if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then
  1331. Anim = "Jump"
  1332.    
  1333. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1334. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
  1335. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.2) * CFrame.Angles(-0.4,0,0.2), 0.3)
  1336. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.2) * CFrame.Angles(-0.4,0,-0.2), 0.3)
  1337. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1338. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1339.  
  1340. end
  1341.  
  1342. if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then
  1343. Anim = "Fall"
  1344.    
  1345. RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
  1346. Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
  1347. Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, -0.2) * CFrame.Angles(0.4,0,0.2), 0.3)
  1348. Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(0.4,0,-0.2), 0.3)
  1349. Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,-0.2)*CFrame.Angles(-0.2,1.6,0),0.2)
  1350. Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0),0.2)
  1351.  
  1352. end
  1353.  
  1354.  
  1355. if #Effects > 0 then
  1356. for E = 1, #Effects do
  1357. if Effects[E]~=nil then
  1358. local Effect = Effects[E]
  1359.  
  1360. if Effect ~= nil then
  1361.    
  1362. local Part = Effect[1]
  1363. local Mode = Effect[2]
  1364. local Time = Effect[3]
  1365. local SizeX = Effect[4]
  1366. local SizeY = Effect[5]
  1367. local SizeZ = Effect[6]
  1368.  
  1369. if Effect[1].Transparency <= 1 then
  1370. if Effect[2] == "Block" then
  1371. Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1372.  
  1373. Mesh = Effect[1]:FindFirstChild("Mesh")
  1374. if Mesh ~= nil then
  1375. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1376. end
  1377.  
  1378. elseif Effect[2] == "Circle" then
  1379.    
  1380. if Effect[1]:FindFirstChild("Mesh") ~= nil then
  1381. Mesh=Effect[1].Mesh
  1382. Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
  1383. end
  1384.  
  1385. Effect[1].Transparency = Effect[1].Transparency + 0.05
  1386.  
  1387. else
  1388.    
  1389. Part.Parent=nil
  1390.  
  1391. table.remove(Effects, E)
  1392.  
  1393. end
  1394. end
  1395. end
  1396. end
  1397. end
  1398. end
  1399. end
Advertisement
Add Comment
Please, Sign In to add comment