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

How would i make a script which clones a GUI to everyone who joins StarterGUI?

Asked by
iiTiago 15
8 years ago

I am trying to make a gui and i want to make a script which clones the GUI to everyone who joins starter GUI but mine aint working.

game.StarterGui["Gui <3"]:Clone().Parent = game.Players.LocalPlayer.PlayerGui

That is the code im using. Help would be appreciated.

So how would i make i clone itself to everyone who joins StarterGui?

0
I'm honestly wondering what you might be doing wrong. Because by ROBLOX defaults, anything you put in StarterGui is automatically cloned to PlayerGui... M39a9am3R 3210 — 8y
0
Thanks for the help iiTiago 15 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

This is the default behavior of StarterGui. You don't need to write a script for this.

Make sure you're putting your GUI in a ScreenGui

0
Thanks iiTiago 15 — 8y
Ad

Answer this question