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

Specific Player Face Morph At Spawn??

Asked by 4 years ago

im trying to make it so if i spawn in i spawn in with a prankster face:

local Character = script.Parent
local Head = Character:WaitForChild('Head')
wait(1)
game.Players.PlayerAdded:connect(function(player)
    if player.Name == "forsakern" then
      local Character = script.Parent
local Head = Character:WaitForChild('Head')  
Head.face.Texture = 'rbxassetid://20052028'
    end
end)

Why isnt this working?

1 answer

Log in to vote
0
Answered by
Yukogan 72
4 years ago
Edited 4 years ago

Hi. This should work. Make sure your head is not covered by accessories.

local Character = script.Parent
local Head = Character:WaitForChild('Head')
wait(1)

    if Character.Name == "forsakern" then
      local Character = script.Parent -- You can remove this line
local Head = Character:WaitForChild('Head')  -- and this line
Head.face.Texture = 'rbxassetid://20052028'
    end
0
THANKYOU UR THE BEST!!! forsakern 12 — 4y
0
No problem! :) Yukogan 72 — 4y
0
wait do u know how to make it so it removes the hat and replaces the "hats" with another hair, like i want to spawn in with a rainbow shaggy forsakern 12 — 4y
0
I'll try! Yukogan 72 — 4y
View all comments (3 more)
0
can u write the script here, btw thx for this help ur the best forsakern 12 — 4y
0
ok! Yukogan 72 — 4y
0
I'm sorry to disappoint you. I really can't get it done. Sorry. Yukogan 72 — 4y
Ad

Answer this question