of     1   

robloxandtyler
#224375566Tuesday, August 29, 2017 2:08 AM GMT

function onClicked() print(1) if game.Players.LocalPlayer.HasPlot == nil then print(2) local hasplot = Instance.new("BoolValue") hasplot.Parent = game.Players.LocalPlayer script.Parent.Parent.Parent.Owner.Value = game.Players.LocalPlayer.Name end end script.Parent.ClickDetector.MouseClick:connect(onClicked) its in a localscript, I'm getting no errors. Upon clicking the part, nothing happens.
grim
#224375978Tuesday, August 29, 2017 2:19 AM GMT

try this if game.Players.LocalPlayer.HasPlot.Value == nil then
Atchech
#224376052Tuesday, August 29, 2017 2:21 AM GMT

is that the entire script because, it seems like you havent defined HasPlot before the if statement
robloxandtyler
#224376132Tuesday, August 29, 2017 2:23 AM GMT

I'm checking if the player has an object inside of it called hasplot, and if it dousnt I give it one.

    of     1