of     1   

Lord_Oscar
#228385478Sunday, December 03, 2017 4:54 PM GMT

I literally copied this from the wiki, and edited it a little for my parts im using, but it doesnt create anything. No errors. heres the code: -- Make variables for Services local PathfindingService = game:GetService("PathfindingService") -- Variables for the parts representing the start and end of the path local start = game.Workspace.Skeleton.Torso local finish = game.Workspace.Core -- Calculate the path and get the waypoints local path = PathfindingService:FindPathAsync(start.Position, finish.Position) local waypoints = path:GetWaypoints() -- Cycle through all of the waypoints and draw a segment between each for i = 2, #waypoints do -- Get the current and last waypoint in the path local lastWaypoint = waypoints[i - 1] local currentWaypoint = waypoints[i] -- Create a LineHandleAdornment. This adornment will be attached to the starting -- point part, so the CFrame of the adornment has to be calculated relative to -- the starting part. local segment = Instance.new("LineHandleAdornment") local lastPosition = lastWaypoint.Position + Vector3.new(0, 0.5, 0) - start.Position local currentPosition = currentWaypoint.Position + Vector3.new(0, 0.5, 0) - start.Position local toCurrent = currentPosition - lastPosition local distance = toCurrent.Magnitude -- Style and attach the adornment segment.CFrame = CFrame.new(lastPosition, currentPosition) segment.Parent = start segment.Adornee = start segment.Thickness = 10 segment.Length = distance -- Color the adornment based on the action of the waypoints. Green indicates walking, -- yellow indicates a jump. local waypointType = currentWaypoint.Action if waypointType == Enum.PathWaypointAction.Jump then segment.Color3 = Color3.new(1, 1, 0) else segment.Color3 = Color3.new(0, 1, 0) end end It's simple physics
Lord_Oscar
#228386831Sunday, December 03, 2017 5:22 PM GMT

pls It's simple physics
Lord_Oscar
#228389365Sunday, December 03, 2017 6:12 PM GMT

1 It's simple physics
Lord_Oscar
#228408673Monday, December 04, 2017 12:46 AM GMT

2 It's simple physics
Lord_Oscar
#228409200Monday, December 04, 2017 1:00 AM GMT

3 It's simple physics
Lord_Oscar
#228410909Monday, December 04, 2017 1:43 AM GMT

4 It's simple physics
Lord_Oscar
#228411265Monday, December 04, 2017 1:52 AM GMT

5 It's simple physics
Lord_Oscar
#228413888Monday, December 04, 2017 2:57 AM GMT

6 It's simple physics

    of     1