Nein, there are nil ways to get the local player on the server. You could add Player Parameters to the functions, then insert the player into the parameter when calling the function, you’d need to have the player sent through the parameter though. For example.
function Base.Setup(Player, Health, ui)
local PlayerGui = Player.PlayerGui
--stuff
end