I posted a question similar to this a few minutes ago, but the answer to that does not help with the answer to this (unless my brain stopped working).
local a = script.Parent.Parent.Title.Text -- "Basic Hammer" local b = -- I want it to = "BasicHammer"
Use this:
local a = script.Parent.Parent.Title.Text -- "Basic Hammer" local b = string.gsub(a, " ", "") print(b)
Please remember to mark as answer and upvote