Error:
1 | 11 : 47 : 03.881 - Workspace.Model.Main.Script: 57 : bad argument # 2 to '?' (Vector 3 expected, got CFrame) |
2 | 11 : 47 : 03.881 - Stack Begin |
3 | 11 : 47 : 03.883 - Script 'Workspace.Model.Main.Script' , Line 57 |
4 | 11 : 47 : 03.883 - Stack End |
Code:
01 | -- Services |
02 | local UserInputService = game:GetService( "UserInputService" ) |
03 | local Players = game:GetService( "Players" ) |
04 |
05 | -- Variables |
06 | local Heli = script.Parent.Parent |
07 | local GyroScope = script.Parent |
08 | local Thrust = GyroScope:FindFirstChild( "BodyThrust" ) |
09 | --local Reaction = GyroScope:FindFirstChild("BodyReaction") |
10 | local Force = GyroScope:FindFirstChild( "BodyForce" ) |
11 |
12 | -- Physics Variables |
13 | local m = GyroScope:GetMass() |
14 | local g = workspace.Gravity |
15 | local cf = CFrame.new() |
Error line:
1 | Line 56 : Force.Force = R + Y |