Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

FE Game wont let me make a button open a frame??

Asked by 6 years ago

Here's the script

local player = game.Players.LocalPlayer
local cases = script.Parent.Parent.Parent:WaitForChild('Cases')
local shop = script.Parent.Parent.Parent:WaitForChild('Shop')
local inventory = script.Parent.Parent.Parent:WaitForChild('Inventory')
local codes = script.Parent.Parent.Parent:WaitForChild('Codes')

script.Parent.MouseButton1Click:connect(function()
    print('asdasd')
end)

When I go into the game it wont even print "asdasd"

The game is FE Enabled

0
Is this script a SCRIPT or LOCALSCRIPT? RjsMc 48 — 6y
0
localscript User#19328 0 — 6y
0
Are you getting a warning on the :WaitForChild()'s? Are you clicking the button? Gey4Jesus69 2705 — 6y
0
Nope, no warnings at all. User#19328 0 — 6y

Answer this question