Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local NPCName = "Marine [Lv. 1]"
- --[[ Normal NPCs:
- Marine [Lv. 1]
- Buggy Pirate [Lv. 10]
- Buggy pirate [Lv.50]
- Commander [Lv. 100]
- ]]--
- --[[ Boss NPCs:
- Smoky [Lv.20]
- Tashi [Lv. 30]
- The Clown [Lv. 75]
- Don't Kill Me!
- ]]--
- for i,v in pairs(game.Workspace.Monster:GetDescendants()) do
- if v.Name == "HumanoidRootPart" and v.Parent:FindFirstChild("Humanoid") and v.Parent.Humanoid.Health > 0 and v.Parent.Name == NPCName then
- v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 3
- v.Anchored = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement