Can i make a local script for me or my friends in my game?
This isn't a request site but welp
So basically a local script is Client Sided I think is what you would call it which means that only the player can see it.
So a way to do it would to do something like this. I'm a scripting noob but this should work (hopefully)
Make a button or a part
Button:
--put this in a local script in ServerScriptService or in workspace I don't think it would matter. local LP = game.Players.LocalPlayer local Button = --Put the path to your button if LP.Name == "Friends user" then Button.Visible = true --Now the button is only visible for them I believe :D --If you have more then one friend just copy and paste and change the name end)
And when you use the buttons you can put a script or local script depending if you want everyone to see them or just your friend. If you want different things to happen then you would make different buttons visible for different people!
Part:
--in a local script yet again :D local LP = game.Players.LocalPlayer if LP.name == "Friends user" then script.Parent.Touched:Connect(function() --script here end) end
If you have anymore questions contact me on discord: actz#2680
Localscripts are only used for the Client. Meaning, anything that's done in a local script is only happening for you.
Yes, you can make a localscript in studios in your own game. Yes, you can make it so it's only given to certain players through a serverscript. Yes, you can give your script to your friends by making it a model and sending it to them.
Please do understand this is not a request site and we are here to help with coding. We are not here to help with very simplistic questions such as yours. If you can make a script in Studios then you can make a script and send it to your friends by making it a model. This is very common knowledge for anyone who uses studios. If you don't know this then you need to look over every aspect of studios before continuing to script, develop or designing any type of game.
We are scripting helpers, not studio helpers. We are here to help you with your code. If you have a question about Studios itself, there are YouTube videos for such a thing.