What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

TELEPORT TO DINNER/BREAKFAST useless script ig

Version / Update: v1.0.0
Download / Script Link
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer

local M4A1_SPOT = Vector3.new(912.02, 99.99, 2247.45)

local isTeleporting = false
local originalCFrame = nil
local teleportCooldown = false

local screenGui = nil
local isUIVisible = true

local function teleportToM4A1()

if isTeleporting or teleportCooldown then
return
end

local char = player.Character
if not char then
return
end

local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then
return
end

isTeleporting = true
teleportCooldown = true

originalCFrame = hrp.CFrame

local tweenInfo = TweenInfo.new(
0,
Enum.EasingStyle.Quad,
Enum.EasingDirection.Out
)

local tween1 = TweenService:Create(hrp, tweenInfo, {CFrame = CFrame.new(M4A1_SPOT)})
tween1:Play()
tween1.Completed:Wait()

wait(0.7)

if originalCFrame then
local tween2 = TweenService:Create(hrp, tweenInfo, {CFrame = originalCFrame})
tween2:Play()
tween2.Completed:Wait()
end

isTeleporting = false

task.delay(0.4, function()
teleportCooldown = false
end)
end

local function createUI()

if screenGui then
screenGui:Destroy()
end

screenGui = Instance.new("ScreenGui")
screenGui.Name = "M4A1TeleporterUI"
screenGui.Parent = player:WaitForChild("PlayerGui")
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 340, 0, 140)
mainFrame.Position = UDim2.new(0, 20, 0, 20)
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Visible = isUIVisible
mainFrame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 14)
corner.Parent = mainFrame

local shadow = Instance.new("UIStroke")
shadow.Color = Color3.fromRGB(0, 0, 0)
shadow.Thickness = 3
shadow.Transparency = 0.8
shadow.Parent = mainFrame

local gradient = Instance.new("UIGradient")
gradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(30, 30, 40)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 30))
})
gradient.Rotation = 45
gradient.Parent = mainFrame

local titleBar = Instance.new("Frame")
titleBar.Name = "TitleBar"
titleBar.Size = UDim2.new(1, 0, 0, 45)
titleBar.Position = UDim2.new(0, 0, 0, 0)
titleBar.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
titleBar.BorderSizePixel = 0
titleBar.Parent = mainFrame

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 14, 0, 0)
titleCorner.Parent = titleBar

local titleText = Instance.new("TextLabel")
titleText.Name = "TitleText"
titleText.Size = UDim2.new(1, -50, 1, 0)
titleText.Position = UDim2.new(0, 15, 0, 0)
titleText.BackgroundTransparency = 1
titleText.Text = "teleport dinner/breakfast"
titleText.TextColor3 = Color3.fromRGB(255, 255, 255)
titleText.Font = Enum.Font.GothamBlack
titleText.TextSize = 18
titleText.TextXAlignment = Enum.TextXAlignment.Left
titleText.TextStrokeTransparency = 0.8
titleText.TextStrokeColor3 = Color3.fromRGB(0, 100, 255)
titleText.Parent = titleBar

local versionBadge = Instance.new("TextLabel")
versionBadge.Size = UDim2.new(0, 50, 0, 20)
versionBadge.Position = UDim2.new(1, -55, 0.5, -10)
versionBadge.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
versionBadge.Text = "v2.0"
versionBadge.TextColor3 = Color3.fromRGB(255, 255, 255)
versionBadge.Font = Enum.Font.GothamBold
versionBadge.TextSize = 10
versionBadge.Parent = titleBar

local badgeCorner = Instance.new("UICorner")
badgeCorner.CornerRadius = UDim.new(0, 10)
badgeCorner.Parent = versionBadge

local closeButton = Instance.new("TextButton")
closeButton.Name = "CloseButton"
closeButton.Size = UDim2.new(0, 32, 0, 32)
closeButton.Position = UDim2.new(1, -37, 0.5, -16)
closeButton.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
closeButton.Text = "X"
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.Font = Enum.Font.GothamBold
closeButton.TextSize = 20
closeButton.Parent = titleBar

local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 10)
closeCorner.Parent = closeButton

closeButton.MouseEnter:Connect(function()
closeButton.BackgroundColor3 = Color3.fromRGB(255, 70, 70)
game:GetService("TweenService"):Create(closeButton, TweenInfo.new(0.2), {Rotation = 90}):Play()
end)

closeButton.MouseLeave:Connect(function()
closeButton.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
game:GetService("TweenService"):Create(closeButton, TweenInfo.new(0.2), {Rotation = 0}):Play()
end)

