Advertisement
Sungmingamerpro13

VotingGui 2 STORY GAME

Aug 21st, 2022
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. local VoteSystem2 = game.ReplicatedStorage.Vote2System
  2.  
  3. Vote2System.TogglePollEvent:FireAllClients(false)
  4.  
  5. wait(5)
  6.  
  7. Vote2System.TogglePollEvent:FireAllClients(true)
  8. -- Timer Here
  9.  
  10. wait(5)
  11.  
  12. Vote2System.TogglePollEvent:FireAllClients(false)
  13.  
  14. if Vote2System.Option1.Value >= Vote2System.Option2.Value then
  15. print("Good Ending!")
  16. elseif Vote2System.Option1.Value < Vote2System.Option2.Value then
  17. print("Bad Ending!")
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement