All Questions
Tagged with roblox-studio raycasting
1
question
0
votes
1
answer
259
views
How can I detect if the raycast hits the player in roblox studio?
local PathfindingService = game:GetService("PathfindingService")
local Humanoid = script.Parent.Humanoid
local Root = script.Parent.HumanoidRootPart
local goal = script.Parent.Goal -- ...