Hello.. I'm a beginner and I don't know what is the difference between Local Script and Script... So if anybody can help me!
LocalScript and Script what is the difference?
1 answer
Hi olivieralain111! I'm here to help you!
It's pretty simple when you know, but yes if you don't know is also simple to make errors...
Do you have seen the character in the icon of LocalScript? So that's the LocalScript otherwise called ClientScript. Because this script is made for the client.
So what is script?
Script is otherwise called ServerScript because this script is made for the server.
But what is a Server and what is a client?
"Two world one game", the server is the first world and the client is you when you enter in a ROBLOX game.
Ok so the client is a player?
Yes exactly! The client is a player in your game! So if you use a ServerScript to make a ScreenGui it will not work. Because it's not the good script.
Where I put a LocalScript and where a put a Script?
You can put Script in Workspace and ServerScriptService
You can put a LocalScript in a player’s Backpack, such as a child of a Tool, a player’s character model, a Player’s PlayerGui, a Player’s PlayerScripts and the ReplicatedFirst service.
So if you have other question write in comment
This discussion is preserved as it was. New answers, comments, and votes are closed.
