"LocalScript" Code and Explorer I need to know how to change this into a script that can be used in the Workspace instead of the StarterPack so I can make a crate that explodes when you touch it and press "Enum.KeyCode.E." I'm sorry if this question is a bit vague.
Impossible to do.
What you can do is use remoteevents to communicate with the server however.
https://developer.roblox.com/articles/Remote-Functions-and-Events
I'm still learning this myself, but I think what you could do is create a regular script in the object you want to explode that will detect when a player is nearby and then fire that client to display the GUI to the player. If the player then interacts with the GUI, fire the server again to do whatever it is you want to do with the object (explode).
At least I think that's how it goes.