Players.RareLoljosh21.Backpack.Tool.Server:4: Attempt to modify a readonly table -error
RaycastParams.FilterDescendantsInstances = {player.Character} the code
Players.RareLoljosh21.Backpack.Tool.Server:4: Attempt to modify a readonly table -error
RaycastParams.FilterDescendantsInstances = {player.Character} the code
RaycastParams is not a variable for your raycastparam, but the name of the Class RaycastParams. The correct way to do this is:
Local Params = RaycastParams.new()
Params.FilterDescendantsInstances = {player.Character}
it no work
'new' is not a valid member of RaycastParams the error
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
i believe you just have to remove the brackets