Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can you transition smoothly between 2 numerical values without increments?

so i know you can increase a numerical value using small increments but is there any way to do it fully smoothly

so something like this but instead of the wait at "HERE" then something to smoothly transition between the values

part = game.Workspace.Part
touchpad = script.Parent

cd = false

touchpad.Touched:Connect(function(p)
if p.Parent:FindFirstChild("HumanoidRootPart") then
	if cd == false then
		cd = true
		part.Transparency = 1
		wait(1) -- HERE
		part.Transparency = 0
		cd = false
	end
end

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.