I’m trying to automatically assign the LocalPlayer to a StringValue.
It’s not working and there’s no error coming out of the output.
This is my local script (called UserAssignKey) inside of StarterGui:
local player = game:GetService("Players").LocalPlayer
local Name = player.Name
Destination = script.Parent.TechnicaWhitelist.Administrators.User1
Destination.Value = Name
Help is appreciated, I really need to get this going.
I made something like this before, and it shouldn’t be on a localscript, instead insert a folder in serverstorage and make a remote event, when fired make it change the values and I’m sure it will work
Because if it’s in a local script, it will only change it for the PLAYER not the server itself
The issue has already been fixed by myself.
Purpose is to have a user automatically be whitelisted to use a specific system within the game, in this case the LocalPlayer.