Advertisement
_Thanh_Thy_Cute_

East Brickton TARGET JOB SNIPER

Aug 18th, 2021
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. local ReplicatedStorage = game:GetService("ReplicatedStorage");
  2. local ApplyEvent = ReplicatedStorage.Events.JobService
  3. local Jobs = require(ReplicatedStorage.Modules.Jobs)
  4. local Players = game:GetService("Players")
  5. local Player = Players.LocalPlayer
  6. local Chat = Player.PlayerGui.Chat.Frame.ChatChannelParentFrame["Frame_MessageLogDisplay"].Scroller
  7.  
  8. --[[
  9. CHANGE ME HERE, HERE ARE THE LIST OF JOBS
  10. Bouncer
  11. ClubDJ
  12. FastFood
  13. BoxingCoach
  14. Barber
  15. PawnGuy
  16. HighPriest
  17. LitFits
  18. LaFancy
  19. --]]
  20. local jobWanted = "LitFits"
  21.  
  22. local gotJob = false
  23. Chat.ChildAdded:Connect(function (child)
  24. if child:IsA("Frame") and child:FindFirstChild("TextLabel") then
  25. if child:FindFirstChild("TextLabel").Text == "You already have a job!" then
  26. gotJob = true
  27. end
  28. end
  29. end)
  30.  
  31. while not gotJob do
  32. task.wait()
  33. ApplyEvent:FireServer("Apply", Jobs.Occupations[jobWanted])
  34.  
  35. if gotJob then
  36. break
  37. end
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement