@era77742: #хуйня #спился #гей #реки #аниме local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local humanoid = character:WaitForChild("Humanoid") local UNDER_OFFSET = Vector3.new(0, -8, 0) -- глубина (можно менять) local isUnder = false local connection -- Создаём кнопку на экране local screenGui = Instance.new("ScreenGui") screenGui.Name = "UnderMapGui" screenGui.ResetOnSpawn = false screenGui.Parent = player:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Size = UDim2.new(0, 160, 0, 50) button.Position = UDim2.new(0.5, -80, 0.85, 0) -- снизу по центру button.BackgroundColor3 = Color3.fromRGB(30, 30, 30) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Text = "Под карту" button.Font = Enum.Font.GothamBold button.TextSize = 18 button.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = button local function goUnderMap() if isUnder then return end isUnder = true local underCFrame = hrp.CFrame + UNDER_OFFSET hrp.CFrame = underCFrame hrp.Anchored = true humanoid:ChangeState(Enum.HumanoidStateType.Physics) connection = RunService.Heartbeat:Connect(function() if hrp and hrp.Parent then hrp.AssemblyLinearVelocity = Vector3.zero hrp.AssemblyAngularVelocity = Vector3.zero hrp.CFrame = underCFrame end end) button.Text = "Вернуться" button.BackgroundColor3 = Color3.fromRGB(180, 40, 40) end local function returnToMap() if not isUnder then return end isUnder = false if connection then connection:Disconnect() connection = nil end hrp.Anchored = false humanoid:ChangeState(Enum.HumanoidStateType.GettingUp) hrp.CFrame = hrp.CFrame + Vector3.new(0, 10, 0) button.Text = "Под карту" button.BackgroundColor3 = Color3.fromRGB(30, 30, 30) end button.MouseButton1Click:Connect(function() if isUnder then returnToMap() else goUnderMap() end end) -- На случай ресета персонажа player.CharacterAdded:Connect(function(newChar) character = newChar hrp = character:WaitForChild("HumanoidRootPart") humanoid = character:WaitForChild("Humanoid") isUnder = false if connection then connection:Disconnect() connection = nil end button.Text = "Под карту" button.BackgroundColor3 = Color3.fromRGB(30, 30, 30) end) не мое видео взял из азиатского тт
era77742
Region: BY
Tuesday 01 September 2026 18:28:09 GMT
Music
Download
Comments
There are no more comments for this video.
To see more videos from user @era77742, please go to the Tikwm
homepage.