I am making fire when I touch a part but I can't tell how to change the color of it.
local PlayersService = game:GetService("Players") local debounce = false script.Parent.Touched:Connect(function (hit) if hit and hit.Parent:FindFirstChild("Humanoid") and PlayersService:GetPlayerFromCharacter(hit.Parent) and debounce == false then local fire = Instance.new("Fire") fire.Parent = script.Parent debounce = true wait(1) debounce = false end end)
Once you create the fire, you can set any of it's properties (including color) like this:
local fire = Instance.new("Fire") fire.Color = Color3.new(0,0,1) fire.Parent = script.Parent
Check out the API reference for other things you can do with Fire: https://developer.roblox.com/en-us/api-reference/class/Fire
hey you! have you ever heard of enes? if you are in trouble, better call enes!