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

My Custom Image backround does not show the GUI I want it to be it shows sky instead?

Asked by 5 years ago
Edited 5 years ago

So i've been trying for the last few decades to try put my own Image appear when I press the teleport button Instead of seeing roblox's grey Image which I did fix but now all theres to fix is that my image is not appearing and roblox's sky and my map is appearing The grey Image is an Frame and it is Orange and the things inside the orange frame is the item which spin rotates the leaf or also known as image as seen rotation+1 in the while true loop. So for example if i pressed teleport button it will teeport me but roblox's default screen won't show the Image backround will show the orange frame will show


local RF = game:GetService("ReplicatedFirst") RF:RemoveDefaultLoadingScreen() local teleportservice = game:GetService("TeleportService") local place = 2476193997 local player = game.Players.LocalPlayer Framas = game.StarterGui:WaitForChild("TeleportGui") Framez = Framas.Frame Frame = script.Parent.Frame WaitFrame = script.Parent:WaitForChild('Frame') ImageLabel = Frame:WaitForChild('ImageLabel') rs = game:GetService("RunService").RenderStepped Startbutton = script.Parent.Parent.ScreenGui.Part 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(1) local teleportscreen = game:GetService("TeleportService"):SetTeleportGui(Framas) teleportservice:Teleport(place,player,nil,teleportscreen) end) end)
0
indent ur code User#23365 30 — 5y
0
That will Fix it? User#22788 5 — 5y
0
Can you inform us more about what the grey image is? o_Khoi 4 — 5y
0
Ok User#22788 5 — 5y
View all comments (5 more)
0
What's the asset link for the grey image? dominoplayer6 -15 — 5y
0
The frame is the one showing up when I teleport and inside the frame has the image the imagelabel is a leaf and the asset link is rbxassetid://2515244364 User#22788 5 — 5y
0
the asset probably failed to load greatneil80 2647 — 5y
0
Line 11. You're referring to the startergui. if they already loaded in, the frame wouldn't appear, hence it doesn't show. Lugical 425 — 5y
0
so what should I do??? I tried putting a imageLabel in replciated storage and tried to make it show on the TeleportGui but it didn't work also User#22788 5 — 5y

Answer this question