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

Door won't play it's animation when activated?

Asked by 3 years ago

I am working on a door that plays an opening animation when you scan your finger print with a proximity prompt. The door animation won't play but there is nothing in the output. This is a normal script inside the door model. Please help, thanks!

01local DoorModel = script.Parent.Door
02local FingerScan = script.Parent.FingerScanner.Scan.ProximityPrompt
03local activated = false
04local TweenService = game:GetService("TweenService")
05 
06local tweeninfo = TweenInfo.new(   
07    DoorModel.Speed.Value,
08    Enum.EasingStyle.Quart,
09    Enum.EasingDirection.Out,
10    0,
11    true,
12    0  
13)
14 
15local function open(OtherPart)
View all 41 lines...

Answer this question