Boba drink not working

Hiya, I cannot seem to figure out to get a script to work by adding boba pearls (balls) to a cup with flavouring, when the user has their flavoured drink they would go up to the boba pearls and it would add them to the drink as well as saying the desired flavouring drink. For example it would say “Chocolate w/ milk” before having boba pearls. It would then say “Chocolate Boba” after boba pearls have been added.

Can anyone help me?

Many thanks,
Josh
Builder, scripter & GFX Artist

Hi!

You can simply do this by changing the name of the tool:

local function pearlsAdded(drink)
	drink.Name = "Chocolate Boba"
end

Hope this worked!