Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- local Orbit = false
- local FastBreak = false
- local totdamage = {}
- local lock = false
- local yes = false
- local fastbreakkey = "m"
- local killaurakey = "b"
- local orbitkey = "v"
- local teleportkey = "n"
- local Target = 0
- local myPos = function()
- return Player.Character.HumanoidRootPart.Position
- end
- function send(message,tittle,time)
- if not time then time = 5 end
- game.StarterGui:SetCore("SendNotification", {
- Title = tittle;
- Text = message;
- Duration = time;
- })
- end
- function teleport()
- if Target == 0 then send("Something Go Wrong","Target Not Found",5);return end
- for i=1,5 do
- wait(0.1)
- Player.Character.HumanoidRootPart.CFrame = Target.HumanoidRootPart.CFrame
- end
- end
- game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
- if msg:find("/e settarget") then
- msg=msg:gsub("/e settarget ","")
- Tick=false
- for i,v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name:find(msg) then
- Target=v.Character
- Tick=true
- end
- end
- if Tick then
- send("Target Setted To :"..Target.Name,"Success!",7)
- else
- send("Unable To Find User With : "..msg,"Failed :(",4)
- end
- elseif msg:find("/e viewtarget") then
- if Target == 0 then send("Target Not Found!",":(",4);return end
- send(Target.Name,"Target",4)
- end
- end)
- local Damage=function(part)
- local one = game:GetService("ReplicatedStorage").RelativeTime.Value
- local two = part
- game:GetService("ReplicatedStorage").Events.SwingTool:FireServer(one, two)
- end
- Mouse.KeyDown:connect(function(key)
- if key == killaurakey then
- if yes then yes=false;send("OFF","KillAura",3) else yes=true;send("ON","KillAura",3) end
- while yes do
- wait()
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= Player and v.Character then
- local HRP = v.Character:findFirstChild("HumanoidRootPart")
- if HRP then
- local Distance = (HRP.Position - myPos()).magnitude
- if Distance <= 40 then
- if not lock and Orbit then
- lock=true
- spawn(function()
- repeat
- wait()
- Player.Character.HumanoidRootPart.CFrame = v.Character:findFirstChild("HumanoidRootPart").CFrame + (v.Character:findFirstChild("HumanoidRootPart").CFrame.lookVector*Vector3.new(-7,0,-7))
- wait(0.1)
- Player.Character.HumanoidRootPart.CFrame = v.Character:findFirstChild("HumanoidRootPart").CFrame + (v.Character:findFirstChild("HumanoidRootPart").CFrame.lookVector*Vector3.new(7,0,7))
- wait(0.1)
- Player.Character.HumanoidRootPart.CFrame = v.Character:findFirstChild("HumanoidRootPart").CFrame + (v.Character:findFirstChild("HumanoidRootPart").CFrame.lookVector*Vector3.new(0,20,0))
- until not Orbit or not yes
- lock=false
- end)
- end
- totdamage={}
- for k,p in pairs(v.Character:GetChildren()) do
- table.insert(totdamage,p)
- end
- Damage(totdamage)
- end
- end
- end
- end
- end
- elseif key == orbitkey then
- if Orbit then Orbit=false;lock=false;send("OFF","Orbit",3) else Orbit=true;send("ON","Orbit",3) end
- elseif key == teleportkey then
- teleport()
- elseif key == fastbreakkey then
- if FastBreak then FastBreak=false;send("OFF","FastBreak",3) else FastBreak=true;send("ON","FastBreak",3) end
- end
- end)
- spawn(function()
- game:GetService("RunService").RenderStepped:connect(function()
- if FastBreak then
- wait(0.1)
- local part = game:GetService("Players").LocalPlayer:GetMouse().Target
- local one = game:GetService("ReplicatedStorage").RelativeTime.Value
- local two = {part,part,part,part}
- game:GetService("ReplicatedStorage").Events.SwingTool:FireServer(one, two)
- end
- end)
- end)
- send("Welcome to OnyxHub!","Loaded",4)
Add Comment
Please, Sign In to add comment