--raycasting
local geassRayParams = RaycastParams.new()
geassRayParams.FilterDescendantsInstances = {plr.Character}
geassRayParams.FilterType = Enum.RaycastFilterType.Blacklist
local geassRay = workspace:Raycast(plr.Character.HumanoidRootPart.Position, plr.Character.HumanoidRootPart.Position + Vector3.new(0, 0, 100),geassRayParams
Inside a remote event in a server script in server script service. Plr is just the player parameter from the remote event.
Essentially, what I want to do is just shoot forwards from the humanoidrootpart until it hits something, then check what that something is. But I can’t seem to figure out the proper vector garbage to make it shoot straight out of your chest. Help?