HowToRoblox

OwnerJoin

Feb 4th, 2020
2,124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. local plrs = game.Players
  2.  
  3. local re = game.ReplicatedStorage:WaitForChild("OnOwnerJoined")
  4.  
  5.  
  6. plrs.PlayerAdded:Connect(function(plr)
  7.    
  8.     if plr.UserId == 84182809 then
  9.        
  10.         re:FireAllClients()
  11.        
  12.     end
  13.    
  14. end)
Add Comment
Please, Sign In to add comment