Advertisement
Sungmingamerpro13

Endings Teleport

Jan 1st, 2023
1,280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.46 KB | None | 0 0
  1. function Good_Ending(Ending1)
  2.     EndEvent:FireAllClients(Ending1)
  3.     for _, player in pairs(game.Players:GetPlayers()) do
  4.         spawn(function()
  5.             player.Wins.Value = player.Wins.Value + 1
  6.         end)
  7.     end
  8. end
  9.  
  10. function Bad_Ending(Ending2)
  11.     EndEvent:FireAllClients(Ending2)
  12.     for _, player in pairs(game.Players:GetPlayers()) do
  13.         spawn(function()
  14.             player.Wins.Value = player.Wins.Value + 1
  15.         end)
  16.     end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement