Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you make GUIs overlay the ROBLOX backpack/menu?

So I've quickly made a transition script with makes an effect on teleportation no biggy but it looks weird when the backpack & menu are still open out how do I cover it? heres the code btw

local par = script.Parent
local frame = par:WaitForChild('Frame')

wait(.5)
frame:TweenSize(UDim2.new(1, 0, 1, 0), 'Out', 'Sine', .5)
wait(1)
frame:TweenSize(UDim2.new(1, 0, 0, 0), 'Out', 'Sine', .5)
wait(.6)
par:Destroy(':)')

6 comments

0

U simply cant.

0

You can, however, disable parts of the Built-in interface. Read about it here: http://wiki.roblox.com/index.php?title=Disabling_parts_of_the_game_interface

0

alright thanks for this btw does this disable effect everyone? or just the player?

0

Just the player that you call it from.

0

alright thanks ^_^

0

you can try to change the ZIndex to 10 on all of your gui parts but i doubt it :/

1 answer

✓ Accepted answer

You can make the backpack invisible for the amount of time your transition script is running.

game.CoreGui.RobloxGui.Backpack.Visible = false
wait(2) -- the amount of time its transitioning, not necessarily 2.
game.CoreGui.RobloxGui.Backpack.Visible = true

Heck, you could disable the entire UI for the time you need.

game.CoreGui.RobloxGui.Visible = false
wait(2) -- the amount of time its transitioning, not necessarily 2.
game.CoreGui.RobloxGui.Visible = true

As long as this is run from a local script, it shouldn't affect other players.

This discussion is preserved as it was. New answers, comments, and votes are closed.