Throw this inside an image label. An intValue named SecondsTensPlaceHitValue is a child of the lmagelabel. The
This script does not work in play mode at all , but in studio it does, which is my problem.
local movenumber2 = script.Parent
local Hit3 = script.Parent.Parent.Parent.SecondsOnesPlace.HundredThousandsPlaceImage.SecondsOnesPlaceHitValue
local Hit4 = script.Parent.SecondsTensPlaceHitValue
Hit3.Changed:connect(function()
if Hit3.Value == 1 then
movenumber2.Position = UDim2.new(0,-16,0,0)
end
end)
Hit3.Changed:connect(function()
if Hit3.Value == 2 then
movenumber2.Position = UDim2.new(0,-33,0,0)
end
end)
Hit3.Changed:connect(function()
if Hit3.Value == 3 then
movenumber2.Position = UDim2.new(0,-50,0,0)
end
end)
Hit3.Changed:connect(function()
if Hit3.Value == 4 then
movenumber2.Position = UDim2.new(0,-66,0,0)
end
end)
Hit3.Changed:connect(function()
if Hit3.Value == 5 then
movenumber2.Position = UDim2.new(0,-82,0,0)
end
end)
Hit3.Changed:connect(function()
if Hit3.Value == 6 then
movenumber2.Position = UDim2.new(0,0,0,0)
Hit4.Value = Hit4.Value + 1
end
end)
