What I want is that when my datastore scripts get loaded from the ServerScriptService, it fires a RemoteEvent that runs the Intro script below. It fires the event, and the script works perfectly. But the ViewPortFrame doesn't tween from it's position.
local ViewPortFrame = script.Parent.ViewPortFrame ViewPortFrame.Position = Udim2.new(-1,0,0,0) script.Parent.RemoteEvent.OnClientEvent:Connect(function() ViewPortFrame:TweenPosition(Udim2.new(1,0,0,0), Enum.EasingDirection.Inout,Enum.EasingStyle.Circular, 10) end
It doesn't show errors.
Now I know the reason. it is because that function
GuiObject:TweenPosition() doesn't support the
Enum.EasingStyle.Exponential . Now I have put any other EasingStyle and it works perfectly!!