the job script is not working for some reason someone help pls

local player = game.Players:GetPlayers()

local Jobbing = false

function onClicked(playerWhoClicked)if Jobbing == false then Jobbing = true playerWhoClicked.Character.LowerTorso.Anchored = true playerWhoClicked.Character.Head.Title.F.Working.Visible = true wait(5) playerWhoClicked.Character.LowerTorso.Anchored = false **playerWhoClicked.readerstats.Wallet.Value=playerWhoClicked.readerstats.Wallet.Value+95; **playerWhoClicked.Character.Head.Title.F.Working.Visible = true playerWhoClicked.Character.Head.Title.F.HowMuch.Visible = true wait(1) playerWhoClicked.Character.Head.Title.F.HowMuch.Visible = false Jobbing = false end end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

it shows an error on the part thats bold the one that says playerWhoClicked.readerstats.Wallet.Value=playerWhoClicked.readerstats.Wallet.Value+95;

2 comments

0

What is the error? Also you misspelled "leaderstats"

0

the leader board came like