
Key Required
Auto bake perfectly
Lua Scriptβ’22 lines (1039 chars)
local Line = workspace:WaitForChild("SnackStation"):WaitForChild("Oven"):WaitForChild("Screen"):WaitForChild("SurfaceGui"):WaitForChild("Frame"):WaitForChild("Line")
local Frame = workspace:WaitForChild("SnackStation"):WaitForChild("Oven"):WaitForChild("Screen"):WaitForChild("SurfaceGui"):WaitForChild("Frame")
local Prompt = workspace:WaitForChild("SnackStation"):WaitForChild("Oven"):WaitForChild("Screen"):WaitForChild("Attachment"):WaitForChild("ProximityPrompt")
local PerfectCenterX = Frame.AbsolutePosition.X + (Frame.AbsoluteSize.X / 2)
local LineSize = Line.AbsoluteSize.X
local Tolerance = 5
local canPress = true
local connection
connection = Line:GetPropertyChangedSignal("Position"):Connect(function()
local LineCenterX = Line.AbsolutePosition.X + (LineSize / 2)
local distanceFromCenter = math.abs(LineCenterX - PerfectCenterX)
if distanceFromCenter <= Tolerance and canPress then
canPress = false
fireproximityprompt(Prompt, 0)
task.wait(0.3)
canPress = true
end
end)Features & Information
automatically bakes perfectly

Small problem idk if this has something to do with Krnl or not but it doesnβt always automatically bake