hiya! i made a tutorial on youtube almost 2 months ago where i show how to make a cutscene with dialogue and animation with well over 10k views. my viewers, and even myself, are coming across an issue where the script starts once the player joins the game, instead of upon touching a part. as the one teaching them, i thought i could figure it out, but i actually can’t seem to find what’s wrong with my script. can someone better than me help me and thousands others out please.
local deb = false
game.Workspace.CutscenePart2.Touched:Connect(function()
if deb == false then
deb = true
wait(.5)
script.Parent.Visible = true
script.Parent.Text = "I'm a helicopter, hahahahahaha"
wait(3.5)
script.Parent.Text = "YO DUDEEEEE!!!!! WHERE'D YOU LEARN TO DANCE LIKE THAT???"
wait(3)
script.Parent.Text = "Well, I watched a ton of videos on the internet."
wait(4)
script.Parent.Text = "DUDE...."
wait(2)
script.Parent.Text = "TEACH ME!!!!!!!!"
wait(2)
script.Parent.Visible = false
wait(1)
deb = false
end
end)
the only part in the game is the cutscene part, so i don’t seem to see what’s wrong with the script. thank you.