I want to make it so when you press d and hold it it keeps on adding 15 and moving 15 up Idk how to do it, any help?
Mouse.KeyDown:connect(function(key)
key = key:lower()
if key == d' then
Heart.Position = Heart.Position + UDim2.new(0.0, 15, 0.0, 0)
end
end)

1 comment
Since this is GUI code, it's better to use RenderStepped instead of wait()