hi, so i'm trying to make clues around a map, and when you click on an object, it adds a clue to a gui, and everytime it does so, it has the same position values as the last one while moving .06 pixels downwards. However, this isn't working for me. Is there anything I'm missing here?
local cluename = script.TextButton
local cluetext = cluename.Value.Value
local clueadd = cluename:Clone()
local clueposition = cluename.Position.Y
local yvalue = game.ReplicatedStorage.yvalue.Value
local nextclueposition = UDim.new(yvalue,.02)
local clueposition=nextclueposition
script.Parent.MouseClick:connect(function(player)
clueadd.Parent=(player).PlayerGui.ScreenGui.Frame.TruthBulletz.ScrollingFrame
clueposition=nextclueposition
yvalue=yvalue+.06
end)
