First of all: im not very good at scripting at all.

when i do this script its meant to change this beam's color to whatever the text is in the 3 text boxes but when i do the script the output says that its not working because it needs a colorsequence, not a string but i dont know how to make it a colorsequence

local doggy
script.Parent.MouseButton1Click:connect(function()
    
    doggy = script.Parent.Parent.Parent.Parent.Text .. ", " .. script.Parent.Parent.Parent.Text .. ", " .. script.Parent.Parent.Text
print (doggy)
	game.Players.LocalPlayer.Character.Torso.ArmorBeam.Color = doggy
 end)

as you can see ive tried adding ,'s but it doesn't help.

3 comments

0

doggy isnt a color

0

Use the ColorSequence datatype?

0

ColorSequence.new({script.Parent.Parent.Parent.Parent.Text,script.Parent.Parent.Parent.Text,script.Parent.Parent.Text}) maybe. https://www.robloxdev.com/api-reference/datatype/ColorSequence