simple, i have this script inside my cat model but when I’m cloning it, it not working
I’m using GUI text button to spawn car
and my cat is inside ReplicatedStorage
this it the GUI text button spawn script (“clonecar”)
local car = game.ReplicatedStorage.car
local bouuton = script.Parent
bouuton.MouseButton1Click:Connect(function()
local clonecar = car:Clone()
clonecar.Parent = workspace
local rng = math.random(1, 10)
clonecar:MoveTo(Vector3.new(rng, rng, rng))
end)
this it the script inside cat model (“MeowScript”)
local moew = script.Parent.Sound
while true do
wait(math.random(1, 10))
moew:Play()
end
thx for help in the future =w=‘’