generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Changing a player's face when they spawn in?

Previous Thread :: Next Thread 
Blizze is not online. Blizze
Joined: 25 May 2013
Total Posts: 1439
22 May 2016 04:43 PM
I'm using a local script in the StarterPlayer folder. It says no errors in the output whatsoever, so idk what I'm doing wrong.

local p = game.Players.LocalPlayer
local char = p:WaitForChild("Character")

local head = char:findFirstChild("Head")
if head then
head.face.Texture = "http://www.roblox.com/asset/?id=402348549"
end



Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
22 May 2016 04:46 PM
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
character:WaitForChild("Head"):WaitForChild("face").texture = "http://www.roblox.com/asset/?id=402348549"
Report Abuse
Blizze is not online. Blizze
Joined: 25 May 2013
Total Posts: 1439
22 May 2016 06:33 PM
It works, but only on studio when I start a server on Roblox Studio. It doesn't work ingame..


Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
22 May 2016 06:42 PM
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
character:WaitForChild("Head"):WaitForChild("face").Texture = "http://www.roblox.com/asset/?id=402348549"
character.Head.face.Changed:connect(function()
character.Head.face.Texture = "http://www.roblox.com/asset/?id=402348549"
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image