CaptinLeet

Untitled

Mar 13th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. wait(4)
  2. if game.workspace:FindFirstChild("dungeon") then
  3. game:GetService("RunService").RenderStepped:connect(function()
  4. game:GetService("ReplicatedStorage").remotes:FindFirstChild('changeStartValue'):FireServer()
  5. game.Players.LocalPlayer.Character[game.Players.LocalPlayer.weaponEquipped.Value].swing:FireServer()
  6. if workspace.dungeonProgress.Value=='bossKilled'then
  7. wait(5)
  8. game:GetService("TeleportService"):Teleport(2414851778,player)
  9. end
  10. for i,v in pairs(workspace.dungeon:GetDescendants())do
  11. if v.Name == "Sand Peasant"
  12. or v.Name == "Sand Giant"
  13. or v.Name == "Frost Minion"
  14. or v.Name == "Frost Wizard"
  15. or v.Name == "Ice Minion"
  16. or v.Name == "Ice Elemental" then
  17. if v:FindFirstChild("npcWand") then
  18. v.Humanoid:Destroy()
  19. v.HumanoidRootPart.Rotation = Vector3.new(0,90,0)
  20. v.npcWand:destroy()
  21. end
  22. if v:FindFirstChild("npcDagger") then
  23. v.npcDagger:destroy()
  24. end
  25. if v:FindFirstChild("LeftUpperArm") then
  26. v.LeftUpperArm:destroy()
  27. end
  28. if v:FindFirstChild("RightUpperArm") then
  29. v.RightUpperArm:destroy()
  30. end
  31. if v:FindFirstChild("LeftLowerArm") then
  32. v.LeftLowerArm:destroy()
  33. end
  34. if v:FindFirstChild("RightLowerArm") then
  35. v.RightLowerArm:destroy()
  36. end
  37. if v:FindFirstChild("LeftHand") then
  38. v.LeftHand:destroy()
  39. end
  40. if v:FindFirstChild("RightHand") then
  41. v.RightHand:destroy()
  42. end
  43. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Head.CFrame*CFrame.new(0,0.65,2.85)
  44. end
  45. end
  46. end)
  47. end
  48.  
  49. function start()
  50. game:GetService("ReplicatedStorage").remotes.loadPlayerCharacter:FireServer()
  51. wait(0.1)
  52. game:GetService("ReplicatedStorage").DefaultSoundEvents.AddCharacterLoadedEvent:FireServer()
  53. wait(0.1)
  54. game:GetService("ReplicatedStorage").remotes.reloadInvy:InvokeServer()
  55. wait(0.2)
  56. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Nightmare',0,true,false)
  57. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  58. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Insane',0,true,false)
  59. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  60. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Hard',0,true,false)
  61. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  62. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Medium',0,true,false)
  63. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  64. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Winter Outpost','Easy',0,true,false)
  65. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  66. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Nightmare',0,true,false)
  67. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  68. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Insane',0,true,false)
  69. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  70. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Hard',0,true,false)
  71. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  72. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Medium',0,true,false)
  73. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  74. game:GetService('ReplicatedStorage').remotes.createLobby:InvokeServer('Desert Temple','Easy',0,true,false)
  75. game.ReplicatedStorage.remotes.startDungeon:FireServer()
  76. end
  77. start()
Add Comment
Please, Sign In to add comment