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!
COMMUNITY QUESTION
[not really scripting i guess] import video?
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.

2 comments
Use camera and stuff. There are plugins that do this.
Please, don't post stuff like this.