For some reason when I try to click on the button I have the script in, It doesn't respond or print any errors. But it works fine in Play Solo and Start Server. Can somebody help? Thanks! c;
repeat wait() until script.Parent.Parent:FindFirstChild("SponsorOpen")
local open = script.Parent.Parent.SponsorOpen
script.Parent.MouseButton1Down:connect(function()
if open.Value then
script.Parent.Parent.SponsorFrame:TweenPosition(UDim2.new(-0.4, 0, 0.125, 0), "Out", "Quart", 0.75, true)
else
script.Parent.Parent.SponsorFrame:TweenPosition(UDim2.new(0.3, 0, 0.125, 0), "Out", "Quart", 0.75, true)
script.Parent.Parent.ShopFrame:TweenPosition(UDim2.new(-0.4, 0, 0.125, 0), "Out", "Quart", 0.75, true)
script.Parent.Parent.ShopOpen.Value = false
end
open.Value = not open.Value
end)