closeButton.MouseButton1Click:Connect(function()
mainFrame.Visible = false
isUIVisible = false
end)

local contentFrame = Instance.new("Frame")
contentFrame.Name = "ContentFrame"
contentFrame.Size = UDim2.new(1, 0, 1, -45)
contentFrame.Position = UDim2.new(0, 0, 0, 45)
contentFrame.BackgroundTransparency = 1
contentFrame.Parent = mainFrame

local m4Button = Instance.new("TextButton")
m4Button.Name = "M4A1Button"
m4Button.Size = UDim2.new(0.9, 0, 0, 70)
m4Button.Position = UDim2.new(0.05, 0, 0.1, 0)
m4Button.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
m4Button.AutoButtonColor = false
m4Button.Parent = contentFrame

local m4Corner = Instance.new("UICorner")
m4Corner.CornerRadius = UDim.new(0, 12)
m4Corner.Parent = m4Button

local m4Shadow = Instance.new("UIStroke")
m4Shadow.Color = Color3.fromRGB(0, 150, 255)
m4Shadow.Thickness = 3
m4Shadow.Parent = m4Button

local buttonGradient = Instance.new("UIGradient")
buttonGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 120, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 80, 200))
})
buttonGradient.Rotation = 90
buttonGradient.Parent = m4Button

local m4Icon = Instance.new("TextLabel")
m4Icon.Size = UDim2.new(0, 50, 0, 50)
m4Icon.Position = UDim2.new(0, 15, 0.5, -25)
m4Icon.BackgroundTransparency = 1
m4Icon.Text = "🍗"
m4Icon.TextColor3 = Color3.fromRGB(255, 255, 255)
m4Icon.Font = Enum.Font.SourceSans
m4Icon.TextSize = 36
m4Icon.Parent = m4Button

local m4Text = Instance.new("TextLabel")
m4Text.Size = UDim2.new(1, -80, 0.6, 0)
m4Text.Position = UDim2.new(0, 70, 0.1, 0)
m4Text.BackgroundTransparency = 1
m4Text.Text = "teleport dinner/breakfast"
m4Text.TextColor3 = Color3.fromRGB(255, 255, 255)
m4Text.Font = Enum.Font.GothamBlack
m4Text.TextSize = 18
m4Text.TextXAlignment = Enum.TextXAlignment.Left
m4Text.TextStrokeTransparency = 0.7
m4Text.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
m4Text.Parent = m4Button

local shortcutText = Instance.new("TextLabel")
shortcutText.Size = UDim2.new(1, -80, 0.4, 0)
shortcutText.Position = UDim2.new(0, 70, 0.6, 0)
shortcutText.BackgroundTransparency = 1
shortcutText.Text = "<font color='rgb(200,230,255)'>PRESS</font> <font color='rgb(255,255,0)'>F1</font> <font color='rgb(200,230,255)'>OR CLICK</font>"
shortcutText.TextColor3 = Color3.fromRGB(255, 255, 255)
shortcutText.Font = Enum.Font.GothamBold
shortcutText.TextSize = 12
shortcutText.RichText = true
shortcutText.TextXAlignment = Enum.TextXAlignment.Left
shortcutText.Parent = m4Button

m4Button.MouseEnter:Connect(function()
m4Shadow.Color = Color3.fromRGB(0, 200, 255)
buttonGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 150, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 100, 220))
})

game:GetService("TweenService"):Create(m4Button, TweenInfo.new(0.2), {Size = UDim2.new(0.92, 0, 0, 72)}):Play()
end)

m4Button.MouseLeave:Connect(function()
m4Shadow.Color = Color3.fromRGB(0, 150, 255)
buttonGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 120, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 80, 200))
})

game:GetService("TweenService"):Create(m4Button, TweenInfo.new(0.2), {Size = UDim2.new(0.9, 0, 0, 70)}):Play()
end)

m4Button.MouseButton1Down:Connect(function()
m4Button.BackgroundColor3 = Color3.fromRGB(0, 80, 200)
m4Shadow.Color = Color3.fromRGB(0, 100, 200)
end)

m4Button.MouseButton1Click:Connect(function()
m4Button.BackgroundColor3 = Color3.fromRGB(0, 120, 255)
m4Shadow.Color = Color3.fromRGB(0, 200, 255)

game:GetService("TweenService"):Create(m4Button, TweenInfo.new(0.1), {Size = UDim2.new(0.88, 0, 0, 68)}):Play()
game:GetService("TweenService"):Create(m4Button, TweenInfo.new(0.1), {Size = UDim2.new(0.9, 0, 0, 70)}):Play()

teleportToM4A1()
end)


