System: You will be given a Luau script (that has been decompiled). You will rename the variables and functions to sound better, make the script more coherent, and add comments to areas of the script. Return the fixed script without adding ``` as we handle that. If no script has been given, do not produce any output. Do not respond with anything but the script
User: -- Decompiler will be improved soon!
-- Decompiled with Konstant V2.1, a fast Luau decompiler made in Luau by plusgiant5 (https://discord.gg/wyButjTMhM)
-- Decompiled on 2025-02-01 06:23:09
-- Luau version 6, Types version 3
-- Time taken: 0.003136 seconds

local TweenService_upvr = game:GetService("TweenService")
local TweenInfo_new_result1_upvr = TweenInfo.new(0.5, Enum.EasingStyle.Linear)
local UiPositions_upvr = require(script.UiPositions)
local LocalPlayer = game.Players.LocalPlayer
local Gui_upvr = LocalPlayer.PlayerGui:WaitForChild("Gui")
local Shop_upvr = Gui_upvr.Shop
local Servers_upvr = Gui_upvr.Servers
local Main_upvr = Gui_upvr.Main
local Help_upvr = Gui_upvr.Help
LocalPlayer.Information:WaitForChild("Credits")
Main_upvr.PlayerStats.Credits.Text = LocalPlayer.Information.Credits.Value
Main_upvr.PlayerStats.Losses.Text = LocalPlayer.Information.Losses.Value
Main_upvr.PlayerStats.Wins.Text = LocalPlayer.Information.Wins.Value
Shop_upvr.Towers.PlayerStats.Credits.Text = LocalPlayer.Information.Credits.Value
Shop_upvr.Towers.PlayerStats.Losses.Text = LocalPlayer.Information.Losses.Value
Shop_upvr.Towers.PlayerStats.Wins.Text = LocalPlayer.Information.Wins.Value
LocalPlayer.Information.Credits.Changed:Connect(function(arg1) -- Line 21
	--[[ Upvalues[2]:
		[1]: Shop_upvr (readonly)
		[2]: Main_upvr (readonly)
	]]
	Shop_upvr.Towers.PlayerStats.Credits.Text = arg1
	Main_upvr.PlayerStats.Credits.Text = arg1
end)
LocalPlayer.Information.Losses.Changed:Connect(function(arg1) -- Line 26
	--[[ Upvalues[2]:
		[1]: Shop_upvr (readonly)
		[2]: Main_upvr (readonly)
	]]
	Shop_upvr.Towers.PlayerStats.Losses.Text = arg1
	Main_upvr.PlayerStats.Losses.Text = arg1
end)
LocalPlayer.Information.Wins.Changed:Connect(function(arg1) -- Line 31
	--[[ Upvalues[2]:
		[1]: Main_upvr (readonly)
		[2]: Shop_upvr (readonly)
	]]
	Main_upvr.PlayerStats.Wins.Text = arg1
	Shop_upvr.Towers.PlayerStats.Wins.Text = arg1
end)
Main_upvr.Buttons.Servers.Activated:Connect(function() -- Line 36
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Servers_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Servers.Main;
	}):Play()
	TweenService_upvr:Create(Servers_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Servers.Servers;
	}):Play()
end)
Servers_upvr.Servers.Back.Activated:Connect(function() -- Line 44
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Servers_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Servers.Back.Main;
	}):Play()
	TweenService_upvr:Create(Servers_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Servers.Back.Servers;
	}):Play()
end)
Main_upvr.Buttons.Towers.Activated:Connect(function() -- Line 52
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Shop_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Towers.Main;
	}):Play()
	TweenService_upvr:Create(Shop_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Towers.Towers;
	}):Play()
end)
Shop_upvr.Towers.Back.Activated:Connect(function() -- Line 60
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Shop_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Towers.Back.Main;
	}):Play()
	TweenService_upvr:Create(Shop_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Towers.Back.Towers;
	}):Play()
end)
Main_upvr.Buttons.Help.Activated:Connect(function() -- Line 68
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Help_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Help.Main;
	}):Play()
	TweenService_upvr:Create(Help_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Help.Help;
	}):Play()
end)
Help_upvr.Help.Back.Activated:Connect(function() -- Line 76
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Help_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Help.Back.Main;
	}):Play()
	TweenService_upvr:Create(Help_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Help.Back.Help;
	}):Play()
end)
Main_upvr.Admin.Activated:Connect(function() -- Line 84
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Gui_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Panel.Main;
	}):Play()
	TweenService_upvr:Create(Gui_upvr.AdminPanel, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Panel.Panel;
	}):Play()
end)
Gui_upvr.AdminPanel.Back.Activated:Connect(function() -- Line 92
	--[[ Upvalues[5]:
		[1]: TweenService_upvr (readonly)
		[2]: Main_upvr (readonly)
		[3]: TweenInfo_new_result1_upvr (readonly)
		[4]: UiPositions_upvr (readonly)
		[5]: Gui_upvr (readonly)
	]]
	TweenService_upvr:Create(Main_upvr, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Panel.Back.Main;
	}):Play()
	TweenService_upvr:Create(Gui_upvr.AdminPanel, TweenInfo_new_result1_upvr, {
		Position = UiPositions_upvr.Panel.Back.Panel;
	}):Play()
end)
Assistant: