![]() Local Obstruction = RadiusObject:GetObstruction(Player: Player, Blacklist: ) ![]() The distance any player is away from the part. Local PlayerMagnitude = RadiusObject:GetPlayerRadius(Player: Player) ![]() RadiusObject:Initialise() -Enables the events. Log = true, -Enables warning logs (debugging) Obstructions = true, -This enables a system where itll only detect players in the radius when there's no parts blocking or obstructing them. MaximumRadius = 30, -The radius in which events are fired. Part = Part, -The base part you're wanting to look out for. I myself find it quite useful and thought I’d share it with ya’ll.Įxample Usage local Radius = require() This module is to help developers detect when players enter a specific magnitude of a BasePart, detects obstructions and comes with 2 lightweight functions you can use whenever ![]() I’m not too sure if a module like this has been created so I went ahead and made one anyway. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |