eriqasz

4.2

Jun 15th, 2022 (edited)
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. if _G.color == "Blue" then
  2. PositionColor = "BluePlayers"
  3. else PositionColor = "RedPlayers"
  4. end
  5. if _G.position == "LS" then
  6. PositionNumber = 4
  7. else if _G.position == "Setter" then
  8. PositionNumber = 3
  9. end
  10. end
  11. if _G.position == "RS" then
  12. PositionNumber = 2
  13. else if _G.position == "LR" then
  14. PositionNumber = 5
  15. end
  16. end
  17. if _G.position == "Libero" then
  18. PositionNumber = 6
  19. else if _G.position == "RR" then
  20. PositionNumber = 1
  21. end
  22. end
  23. local args = {
  24. [1] = "JoinTeam",
  25. [2] = {
  26. ["teamName"] = PositionColor,
  27. ["position"] = PositionNumber
  28. }
  29. }
  30.  
  31. game:GetService("ReplicatedStorage").Remotes.Pickups:FireServer(unpack(args))
Add Comment
Please, Sign In to add comment