So, im trying to make a ColorCorrection that go to one Color, to other color with frame by frame. But i dont know how i do this, i tried using tonumber but it dont works.
Thanks for Reading and Helping, TinkyWinkyDev
So, im trying to make a ColorCorrection that go to one Color, to other color with frame by frame. But i dont know how i do this, i tried using tonumber but it dont works.
Thanks for Reading and Helping, TinkyWinkyDev
The title makes no sense. You need to elaborate on what you mean by “make go to other color frame by frame”. You need to give us details to help you.
I dont know how to explain it, but i will try. Give me some minutes or seconds.
Ok, now I edited it, maybe its understandable now.
It seems like you don’t understand how color3 works. This is a link to color3 that should help you Color3 | Documentation - Roblox Creator Hub. Also note that Color3.new
is not what you usually want to be working with as it is a range of 0-1 instead of the 0-255 range used on manual color switching I would suggest working with Color3.fromRGB
Oh.
Color3.fromRGB
I already use the Color3.fromRGB.
I can’t really pinpoint what your struggling with. I need more info about the situation and what is going wrong.
Well… Something like this, but more optimized:
color_correction.TintColor = Color3.fromRGB(212, 233, 245)
wait()
color_correction.TintColor = Color3.fromRGB(202, 223, 235)
wait()
color_correction.TintColor = Color3.fromRGB(192, 213, 225)
wait()
color_correction.TintColor = Color3.fromRGB(182, 203, 215)
wait()
color_correction.TintColor = Color3.fromRGB(172, 193, 205)
wait()
color_correction.TintColor = Color3.fromRGB(162, 183, 195)
wait()
color_correction.TintColor = Color3.fromRGB(152, 173, 185)
wait()
color_correction.TintColor = Color3.fromRGB(142, 163, 175)
wait()
color_correction.TintColor = Color3.fromRGB(132, 153, 165)
wait()
color_correction.TintColor = Color3.fromRGB(122, 143, 155)
wait()
color_correction.TintColor = Color3.fromRGB(112, 133, 145)
wait()
color_correction.TintColor = Color3.fromRGB(102, 123, 135)
wait()
color_correction.TintColor = Color3.fromRGB(92, 113, 125)
wait()
color_correction.TintColor = Color3.fromRGB(82, 103, 115)
wait()
color_correction.TintColor = Color3.fromRGB(72, 93, 105)
wait()
color_correction.TintColor = Color3.fromRGB(62, 83, 95)
wait()
color_correction.TintColor = Color3.fromRGB(52, 73, 85)
wait()
color_correction.TintColor = Color3.fromRGB(42, 63, 75)
wait()
color_correction.TintColor = Color3.fromRGB(32, 53, 65)
wait()
color_correction.TintColor = Color3.fromRGB(30, 43, 55)
wait()
color_correction.TintColor = Color3.fromRGB(30, 33, 45)
wait()
color_correction.TintColor = Color3.fromRGB(30, 23, 35)
wait()
color_correction.TintColor = Color3.fromRGB(30, 13, 25)
wait()
color_correction.TintColor = Color3.fromRGB(30, 03, 15)
wait()
color_correction.TintColor = Color3.fromRGB(30, 0, 05)
wait()
color_correction.TintColor = Color3.fromRGB(30, 0, 0)
local TweenService = game:GetService("TweenService")
local ColorCorrection = -- address color correction
ColorCorrection.TintColor = Color3.fromRGB(212, 233, 245)
TweenService:Create(ColorCorrection, TweenInfo.new(5), {
TintColor = Color3.fromRGB(30, 0, 0)
}):Play()
Sources:
TweenService
TweenInfo
Thanks for helping, i appreciate you.