What do you want to achieve? Keep it simple and clear!
In Baldi’s Basics, whenever you get a question wrong or collecting notebooks, baldi gets faster.
What is the issue? Include enough details if possible!
I can do Values to do the notebooks and questions, but don’t know how to script it to make it work.
What solutions have you thought of so far?
I didn’t find anything that helps me with this one, problem.
So… you want to be spoonfed the script used?
As a developer, it is very important to know how to break up your ideas in to smaller tasks.
For example with Baldi’s Basics, you have.
- Player location tracking
- Moving Baldi
- Increasing the speed of Baldi
- Giving Baldi a random place to navigate to when he can’t find the player (possibly navigating to each remaining book)
But it’s equally important to keep it simple for yourself when your first Leaning to program.
I would suggest learning how to make a simple NPC that follows you first with pathfinding before tackling Baldi.
Once you have your Waypoints that path towards the Player, you can loop through those waypoints at a slow or fast rate, depending on the number of incorrect answers you have.
-- … the rest of your script that gets the path and waypoints…
local moveFrequency = 1 -- how fast should baldi move.
for i,wp:PathWaypoint in pairs(waypoints) do
Move(wp) -- create your own function to move baldi
wait(1/moveFrquency) -- increasing move frequency will make baldi faster
You would also need to detect when the player has moved away from baldis destination, which can be done a little math Magnitude to see if the player is far from baldis last waypoint.
But please do remember, we are volunteers here, we’re not here to hand out full scripts.
If you want that, it will need to be commissioned.
Some people are nice enough to fix scripts you have made that has a few errors. But don’t expect it to be free.
Thanks! That was all i needed.
I’ve added a little more incase it helps.
If you have any sort of knowledge on Pathfinding and actual knowledge on how Baldi works, you require the following:
Knowledge on how to use Roblox PathfindingService
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.