-- Decompiled with the Synapse X Luau decompiler.

local v1 = require(script.Parent);
local v2 = require(game.Players.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls();
local v3 = game["Run Service"];
local l__UserInputService__4 = game:GetService("UserInputService");
local l__ProximityPromptService__5 = game:GetService("ProximityPromptService");
local l__TextService__6 = game:GetService("TextService");
local v7 = require(game:GetService("ReplicatedStorage"):WaitForChild("ClientModules"):WaitForChild("GetPlatform"));
local v8 = script:FindFirstAncestor("MainUI");
if v7() == "mobile" then
	v8.MainFrame:WaitForChild("MobileButtons").Visible = true;
end;
local l__PromptFrame__1 = v8:WaitForChild("MainFrame"):WaitForChild("PromptFrame");
local u2 = require(script:WaitForChild("MouseIcons"));
local u3 = require(game:GetService("ReplicatedStorage"):WaitForChild("ClientModules"):WaitForChild("ButtonIcons"));
local l__InteractButton__4 = v8.MainFrame:WaitForChild("MobileButtons"):WaitForChild("InteractButton");
local u5 = require(script:WaitForChild("Hint"));
local l__TweenService__6 = game:GetService("TweenService");
local u7 = nil;
local u8 = tick();
local l__Highlight__9 = script:WaitForChild("Highlight");
local u10 = Vector3.new(0, 0, 0);
local u11 = nil;

function update(p1, p2)
	task.spawn(function()
		l__PromptFrame__1.Title.Text = p1.ObjectText;
		l__PromptFrame__1.Desc.Text = p1.ActionText;
		l__PromptFrame__1.Key.Text = p1.KeyboardKeyCode.Name;
		l__PromptFrame__1.Bar.Bar.Size = UDim2.new(0, 0, 1, 0);
		l__PromptFrame__1.Bar.Bar:TweenSize(UDim2.new(0, 0, 1, 0), "Out", "Sine", 0.1, true);
		l__PromptFrame__1.CenterImage.Image = u2.getIcon(p1.ActionText);
		if p1.ActionText == "Collect" then
			task.delay(0.2, function()
				p1:InputHoldBegin();
			end);
		end;
		local v9 = UDim.new(0.925, 0);
		if v7() ~= "pc" then
			l__PromptFrame__1.Key.Visible = false;
			l__PromptFrame__1.UIScale.Scale = 1.5;
			if v7() == "console" then
				l__PromptFrame__1.KeyXbox.Image = u3[p1.GamepadKeyCode.Name];
				l__PromptFrame__1.KeyXbox.Visible = true;
			elseif v7() == "mobile" then
				l__PromptFrame__1.KeyXbox.Visible = false;
			end;
		else
			l__PromptFrame__1.Key.Visible = true;
			l__PromptFrame__1.KeyXbox.Visible = false;
		end;
		l__InteractButton__4.Icon.Image = l__PromptFrame__1.CenterImage.Image;
		if p1.ObjectText == "Hint" then
			local v10 = UDim.new(0.85, 0);
			l__PromptFrame__1.Key.Text = u5[p1.ActionText];
			l__PromptFrame__1.CenterImage.Image = u2.getIcon(p1.ObjectText);
		end;
		local v11 = {
			BackgroundColor3 = Color3.fromRGB(0, 0, 0)
		};
		if p2 == true then
			l__PromptFrame__1.BackgroundColor3 = Color3.new(0.776471, 0.729412, 0.376471);
			l__TweenService__6:Create(l__PromptFrame__1, TweenInfo.new(0.15, Enum.EasingStyle.Quart, Enum.EasingDirection.In), v11):Play();
		else
			l__PromptFrame__1.BackgroundColor3 = Color3.new(0.337255, 0.423529, 0.533333);
			l__TweenService__6:Create(l__PromptFrame__1, TweenInfo.new(0.4, Enum.EasingStyle.Sine, Enum.EasingDirection.In), v11):Play();
		end;
		if 0 < p1.HoldDuration then
			l__PromptFrame__1.Bar.Visible = true;
		else
			l__PromptFrame__1.Bar.Visible = false;
		end;
		script.Holding:Stop();
		local l__CurrentCamera__12 = workspace.CurrentCamera;
		local v13 = l__CurrentCamera__12.CFrame.Position;
		local v21
		local v22, v23 = l__CurrentCamera__12:WorldToScreenPoint(v13 - Vector3.new(0, 0.2, 0));
		local l__Parent__14 = p1.Parent;
		local v15 = false;
		u8 = tick();
		if l__Parent__14 then
			if not l__Parent__14:IsA("BasePart") then
				if l__Parent__14:IsA("Model") then
					v13 = l__Parent__14:GetPivot().Position;
					v15 = true;
				elseif l__Parent__14:IsA("Attachment") then
					v13 = l__Parent__14.WorldPosition;
				end;
			else
				v13 = l__Parent__14:GetPivot().Position;
				v15 = true;
			end;
			l__Highlight__9.Adornee = l__Parent__14;
			l__Highlight__9.Enabled = true;
			l__PromptFrame__1.Visible = true;
			l__PromptFrame__1.Position = UDim2.new(0.5, 0, 2, 0);
			local v16 = u10;
			if v16 then
				if 7 <= (v16 - v13).Magnitude then
					v16 = nil;
				elseif v16 then

				end;
			end;
			l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
				FillTransparency = 0.9, 
				OutlineTransparency = 0
			}):Play();
			local v17 = nil;
			local v18 = nil;
			if v7() == "mobile" then
				l__InteractButton__4.Visible = true;
				l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
					BackgroundTransparency = 0.35
				}):Play();
				l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
					Transparency = 0
				}):Play();
				l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
					ImageTransparency = 0
				}):Play();
				v17 = l__InteractButton__4.InputBegan:Connect(function()
					p1:InputHoldBegin();
				end);
				v18 = l__InteractButton__4.InputEnded:Connect(function()
					p1:InputHoldEnd();
				end);
			end;
			local v19 = tick();
			local v20 = 1 - 1;
			if not l__Parent__14:IsA("BasePart") then
				if not l__Parent__14:IsA("Model") then
					if l__Parent__14:IsA("Attachment") then
						while true do
							if p1 then

							else
								pcall(function()
									if v17 then
										if v18 then
											v17:Disconnect();
											v18:Disconnect();
										end;
									end;
								end);
								if u7 == nil then
									l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										FillTransparency = 1, 
										OutlineTransparency = 1
									}):Play();
									task.wait(0.2);
									if u7 == nil then
										if u8 == u8 then
											l__Highlight__9.Adornee = nil;
											l__Highlight__9.Enabled = false;
											l__PromptFrame__1.Visible = false;
											l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												BackgroundTransparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												Transparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												ImageTransparency = 1
											}):Play();
										end;
									end;
								elseif l__PromptFrame__1.Visible then
									u11 = v13;
								end;
								break;
							end;
							if u7 == u7 then

							else
								pcall(function()
									if v17 then
										if v18 then
											v17:Disconnect();
											v18:Disconnect();
										end;
									end;
								end);
								if u7 == nil then
									l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										FillTransparency = 1, 
										OutlineTransparency = 1
									}):Play();
									task.wait(0.2);
									if u7 == nil then
										if u8 == u8 then
											l__Highlight__9.Adornee = nil;
											l__Highlight__9.Enabled = false;
											l__PromptFrame__1.Visible = false;
											l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												BackgroundTransparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												Transparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												ImageTransparency = 1
											}):Play();
										end;
									end;
								elseif l__PromptFrame__1.Visible then
									u11 = v13;
								end;
								break;
							end;
							if u7 then

							else
								pcall(function()
									if v17 then
										if v18 then
											v17:Disconnect();
											v18:Disconnect();
										end;
									end;
								end);
								if u7 == nil then
									l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										FillTransparency = 1, 
										OutlineTransparency = 1
									}):Play();
									task.wait(0.2);
									if u7 == nil then
										if u8 == u8 then
											l__Highlight__9.Adornee = nil;
											l__Highlight__9.Enabled = false;
											l__PromptFrame__1.Visible = false;
											l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												BackgroundTransparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												Transparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												ImageTransparency = 1
											}):Play();
										end;
									end;
								elseif l__PromptFrame__1.Visible then
									u11 = v13;
								end;
								break;
							end;
							if l__PromptFrame__1.Visible then

							else
								pcall(function()
									if v17 then
										if v18 then
											v17:Disconnect();
											v18:Disconnect();
										end;
									end;
								end);
								if u7 == nil then
									l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										FillTransparency = 1, 
										OutlineTransparency = 1
									}):Play();
									task.wait(0.2);
									if u7 == nil then
										if u8 == u8 then
											l__Highlight__9.Adornee = nil;
											l__Highlight__9.Enabled = false;
											l__PromptFrame__1.Visible = false;
											l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												BackgroundTransparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												Transparency = 1
											}):Play();
											l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
												ImageTransparency = 1
											}):Play();
										end;
									end;
								elseif l__PromptFrame__1.Visible then
									u11 = v13;
								end;
								break;
							end;
							if v15 then
								v21 = l__Parent__14:GetPivot().Position;
							else
								v21 = l__Parent__14.WorldPosition;
							end;
							if v16 then
								if v16 ~= nil then
									v21 = v16:Lerp(v21, l__TweenService__6:GetValue((tick() - v19) * 4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out));
								end;
							end;
							u10 = v13;
							l__PromptFrame__1.Position = UDim2.new(0, math.clamp(v22.X, 80, v8.AbsoluteSize.X - 80), 0, math.clamp(v22.Y, 80, v8.AbsoluteSize.Y - 80));
							l__Highlight__9.Adornee = l__Parent__14;
							l__Highlight__9.Enabled = true;
							task.wait();
							if 0 <= 1 then
								if v20 < 100000000 then

								else
									break;
								end;
							elseif 100000000 < v20 then

							else
								break;
							end;
							v20 = v20 + 1;						
						end;
					end;
				else
					v19 = tick();
					v20 = 1 - 1;
					while true do
						if p1 then

						else
							pcall(function()
								if v17 then
									if v18 then
										v17:Disconnect();
										v18:Disconnect();
									end;
								end;
							end);
							if u7 == nil then
								l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
									FillTransparency = 1, 
									OutlineTransparency = 1
								}):Play();
								task.wait(0.2);
								if u7 == nil then
									if u8 == u8 then
										l__Highlight__9.Adornee = nil;
										l__Highlight__9.Enabled = false;
										l__PromptFrame__1.Visible = false;
										l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											BackgroundTransparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											Transparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											ImageTransparency = 1
										}):Play();
									end;
								end;
							elseif l__PromptFrame__1.Visible then
								u11 = v13;
							end;
							break;
						end;
						if u7 == u7 then

						else
							pcall(function()
								if v17 then
									if v18 then
										v17:Disconnect();
										v18:Disconnect();
									end;
								end;
							end);
							if u7 == nil then
								l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
									FillTransparency = 1, 
									OutlineTransparency = 1
								}):Play();
								task.wait(0.2);
								if u7 == nil then
									if u8 == u8 then
										l__Highlight__9.Adornee = nil;
										l__Highlight__9.Enabled = false;
										l__PromptFrame__1.Visible = false;
										l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											BackgroundTransparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											Transparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											ImageTransparency = 1
										}):Play();
									end;
								end;
							elseif l__PromptFrame__1.Visible then
								u11 = v13;
							end;
							break;
						end;
						if u7 then

						else
							pcall(function()
								if v17 then
									if v18 then
										v17:Disconnect();
										v18:Disconnect();
									end;
								end;
							end);
							if u7 == nil then
								l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
									FillTransparency = 1, 
									OutlineTransparency = 1
								}):Play();
								task.wait(0.2);
								if u7 == nil then
									if u8 == u8 then
										l__Highlight__9.Adornee = nil;
										l__Highlight__9.Enabled = false;
										l__PromptFrame__1.Visible = false;
										l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											BackgroundTransparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											Transparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											ImageTransparency = 1
										}):Play();
									end;
								end;
							elseif l__PromptFrame__1.Visible then
								u11 = v13;
							end;
							break;
						end;
						if l__PromptFrame__1.Visible then

						else
							pcall(function()
								if v17 then
									if v18 then
										v17:Disconnect();
										v18:Disconnect();
									end;
								end;
							end);
							if u7 == nil then
								l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
									FillTransparency = 1, 
									OutlineTransparency = 1
								}):Play();
								task.wait(0.2);
								if u7 == nil then
									if u8 == u8 then
										l__Highlight__9.Adornee = nil;
										l__Highlight__9.Enabled = false;
										l__PromptFrame__1.Visible = false;
										l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											BackgroundTransparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											Transparency = 1
										}):Play();
										l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
											ImageTransparency = 1
										}):Play();
									end;
								end;
							elseif l__PromptFrame__1.Visible then
								u11 = v13;
							end;
							break;
						end;
						if v15 then
							v21 = l__Parent__14:GetPivot().Position;
						else
							v21 = l__Parent__14.WorldPosition;
						end;
						if v16 then
							if v16 ~= nil then
								v21 = v16:Lerp(v21, l__TweenService__6:GetValue((tick() - v19) * 4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out));
							end;
						end;
						u10 = v13;
						v22, v23 = l__CurrentCamera__12:WorldToScreenPoint(v13 - Vector3.new(0, 0.2, 0));
						l__PromptFrame__1.Position = UDim2.new(0, math.clamp(v22.X, 80, v8.AbsoluteSize.X - 80), 0, math.clamp(v22.Y, 80, v8.AbsoluteSize.Y - 80));
						l__Highlight__9.Adornee = l__Parent__14;
						l__Highlight__9.Enabled = true;
						task.wait();
						if 0 <= 1 then
							if v20 < 100000000 then

							else
								break;
							end;
						elseif 100000000 < v20 then

						else
							break;
						end;
						v20 = v20 + 1;					
					end;
				end;
			else
				v19 = tick();
				v20 = 1 - 1;
				while true do
					if p1 then

					else
						pcall(function()
							if v17 then
								if v18 then
									v17:Disconnect();
									v18:Disconnect();
								end;
							end;
						end);
						if u7 == nil then
							l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
								FillTransparency = 1, 
								OutlineTransparency = 1
							}):Play();
							task.wait(0.2);
							if u7 == nil then
								if u8 == u8 then
									l__Highlight__9.Adornee = nil;
									l__Highlight__9.Enabled = false;
									l__PromptFrame__1.Visible = false;
									l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										BackgroundTransparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										Transparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										ImageTransparency = 1
									}):Play();
								end;
							end;
						elseif l__PromptFrame__1.Visible then
							u11 = v13;
						end;
						break;
					end;
					if u7 == u7 then

					else
						pcall(function()
							if v17 then
								if v18 then
									v17:Disconnect();
									v18:Disconnect();
								end;
							end;
						end);
						if u7 == nil then
							l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
								FillTransparency = 1, 
								OutlineTransparency = 1
							}):Play();
							task.wait(0.2);
							if u7 == nil then
								if u8 == u8 then
									l__Highlight__9.Adornee = nil;
									l__Highlight__9.Enabled = false;
									l__PromptFrame__1.Visible = false;
									l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										BackgroundTransparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										Transparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										ImageTransparency = 1
									}):Play();
								end;
							end;
						elseif l__PromptFrame__1.Visible then
							u11 = v13;
						end;
						break;
					end;
					if u7 then

					else
						pcall(function()
							if v17 then
								if v18 then
									v17:Disconnect();
									v18:Disconnect();
								end;
							end;
						end);
						if u7 == nil then
							l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
								FillTransparency = 1, 
								OutlineTransparency = 1
							}):Play();
							task.wait(0.2);
							if u7 == nil then
								if u8 == u8 then
									l__Highlight__9.Adornee = nil;
									l__Highlight__9.Enabled = false;
									l__PromptFrame__1.Visible = false;
									l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										BackgroundTransparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										Transparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										ImageTransparency = 1
									}):Play();
								end;
							end;
						elseif l__PromptFrame__1.Visible then
							u11 = v13;
						end;
						break;
					end;
					if l__PromptFrame__1.Visible then

					else
						pcall(function()
							if v17 then
								if v18 then
									v17:Disconnect();
									v18:Disconnect();
								end;
							end;
						end);
						if u7 == nil then
							l__TweenService__6:Create(l__Highlight__9, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
								FillTransparency = 1, 
								OutlineTransparency = 1
							}):Play();
							task.wait(0.2);
							if u7 == nil then
								if u8 == u8 then
									l__Highlight__9.Adornee = nil;
									l__Highlight__9.Enabled = false;
									l__PromptFrame__1.Visible = false;
									l__TweenService__6:Create(l__InteractButton__4, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										BackgroundTransparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.UIStroke, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										Transparency = 1
									}):Play();
									l__TweenService__6:Create(l__InteractButton__4.Icon, TweenInfo.new(0.2, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {
										ImageTransparency = 1
									}):Play();
								end;
							end;
						elseif l__PromptFrame__1.Visible then
							u11 = v13;
						end;
						break;
					end;
					if v15 then
						v21 = l__Parent__14:GetPivot().Position;
					else
						v21 = l__Parent__14.WorldPosition;
					end;
					if v16 then
						if v16 ~= nil then
							v21 = v16:Lerp(v21, l__TweenService__6:GetValue((tick() - v19) * 4, Enum.EasingStyle.Quart, Enum.EasingDirection.Out));
						end;
					end;
					u10 = v13;
					v22, v23 = l__CurrentCamera__12:WorldToScreenPoint(v13 - Vector3.new(0, 0.2, 0));
					l__PromptFrame__1.Position = UDim2.new(0, math.clamp(v22.X, 80, v8.AbsoluteSize.X - 80), 0, math.clamp(v22.Y, 80, v8.AbsoluteSize.Y - 80));
					l__Highlight__9.Adornee = l__Parent__14;
					l__Highlight__9.Enabled = true;
					task.wait();
					if 0 <= 1 then
						if v20 < 100000000 then

						else
							break;
						end;
					elseif 100000000 < v20 then

					else
						break;
					end;
					v20 = v20 + 1;				
				end;
			end;
		end;
	end);
