Advertisement
Meliodas0_0

Alert On Player Joined

Jan 27th, 2020
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. wait(4)
  2. Beep = Instance.new("Sound")
  3. Beep.Name = ""
  4. Beep.SoundId = "http://www.roblox.com/asset/?id=247824088"
  5. Beep.Parent = game.Lighting
  6. Beep.Volume = 2
  7.  
  8. game.Players.ChildAdded:Connect(function(child)
  9. if #game.Players:GetChildren() < 5 then
  10. Beep:play()
  11. end
  12. end)
  13.  
  14.  
  15.  
  16. --This just lets you know when a player joins your game (if there are less than 5 players to prevent it from spamming you).
  17.  
  18. This is useful if you are autofarming in a close to empty public server or you are the only one in the server and you don't want people to see what you are doing.
  19.  
  20. For example: You are autofarming by yourself in a server and some nosy mf joins you and records what you are doing leading to you getting banned from the game. This will let you know when that person joins so you know that you should turn the autofarm off until he leaves to be safe.
  21.  
  22. Put it into your autoexec folder for the best usage. It might be too loud for you so if it is go to line 6 of the script and lower the number 2 to something else such as 1.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement