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 · Intermediate

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 v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Frostfall.

npc
330
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 v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Wildwood.

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

Neon Riders NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Neon Riders.

npc
140
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 v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Element Arena.

npc
150
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 v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Voxel Valley.

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

Mech Rally NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Mech Rally.

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

Drift Legends NPC Patrol v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Drift Legends.

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

Umbra Trials NPC Patrol v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Umbra Trials.

npc
140
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 v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Lunar Outpost.

npc
140
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 v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Crystal Valley.

npc
170
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 v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Tower Clash.

npc
170
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 v1

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 v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Blade Haven.

npc
130
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 v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Starbound City.

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

Jungle Raid NPC Patrol v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Jungle Raid.

npc
350
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 v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Aether Rush.

npc
400
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 v1

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Rune Quest.

npc
170
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 v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Inferno Siege.

npc
170
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 v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Zephyr Skies.

npc
170
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 v4

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Quantum Dash.

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

Harbor Tycoon NPC Patrol v5

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Harbor Tycoon.

npc
170
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 v1

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 v2

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Pixel Forge.

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

Galaxy Run NPC Patrol v3

INTERMEDIATE

PathfindingService-driven patrol across waypoints for Galaxy Run.

npc
170