This one.
Change player.Robbing.Value = false
to player:WaitForChild("Robbing").Value = false
This one.
Change player.Robbing.Value = false
to player:WaitForChild("Robbing").Value = false
ok btw I am not good at scripting can you please tell me what to do
Try replacing Players[i]
with v
in your bank script and see if this works.
Edit:
for i, v in pairs(Players) do
if v.Robbing.Value == false then
game.ReplicatedStorage.ShowMoneyGui:FireClient(v)
end
vRobbing.Value = true
if v.CashCollected.Value < 5000 then
v.CashCollected.Value = v.CashCollected.Value + 100
end
end
i am testing it now Thabk you tho.
Ok I will try rhis too where do I put it ?
Ohhh I know I will now ok. Thank you !
It didnt work
Thank you tho !
Ok I m testing it now ! Thank You !
I think, it’s maybe region3 problem. Try printing player inside of table.
for i, v in pairs(Players) do
print(v)
end
Nope it doesnt work I cant rob the bank !
Are you still getting the same error?
All I did was that I followed Noobies tutorial on youtube of how to make a robbable bank but it did not work for me
There should be other errors except those.
There are multiples of those but they are the same repetedly.
Well I guess I will leave it like that nothing works
I ma just delete the scripts
Why don’t you try following AlvinBlox’s tutorial. I’ve followed it myself and it worked.
I ma not delete but I dont know what to do about it I followed his tutorial 2 times and Alvin Blox 2 times nothing worked
I am reallly really really confuuuuseed
It did not work for me I followed his two times but it didnt work.