Okay, this is gonna sound mad.
I’m trying to make a giant robux flying over the map at random times that dispenses small robux parts that get destroyed after a short amount of time, but the small robux don’t get cloned and are nowhere to be found. Code:
local w = math.random(1,1)
local ts = game:GetService("TweenService")
local start = game.Workspace.robuxstart
local endp = game.workspace.robuxend
local ropart = script.Parent
local ti = TweenInfo.new(
30,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
0
)
local tween = ts:Create(ropart, ti, {CFrame = endp.CFrame})
local amount = 0
while true do
wait(w)
tween:Play()
repeat
local rs = game.Workspace.rscreate:Clone()
rs.Name = "newro"
rs.CFrame = ropart.CFrame
game.Debris:AddItem(rs,10)
amount = amount + 1
wait(0.1)
until amount == 200
amount = 0
wait(30)
end
The giant robux that is supposed to be creating robux is moving across the map perfectly fine, it’s just the small robux don’t spawn. Thanks for any help. (Don’t think I am mad)