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

When I have a Cutscene Camera / Camera Interpolation, can I add a gui in it?

When I have a Cutscene Camera/Camera Interpolation, can I add a gui in it / how do you add a gui when cutscene is triggered?

1 answer

✓ Accepted answer

You could toggle the visibility of the gui when the cutscene is triggered.

--Local Script

local plr = game.Players.LocalPlayer
local plr_gui = plr.PlayerGui --All players have their own folder that holds anything you had in StarterGui, so say you put a gui in StarterGui, it'll appear here when they join.
local ui_element = plr_gui:WaitForChild("put the name of the gui here")

function on_cutscene()
	--cutscene stuff here
	ui_element.Enabled = true --If it's a ScreenGui then use this
	--ui_element["Certain ui element here"].Visible = true --If it's NOT a ScreenGui then use this
end

1 comment

1

Thank you very much!

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