Scrolling frame bugging out

  1. What do you want to achieve?

i want so my scrolling frame will stay in the same size or position

  1. What is the issue?


its supposed to look like this

  1. What solutions have you tried so far?
    found nothing
local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Bounce, Enum.EasingDirection.InOut, 0, false, 0)

local goal = {
	
	Size = UDim2.fromScale(0.617, -0.63)
}

local TweenCreate = TweenService:Create(scrollingframe, tweenInfo, goal)

PerkAndSkinShopPart.Touched:Connect(function(hit)
	local playerhit = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent)
	if playerhit == player then
		local guiperplayer = playerhit:WaitForChild("PlayerGui"):WaitForChild("SkinsandPerksShopGUI")
		if debounce == false then
			TweenCreate:Play()
			openshop:Play()
			guiperplayer.Enabled = true
			debounce = true
		end
	end
end)

this is the code, normally it was 0.63 not -0.63 but when i use 0.63 it goes like this


so yeah, i want so it goes up, any help is greatly appreciated!

2 Likes

i fixed it, i needed to make the anchorpoint 0, 1

3 Likes