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:

player = game.Players.LocalPlayer
 m = player.Name
game.StarterGui.ScreenGui.TextLabel.Text = m
wait(0.1)
f = game.Workspace:FindFirstChild(game.StarterGui.ScreenGui.TextLabel.Text)
f.Head.face:remove()

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

2 answers

Log in to vote
2
Answered by 10 years ago
player = game.Players.LocalPlayer
 m = player.Name
player.PlayerGui.ScreenGui.TextLabel.Text = m
wait(0.1)
player.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.

player = game.Players.LocalPlayer
m = player.Name
player.PlayerGui.ScreenGui.TextLabel.Text = m
repeat wait() until player.Character
wait(0.1)
player.Character.Head.face:Destroy()

Answer this question