Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local DungeonName = "Desert Temple" -- or "Winter Outpost"
- local Difficulty = "Nightmare" -- "Easy" or "Medium" or "Hard" or "Insane" or "Nightmare"
- -- Hardcore Mode is automatically enabled!
- if tonumber(game.CreatorId) == 306209 then
- if game.Workspace:FindFirstChild("dungeon") then
- wait(4)
- function FireSwingRemote()
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:FindFirstChild("Weapon") and v:FindFirstChild("swing") then
- return v.swing:FireServer()
- end
- end
- end
- game.ReplicatedStorage.remotes.changeStartValue:FireServer()
- while wait() do
- for a,b in pairs(game.Workspace:GetChildren()) do
- if b:IsA("Folder") then
- for c,d in pairs(b:GetChildren()) do
- if d:FindFirstChild("enemyFolder") then
- for e,f in pairs(d.enemyFolder:GetChildren()) do
- if f:FindFirstChild("HumanoidRootPart") and f:FindFirstChild("Humanoid") then
- if game.Players.LocalPlayer.Backpack:FindFirstChild("Battle Shout") then
- game.Players.LocalPlayer.Backpack["Battle Shout"].abilityEvent:FireServer()
- end
- f.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 3.5
- f.HumanoidRootPart.Anchored = true
- FireSwingRemote()
- game.Players.LocalPlayer.Character.Humanoid.Jump = true
- end
- end
- end
- end
- end
- end
- end
- elseif not game.Workspace:FindFirstChild("dungeon") then
- wait(5)
- game.ReplicatedStorage.remotes.createLobby:InvokeServer(DungeonName, Difficulty, 0, true, false)
- wait()
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- end
- end
Add Comment
Please, Sign In to add comment