Showing up for both text labels, why?

So Should I delete the Claimed Script? Or should I just Change it?

You should make changes, just make it work right, don’t head for perfection, you can always improve things, but firstly, make them function correctly.

1 Like

What do I Change, I did what I thought I had to do, but its the same, sorry if you think I’m not good at this, I’m still learning.

local PlayerCollectedItem = false
local Status = script.Parent.Parent.Status

game.Players.PlayerAdded:Connect(function(player)
	script.Parent.MouseClick:Connect(function(player)
		Status.Value = "Owned By "..player.Name
		PlayerCollectedItem = true
	end)
end)

game.Players.PlayerRemoving:Connect(function()
	Status.Value = nil
	PlayerCollectedItem = false
end)

Make it so when you click on the stand the player becomes the owner of that stand, the StringValue inside the stand model has the Player’s name as the value.

You can make it so there is a value inside of the Player that says which stand they own, else it’s nil.

Which type of value do I use to put inside the player and how do I put it in the player?

You can put an ObjectValue in the player and have the Value be the stand Model. You can do this through a Server Script when a Player joins the game.

Like this?:

local PlayerCollectedItem = false
local Status = script.Parent.Parent.Status

game.Players.PlayerAdded:Connect(function(player)
	script.Parent.MouseClick:Connect(function(player)
		Status.Value = player.Name
		PlayerCollectedItem = true
		
		local ObjectValue = Instance.new("ObjectValue")
		ObjectValue.Name = "ObjectValue"
		ObjectValue.Value = workspace.MainParts.Main1
		ObjectValue.Parent = player
	end)
end)

No like this:

local PlayerCollectedItem = false
local Status = script.Parent.Parent.Status

game.Players.PlayerAdded:Connect(function(player)
	Status.Value = player.Name
	PlayerCollectedItem = true
	
	local ObjectValue = Instance.new("ObjectValue")
	ObjectValue.Name = "ObjectValue"
	ObjectValue.Value = workspace.MainParts.Main1
	ObjectValue.Parent = player
end)