Well the issue could very well be there due to that. Try this:
local TweenTime = 0.5
local TweenInfoX = TweenInfo.new(TweenTime, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut)
local Colors = {Color3.new(1, 0, 0),Color3.new(0.835294, 0.45098, 0.239216)--ect.}
task.spawn(function()
while true do
for Count = 1, #Colors do
local GetColor = Colors[Count]
local P = script.Parent
local B = P:FindFirstChild("Beak")
local UT = P:FindFirstChild("Upper Torso")
local Table = {}
table.insert(Table,P)
if B then
table.insert(Table,B)
end
if UT then
table.insert(Table,UT)
end
for _, Object in ipairs(Table) do
TweenService:Create(Object, TweenInfoX, {Color = GetColor}):Play()
end
task.wait(TweenTime)
end
end
end)
I’m changing the parent of it from a folder to the player’s hand, however I removed that and just made it so it enables all the scripts within the item.
local CurrentColor = Color3.new(1, 0, 0)
local TweenService = game:GetService("TweenService")
local TweenTime = 0.5
local TweenInfoX = TweenInfo.new(TweenTime, Enum.EasingStyle.Linear, Enum.EasingDirection.In)
local Counter = 1
local Colors = {Color3.new(1, 0, 0), Color3.new(1, 0.537255, 0.286275), Color3.new(1, 1, 0), Color3.new(0, 255, 0), Color3.new(0.0666667, 0, 1), Color3.new(1, 0, 1)}
task.spawn(function()
local function Color()
for Count = 1, #Colors do
local P = script.Parent
local B = P:FindFirstChild("Beak")
local UT = P:FindFirstChild("Upper Torso")
local Table = {}
table.insert(Table,P)
if B then
table.insert(Table,B)
end
if UT then
table.insert(Table,UT)
end
for _, Object in pairs(Table) do
TweenService:Create(Object, TweenInfoX, {Color = Colors[Count]}):Play()
end
task.wait(TweenTime)
end
end
task.spawn(function()
while task.wait() and true do
Color()
end
end)
end)
local TweenService = game:GetService("TweenService")
local TweenTime = 0.5
local TweenInfoX = TweenInfo.new(TweenTime, Enum.EasingStyle.Linear, Enum.EasingDirection.In)
local Colors = {Color3.new(1, 0, 0), Color3.new(1, 0.537255, 0.286275), Color3.new(1, 1, 0), Color3.new(0, 255, 0), Color3.new(0.0666667, 0, 1), Color3.new(1, 0, 1)}
while true do
for Count = 1, #Colors do
local GetColor = Colors[Count]
local P = script.Parent
local B = P:FindFirstChild("Beak")
local UT = P:FindFirstChild("Upper Torso")
local Table = {}
table.insert(Table,P)
if B then
table.insert(Table,B)
end
if UT then
table.insert(Table,UT)
end
for _, Object in ipairs(Table) do
TweenService:Create(Object, TweenInfoX, {Color = GetColor}):Play()
end
task.wait(TweenTime)
end
end