Latest Marketplace version: Github
Uwindows helps you to make a windows-like loading screen and customize the BootImage and Loading Circle
This project is still in Alpha. this means its not the final result.
You can add text and more to the loading screen. you can also add custom scripts.
also I noticed that your code has some really bad practice stuff, Here is the improved code:
-- BootLoader
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local GUI = script:WaitForChild("01")
local plr = Players.LocalPlayer
GUI.Parent = plr.PlayerGui
ReplicatedFirst:RemoveDefaultLoadingScreen()
if not game:IsLoaded() then
game.Loaded:Wait()
end
local tween = TweenService:Create(GUI.Frame, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
Position = UDim2.new(0, 0, -1.5, 0)
})
tween:Play()
tween.Completed:Wait()
GUI:Destroy()
-- Loading Screen Icon
local RunService = game:GetService("RunService")
local image = script.Parent
RunService.RenderStepped:Connect(function(dt)
image.Rotation += 12.5
end)
Oopsie, I did a mistake, I will send you the fixed code! Just update it so no one asks why it isn’t appearing
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local GUI = script:WaitForChild("01")
local plr = Players.LocalPlayer
GUI:Clone().Parent = plr.PlayerGui -- the fix
ReplicatedFirst:RemoveDefaultLoadingScreen()
if not game:IsLoaded() then
game.Loaded:Wait()
end
local tween = TweenService:Create(GUI.Frame, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
Position = UDim2.new(0, 0, -1.5, 0)
})
tween:Play()
tween.Completed:Wait()
GUI:Destroy()