Baldi's Basics Caption System

So I don’t know how to begin explaining what I’m trying to do exactly, but I want a TextLabel to get positioned dependant on direction from the player to the noise.
Cube: The noise
Humanoid Character: The player


how it’ll display the caption
image

4 Likes

Still haven’t been able to figure it out.

1 Like

If I was not clear enough, this is what I’m talking about.
https://streamable.com/700f9a

Oh I think I understand, so basically you want it to be positoned on the players screen relative to where the sound came from?

1 Like

Yeah, you are right. That’s what I’ve been trying to do but I’m stumped.

Sorry for the bump but I still have not figured this out.

Hey man, I have no idea either but I have an idea that could work?

So basically you have the sound which is most likely in a part so maybe try to get the angle relative to the part from the cameras cframe and then use that to position the gui in a exact position

1 Like

Yeah, There’s a function in the camera which allows you to cast GUI objects to the WorldModel, but it doesn’t do the entire “circular” effect as shown in the Streamable link

Hold on imma try to figure something out if you have the patience, I cant gurantee anything but i can try my best to help

I have patience, and eitherway if you can’t, thank you for helping

1 Like

you can try getting descendants of game and then detect if a sound is playing, and then find the source of it inside the sound’s value

I know, but I’m trying to get the circular effect of showing the direction of the sound first, which is mainly the most difficult task out of this system

have you considired searching on the devforum though

Not sure I understand what the caption is moving for, but it’s probably because the camera is moving, not because the sound has a direction. Also I’ve never seen this caption in baldi’s basics before. In roblox, you would use a BillboardGui to anchor UI to a part in the workspace.

Use a BillboardGui, Set the Size to Scale, from there it should grow and shrink depending on where the adnorned item is located

It’s moving in a circular axis dependant on what direction the sound is coming from.

Yeah, I have. Haven’t been able to replicate

Hey, have you found anything yet?

Billboard guis. But since you said

Its not easy to implement. You can put the sfx in some object and add the billboard gui in the same property

Hey, so I forgot to respond but I figured it out finally.