How to get rid of script?

Hello, I’ve been working on my cafe, and for some ideas I put in other cafes, when I stopped building to see in game I saw this. I don’t know if this is the right place.

Unfortunately I can’t get it on screen, but if you join you will see the Starbucks. I am not a scripter, so I don’t know what to do. I have deleted all the other cafes.

Please Help and Thank you.

What exactly do you want to do? You were not really clear on that.

I want to get rid of the Starbucks logo that appears.

ok so what you would want to do is make a destroy function, and do you want this as a button to destroy it or an automatic destroy when you get in the game?

There is most likely a GUI in PlayerGui or a Script that clones a GUI into the player, remove the script and the logo will no longer appear.

1 Like

oh he meant a GUI was popping up not he wanted to destroy a part, oops.:sweat_smile:

I want an automatic destroy. What about just taking it all out, It was a mistake…I don’t know how to redo it.

Can you please tell me how I can get rid of it?

oh ok you are getting me confused, but now I understand you are going to need a (server)script, so do you not know how to script at all bc I am not allowed to give you a script but I can do my best to give you an example

If you want to keep the script while removing the GUI, add this LocalScript to PlayerGui.

script.Parent.ChildAdded:Connect(function(v)
     if v:IsA("PlayerGui") then v:Destroy() end
end)

Unfortunately I don’t know how to script.

ok that is fine just try to learn from this example:

game.Players.PlayerAdded:Connect(function()
script.Parent.(--put your model name here or add more ".Parents" if it is inside your model):Destroy()

Another thing you can do is if you really need help with complicated script you can hire a professional scripter to do that work for you.

Well, I’m not looking for a scripter, I just wanted to build and that happened.

ok well tell me if you have anymore problems, I gave you an example above.:grin:

Just one question, where do I put that script. :sweat_smile:

in either workspace or severscriptservice does not really matter which unless you make big scripts

oh srry messed something up put it into your model that you want to destroy and type this:

game.Players.PlayerAdded:Connect(function()
script.Parent.(--put your model name here):Destroy()

(makes it easier too.):grin:

Where would I find the model name. Or that model?

here is an example:

Picture To Find Models And There Names

The model would probably be in your workspace if you click on it, it should show you where it is

have you just started to develop?