while true do
local body = script.Parent
local origin = body.Position
local targetPos = game.ReplicatedStorage.values.torso.Value
local distance = (script.Parent.Position - targetPos).Magnitude
local effect = body.propel
if distance > 30 then
effect.Enabled = true
body.CFrame = CFrame.new(origin,targetPos)
body.Orientation = Vector3.new(0,body.Orientation.Y,0)
body.Position = Vector3.new((origin - (origin-targetPos).Unit*0.5).X,origin.Y,(origin - (origin-targetPos).Unit*0.5).Z)
else
effect.Enabled = false
body.CFrame = CFrame.new(origin,targetPos)
end
wait()
print()
end
the mob has to move and climb but climbing just would not work
vid:
as you see, the mob just gets stuck and falls
PS. no humanoid and it cannot jump
pps i am a beggeiner
i cant tell cus of the quality but if their just blocks running around try making them actual characters except their transparent and only the block is visible
if that doesnt work create a wedge that only collides for them with collision groups that is scaled towards the top of the mountain or whatever it is
So a good practice for when you are starting something, is download a free model of it from the studio toolbox… an NPC for example, and open up all the elements in them and study them, to try to understand it.
Roblox has many articles and tutorials on scripting humanoid NPCs, and you can then change them to mimic mob behavior.
Once you have your humanoids moving how you want, you can control their Jump property and tweak them to your liking. Hope this helps.
First of all we are here helping YOU…so have some manners and be gracious instead of yelling.
Second i understood you perfectly when you said you know nothing about humanoids, so i provided you with an easy tutorial to LEARN about humanoids.
We arent going to write your scripts and games for you, we are here to help you along but you have to learn about the elements… and everyone is telling you to use humanoids to solve your problem and you are refusing.
I tried to help you but my efforts end here… best of luck.