local function click(player) if player.PlayerGui.Teleport.Shop.Visible == true then print("Already clicked") else player.PlayerGui.Teleport.Shop.Visible = true player.Character.Humanoid.WalkSpeed = 0 end end script.Parent.ClickDetector.MouseClick:connect(click)
Anyways this works in test mode but not in play mode, it worked a couple days ago in play mode though.
What the script is suppose to do is make it so when they click the shop owner, it will freeze them and open the shop.