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

How do I fix this error?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

It's a ray casting error. It says there is an error on line 25. Here is the error and my script: error: 13:01:32.803 - Unable to cast value to Objects 13:01:32.804 - Script 'Players.Player.Backpack.P-3 Assault Rifle.Shoot', Line 25 13:01:32.804 - Stack End

script (Line 25): local part, position = game.Workspace:FindPartOnRayWithIgnoreList(ray, (player.Character))

0
Code? UserOnly20Characters 890 — 9y
1
You need to include more than just that line for us to be able help you BlueTaslem 18071 — 9y

Answer this question