PathfindingService is not a valid Service Name

This is the error I get when using it am I doing something wrong or…?

Using a local script or normal script?

Normal.

What are you testing in?

When I go to Studio and use the CmdBar

print(game:GetService(“PathfindingService”)), I get

Instance

Line of code please?

--stuff
local new_service = game:GetService("PathfindingService")
--stuff

Please and thank you.

Please and thank you.[/quote]

Studio obviously.

Before you give me attitude, put effort into responding – I’m trying to help you here.

Edit mode, Play Solo, Build Mode, Test Server, Test Player?

Also, are you on a Mac?

[quote] Before you give me attitude, put effort into responding – I’m trying to help you here.

Edit mode, Play Solo, Build Mode, Test Server, Test Player?

Also, are you on a Mac? [/quote]

I just thought it was obvious not attitude intended. And Edit mode, I am on Windows 8 as well.

I honestly had no idea what sort of answer you were looking for. I can totally understand flatline’s confusion.

[quote] Before you give me attitude, put effort into responding – I’m trying to help you here.

Edit mode, Play Solo, Build Mode, Test Server, Test Player?

Also, are you on a Mac? [/quote]

I just thought it was obvious not attitude intended. And Edit mode, I am on Windows 8 as well.[/quote]

Command bar, or unpausing the game to run a script in Edit mode?

[quote] [quote=“EchoReaper” post=78481]Before you give me attitude, put effort into responding – I’m trying to help you here.

Edit mode, Play Solo, Build Mode, Test Server, Test Player?

Also, are you on a Mac? [/quote]

I just thought it was obvious not attitude intended. And Edit mode, I am on Windows 8 as well.[/quote]

Command bar, or unpausing the game to run a script in Edit mode?[/quote]

Both.

Execute this in the command bar and tell me what you get:

print(game:GetService(“PathfindingService”))

I noticed you had
–stuff
service
–stuff

so your code might be interfering?

[quote] Execute this in the command bar and tell me what you get:

print(game:GetService(“PathfindingService”))

I noticed you had
–stuff
service
–stuff

so your code might be interfering? [/quote]
Here:

create = function(vector)
	part = Instance.new("Part", Workspace)
	part.Transparency = 1
	part.Anchored = true 
	part.CFrame = vector
	return part
end

path_find = function(player, goal)
local new_service = game:GetService("PathfindingService")
	return new_service:ComputeRawAsync(player.Torso.Position, goal)
end

setting = function(path, player)
	for _, vector in next, path do
		part = create(vector)
		player.Humanoid:MoveTo(vector, part)
	end
end

new_intel = function()
	new_art = {[Workspace["npc_tower_guard_one"]] = {
	{Vector3.new(-205.542, 6.26, -750.171)}, 
	{Vector3.new(-205.264, 4.396, -504.078)}
	}
	}
	for player, tab in next, new_art do
		coroutine.resume(coroutine.create(function() 
			for _, ntab in next, tab do
				path = path_find(player, ntab[1])
				setting(path, player)
			end 
		end))
	end
end

new_intel()

Uh, after making a model in the workspace called “npc_tower_guard_one” and running that code in the command bar, I get 0 errors.

Question: Is pathfinding working for anyone on Windows 8 / Mac?

[quote] Uh, after making a model in the workspace called “npc_tower_guard_one” and running that code in the command bar, I get 0 errors.

Question: Is pathfinding working for anyone on Windows 8 / Mac? [/quote]

… Well that’s weird.

Try re-installing?

Still errors for me after new install.

So I presume there is no fix for me?