Im trying to create the following, when you press the button the shop gui will appear. I have been trying plenty of hours with different code
script.Parent.ClickDetector.MouseClick:connect(function(pl)
if pl.PlayerGui.Buyshop.Frame.Visible == false and pl.PlayerGui.colorgui.Frame.Visible == false and pl.PlayerGui.cook.Frame.Visible == false and pl.PlayerGui.Sellshop.Frame.Visible == false and pl.PlayerGui.awardlist.Frame.Visible == false then
pl.PlayerGui.Buyshop.Frame.Visible = true
pl.PlayerGui.Checkopen.Value = true
pl.PlayerGui.swoosh:Play()
repeat wait(.0000000001)
pl.PlayerGui.Buyshop.Frame.Position = pl.PlayerGui.Buyshop.Frame.Position + UDim2.new(0.2,0,0,0)
until pl.PlayerGui.Buyshop.Frame.Position == UDim2.new(0.4, 0,0.18, 0)
pl.Character:findFirstChild("Humanoid").WalkSpeed = 0
end
end)
Thank you, best regard ca40

1 comment
Hey! I tried to play around a little with it brother! Could you please forward me to which i should change and show me?