script.Parent.MouseButton1Click:connect(function(clicked)
local plr = game.Players.LocalPlayer
if plr.Job.Value == "None" then
print("Test1")
if script.Parent.Parent.Parent.Parent.Parent.Worker.Value == "None" then
print("Test2")
script.Parent.Parent.Parent.Parent.Parent.Worker.Value = plr.Name
plr.Job.Value = "Baker"
end
end
end)
So anyways, this is supposed to check to make sure the player has no job and if nobody is working there, and is they don't have a job and the place doesn't have a worker, it gives them the job.
The issue is that it can't even get to Print("Test1")
No errors or anything, but the player's Job value is certainly "None"
Any help?

3 comments
Is Job inside a leaderboard, maybe?
It looks correct. Maybe there isn't a "None" team?
Make sure the Job.Value is a StringValue.