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

[not really scripting i guess] import video?

ok so im making an animation on a place and got the cutscene all made and what not, but i realize idk how to implement it to the game i want, i have a place that i want when you join to play the video of the animation im making, is that possible? please let me know!

2 comments

0

Use camera and stuff. There are plugins that do this.

0

Please, don't post stuff like this.

2 answers

Create a function that plays the video, then connect it to the PlayerAdded event.

function Play()
	--stuff
end

game.Players.PlayerAdded:connect(Play)

1 comment

0

I see no reason why this was downvoted. The question is not very clear, but it seems to me that you're trying to make a cutscene play when a player joins. Since you already made the cutscene, I gave you the event to play it when someone enters.

Try using CloneTroopers Cutscene Plugin, it makes the cutscene for you. All you do it adjust the FOV, etc.

local cscript = script:WaitForChild("CutsceneScript")
if script:findFirstChild("SkipCutsceneGuiValue") then
	script.SkipCutsceneGuiValue.Parent = cscript
	script.SkipCutsceneGui.Parent = cscript
end

function onPlayerEntered(player)
	repeat wait () until player.Character
	local new_script = script.CutsceneScript:clone()
	new_script.Parent = player.Character
	new_script.Disabled = false
end

game.Players.PlayerAdded:connect(onPlayerEntered)
onPlayerEntered(game.Players:WaitForChild("Player1")) -- Has to be done since it doesn't work offline for some reason.

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