Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Tool name not showing in backpack, but does in Explorer?

So I'm making this Grill pastries thingy. It works, but when I click on it, it says Burger in the Explorer, but not in backpack(Inventory of the Player)

here is the code

local ClickDetector = script.Parent:WaitForChild("ClickDetector")
local Tool = script.Parent
ClickDetector.MouseClick:Connect(function(Player)
	Tool:Clone().Parent = Player:WaitForChild("Backpack")
	local Grill = game.Workspace.Grill
	Grill.Touched:Connect(function(hit)
		if hit.Parent.Name == "Tool" then
			Tool.Name = "Burger"
		end
	end)
end)

1 answer

Make sure the tool doesnt have an icon if you want it to show a name

This discussion is preserved as it was. New answers, comments, and votes are closed.