local ReplicatedStorage = game:GetService("ReplicatedStorage")
local TweenService = game:GetService("TweenService")
local StormAvailableStorage = ReplicatedStorage.StormAvailableStorage
local StormTemporaryStorage = ReplicatedStorage.StormTemporaryStorage
local CloudTypes = StormAvailableStorage.CloudTypes
local CloudFormation = StormTemporaryStorage.CloudFormation
local UpperCloud = CloudTypes.UpperCloud
local Cumulonimbus = CloudTypes.Cumulonimbus
local LargeCumulonimbus = CloudTypes.LargeCumulonimbus
local Mesocyclone = CloudTypes.Mesocyclone
local UnderCloud = CloudTypes.UnderCloud
local function formStormClouds(position)
wait(1)
--StormTemporaryStorage
UpperCloud:Clone().Parent = CloudFormation
Cumulonimbus:Clone().Parent = CloudFormation
LargeCumulonimbus:Clone().Parent = CloudFormation
UnderCloud:Clone().Parent = CloudFormation
--Form UpperCloud
local UCEtweenInfo = TweenInfo.new(
3,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
1,
false,
0
)
local UCEtween = TweenService:Create(UpperCloud, UCEtweenInfo, {
Size = Vector3.new(1861.544, 293.971, 1556.996),
Position = position
})
--Form Cumulonimbus
local CBEtweenInfo = TweenInfo.new(
3,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
1,
false,
0
)
local CBEtween = TweenService:Create(Cumulonimbus, CBEtweenInfo, {
Size = Vector3.new(1310.23, 1185.228, 1406.974),
Position = Vector3.new(position.X, position.Y + 1259, position.Z)
})
--Form LargeCumulonimbus
local LCEtweenInfo = TweenInfo.new(
3,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
1,
false,
0
)
local LCEtween = TweenService:Create(LargeCumulonimbus, LCEtweenInfo, {
Size = Vector3.new(1629.267, 1951.728, 1749.568),
Position = Vector3.new(position.X + 100, position.Y + 1000, position.Z + 100)
})
--Form UnderCloud
local UCE2tweenInfo = TweenInfo.new(
3,
Enum.EasingStyle.Linear,
Enum.EasingDirection.In,
1,
false,
0
)
local UCE2tween = TweenService:Create(UnderCloud, UCE2tweenInfo, {
Size = Vector3.new(1568.987, 305.811, 1312.301),
Position = Vector3.new(position.X, position.Y - 50, position.Z)
})
--Play tweens
CloudFormation.UpperCloud.Parent = workspace
UCEtween:Play()
wait(10)
CloudFormation.Cumulonimbus.Parent = workspace
CBEtween:Play()
wait(5)
CloudFormation.LargeCumulonimbus.Parent = workspace
LCEtween:Play()
wait(5)
CloudFormation.UnderCloud.Parent = workspace
UCEtween:Play()
end
formStormClouds(Vector3.new(0,1000,0))
The issue is that the clouds spawn and they don’t tween to size.
There are no errors.
I’ve tried multiple things such as:
Changing where my locals go.
Waiting longer times.
Triple checking the code for any tween repeats (there isn’t any)
I’ve been spending the past couple of hours trying to fix this. I really need help here.
I’m not exactly sure what I’m doing wrong.
![]()