Car Dealership Tycoon Script | EGG HUNT WEEK 2

Created by OMGIMPOPCORN

Features:

Script: Execute when the egg spawns

for _,v in pairs(workspace.MagicEgg:GetDescendants()) do
if v.Name == "MagicEgg" and v.Parent.Active.Value then
 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame

local args = {
    [1] = v
}

game:GetService("ReplicatedStorage").Remotes.CollectPart:FireServer(unpack(args))
end end