#Help me make a Tool shop that opens by pressing E.
1 messages · Page 1 of 1 (latest)
someone in #👷︱for-hire can probably help you 
-- IN A LOCAL SCRIPT
local uis = game:GetService("UserInputService")
local players = game:GetService("Players")
local plr = players.LocalPlayer
local plrGui = plr:WaitForChild("PlayerGui")
local toolShopGui = plrGui:WaitForChild("ToolShopGui")
-- add 1 to the Y value of the position of the tool shop gui
uis.InputBegan:Connect(function(input, gpe)
if input.KeyCode == Enum.KeyCode.E then
for _, item in toolShopGui:GetChildren() do
if item:IsA("Frame") or item:IsA("TextLabel") or item:IsA("ImageLabel") or item:IsA("ImageButton") or item:IsA("TextButton") then
item.Position -= UDim2.fromScale(0, 1)
end
end
end
end)
** You are now Level 5! **
tell me if it works or not!
okay ı try
Sorry to bother you but I don't know how to do it.