#script for multiple use on GUI
1 messages · Page 1 of 1 (latest)
no one is going to make you a code for multiple shop oppening, that's your job. as for your problem, it's probably because you open it on server and close it on client. solution is to open and close on one side of client/server boundary, remote events is one way like fireclient to open the menu
i will 😈
here you go
local uis = game:GetService("UserInputService")
local players = game:GetService("Players")
local player = players.LocalPlayer
local shop = script.Parent
uis.InputBegan:Connect(function(input, gpe)
if gpe then return end
if input.KeyCode == Enum.KeyCode.E then
shop.Visible = not shop.Visible
end
end)
PUT THIS UNDER THE SHOP FRAME AS A LOCAL SCRIPT
this is a code for multiple shop oppening of them all
thanks i will test it
wym
wym wym
wym