I have DataStore which is saved on the Server When i pressed button in StarterGui, there i create a localscript. I get the name of the player. My problem is i dont know how i connect the local player with the Server.
If you want to know how to communicate between Script (Server) and LocalScript (Client).
I recommend you learn about RemoteEvents and RemoteFunctions.
https://developer.roblox.com/en-us/api-reference/class/RemoteEvent https://developer.roblox.com/en-us/api-reference/class/RemoteFunction
If you want to learn more about it. I suggest researching it yourself