КАК СДЕЛАТЬ НЕКСТБОТА БЕЗ ТУЛБОКСА В Роблокс Студио!

  Рет қаралды 228

Kqdi5

Kqdi5

Ай бұрын

Скрипты в коментариях!

Пікірлер: 6
@Kqdi5
@Kqdi5 28 күн бұрын
Acceleration: local NPC = script.Parent local h = NPC.Humanoid local hrp = NPC:WaitForChild("HumanoidRootPart") local bf = Instance.new("BodyForce", hrp) h:GetPropertyChangedSignal("WalkToPoint"):Connect(function() if hrp.Velocity.Magnitude > 30 then bf.Force = (h.WalkToPoint - hrp.Position).Unit * 400 * Vector3.new(1, 0, 1) else bf.Force = (h.WalkToPoint - hrp.Position).Unit * math.random(10000, 12000) * Vector3.new(1, 0, 1) end if h.WalkToPoint == nil then bf.Force = Vector3.new(0, 0, 0) end end) Pathfind: local PFS = game:GetService("PathfindingService") local debris = game:GetService("Debris") local RunService = game:GetService("RunService") local NPC = script.Parent local h = NPC.Humanoid local folder = Instance.new('Folder', workspace) local n = math.random(0, 1000) local function foldering() if not workspace:FindFirstChild("Waypoints_" .. n) then folder.Name = "Waypoints_" .. n NPC.FolderID.Value = n -- ID to know which folder belongs to who else n = math.random(0, 1000) foldering() end end foldering() local function findAndGoTo(destination) local path = PFS:FindPathAsync(NPC.HumanoidRootPart.Position, destination.Position) if path.Status == Enum.PathStatus.Success then folder:ClearAllChildren() for i,v in ipairs(path:GetWaypoints()) do local part = Instance.new("Part", folder) part.Name = "Waypoint_" .. i part.Size = Vector3.new(1,1,1) part.Position = v.Position part.Anchored = true part.BrickColor = BrickColor.new("Really red") part.Material = Enum.Material.Neon part.CanCollide = false part.Transparency = 1 end for i,v in ipairs(path:GetWaypoints()) do h:MoveTo(v.Position) h.MoveToFinished:Wait() if v.Action == Enum.PathWaypointAction.Jump then h.JumpPower = 100 + math.abs(destination.Position.Y - NPC.HumanoidRootPart.Position.Y) h.Jump = true end end else h:MoveTo(destination.Position) if destination.Position.Y - NPC.HumanoidRootPart.Position.Y then if math.sqrt(math.pow((destination.Position.X-NPC.HumanoidRootPart.Position.X), 2) + math.pow((destination.Position.Z-NPC.HumanoidRootPart.Position.Z), 2))
@kok706
@kok706 14 күн бұрын
Ну спасибо, а то постоянно мне попадаются видео где говорят что надо использовать тулбокс. изменено: у меня не сработало, дизлайк. изменено снова: теперь работает, лайк.
@Goldygame
@Goldygame 28 күн бұрын
Спасибо тебе огромное!
@Kqdi5
@Kqdi5 28 күн бұрын
Пожалуйста!
@stasrogacky7537
@stasrogacky7537 18 күн бұрын
ничего не слышно чёрт
@Kqdi5
@Kqdi5 18 күн бұрын
Звук на макс поставить
Худшее от Каждой Версии Майнкрафт (1.0 - 1.21)
23:32
Демор Квадрон
Рет қаралды 629 М.
24 Hours in an INSANE ASYLUM !
26:15
A4
Рет қаралды 57 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 53 МЛН
Создал хоррор игру в роблокс!
6:20
Goldy (LikePlay 37k)
Рет қаралды 869
КРУПНЕЙШИЙ Мошенник в Истории Телевидения
12:42
Ваня Продюсер
Рет қаралды 1,8 МЛН
A4 takes a LIE DETECTOR TEST ! **HE HID IT FROM US**
27:06
Как сбежать от РОДИТЕЛЕЙ в Schoolboy runaway???
12:26
СБЕГАЮ ОТ ЗЛЫХ РОДИТЕЛЕЙ в Schoolboy Runaway
44:32
ВСЕ КОНЦОВКИ И СЕКРЕТЫ ПОУ! Bou's Revenge
35:51
Family Play TV
Рет қаралды 320 М.
MEGA BOXES ARE BACK!!!
8:53
Brawl Stars
Рет қаралды 36 МЛН