Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script by @tartenka
- local player = game:GetService("Players").LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- -- Красивое оповещение
- local notification = Instance.new("ScreenGui")
- notification.Name = "TartenkaNotification"
- notification.Parent = game:GetService("CoreGui")
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 300, 0, 80)
- frame.Position = UDim2.new(1, -320, 1, -100)
- frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- frame.BorderSizePixel = 0
- frame.Parent = notification
- local gradient = Instance.new("UIGradient")
- gradient.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 85, 127)),
- ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 170, 0))
- })
- gradient.Rotation = 90
- gradient.Parent = frame
- local label = Instance.new("TextLabel")
- label.Size = UDim2.new(1, -20, 1, -20)
- label.Position = UDim2.new(0, 10, 0, 10)
- label.Text = "⚡ TELEPORT ACTIVATED ⚡\nScript by @tartenka"
- label.TextColor3 = Color3.fromRGB(255, 255, 255)
- label.Font = Enum.Font.GothamBold
- label.TextSize = 18
- label.BackgroundTransparency = 1
- label.TextStrokeTransparency = 0.7
- label.Parent = frame
- task.delay(5, function()
- notification:Destroy()
- end)
- -- Поиск цели
- local finishModel = workspace:FindFirstChild("Finish") or workspace:FindFirstChild("Finish", true)
- if not finishModel then
- warn("Модель Finish не найдена!")
- return
- end
- local chest = finishModel:FindFirstChild("Chest") or finishModel:FindFirstChildOfClass("Part")
- if not chest then
- warn("Целевой парт не найден!")
- return
- end
- -- Настройки телепорта
- local TELEPORT_SPEED = 2500
- local TELEPORT_DELAY = 0.01
- -- Отключаем физику для плавности
- humanoid:ChangeState(Enum.HumanoidStateType.Physics)
- humanoid.PlatformStand = true
- -- Основной цикл телепортации
- local teleportLoop
- teleportLoop = game:GetService("RunService").Heartbeat:Connect(function()
- if not character or not character.Parent then
- teleportLoop:Disconnect()
- return
- end
- local hrp = character:FindFirstChild("HumanoidRootPart")
- if not hrp then return end
- -- Мгновенный телепорт с эффектом скорости
- hrp.Velocity = (chest.Position - hrp.Position).Unit * TELEPORT_SPEED
- hrp.CFrame = CFrame.lookAt(hrp.Position, chest.Position)
- -- Если близко к цели - точная посадка
- if (chest.Position - hrp.Position).Magnitude < 10 then
- hrp.CFrame = chest.CFrame * CFrame.new(0, 3, 0)
- end
- end)
- -- Функция остановки
- _G.StopTartenkaTeleport = function()
- if teleportLoop then
- teleportLoop:Disconnect()
- humanoid.PlatformStand = false
- humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
- -- Оповещение об остановке
- local stopNotif = notification:Clone()
- stopNotif.Frame.TextLabel.Text = "✋ TELEPORT STOPPED ✋\nScript by @tartenka"
- stopNotif.Parent = game:GetService("CoreGui")
- task.delay(3, function() stopNotif:Destroy() end)
- end
- end
- warn("TELEPORT ACTIVATED! Speed: 9999\nScript by @tartenka\nTo stop: StopTartenkaTeleport()")
Advertisement
Add Comment
Please, Sign In to add comment