Advertisement
Sungmingamerpro13

Endings (MainScript)

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