local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local PlayerGui = Player.PlayerGui
local Main_PC = PlayerGui:WaitForChild("Main_PC")
local Robux_Shop = Main_PC:WaitForChild("Robux Shop")
local Roblox_ShopFrame = Robux_Shop.Frame
local Left_Buttons = Roblox_ShopFrame["LeftButtons"]
local Passes = Roblox_ShopFrame.Passes
--// Buttons
local Gamepasses = Left_Buttons.GamePasses
--// There are Two other "Gems" Button so couldn't make those
Gamepasses.MouseButton1Down:Connect(function()
Passes.CanvasPositon = Vector2.new(0,300) --I assume Passes is the Scrolling frame
end)
I went the extra mile cause I don’t like having multiple scripts doing the same thing tends to get messy
The other two Gem buttons are just a filler, gonna change the third one later once I have an idea haha
Oh was a typo aswell
I also updated the code
I put this inside a localscript in the gamepass button right? Also you put Roblox_Shop not Robux_Shop
This should work no matter where* you put it within the player.
So where would I put the localscript?
Where ever you want. Can you continue I have to go very soon.
So I can put it inside the button? It doesn’t matter?
Another typo
local Main_PC = PlayerGui:WaitForChild("Main PC")
I fixed that but I am getting again the same error.
It’s the same typos still there Within Main PC is there a Button named Robux Shop? I would retry the script but what I’m doing already is far too generous. You should have enough experience to fix these minor typos. I only planned on giving Example not entire scripts.
Have you tested does it work now?