Copy salient and essential scripts and models from Plane Building Roblox

This commit is contained in:
2026-06-10 02:53:40 +01:00
commit 891781366d
76 changed files with 10904 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
local tween_service = game:GetService("TweenService")
local run_service = game:GetService("RunService")
local player = game.Players.LocalPlayer
local playerGui = player.PlayerGui
local loadingGui = script:WaitForChild("LoadingGui")
loadingGui.Parent = playerGui
local offset = 6
if run_service:IsStudio() then offset = 2 end
local prop_name = {
TextLabel = "TextTransparency",
ImageLabel = "ImageTransparency",
Frame = "BackgroundTransparency"
}
wait(1)
for _,item in pairs(loadingGui:GetChildren()) do
local property = prop_name[item.ClassName]
if not item:IsA("Frame") then
local tween = tween_service:Create(item,TweenInfo.new(2,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false,0),{[property] = 0})
tween:Play()
tween.Completed:Once(function()
local tween2 = tween_service:Create(item,TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false,1),{[property] = 1})
tween2:Play()
end)
else
local tween2 = tween_service:Create(item,TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false,offset),{[property] = 1})
tween2:Play()
end
end