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: "Noobify" Script Not Working

Previous Thread :: Next Thread 
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
23 Dec 2015 09:11 PM
Hello,
I'm trying to make a script in which every single player's character that joins the game turns into a Noob.
Unfortunately, it doesn't work, and I'm wondering what's wrong with it, since I'm not getting any error.

Please aid in completing this script.

Thanks,
Pikachu84639

--P.S. Here's the script:
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
repeat
wait(0.1)
until character.Parent:findFirstChild("Humanoid") ~= nil
--local human = character.Parent:findFirstChild("Humanoid")
character.Parent:findFirstChild("Head").BrickColor = BrickColor.new(24)
character.Parent:findFirstChild("Head").Transparency = 0
character.Parent:findFirstChild("Torso").BrickColor = BrickColor.new(23)
character.Parent:findFirstChild("Torso").Transparency = 0
character.Parent:findFirstChild("Left Arm").BrickColor = BrickColor.new(24)
character.Parent:findFirstChild("Left Arm").Transparency = 0
character.Parent:findFirstChild("Right Arm").BrickColor = BrickColor.new(24)
character.Parent:findFirstChild("Right Arm").Transparency = 0
character.Parent:findFirstChild("Left Leg").BrickColor = BrickColor.new(119)
character.Parent:findFirstChild("Left Leg").CanCollide = true
character.Parent:findFirstChild("Left Leg").Transparency = 0
character.Parent:findFirstChild("Right Leg").BrickColor = BrickColor.new(119)
character.Parent:findFirstChild("Right Leg").CanCollide = true
character.Parent:findFirstChild("Right Leg").Transparency = 0
end)
end)
Report Abuse
R3pix is not online. R3pix
Joined: 07 Jan 2012
Total Posts: 2642
23 Dec 2015 09:24 PM
FindFirstChild*



Yesterday, tomorrow, new zealand?
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
23 Dec 2015 09:28 PM
Nope. Didn't change anything. Thanks for reviewing it, though.

Pikachu84639
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
chimmmihc is not online. chimmmihc
Joined: 24 Jul 2014
Total Posts: 2420
23 Dec 2015 09:31 PM
replace that stupid wait loop with Character:WaitForChild("Humanoid")
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
23 Dec 2015 09:43 PM
--Here's the edited script (I fixed some errors I had):
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
character:WaitForChild("Humanoid")
character:FindFirstChild("Head").BrickColor = BrickColor.new(24)
character:FindFirstChild("Head").Transparency = 0
character:FindFirstChild("Torso").BrickColor = BrickColor.new(23)
character:FindFirstChild("Torso").Transparency = 0
character:FindFirstChild("Left Arm").BrickColor = BrickColor.new(24)
character:FindFirstChild("Left Arm").Transparency = 0
character:FindFirstChild("Right Arm").BrickColor = BrickColor.new(24)
character:FindFirstChild("Right Arm").Transparency = 0
character:FindFirstChild("Left Leg").BrickColor = BrickColor.new(119)
character:FindFirstChild("Left Leg").CanCollide = true
character:FindFirstChild("Left Leg").Transparency = 0
character:FindFirstChild("Right Leg").BrickColor = BrickColor.new(119)
character:FindFirstChild("Right Leg").CanCollide = true
character:FindFirstChild("Right Leg").Transparency = 0
end)
end)

Still doesn't work :(
Anyone else?

Pikachu8463
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
23 Dec 2015 10:12 PM
bump
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
23 Dec 2015 10:39 PM
bump
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
23 Dec 2015 10:49 PM
function AppendColor(Limb, Color)
Limb.BrickColor = Color
end

game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function(Character)
Player.CharacterAppearanceLoaded:wait()
Player:ClearCharacterAppearance()
AppendColor(Character.Head, BrickColor.new(24))
AppendColor(Character.Torso, BrickColor.new(23))
AppendColor(Character["Left Arm"], BrickColor.new(24))
AppendColor(Character["Right Arm"], BrickColor.new(24))
AppendColor(Character["Left Leg"], BrickColor.new(119))
AppendColor(Character["Right Leg"], BrickColor.new(119))
end)
end)
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
23 Dec 2015 10:53 PM
If you wanna make the char look like a noob when they join, here.
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
p.CanLoadCharacterAppearance = false
end)
end)
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
23 Dec 2015 10:55 PM
^ I think he's going for the classic noob look though.
Report Abuse
Zztheses is not online. Zztheses
Joined: 29 Jun 2013
Total Posts: 94
23 Dec 2015 10:56 PM
Try this;

game.Players.PlayerAdded:connect(function(plr)
player.CharacterAdded:connect(function(character)
while true do
wait(0.1)
local humanoid = character:FindFirstChild("Humanoid")
if (humanoid) ~= nil
character.Parent:findFirstChild("Head").BrickColor = BrickColor.new(24)
character.Parent:findFirstChild("Head").Transparency = 0
character.Parent:findFirstChild("Torso").BrickColor = BrickColor.new(23)
character.Parent:findFirstChild("Torso").Transparency = 0
character.Parent:findFirstChild("Left Arm").BrickColor = BrickColor.new(24)
character.Parent:findFirstChild("Left Arm").Transparency = 0
character.Parent:findFirstChild("Right Arm").BrickColor = BrickColor.new(24)
character.Parent:findFirstChild("Right Arm").Transparency = 0
character.Parent:findFirstChild("Left Leg").BrickColor = BrickColor.new(119)
character.Parent:findFirstChild("Left Leg").CanCollide = true
character.Parent:findFirstChild("Left Leg").Transparency = 0
character.Parent:findFirstChild("Right Leg").BrickColor = BrickColor.new(119)
character.Parent:findFirstChild("Right Leg").CanCollide = true
character.Parent:findFirstChild("Right Leg").Transparency = 0
end
end
end)
end)
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
24 Dec 2015 01:42 PM
@thedestroyer115

Your script solved the problem. Thanks!
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
24 Dec 2015 02:16 PM
No problem!
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
25 Dec 2015 02:49 PM
I just discovered that this script only works in games other than the one I intend to use it for, for some reason.

Any idea why?

Pikachu84639
Report Abuse
epicbreaker is not online. epicbreaker
Joined: 23 Apr 2011
Total Posts: 2791
25 Dec 2015 03:06 PM
game.Players.PlayerAdded:connect(function(Player)
Player.CanLoadCharacterAppearance = false
end)
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
25 Dec 2015 05:17 PM
Still doesn't work...

This is strange...

Pikachu84639
Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
25 Dec 2015 05:17 PM
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
p.CanLoadCharacterAppearance = false
end)
end)
Report Abuse
Pikachu84639 is not online. Pikachu84639
Joined: 21 Nov 2011
Total Posts: 230
25 Dec 2015 05:29 PM
Strangely, it now *finally* works.

Thanks,
Pikachu84639
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