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)
lua
script.Parent.ClickDetector.MouseClick:connect(onClicked)
:connect is maybe wrong, change it to :Connect. And what error do you have in the output? If you don't have any error in the output try adding print() after every function to see which works and which don't works. If you have an error in the output try to fix it and it will work.