Advertisement
iiDaCyborgxX

RUMBLE QUEST

Jan 13th, 2021
8,864
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer.Character
  2. local LobbySettnigs =
  3. {
  4. ["Difficulty"] = "Easy",
  5. ["PartyOnly"] = true,
  6. ["Hardcore"] = true,
  7. ["Location"] = "Caves"
  8. }
  9. game:GetService('RunService').Stepped:connect(function()
  10. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  11. end)
  12. while wait() do
  13. if game.workspace:FindFirstChild("Lobby") then
  14. local _1 = "CreateLobby"
  15. local vent = game:GetService("ReplicatedStorage").Modules.Network.RemoteFunction
  16. vent:InvokeServer(_1, LobbySettnigs)
  17. wait(0.3)
  18. local A1 = "StartDungeon"
  19. local Even = game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent
  20. Even:FireServer(A1)
  21. end
  22. for i,v in next, plr:GetChildren() do
  23. if v:IsA("Model") then
  24. for i2, v2 in next, game.workspace.Enemies:GetChildren() do
  25. if v2:FindFirstChild("Humanoid") and v2:FindFirstChild("HumanoidRootPart") then
  26. repeat
  27. plr.HumanoidRootPart.CFrame = v2.HumanoidRootPart.CFrame*CFrame.new(0,-10,0)
  28. local A_1 = "WeaponDamage"
  29. local A_2 = ""..v.Name..""
  30. local A_3 = v2.Humanoid
  31. local Event = game:GetService("ReplicatedStorage").Modules.Network.RemoteEvent
  32. Event:FireServer(A_1, A_2, A_3)
  33. wait()
  34. until v2.Humanoid.Health == 0
  35. end
  36. end
  37. end
  38. end
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement