I'm trying to make an Ad place so people can go there and promote games, groups , shops , gamespassess, you can also make friends and play tick tac toe! But I can't make the ownership value can you please help me, here is my script.
script.Parent.Touched:Connect(function() game.Players.LocalPlayer.Name = game.Workspace.Post1.Post.Post.PlayerName.Value end)
Just set the value using
game.Workspace.Post1.Post.Post.PlayerName.Value = game.Players.LocalPlayer.Name
I suggest using a regular script because you are trying to change a global value.
script.Parent.Touched:Connect(function(player) game.Workspace.Post1.Post.Post.PlayerName.Value = player.Name end)
The issue seems to be that you are trying to get "LocalPlayer" in a global script. "LocalPlayer" can only be indexed in a local script