local O=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local m=require(script.RRT)local N=1 local P=3 local g=5000 local A=200 local s=workspace.Start.Position local E=workspace.End.Position local S=(s-E).Magnitude local j=Vector3.new(1000,600,1000)local x=tick()warn("\066\101\103\117\110 \105\116\101\114\097\116\105\111\110 \119\105\116\104\058 \123\078\111\100\101\115\058 "..(A..(" \077\097\120\073\116\101\114\097\116\105\111\110\058 "..(g.."\125"))))local H=m.new({s.X*P;s.Y*P,s.Z*P},{E.X*P;E.Y*P;E.Z*P},{j.X;j.Y;j.Z},25,35,A,g)local e=m._Start(H)warn("\067\111\109\112\108\101\116\101\100 \105\116\101\114\097\116\105\111\110 \097\116\058 "..(tick()-x..(" \083\101\099\111\110\100\115 \117\115\105\110\103 "..script.Name)))
--Nicolai, Edited on March 19th 2022, 19:53 GMT+1
local TS = game:GetService("TweenService")
local RRT = require(script.RRT)


local fidelity = 1
local offset = 3
local MaxIteration = 5000
local Nodes = 200

local start = workspace.Start.Position
local endpoint = workspace.End.Position
local m = (start-endpoint).Magnitude

local SA = Vector3.new(1000,600,1000)


local StartTime = tick()
warn("Begun iteration with: {Nodes: "..Nodes.." MaxIteration: "..MaxIteration.."}")

local rrt = RRT.new({start.X*offset, start.Y*offset,start.Z*offset},{endpoint.X*offset, endpoint.Y*offset,endpoint.Z*offset}, {SA.X,SA.Y,SA.Z}, 25,35,Nodes,MaxIteration)
local nodelist = RRT._Start(rrt)

warn("Completed iteration at: "..tick()-StartTime.." Seconds using "..script.Name)
