local module = {}
function module.MyFunction(Player)
if Player.leaderstats.Hair.Value == 1 then
warn("Player Has Hair 1")
end
end
return module
So i made this Module script i also have leaderstats Called hair these will be used in my character customzation i need to acces this value via a module script but it is for a local player how do i do this?

5 comments
You need to explain this question in more deail else we will not be able to help
Better?
A little but how is it being called in the script?
the script is inside of the local script the issue is that the module script can acces a localplayer
A module script runs in the same script context as the deive it runs on e.g the server (server scripts) and the player (local scripts). If it is being used by local scripts then it can access LocalPlayer.