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

Why won't this remove face script work?

Asked by 10 years ago

I have been testing this several times and it will never work. Please Help! Script:

1player = game.Players.LocalPlayer
2 m = player.Name
3game.StarterGui.ScreenGui.TextLabel.Text = m
4wait(0.1)
5f = game.Workspace:FindFirstChild(game.StarterGui.ScreenGui.TextLabel.Text)
6f.Head.face:remove()

p.s. this is in a localscript in startergui.

2 answers

Log in to vote
2
Answered by 10 years ago
1player = game.Players.LocalPlayer
2 m = player.Name
3player.PlayerGui.ScreenGui.TextLabel.Text = m
4wait(0.1)
5player.Character.Head.face:Destroy()
0
I've been ninja'd.. Shawnyg 4330 — 10y
0
I just realised I forgot to delete part of it, sorry. Tempestatem 884 — 10y
0
So, how bout we +1 each other then? Shawnyg 4330 — 10y
0
Kay Tempestatem 884 — 10y
Ad
Log in to vote
2
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
10 years ago

Well, here's your script fixed up.

1player = game.Players.LocalPlayer
2m = player.Name
3player.PlayerGui.ScreenGui.TextLabel.Text = m
4repeat wait() until player.Character
5wait(0.1)
6player.Character.Head.face:Destroy()

Answer this question