Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local radius = 2
- local arePlayersAround = commands.exec( "testfor @a[r=" .. radius .. "]")
- if arePlayersAround then
- print( "There is one or more players around me." )
- else
- print( "There are no players around me." )
- end
Add Comment
Please, Sign In to add comment