Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --config
- sell = false -- sells everything
- xp = true--if true then it will be slow but u get xp right?
- shitty = false -- for non sypapse or if u really wanna crash it’s ok to go with false if u are going for the true for xp
- killminiboss = false -- kill minibosses so they cant waste ur time(reduces xp gain)
- auto_choose_dungeon = true --edit below if false
- dungeonname = "Ancient Jungle"-- case sensitive full name
- difficulty = "Demon" -- case sensitive full name
- --false or true pls
- -------script dont edit unless u know what you doing
- if game.PlaceId ~= 2960777560 then
- wait(1)
- game:GetService"ReplicatedStorage":WaitForChild"Remotes":WaitForChild"Dungeon":WaitForChild"Begin":FireServer()
- game:GetService"RunService".Heartbeat:Connect(function()
- workspace[game.Players.LocalPlayer.Name]:WaitForChild("Humanoid"):ChangeState(11)
- end)
- for i,v in pairs(workspace[game.Players.LocalPlayer.Name]:children()) do
- if v:IsA"BasePart" then
- v.CanCollide = false
- end
- end
- wait(2)
- spawn(function()
- while true do
- for i,v in pairs(workspace.DungeonFolder:GetDescendants()) do
- if v:FindFirstChild"MonsterTarget" then
- v.MonsterTarget:FireServer()
- end
- end
- wait(2)
- end
- end)
- game.Players.LocalPlayer.PlayerScripts.BodyRotate:Remove()
- repeat
- if shitty == true then
- wait(0.05)
- else
- wait(.01)
- end
- for i,v in pairs(workspace:children()) do
- if v:IsA"BasePart" and v.Name ~= "Terrain" then
- v:Destroy()
- end
- end
- for i, v in next, workspace.DungeonFolder:GetDescendants() do
- if v:FindFirstChild"Humanoid" and v:FindFirstChild"Head" then
- if xp == true then
- workspace.PlayerWeapons:WaitForChild(game.Players.LocalPlayer.Name).Hitbox.Size = Vector3.new(50,50,50)
- if workspace:WaitForChild(game.Players.LocalPlayer.Name).PrimaryPart ~= nil and v.PrimaryPart~=nil then
- workspace[game.Players.LocalPlayer.Name]:SetPrimaryPartCFrame(v:GetPrimaryPartCFrame()*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0,0,10))
- game:GetService("ReplicatedStorage").Remotes.Attack:FireServer()
- game:GetService("ReplicatedStorage").Remotes.Ability:FireServer()
- end
- if killminiboss == true then
- if v.Name == "Obsidian" or v.Name == "Star Guardian" or v.Name == "Reaper" or v.Name == "Blaze" or v.Name == "Greenback" or v.Name == "Frost" or v.Name == "Brute" or v.Name =="Voltage" or v.Name == "Witch" then
- game.Players.LocalPlayer.SimulationRadius = 1e4
- v.Humanoid.Health = 0
- end
- else
- if v.Name == "Obsidian" then
- game.Players.LocalPlayer.SimulationRadius = 1e4
- v.Humanoid.Health = 0
- end
- end
- else
- game.Players.LocalPlayer.SimulationRadius = 1e4
- v.Humanoid.Health = 0
- end
- end
- end
- until workspace.DungeonFolder:FindFirstChild"BossRoom"
- wait(3)
- for i, v in next, workspace.DungeonFolder:GetDescendants() do
- if v:FindFirstChild"Humanoid" then
- game.Players.LocalPlayer.SimulationRadius = 1e4
- v.Humanoid.Health = 0
- end
- end
- for i,v in pairs(workspace.DungeonFolder:GetDescendants()) do
- if v.Name == "Chest" then
- for i, x in pairs(v:children()) do
- if x:IsA"BasePart" then
- x.CanCollide = false
- x.Transparency = 0.9
- x.Position = game.Players.LocalPlayer.Character.Head.Position
- wait(0.035)
- x:Destroy()
- end
- end
- end
- end
- repeat wait(.1) until workspace.DungeonFolder:FindFirstChild"EndRoom"
- game.Players.LocalPlayer.Character.HumanoidRootPart.Position = workspace.DungeonFolder.EndRoom.Finish.Position
- else
- local level = game.Players.LocalPlayer:WaitForChild("leaderstats",15):WaitForChild("Level",15).Value
- local create = game:GetService("ReplicatedStorage"):WaitForChild("Remotes",15):WaitForChild("Squads",15).Create
- if sell == true then
- local count = 1
- repeat
- wait()
- count = count +1
- game:GetService("ReplicatedStorage").Remotes.SellItemFeedback:InvokeServer(game.Players.LocalPlayer.UserId.."-"..count)
- until count >= 99
- end
- local function start()
- game:GetService("ReplicatedStorage").Remotes.Squads.Start:FireServer()
- end
- game:GetService("ReplicatedStorage").Remotes.ClaimPrizes:FireServer()
- if auto_choose_dungeon == true then
- if level <=4 then
- create:FireServer("Ancient Jungle", "Easy")
- start()
- elseif (level >=5 and level <= 9) then
- create:FireServer("Ancient Jungle", "Medium")
- start()
- elseif (level >=10 and level <= 14) then
- create:FireServer("Coral Kingdom", "Easy")
- start()
- elseif (level >=15 and level <= 19) then
- create:FireServer("Coral Kingdom", "Medium")
- start()
- elseif (level >=20 and level <= 24) then
- create:FireServer("Crystal Cave", "Easy")
- start()
- elseif (level >=25 and level <= 29) then
- create:FireServer("Crystal Cave", "Medium")
- start()
- elseif (level >=30 and level <= 34) then
- create:FireServer("Crystal Cave", "Hard")
- start()
- elseif level >=35 then
- create:FireServer("Crystal Cave", "Demon")
- start()
- end
- else
- create:FireServer(dungeonname, difficulty)
- start()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement