Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why won't this remove face script work?

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

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


4 comments

0

I've been ninja'd..

0

I just realised I forgot to delete part of it, sorry.

0

So, how bout we +1 each other then?

0

Kay

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()

This discussion is preserved as it was. New answers, comments, and votes are closed.