How do I make my tool have a cooking name, then revert to another?

Hi! So, lets say I have a tool and when the tool touches an object, it will say ‘Cooking…’ and then 3 seconds later it will say the tool name ‘Cooked Burger’

The naming part of the script I put was:

local CurrentName = “Burger w/ Meat”
wait(1)
local NewName = “Cooking…”
wait (3)
local NewName = “Cooked Burger”

Why wouldn’t this work? It just goes to ‘Cooked Burger’ and doesn’t change it to Cooking… for 3 seconds, this is probably a simple fix, would be appreciated if somebody could help, thanks.

with that script you are just making/editing variables, you would have to set the name of the tool to that variable

local CurrentName = "Burger w/ Meat"
tool.Name = CurrentName
wait(1)
--etc

So this?

local CurrentName = “Burger w/ Meat”
tool.Name = CurrentName

wait(1)

local NewName = “Cooking…”
tool.Name = CurrentName

wait(3)

local NewName = “Burger w/ Meat, Tomatos”