#could anyone tell me why this script doesnt change my team upon click?
1 messages · Page 1 of 1 (latest)
like this? - script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Dark blue")
end)
doesnt work, anymore fixes?
It’s strange :Connect should be yellow
Perhaps you don’t have a click detector on your button
pretty sure it should be script.parent.MouseButtonClick:Connect(function())
didnt work :/
so:
script.parent.MouseButtonClick:Connect(function()
script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Dark blue")
end)
send a ss of it after the altering
put a capital on the last parent
honestly though, i would make a new variable instead of doing script,parent.parent
this didnt work
** You are now Level 2! **
hmm
and imn too new to honestly know how to do that ;-;
so is that TeamColor a part inside the workspace?
ive been following tuts so im not sure, however, i dont see it there
then it probably wont work
ask the ai assistant whats wrong in the studio, its in the top right corner
np, defo use that but try to write some of the code yourself too, good luck!
i will, thank you!
I think ik the issue