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

4 comments

0

Is this script a SCRIPT or LOCALSCRIPT?

0

localscript

0

Are you getting a warning on the :WaitForChild()'s? Are you clicking the button?

0

Nope, no warnings at all.