Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --if ur not using orbs of desctruction, change ok1 to 20 and degree to -1.6
- --if ur using a long distance spell then change degree to -1.6
- --if ur using a short distance spell then change ok1 to 20 and degree to -1.6
- --if ur so strong and ur confident that u will kill the mobs before they hit u then change autostartend to false and autostartbegin to true
- _G.Key = "Nigg"
- _G.Map = "Orbital Outpost"
- _G.Mode = "Nightmare"
- _G.Hardcore = true
- _G.Private = true
- _G.WaveDefense = false
- _G.WAIT = 2 --the time to wait before the autofarm starts u might need to change to longer if ur gonna put in autoexe
- local noclip = false
- local ok = 0
- local ok1 = 40
- local ok2 = 0
- local degree = 3.1
- local autostartend = true
- local autostartbegin = false
- local death = false
- wait(_G.WAIT)
- --Function
- --Function
- local function EnemyTele(instance)
- for i,v in pairs(instance:GetChildren()) do
- lowername = string.lower(v.Name)
- if string.find(lowername, "enemyfolder") then
- for i,x in pairs(v:GetChildren()) do
- if x:FindFirstChild("HumanoidRootPart") then
- if x.Name == "THEBESTASIAN" then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = x.HumanoidRootPart.CFrame * CFrame.new(0, 21, 21)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0, 0, 0)
- elseif x.Name ~= "THEBESTASIAN" then
- x.HumanoidRootPart.Anchored = true
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = x.HumanoidRootPart.CFrame * CFrame.new(ok, ok1, ok2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(degree, 0, 0)
- if x.Name == "Lord Varosh" and autostartend == true then
- game.ReplicatedStorage.remotes.changeStartValue:FireServer()
- ok = 0
- ok2 = 0
- end
- if x.Name == "Tesla Master" then
- ok = 0
- ok2 = 0
- end
- end
- end
- end
- end
- EnemyTele(v)
- end
- end
- local function touching()
- game.Players.LocalPlayer.Character.LeftFoot.Touched:Connect(function(hit)
- if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
- ok = math.random(-17,17)
- ok2 = math.random(-17,17)
- end
- end)
- game.Players.LocalPlayer.Character.RightFoot.Touched:Connect(function(hit)
- if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
- ok = math.random(-17,17)
- ok2 = math.random(-17,17)
- end
- end)
- end
- --Other
- local SugDezNuts = {"Nigg", "wowow"}
- for i, key in pairs(SugDezNuts) do
- if key == _G.Key then
- if game.PlaceId == 2414851778 then
- local A_1 = _G.Map
- local A_2 = _G.Mode
- local A_3 = 0
- local A_4 = _G.Hardcore
- local A_5 = _G.Private
- local A_6 = _G.WaveDefense
- local Event = game:GetService("ReplicatedStorage").remotes.createLobby
- game.ReplicatedStorage.remotes.loadPlayerCharacter:FireServer()
- wait(1.5)
- Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- elseif game.PlaceId ~= 2414851778 then
- if autostartbegin == true then
- game.ReplicatedStorage.remotes.changeStartValue:FireServer()
- end
- game.Players.LocalPlayer.Character.LeftFoot.Touched:Connect(function(hit)
- if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
- ok = math.random(-17,17)
- ok2 = math.random(-17,17)
- end
- end)
- game.Players.LocalPlayer.Character.RightFoot.Touched:Connect(function(hit)
- if hit.Name == "hitBox" or hit.Name == "precast" or hit.Name == "PrimaryPart" then
- ok = math.random(-17,17)
- ok2 = math.random(-17,17)
- end
- end)
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- while wait(0.1) do
- pcall(function()
- if game.Players.LocalPlayer.Character.Humanoid.Health < 1 and death == false then
- death = true
- wait(1)
- repeat wait() until game.Players.LocalPlayer.Character:WaitForChild("Head")
- touching()
- death = false
- wait()
- end
- if death == false then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
- local spells = game.Players.LocalPlayer.Backpack:GetDescendants()
- EnemyTele(game.Workspace)
- for i, x in pairs(spells) do
- if x:IsA('RemoteEvent') then
- x:FireServer()
- end
- end
- end
- end)
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment