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

How would I control a surfacegui using a script in workspace?

Asked by
Relatch 550 Moderation Voter
9 years ago

After reading the question, this may confuse you.

All i'm trying to do is to use a surfacegui to show text on my tournament (ex: Intermission ..time in seconds). I want to do this without putting the script into the surfacegui.

I may have to use ServerScriptStorage for this, but i'm not sure. Please help!

2 answers

Log in to vote
1
Answered by 9 years ago

I have an answer to this: I do not think that you need a local script. This might work:

local Part = game.Workspace.PARTNAMEHERE --In PARTNAMEHERE, put the name of the part

While true do
Part.SurfaceGUI.THECHILDHERE.Text _"TEXT HERE" -- In THECHILDHERE, put the type of the name of the child of SurfaceGUI In TEXTHERE, put the text you want it to have

There is a wiki article on timed rounds and things like that its

Ad
Log in to vote
0
Answered by
Mr1Vgy 30
9 years ago

I'm not totally sure what you mean, but try this in a LocalScript or normal Script:

game.Workspace.Part.SurfaceGui

I'm not totally sure if that's what you mean...

Answer this question