--game.ReplicatedStorage.gui.OnClientEvent:Connect(function()
--	for i, v in pairs(game.SoundService:GetChildren()) do
--		v:Stop()
--		v:Stop()
--	end
--	script.Parent.Parent.victory.Enabled = false
--	game.Workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
--	script.Parent.Enabled = false
--	isplaying = false
--	script.Parent.Parent.victory.Enabled = false
--	game.Workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
--	script.Parent.Enabled = false
--	game.SoundService.ocean:Pause()
--	game.SoundService.ocean.Volume = 0
--	game.SoundService.forest:Pause()
--	game.SoundService.forest.Volume = 0
--	script.Parent.TextLabel.Text = counter
--	isenabled = false
--script.Parent.ImageButton.AutoButtonColor = false
--	ts:Create(script.Parent.ImageButton, TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {ImageColor3 = Color3.fromRGB(98, 101, 255)}):Play()
--	counter = 30
--	ts:Create(script.Parent.ImageButton, TweenInfo.new(3, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 1, false), {Rotation=360}):Play()
--	--wait(3)
--	script.Parent.seed.Visible = true
----	ts:Create(script.Parent.TextLabel, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {TextTransparency=0}):Play()
--	ts:Create(script.Parent.seed, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {TextTransparency=0}):Play()
--	script.Parent.seed.Text = "SEED: " ..workspace.SEED.Value
--	script.Parent.TextLabel.Visible = true
--	ts:Create(script.Parent.ImageButton, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {ImageColor3 = Color3.fromRGB(54, 54, 54)}):Play()
--	game.SoundService.ocean:Play()
--	game.SoundService.ocean.Volume = 1
--	game.SoundService.forest:Play()
--	game.SoundService.forest.Volume = 0.25
--	--while wait(1) do
--	--	counter = counter - 1
--	--	script.Parent.TextLabel.Text = counter
--	--	if counter == 0 then
--	--		break
--	--	end
--	--end
--	print("waiting")
--	game.ReplicatedStorage.round_end.OnClientEvent:Connect(function()
--	print("waited")
--	script.Parent.Enabled = true
--	script.Parent.ImageButton.Rotation = 0
--	counter = 30
--	isenabled = true
----	ts:Create(script.Parent.TextLabel, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {TextTransparency=1}):Play()
--	script.Parent.TextLabel.Visible = false
--	script.Parent.ImageButton.AutoButtonColor = true
--	ts:Create(script.Parent.ImageButton, TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {ImageColor3 = Color3.fromRGB(255, 255, 255)}):Play()
--end)
--	end)
--game.ReplicatedStorage.music_change.OnClientEvent:Connect(function(id)
--	if id == 0 then
--		game.SoundService.big:Play()
--	elseif id == 1 then
--		if isplaying == false then
--		isplaying = true
--		ts:Create(game.SoundService.big, TweenInfo.new(3, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Volume=0}):Play()
--		wait(3)
--		game.SoundService.big:Stop()
--		game.SoundService.big.Volume = 0.5
--			game.SoundService.small:Play()
--		end
--	elseif id == 2 then
--		wait(1)
--		for i, v in pairs(game.SoundService:GetChildren()) do
--			v:Stop()
--			v:Stop()
--		end
--		script.Parent.Parent.victory.Enabled = true
--		script.Parent.Parent.victory.TextLabel.BackgroundTransparency = 1
--		script.Parent.Parent.victory.TextLabel.TextTransparency = 1
--		ts:Create(script.Parent.Parent.victory.TextLabel, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {BackgroundTransparency=0, TextTransparency=0}):Play()
--		game.SoundService.finish:Play()
--		end
--	end)