#raycast result error "Instance is not a valid member of Players.Jionnis69"

11 messages · Page 1 of 1 (latest)

minor ermine
#

im not sure, you might need to add a debug print. But :FindFirstChildOfClass("Humanoid") is more reliable than :FindFirstChild("Humanoid")

#

bruh

#

1 sec

#

check if ray.instance is nil

#

does that the object the raycast is hitting contain a humanoid?

#

im not sure, the only thing i can think of is that there's something wrong with the object hierarchy

#

Ok, lmk if it works

chrome coralBOT
#

studio** You are now Level 2! **studio

#

studio** You are now Level 9! **studio

minor ermine
#

Thats good, is rayplr the right instance with a humanoid? it might just be roblox studio being bad doe

#

Alr, it might be a glitch with roblox, unless the object hierarchy is wrong