Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make an editable sign?

Asked by 6 years ago
Edited 6 years ago

im trying to make signs editable in my game so you can label stuff but im not sure how do to it

0
You'll need a click detector inside the sign, a script that gives the player a name change gui when the player fires the MouseClick event. For the gui, you need a button connected with a MouseButton1Down event which will fire the remote so the server script connected with the OnServerEvent will receive the new text and set the signs label with it. hellmatic 1523 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Assuming your sign is SurfaceGui dependent - you could use a ClickDetector to register mouse clicks and have a traditional ScreenGui containing a TextBox. Then, when FocusLost occurs on the TextBox - just update the SurfaceGui's label. This solution would probably aptly suite what you're looking for.

It is recommended that you provide some code which you have already tried to work on so that we can critique it rather than working from scratch!

0
You need a remote event to replicate the new text the client chose hellmatic 1523 — 6y
1
You will - but only if other people will see it. OP's question is incredibly vague and lacks initial code, so we cannot see what he is doing. SummerEquinox 643 — 6y
Ad

Answer this question