Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(4)
- if game.workspace:FindFirstChild("dungeon") then
- game:GetService("RunService").RenderStepped:connect(function()
- game:GetService("ReplicatedStorage").remotes:FindFirstChild('changeStartValue'):FireServer()
- game.Players.LocalPlayer.Character[game.Players.LocalPlayer.weaponEquipped.Value].swing:FireServer()
- if workspace.dungeonProgress.Value=='bossKilled'then
- wait(5)
- game:GetService("TeleportService"):Teleport(2414851778,player)
- end
- for i,v in pairs(workspace.dungeon:GetDescendants())do
- if v.Name == "Sand Peasant"
- or v.Name == "Sand Giant"
- or v.Name == "Frost Minion"
- or v.Name == "Frost Wizard"
- or v.Name == "Ice Minion"
- or v.Name == "Ice Elemental" then
- if v:FindFirstChild("npcWand") then
- v.Humanoid:Destroy()
- v.HumanoidRootPart.Rotation = Vector3.new(0,90,0)
- v.npcWand:destroy()
- end
- if v:FindFirstChild("npcDagger") then
- v.npcDagger:destroy()
- end
- if v:FindFirstChild("LeftUpperArm") then
- v.LeftUpperArm:destroy()
- end
- if v:FindFirstChild("RightUpperArm") then
- v.RightUpperArm:destroy()
- end
- if v:FindFirstChild("LeftLowerArm") then
- v.LeftLowerArm:destroy()
- end
- if v:FindFirstChild("RightLowerArm") then
- v.RightLowerArm:destroy()
- end
- if v:FindFirstChild("LeftHand") then
- v.LeftHand:destroy()
- end
- if v:FindFirstChild("RightHand") then
- v.RightHand:destroy()
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Head.CFrame*CFrame.new(0,0.65,2.85)
- end
- end
- end)
- end
- function start()
- game:GetService("ReplicatedStorage").remotes.loadPlayerCharacter:FireServer()
- wait(0.1)
- game:GetService("ReplicatedStorage").DefaultSoundEvents.AddCharacterLoadedEvent:FireServer()
- wait(0.1)
- game:GetService("ReplicatedStorage").remotes.reloadInvy:InvokeServer()
- wait(0.2)
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Nightmare',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Insane',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Hard',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Medium',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Easy',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Nightmare',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Insane',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Hard',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Medium',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Easy',0,true,false)
- game.ReplicatedStorage.remotes.startDungeon:FireServer()
- end
- start()
Add Comment
Please, Sign In to add comment