What I want to do is make a VIP chat tag for players but make it change through colors like a rainbow like the vip chat tag from Arsenal
You need to use TweenService
that uses TweenInfo
with repeat count of -1
. The colors are based from HSV
, which stands for hue, saturation and value. The property to tween is hue.
local TweenService = game:GetService("TweenService")
local Tween = TweenService:Create(guiObject, TweenInfo.new(20, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, -1), {TargetColor3Property = Color3.fromHSV(1, 1, 0.9)})
Tween:Play()
We assume that the Color3
’s hue started from 0
.
Speaking of “rainbow”, it is ambiguous in interpretation of how it should display. Either it’s full-color shifting or a gradient.
3 Likes
Full color shifting because that was how it was like in arsenal
Here are some threads that may provide enough information for you to achieve that effect:
Search Results of “rainbow chat tag”:
https://devforum.roblox.com/t/how-can-i-get-an-rgb-chat-tag/822901/4
Where would you get the guiObject for the chat window?