probably cuz of roblox dev tutorials not being good
they didn't tell me that much of what goes where
and yes it is a gui i am trying to tween
wait(1.2)
local TS = game:GetService("TweenService")
local loading_screen = script.Parent
local loading_type_selected = loading_screen.load_type_selected.Value
local loading_types = loading_screen.logo.loading_types
local brick1_tween_info = TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 1)
local brick1_tween = TS:Create(loading_types.bricks.brick_1, brick1_tween_info, Vector2.new(0.5, 0.95))
function game_loading()
if loading_type_selected == "bricks" then
brick1_tween:Play()
end
end
function check_if_loaded()
if not game:IsLoaded() then
game.Loaded:Wait()
game_loading()
end
if game:IsLoaded() then
end
end
