So throw this script in a ring or block or something in workspace,
**There are three inValues for the rings in StarterGui, a Ones place intvalue, tens intvalue and Hundreds place Intvalue. ** So if I touch a 10 ring, and if I already touch 1 ring I want the value to go up by 9 and then 0.0001 seconds later automatically add by 1.
I'm doing this because if the Value of an IntValue is 10 then the IntValue is supposed reset to 0 instantly.
function Touch(Item)
if Item.Parent:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(Item.Parent) then
local PlayerGui = game.Players:GetPlayerFromCharacter(Item.Parent).PlayerGui
local g = PlayerGui.ScreenGui1.GetYourRingsReady.ImageLabel.OnesPlace.OnesPlaceImage.RingOnesPlaceValue
if g.Value == 1 then
g.Value = g.Value + 9
wait(0.0001)
g.Value = g.Value + 1
end
end
end
script.Parent.Touched:connect(Touch)

2 comments
Yeah it didn't work for me, sorry man. @farrizbb
any errors?