How to force a local function without doing any action?

How can I force a local function without pressing a button or doing something? I just want to force it as a FireServer but without a remote event

local template = script.Parent

local function TweenColorFunct()
wait(19.4)
template.BackgroundTransparency = 0.5
wait(0.1)
template.BackgroundTransparency = 0.6
wait(0.1)
template.BackgroundTransparency = 0.7
wait(0.1)
template.BackgroundTransparency = 0.8
wait(0.1)
template.BackgroundTransparency = 0.9
wait(0.1)
template.BackgroundTransparency = 1
end

Fire(TweenColorFunct)

Literally just: TweenColorFunct(). Whatever the name of the function is, followed by a pair of brackets, with whatever the parameters are.

1 Like

just call the function like this

TweenColorFunct()
1 Like