Help with my flower

You only need to create a tween with the same instance speed and info once then you can just play it again
you should create a loop and wait for each section to complete.
to wait until your tween is done playing use this method to get wait until it is done. Also you can input multiple goal properties for each tween by adding them to the goal table

Tween.Stopped:Wait()

It’s important to write code that is not so redundant.

i think you’re a bit late on this

oh i’m even later

1 Like

Hello are you ok (character limit)

1 Like

Yeah I’m absolutely fine, didn’t think this would blow up like it did. xD

19 Likes

thats exactly what i was thinking i dont understand why people would think otherwise

1 Like

i’m honestly surprised i can actually read your code, though probably considering i’m a spaghetti scripter

2 Likes

Me when my interviewer at Google wants me to write a program with a runtime complexity of O(1)

8 Likes

I would keep moving forward on your project, back in the day, like way back in the day, the more lines of code you had , the more you would get paid… which is kinda funny now or then … do you have an update flower project to share?

2 Likes

I want to tell you something
HOW MANY HOURS DID YOU TAKE TO WRITE THIS???
For me I will use while or for statement

3 Likes

this post is such a legendary gif on discord

18 Likes

ong bro :skull:
found this through a liked user post and holy

If I were you, I would have deleted this post before it turned into a meme.

1 Like

this is a certified devforum classic

6 Likes

its like a “classic” book, it is just so iconic and everyone know about it

1 Like

this post is historic and needs to be preserved

3 Likes

yall witchhunting him like crazy tbh

1 Like
(To let everyone know, I am @AridFights1 )

This post is the second most viewed post…

2 Likes

because it was funny it got popular i even found some speechbubbles of it on discord lol

also funny stuff look again its the 3rd most viewed lol

I thought mine was the worst (and I didn’t change it because it does its job)

local TweenService = game:GetService("TweenService")

