Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do I like get rid of Roblox's Load Gui and Put a new One like a decorated one?

Asked by 5 years ago
Edited 5 years ago

So for my game im trying to make it so that when I teleport you can see a screen instead of the roblox default screen using

game.ReplicatedFirst:RemoveDefaultLoadingScreen()

I currently already have a screen that when you press a certain start gui button it makes a GUI come down and a Image inside the gui Frame spin heres the script

local teleportservice = game:GetService("TeleportService")

local place = 2476193997

local player = game.Players.LocalPlayer



Frame = script.Parent.Frame

ImageLabel = Frame:WaitForChild('ImageLabel')

rs = game:GetService("RunService").RenderStepped

Startbutton = script.Parent.Parent.ScreenGui.Part

FrameClone = Frame:Clone()



Startbutton.MouseButton1Click:Connect(function()

Frame:TweenPosition(UDim2.new(0,0,0,0))

wait(1)

ImageLabel:TweenSize(UDim2.new(0.2, 0,0.5, 0,'Out','Linear'))

while true do

ImageLabel.Rotation = ImageLabel.Rotation + 1

rs:wait()

end

end)





Startbutton.MouseButton1Click:Connect(function()



wait(10)

FrameClone.Parent = game.StarterGui

FrameClone.Position = UDim2.new(0,0,0,0)         --Me trying to make it so that when I teleport Roblox Gui does not show

teleportservice:Teleport(place,player)



end)

Like this below in the video how the game when a player presses a teleport gui instead of roblox's boring old Load Gui more decorated Gui comes out

https://cdn.discordapp.com/attachments/415301271872864257/505670598853394442/video.mov

0
I already answered this question in your previous post. iladoga 129 — 5y
0
was asked before User#22788 5 — 5y

Answer this question