1 | local function CloneDialog(plr) |
2 | local NewUI = script.PlayUI:Clone() |
3 | NewUI.Parent = plr.PlayerGui |
4 | NewUI.TextScript.Disabeld = false |
5 |
6 | end |
How to clone a UI Into playergui with a normal script in serverscriptservice
1 | while true do wait( 1 ) |
2 | for i, players in pairs (game.Players:GetChildren()) do |
3 | warn( "Trying To Clone The Player Gui" ) |
4 | local NewUI = script.PlayUI:Clone() |
5 | NewUI.Parent = players.PlayerGui |
6 | NewUI.TextScript.Disabeld = false |
7 | end |
8 | end |