script.Parent.MouseButton1Click:Connect(function()
	local AnimSpeed = 0.5
	
	local Goal1a = {TextTransparency = 1}
	local Goal2a = {BackgroundTransparency = 1}
	local Goal3a = {ImageTransparency = 1}
	local Goal1b = {TextTransparency = 0}
	local Goal2b = {BackgroundTransparency = 0}
	local Goal3b = {ImageTransparency = 0}
	local Goal1c = {BackgroundTransparency = 0.5}
	
	local Tween1a = TweenService:Create(script.Parent, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween2a = TweenService:Create(script.Parent.Parent.PCNameStep1, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween3a = TweenService:Create(script.Parent.Parent.PCNameStep2, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween4a = TweenService:Create(script.Parent.Parent.PCNameStep3, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween5a = TweenService:Create(script.Parent.Parent.PCNameStep4, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween6a = TweenService:Create(script.Parent.Parent.PCNameStep1.NameBox, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween7a = TweenService:Create(script.Parent.Parent.PCNameStep2.NameBox, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween8a = TweenService:Create(script.Parent.Parent.PCNameStep3.NameBox, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween9a = TweenService:Create(script.Parent.Parent.PCNameStep4.NameBox, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween10a = TweenService:Create(script.Parent.Parent.PCNameStepError, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween11a = TweenService:Create(script.Parent.Parent.YourAccountStep, TweenInfo.new(AnimSpeed), Goal1a)
	local Tween12a = TweenService:Create(script.Parent.Parent.YourAccountStep.Label, TweenInfo.new(AnimSpeed), Goal1a)
	
	local Tween1b = TweenService:Create(script.Parent, TweenInfo.new(AnimSpeed), Goal2a)
	local Tween2b = TweenService:Create(script.Parent.Parent.PCNameStep1.NameBox, TweenInfo.new(AnimSpeed), Goal2a)
	local Tween3b = TweenService:Create(script.Parent.Parent.PCNameStep2.NameBox, TweenInfo.new(AnimSpeed), Goal2a)
	local Tween4b = TweenService:Create(script.Parent.Parent.PCNameStep3.NameBox, TweenInfo.new(AnimSpeed), Goal2a)
	local Tween5b = TweenService:Create(script.Parent.Parent.PCNameStep4.NameBox, TweenInfo.new(AnimSpeed), Goal2a)
	
	local Tween1c = TweenService:Create(script.Parent.Parent.BackButton, TweenInfo.new(AnimSpeed), Goal3a)
	
	
	local Tween1d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep1, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween2d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep2, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween3d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep3, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween4d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep1.TextButton, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween5d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep2.TextButton, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween6d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep3.TextButton, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween7d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween8d = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep.Label, TweenInfo.new(AnimSpeed), Goal1b)
	local Tween9d = TweenService:Create(script.Parent.Parent.Parent.Step3.NextButton, TweenInfo.new(AnimSpeed), Goal1b)
	
	local Tween1e = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep1.TextButton, TweenInfo.new(AnimSpeed), Goal2b)
	local Tween2e = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep2.TextButton, TweenInfo.new(AnimSpeed), Goal2b)
	local Tween3e = TweenService:Create(script.Parent.Parent.Parent.Step3.SettingsStep3.TextButton, TweenInfo.new(AnimSpeed), Goal2b)
	local Tween4e = TweenService:Create(script.Parent.Parent.Parent.Step3.NextButton, TweenInfo.new(AnimSpeed), Goal1c)
	
	local Tween1f = TweenService:Create(script.Parent.Parent.Parent.Step3.BackButton, TweenInfo.new(AnimSpeed), Goal3b)
	
	local NameBox = script.Parent.Parent.PCNameStep1.NameBox
	
	if NameBox.Text == "" then
		script.Parent.Parent.PCNameStepError.Visible = true
	else
		script.Parent.Parent.PCNameStepError.Visible = false
		Tween1a:Play()
		Tween2a:Play()
		Tween3a:Play()
		Tween4a:Play()
		Tween5a:Play()
		Tween6a:Play()
		Tween7a:Play()
		Tween8a:Play()
		Tween9a:Play()
		Tween10a:Play()
		Tween11a:Play()
		Tween12a:Play()
		Tween1b:Play()
		Tween2b:Play()
		Tween3b:Play()
		Tween4b:Play()
		Tween5b:Play()
		Tween1c:Play()
		
		wait(AnimSpeed)
		
		script.Parent.Parent.Parent.Step3.SettingsStep1.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep2.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep3.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep1.TextButton.BackgroundTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep2.TextButton.BackgroundTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep3.TextButton.BackgroundTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep1.TextButton.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep2.TextButton.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep3.TextButton.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.SettingsStep.Label.TextTransparency = 1
		script.Parent.Parent.Parent.Step3.BackButton.ImageTransparency = 1
		script.Parent.Parent.Parent.Step3.NextButton.BackgroundTransparency = 1
		script.Parent.Parent.Parent.Step3.NextButton.TextTransparency = 1
		
		script.Parent.Parent.Visible = false
		script.Parent.Parent.Parent.Step3.Visible = true
		
		script.Parent.Parent.Parent.Step3.SettingsStep.Position = UDim2.new(0.142, 0, 0.11, 0)
		script.Parent.Parent.Parent.Step3.SettingsStep1.Position = UDim2.new(0.259, 0, 0.365, 0)
		script.Parent.Parent.Parent.Step3.SettingsStep2.Position = UDim2.new(0.259, 0, 0.451, 0)
		script.Parent.Parent.Parent.Step3.SettingsStep3.Position = UDim2.new(0.259, 0, 0.54, 0)
		
		Tween7d:Play()
		Tween8d:Play()
		Tween9d:Play()
		Tween4e:Play()
		Tween1f:Play()
		
		script.Parent.Parent.Parent.Step3.SettingsStep:TweenPosition(UDim2.new(0.076, 0, 0.11, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, AnimSpeed)
		wait(AnimSpeed / 5)
		
		Tween1d:Play()
		Tween2d:Play()
		Tween3d:Play()
		Tween4d:Play()
		Tween5d:Play()
		Tween6d:Play()
		Tween1e:Play()
		Tween2e:Play()
		Tween3e:Play()
		
		script.Parent.Parent.Parent.Step3.SettingsStep1:TweenPosition(UDim2.new(0.194, 0, 0.365, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, AnimSpeed)
		script.Parent.Parent.Parent.Step3.SettingsStep2:TweenPosition(UDim2.new(0.194, 0, 0.451, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, AnimSpeed)
		script.Parent.Parent.Parent.Step3.SettingsStep3:TweenPosition(UDim2.new(0.194, 0, 0.54, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, AnimSpeed)
	end
end)
2 Likes