Button brings you to section in Scrolling GUI

So would I keep it as ScreenGui?

You can name it what ever you want

local Players = game:GetService("Players")
local Player  = Players.LocalPlayer
local PlayerGui = Player.PlayerGui
local ScreenGui = PlayerGui.RobuxShopMenu
local Robux_Shop = ScreenGui.Frame
local Roblox_ShopFrame = ScreenGui.Frame
local Left_Buttons = Roblox_ShopFrame["Left Buttons"]

local Passes = Roblox_ShopFrame.Passes

--// Buttons
local Boosts = Left_Buttons.Boosts
--// Canvas Position

Boosts.MouseButton1Down:Connect(function()
	Passes.CanvasPosition = Vector2.new(0, 767.449)
end)

Like that?

(Edit: I actually did it! I made it work!)

O, Good job i didn’t want to give you the entire answer cause then you wouldn’t of grown as a scripter

Yea, I have actually been watching some Scripting videos recently, I am actually trying to learn! If you wouldn’t of given me that example, I wouldn’t of been able to realize of what I would of was supposed to do. Thanks!

1 Like