I’ve tried everything I could to fix this, but it doesn’t work. Please help, have a great day.
My output problem: Argument 3 missing or nil
Here’s my script:
local Frame = script.Parent.Parent.Parent.Parent.Frame
local Indicator = script.Parent.Parent.IndicatorFrame
local Load = false
game.ReplicatedFirst:RemoveDefaultLoadingScreen()
if Load == true then
Frame.Visible = false
else
Indicator:TweenSize(UDim2.new(0,0,0,0):Lerp(UDim2.new(575,0,65,0)))
end
if not game:IsLoaded() then
game.Loaded:Wait()
Load = true
print ("Hi")
end
You forgot to set an Alpha in your Lerp, although it doesn’t seem needed when you can make it instantly Tween to where you want just by specifying the end result instead
Lerp accepts 2 parameters, the goal, and the alpha (which is a number between 0 and 1), which is where inbetween the goal and the original UDim2 it reaches, you only specified one, but again, you can just specify the end UDim2
Ok but why are you replying to the both of us in separate posts
local Frame = script.Parent.Parent.Parent.Parent.Frame
local Indicator = script.Parent.Parent.IndicatorFrame
local Load = false
game.ReplicatedFirst:RemoveDefaultLoadingScreen()
if Load == true then
Frame.Visible = false
else
Indicator:TweenSize(UDim2.new(575, 0, 65, 0))
end
if not game:IsLoaded() then
game.Loaded:Wait()
Load = true
Frame.Visible = false
print ("Hi")
end
Cause you forgot to set it back to true in your game:IsLoaded() check