function onClick()
if script.Parent.Parent.Parent.Parent.SoldierShop.ShopPage1.Visible == false and script.Parent.Parent.Parent.Parent.CityUpgrade.Base.Visible == false and script.Parent.Parent.Parent.Parent.PlayerInfo.Frame.Visible== false then
script.Parent.Parent.Parent.Parent.SoldierCustomization.Base.Visible = true
script.Parent.Parent.Parent.Parent.SoldierCustomization.Base:TweenPosition(UDim2.new(.25, 0, .25, 0), "In", "Quad", 3)
end
end
script.Parent.MouseButton1Click:connect(onClick)
All of the necissary values for the script to proceed are false, as they should be. |