#is not a valid member, when it is
17 messages · Page 1 of 1 (latest)
Did u check while the game is running if the player have beamtarget on the tool
"it" being?
I'm talking about WaitForChild
What about the tool fails to work when you use WaitForChild?
Are you experiencing an infinite yield warning when using WaitForChild?
Then the problem lies in your "holding down" code
Try making a BeamTarget variable before your holding down button event
And see if it give you an error
Use WaitForChild
If OP did not receive an "infinite yield" warning, the issue with BeamTarget's presence in the tool has long been resolved
OP's now dealing with a fault further into their script
@river solstice, if that's not the case, send the rest of your code
target = tool:WaitForChild("BeamTarget")
you forgot about this one : raycastParams.FilterDescendantsInstances = {script.Parent.BeamTarget}
** You are now Level 8! **
raycastParams.FilterDescendantsInstances = {script.Parent:WaitForChild("BeamTarget")} try this