I tried some ways to erase selected part of a text but it didn't worked. Look at the script:
1 while wait() do
2 if mouse.Target ~= nil and mouse.Target.Locked == false then
3 script.Parent.Text = "Hovering- ".. mouse.Target.Name .."'s Parts"
4 script.Parent.Text(string.gsub("BlobbyblobBuild_"))
5 end
6 end
idk what i did wrong. but it always gives nil at line 4. can someone help me?
in text label it must give something like this - hovering- DiGamesChannel's Parts but it gives hovering- BlobbyblobBuild_DiGamesChannel's Parts

2 comments
Check if the target's name is BlobbyblobBuild_. Use an if statement.
targets name is BlobbyblobBuild_DiGamesChannel.