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

How do I change a brickcolor in the user's Character through a gui?

I'm currently making a game called 'Turtle Simulator' where you're a turtle, and for the turtle I use "StarterCharacter" to do the turtle morph. However, I am currently trying to make a script for a color changer gui that will change the BrickColor of the parts in the user's turtle char. local Button = script.Parent local txt = script.Parent.Parent.TextBox script.Parent.MouseButton1Click:Connect(function() local owner = "Player" local player = script.Parent.Parent.Parent.Parent.Parent local playerchar = player:WaitForChild('Character') print("Changing colors of ".. player.Name .."!") playerchar.ALRA.BrickColor = BrickColor.new(txt.Text) playerchar.ALRL.BrickColor = BrickColor.new(txt.Text) playerchar.ARLA.BrickColor = BrickColor.new(txt.Text) playerchar.ARLL.BrickColor = BrickColor.new(txt.Text) playerchar.HumanoidRootPart.BrickColor = BrickColor.new(txt.Text) playerchar.HELMET.BrickColor = BrickColor.new(txt.Text) playerchar.C1.BrickColor = BrickColor.new(txt.Text) playerchar.C2.BrickColor = BrickColor.new(txt.Text) playerchar.C3.BrickColor = BrickColor.new(txt.Text) playerchar.C4.BrickColor = BrickColor.new(txt.Text) end)

Background Info: ALRA, ALRL, ARLA, ARLL, HELMET, C1, C2, C3, C4, HumanoidRootPart are the bricks im having trouble with.

Sorry if the text looks scrambled, if you can, try to decode it please.

4 comments

0

Is it supposed to be local or server wide?

0

It's supposed to be where everyone can see the person who changed their color's color. So, server wide.

0

u cant change brickcolor into a text

0

Hey, uh dude I would uh get a remote event for people to see it on other peoples screens tell me if u need help with it.

1 answer

Sorry guys, the whole script is right, I just misspelled one thing. Remember to always check your script spellings, haha :)

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