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: So would i need to do a call to client for this script?

Previous Thread :: Next Thread 
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
24 Sep 2015 04:35 PM
i want to put hair on a players head
player = game.Players.LocalPlayer
player.CanLoadCharacterAppearance = false

script.Parent.Clicks.Changed:connect(function()
if script.Parent.Clicks.Value == 1 then
player.Hair.Value = 1
for i,v in pairs(player.Character:GetChildren()) do
if v.ClassName == "Hat" then
v:Destroy()
end
local Aurbun = game.ReplicatedStorage.GG:Clone()
Aurbun.Parent = player.Character
end

end

if script.Parent.Clicks.Value == 2 then
player.Hair.Value = 2
for i,v in pairs(player.Character:GetChildren()) do
if v.ClassName == "Hat" then
v:Destroy()
end
local Beut = game.ReplicatedStorage.Beut:Clone()
Beut.Parent = player.Character
end

end
end)

My names apoc halp
Report Abuse
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
24 Sep 2015 04:56 PM
bump


My names apoc halp
Report Abuse
IllegallyBlind is not online. IllegallyBlind
Joined: 07 Nov 2010
Total Posts: 1691
24 Sep 2015 05:00 PM
Please stop posting code and ask a real question. Sorry, but being able to debug your own code is a skill you can only get through practice. You'll find the bug eventually. But ask a specific question rather than just posting some code.
Report Abuse
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
25 Sep 2015 02:28 AM
the questions in the title


My names apoc halp
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
25 Sep 2015 02:33 AM
Why are you doingthis local instead of the server?
Report Abuse
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
25 Sep 2015 10:06 AM
hmm ok ill do it on the server


My names apoc halp
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