Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local VoteSystem = game.ReplicatedStorage.VoteSystem
- VoteSystem.TogglePollEvent:FireAllClients(false)
- wait(5)
- VoteSystem.TogglePollEvent:FireAllClients(true)
- -- Timer Here
- wait(5)
- VoteSystem.TogglePollEvent:FireAllClients(false)
- if VoteSystem.Option1.Value >= VoteSystem.Option2.Value then
- print("Good Ending!")
- elseif VoteSystem.Option1.Value < VoteSystem.Option2.Value then
- print("Bad Ending!")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement