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

Whats the bug in the script?

Is there a bug in this script? script.Parent:TweenSizeAndPosition(UDim2.new(0,100,0,100),UDim2.new(0.5,0,0.25,0), "Out", "Bounce", 0.5, false, nil) output keeps saying "Players.Player1.PlayerGui.ScreenGui.TextButton.Script:2: attempt to call a userdata value"


1 answer

You Cant Use "Out" and "Bounce" you have to use Enums.

Example:

TweenSizeAndPosition(UDim2.new(0, 300, 0, 150), UDim2.new(0.5, -150, 0.5, -75), 
	Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true)

1 comment

0

You don't necessarily have to use enumerations.

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