local miniButton = Instance.new("TextButton")
miniButton.Name = "MiniButton"
miniButton.Size = UDim2.new(0, 60, 0, 60)
miniButton.Position = UDim2.new(0, 20, 0, 20)
miniButton.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
miniButton.Text = "🍕"
miniButton.TextColor3 = Color3.fromRGB(255, 255, 255)
miniButton.Font = Enum.Font.SourceSans
miniButton.TextSize = 24
miniButton.Visible = not isUIVisible
miniButton.Parent = screenGui

local miniCorner = Instance.new("UICorner")
miniCorner.CornerRadius = UDim.new(0, 14)
miniCorner.Parent = miniButton

local miniShadow = Instance.new("UIStroke")
miniShadow.Color = Color3.fromRGB(0, 150, 255)
miniShadow.Thickness = 3
miniShadow.Parent = miniButton

miniButton.MouseButton1Click:Connect(function()
mainFrame.Visible = true
miniButton.Visible = false
isUIVisible = true
end)

mainFrame:GetPropertyChangedSignal("Visible"):Connect(function()
miniButton.Visible = not mainFrame.Visible
end)

local coordsLabel = Instance.new("TextLabel")
coordsLabel.Size = UDim2.new(1, -20, 0, 15)
coordsLabel.Position = UDim2.new(0, 10, 1, -20)
coordsLabel.BackgroundTransparency = 1
coordsLabel.Text = "📍 X:847.41 Y:102 Z:2229.48"
coordsLabel.TextColor3 = Color3.fromRGB(150, 150, 200)
coordsLabel.Font = Enum.Font.Gotham
coordsLabel.TextSize = 10
coordsLabel.TextXAlignment = Enum.TextXAlignment.Left
coordsLabel.Parent = contentFrame

return mainFrame, miniButton
end

local function initialize()

createUI()

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end

if input.KeyCode == Enum.KeyCode.F1 then
teleportToM4A1()
elseif input.KeyCode == Enum.KeyCode.F3 then

if screenGui then
local mainFrame = screenGui:FindFirstChild("MainFrame")
local miniButton = screenGui:FindFirstChild("MiniButton")
if mainFrame and miniButton then
mainFrame.Visible = not mainFrame.Visible
miniButton.Visible = not mainFrame.Visible
isUIVisible = mainFrame.Visible
end
end
end
end)

player.CharacterAdded:Connect(function()
wait(0.3)
isTeleporting = false
teleportCooldown = false
originalCFrame = nil
end)

task.spawn(function()
wait(1.5)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "TELEPORT DINNER/BREAKFAST",
Text = "Premium version loaded!\nPress F1 for instant teleport",
Icon = "rbxassetid://4483345998",
Duration = 5
})

if player:FindFirstChild("PlayerGui") then
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://9114822836" -- Simple click sound
sound.Volume = 0.3
sound.Parent = player.PlayerGui
sound:Play()
game:GetService("Debris"):AddItem(sound, 2)
end
end)

print([[

╔══════════════════════════════════════╗
║ DINNER/BREAKFAST TELEPORTER ║
╠══════════════════════════════════════╣
║ ║
║ ███╗ ███╗4 █████╗ ██╗ ║
║ ████╗ ████║ ██╔══██╗██║ ║
║ ██╔████╔██║ ███████║██║ ║
║ ██║╚██╔╝██║ ██╔══██║██║ ║
║ ██║ ╚═╝ ██║ ██║ ██║███████╗ ║
║ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ║
║ ║
║F1 → Instant dinner/breakfast Teleport║
║F3 → Toggle Interface ║
║ ║
║ ║
║ ║
║ ║
╚══════════════════════════════════════╝

]])
end

local success, err = pcall(initialize)
if not success then
warn("dinner/brealfast Teleporter error: " .. err)

game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "dinner/breakfast teleport",
Text = "Simple mode activated\nPress F1",
Duration = 3
})

UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.F1 then
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
local hrp = char.HumanoidRootPart
local oldPos = hrp.CFrame
hrp.CFrame = CFrame.new(847.41, 102, 2229.48)
wait(0.05)
hrp.CFrame = oldPos
end
end
end)

print("Simple M4A1 teleporter loaded - Press F1")
end
[ View More ]
21e775aa-0ebe-4b61-aa16-4c3c0e17ddfc.webp


u can tp to dinner/breakfast and u have 0.7 second to grab dinner or breakfast
 
Back
Top