Hello,
I've just started to research about module scripts and how they work etc. and now I'm giving it a go myself.
local module = {}
module.ShopText = function(Text, Color, Delay, Value)
end
return module
The problem is that I want to access the PlayerGui inside this function. However, I am unsure in how to write this since I don't think I can say game.Players.LocalPlayer.
Any help on this issue is appreciated.

1 comment
Since it's a script for PlayerGui, you'd use a localscript which now would allow you to use player as a variable.