Help the scripts dont work for the Robbable bank

This one.

image

Change player.Robbing.Value = false to player:WaitForChild("Robbing").Value = false

1 Like

ok btw I am not good at scripting can you please tell me what to do :smiley:

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 !

1 Like

Here. Delete the red part and replace it with the new one.

It didnt work :frowning:

Thank you tho !

Ok I m testing it now ! Thank You !

1 Like

I think, it’s maybe region3 problem. Try printing player inside of table.

for i, v in pairs(Players) do
print(v)
end

2 Likes

Nope it doesnt work I cant rob the bank !

Are you still getting the same error?

No I dont think so here are the errors.

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 :confused:

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 :confused:
I ma just delete the scripts :confused:

Why don’t you try following AlvinBlox’s tutorial. I’ve followed it myself and it worked.

Edit: https://www.youtube.com/watch?v=fTrtxKHqsac

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 :confused:

I am reallly really really confuuuuseed :confused:

It did not work for me I followed his two times but it didnt work.