function walkTo(point)
if workspace.NationalAssemblyAlarm.Toggle == true then
script.Parent.Humanoid:MoveTo(point+Vector3.new(-43,226(-distanceAway*10,distanceAway*10)/10 , 0.9(-distanceAway*10,distanceAway*10)/10 , 1.445(-distanceAway*10,distanceAway*10)/10))
else
script.Parent.Humanoid:MoveTo(point+Vector3.new(math.random(-distanceAway*10,distanceAway*10)/10,math.random(-distanceAway*10,distanceAway*10)/10,math.random(-distanceAway*10,distanceAway*10)/10))
repeat wait(0.5) timer = timer + 0.5
until timer > timeout or (script.Parent:FindFirstChild("Torso") and (point - script.Parent.Torso.Position).magnitude < walkTolerance and nearestPoint() == point)
if timer > timeout then
script.Parent.Humanoid.Jump = true
end
calculatePath(nearestPoint())
end
00:05:30.352 - Workspace.Bots..WalkySimple:41: ')' expected near '(' *
How I'm doing wrong?

1 comment
According to the boolvalue, I always forget to add Value heh.. Thank you so much.