Egg Collecting Not Working

Hello Developers.
Easter is coming up, and in true tradition, i will be making a egg hunt game!
However, i just finished the egg collecting by Noobie’s tutorial, and its not working, there is no errors in the output, the ui i not loading, its like a coded ui that moves and it does nothing, apart from destroying the egg, please help

Code: StarterGui - EggUi - Client

local Players = game:GetService(“Players”)
local ReplicatedStorage = game:GetService(“ReplicatedStorage”)
local TweenService = game:GetService(“TweenService”)
local Player = Players.LocalPlayer
local RemoteEvents = ReplicatedStorage.RemoteEvents

local EggFrame = script.Parent.EggFrame
local ViewportFrame = EggFrame.ViewportFrame
local EggLabel = EggFrame.EggLabel
local EggCollected = script.Parent.EggCollected
local CoverFrame = script.Parent.CoverFrame

local TweenInfomation, fovinfo = TweenInfo.new(4, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut), TweenInfo.new(0.15, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
local Tween
local outcodeEgg

local function ReplayTween(info)
info:play()
info.Completed:Wait()
end

local function SetEgg(Egg, FovCamera, PlayerHumanoid)
local ClonedEgg = ReplicatedStorage.Eggs[Egg.Name]:Clone()
ViewportFrame:ClearAllChildren()
ClonedEgg.Parent = ViewportFrame
EggLabel.Text = Egg.Name…" Egg"

local Camera = Instance.new("Camera")
Camera.Parent = ViewportFrame
ViewportFrame.CurrentCamera = Camera
Camera.CFrame = ClonedEgg.CFrame + CFrame.new(0, 0, Egg.Size.z + 1.5)

local FovTweenEnter, FovTweenLeave, EggCollectedTween = TweenService:Create(FovCamera, fovinfo, {FieldOfView = 30}), TweenService:Create(FovCamera, fovinfo, {FieldOfView = 70}), TweenService:Create(EggCollected, fovinfo {Size = UDim2.new(0, 400, 0, 100), Position = UDim2.new(0.5,0,0.1,0)})

outcodeEgg = ClonedEgg
FovTweenEnter:Play()

CoverFrame.Visible = true
EggCollected.Visible = true

PlayerHumanoid.WalkSpeed = 0
PlayerHumanoid.JumpPower = 0

local Time = 0.25
local StartTime = tick()
repeat
	task.wait()
	local EndTime = tick()
	local xOffset = math.random(-100, 100) / 500
	local yOffset = math.random(-100, 100) / 500
	local zOffset = math.random(-100, 100) / 500
	Player.Character.Humanoid.CameraOffset = Vector3.new(xOffset, yOffset, zOffset)
until EndTime - StartTime >= Time

task.wait(0.5)
EggCollectedTween:Play()
task.wait(0.15)

EggFrame.Visible = true
Tween = TweenService:Create(ClonedEgg, TweenInfomation, {Orentation = Vector3.new(0,360,0)})
local s,e = pcall(function() ReplayTween(Tween) end) if s then elseif e then end

PlayerHumanoid.WalkSpeed = 16
PlayerHumanoid.JumpPower = 50

EggFrame.Visible = false
CoverFrame.Visible = false
EggCollected.Visible = false
EggCollected.Position = UDim2.new(0.5,0, 0.5,0)
EggCollected.Size = UDim2.new(0, 900, 0, 200)

FovTweenLeave:Play()

end

RemoteEvents.Handler.OnClientEvent:Connect(function(Argument, Egg)
if not Argument then return end
if Argument == “NewEgg” then
if not Player.Character.Humanoid.UseJumpPower then Player.Character.Humanoid.UseJumpPower = true end
Egg:Destroy()
outcodeEgg = nil
Tween = nil
SetEgg(Egg, workspace.CurrentCamera, Player.Character.Humanoid)
task.wait(0.1)
ReplayTween(Tween)
elseif Argument == “AlreadyEgg” then
Egg:Destroy()
outcodeEgg = nil
Tween = nil
end
end)

while true do
if outcodeEgg then
local s,e = pcall(function() ReplayTween(Tween) end) if s then elseif e then end
end
task.wait()
end