What do i do with raycast result

i dont understand, it doesnt give me a table, it gives me a string? the strign ahs all the data in it but i dont want to make a whole script to convert this into a table

image

How do i get a table out of a raycast result

This is just how ROBLOX formats the result in the console. It is in fact an instance of the RaycastResult class, displayed as a string.
You will be able to access the attributes of it as expected:

result.Instance

will give you the object you hit, for example.

2 Likes