Hyra’s Activity Module is used to track in-game activity and sessions.
Go to your Workspace Settings
Go to Activity Tracking and download the module
Open the downloaded place in Roblox Studio
Copy the loader script
Paste the loader script into your ServerScriptService
Publish the place
trackEvent
function provided by the module. This function is tied to the module instance, meaning you’ll need to ensure it operates within the same instance. If your scripts require sharing data, you can use exporters or bindable events for seamless integration.
player
: The player associated with the event (e.g., game.Players.melodrvma
).eventType
: A string representing the type of event (e.g., "Admin Logs"
).eventData
: A table containing event-specific details (e.g., { command = ":kick xyeda" }
).trackEvent
function:
:kick
command.eventData
table includes the specific command executed.