end;
local u12 = 0;
l__ProximityPromptService__5.PromptShown:Connect(function(p3)
	if p3.ObjectText ~= "Hint" then
		u7 = p3.Changed:Connect(function()
			update(p3);
		end);
		u12 = u12 + 1;
		update(p3);
		script.Notification:Play();
	end;
end);
l__ProximityPromptService__5.PromptHidden:Connect(function(p4)
	if p4.ObjectText ~= "Hint" then
		l__PromptFrame__1.Bar.Bar:TweenSize(UDim2.new(0, 0, 1, 0), "Out", "Sine", 0.1, true);
		l__PromptFrame__1.Visible = false;
		pcall(function()
			u7:Disconnect();
		end);
		u7 = nil;
		u12 = u12 - 1;
	end;
end);
l__ProximityPromptService__5.PromptTriggered:Connect(function(p5)
	if p5.ObjectText ~= "Hint" then
		update(p5, true);
		v1.camShaker:ShakeOnce(1, 1, 0.2, 0.7, Vector3.new(0, 0, 0));
		l__PromptFrame__1.Bar.Bar:TweenSize(UDim2.new(0, 0, 1, 0), "Out", "Sine", 0.1, true);
		script.Triggered:Play();
		script.Holding:Stop();
		l__PromptFrame__1.CenterImage.Position = UDim2.new(0.5, 0, 0.52, 0);
		l__TweenService__6:Create(l__PromptFrame__1.CenterImage, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
			Position = UDim2.new(0.5, 0, 0.5, 0), 
			ImageTransparency = 0
		}):Play();
	end;
end);
l__ProximityPromptService__5.PromptButtonHoldBegan:Connect(function(p6)
	if p6.ObjectText ~= "Hint" then
		update(p6);
		l__PromptFrame__1.Bar.Bar:TweenSize(UDim2.new(1, 0, 1, 0), "In", "Sine", p6.HoldDuration, true);
		script.Holding:Play();
		l__TweenService__6:Create(l__PromptFrame__1.CenterImage, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
			Position = UDim2.new(0.5, 0, 0.52, 0), 
			ImageTransparency = 0
		}):Play();
	end;
end);
l__ProximityPromptService__5.PromptButtonHoldEnded:Connect(function(p7)
	if p7.ObjectText ~= "Hint" then
		update(p7);
		script.Holding:Stop();
		l__TweenService__6:Create(l__PromptFrame__1.CenterImage, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
			Position = UDim2.new(0.5, 0, 0.5, 0), 
			ImageTransparency = 0
		}):Play();
	end;
end);