Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't my cutscene script do anything? I click and it does nothing?

Asked by 4 years ago

Basically, I'm attempting to make a main menu with a cutscene, for my game, and I made this script:

1local event = game.ReplicatedStorage.BoardClicked
2 
3script.Parent.MouseClick:Connect(function(click)
4    event:FireClient(click)
5end)

which activates the remote event, and then I have this local script in StarterGui:

01local tweenservice = game:GetService("TweenService")
02local camera = game.Workspace.Camera
03local loading = script.Parent:WaitForChild("Loading")
04local cutscenetime = 2
05 
06local tweeninginfo = TweenInfo.new(
07    cutscenetime,
08    Enum.EasingStyle.Sine,
09    Enum.EasingDirection.Out,
10    0,
11    false,
12    0
13)
14 
15function tween(part1,part2)
View all 27 lines...

What's wrong with it?

1 answer

Log in to vote
0
Answered by 4 years ago

Crap. I figured it out. I moved the cutsceneparts and forgot to edit one of the code lines.

0
If any mods see this, please close this post. MrOinkerzYT 87 — 4y
Ad

Answer this question