RobloxGamesRBLXGames
Script Studio

Roblox Lua Script Library

210 free, original scripts for Roblox Studio. Copy production-ready code, learn how it works, and ship faster.

210
Scripts
8
Categories
3
Levels
100%
Free

210 scripts in npc

1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Lunar Outpost NPC Patrol v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Lunar Outpost.

npc
430
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Crystal Valley NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Crystal Valley.

npc
370
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Tower Clash NPC Patrol v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Tower Clash.

npc
220
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Kingsgate NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Kingsgate.

npc
200
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Blade Haven NPC Patrol v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Blade Haven.

npc
240
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Starbound City NPC Patrol v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Starbound City.

npc
260
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Jungle Raid NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Jungle Raid.

npc
220
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Aether Rush NPC Patrol v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Aether Rush.

npc
210
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Rune Quest NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Rune Quest.

npc
240
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Inferno Siege NPC Patrol v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Inferno Siege.

npc
200
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Zephyr Skies NPC Patrol v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Zephyr Skies.

npc
180
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Quantum Dash NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Quantum Dash.

npc
380
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Harbor Tycoon NPC Patrol v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Harbor Tycoon.

npc
200
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Yield Frontier NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Yield Frontier.

npc
200
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Pixel Forge NPC Patrol v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Pixel Forge.

npc
210
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Galaxy Run NPC Patrol v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Galaxy Run.

npc
190
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Xenon Drift NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Xenon Drift.

npc
190
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Obsidian Keep NPC Patrol v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Obsidian Keep.

npc
200
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Frostfall NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Frostfall.

npc
190
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Wildwood NPC Patrol v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Wildwood.

npc
180
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Neon Riders NPC Patrol v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Neon Riders.

npc
160
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Element Arena NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Element Arena.

npc
190
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Voxel Valley NPC Patrol v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Voxel Valley.

npc
190
1local PathfindingService = game:GetService("PathfindingService")
2local npc = script.Parent
3local hum: Humanoid = npc:WaitForChild("Humanoid")
4local points = workspace:WaitForChild("NPCWaypoints"):GetChildren()
5local current = 0

Mech Rally NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Mech Rally.

npc
170