DontBlinkDrWho

Untitled

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