local script inside the ImageButton to add 1 if a certain image is in it
local Player = game.Players.LocalPlayer
local PlayerStats = Player:WaitForChild('leaderstats'):WaitForChild('Dice Rolls')
if(BuFoRol.Image = [DecalId = 4888104527] then
script.Parent.MouseButton1Click:Connect(function()
PlayerStats.Value = PlayerStats.Value + 1
end)

3 comments
ok so i put your first script on the script i gave and i added a script to script service containing your second script. does'nt work though
sorry i mean server storage for the second script
Whats the error?