of     1   

Barmoi
#228279457Friday, December 01, 2017 1:55 AM GMT

Its a rebirth script that si not working: local Coins = game.Players.LocalPlayer.leaderstats.Coins local Rebirth = game.Players.LocalPlayer.leaderstats.Rebirth function onButtonClicked() if Coins.Value <= 999 then Rebirth.Value = Rebirth.Value + 1 Coins.Value = 0 end end script.Parent.MouseButton1Click:Connect(onButtonClicked) ʰᵉʸ ʷʰᵒ ᵐᵃᵈᵉ ᵐʸ ᵏᵉʸᵇᵒᵃʳᵈ ᵗᶦⁿʸ|R$100,033|~Rocks Owner & Lead VC'er|+2.3k posts
LuluPls
#228280064Friday, December 01, 2017 2:13 AM GMT

Script looks fine. Only thing I can think of is you're using a server script instead of a local script. Any errors?
Barmoi
#228280110Friday, December 01, 2017 2:14 AM GMT

It says coin is not a valid member of int value ʰᵉʸ ʷʰᵒ ᵐᵃᵈᵉ ᵐʸ ᵏᵉʸᵇᵒᵃʳᵈ ᵗᶦⁿʸ|R$100,033|~Rocks Owner & Lead VC'er|+2.3k posts
Barmoi
#228280309Friday, December 01, 2017 2:20 AM GMT

wait nvm i fixed that now its just not firing the script ʰᵉʸ ʷʰᵒ ᵐᵃᵈᵉ ᵐʸ ᵏᵉʸᵇᵒᵃʳᵈ ᵗᶦⁿʸ|R$100,033|~Rocks Owner & Lead VC'er|+2.3k posts
LuluPls
#228305139Friday, December 01, 2017 10:50 PM GMT

This is in a TextButton, correct?
LuluPls
#228305287Friday, December 01, 2017 10:54 PM GMT

After you answer the question above, put prints on every scope inside of the function, like so: function onButtonClicked() print("test1") if Coins.Value <= 999 then print("test2") Rebirth.Value = Rebirth.Value + 1 Coins.Value = 0 end end Then tell me what it says in output.

    of     1