Pastebin
Paste #38900: No description
< previous paste - next paste>
Pasted by Anonymous Coward
– SERVICES
local Players = game:GetService(“Players”)
local TweenService = game:GetService(“TweenService”)
local UserInputService = game:GetService(“UserInputService”)
local RunService = game:GetService(“RunService”)
local TeleportService = game:GetService(“TeleportService”)
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local RootPart = Character:WaitForChild(“HumanoidRootPart”)
getgenv().speed = 200
getgenv().AutoLockBase = false
getgenv().AllInOneActive = false
– GODMODE & NOCLIP
local godModeConnection
local function setupCharacter(character)
pcall(function()
Character = character
RootPart = character:WaitForChild(“HumanoidRootPart”)
local humanoid = character:WaitForChild(“Humanoid”)
```
-- Noclip all parts
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
part.CanCollide = false
end
end
-- Godmode health max
humanoid.MaxHealth = math.huge
humanoid.Health = humanoid.MaxHealth
if godModeConnection then godModeConnection:Disconnect() end
godModeConnection = humanoid.HealthChanged:Connect(function()
if humanoid.Health < humanoid.MaxHealth then
humanoid.Health = humanoid.MaxHealth
end
end)
end)
```
end
setupCharacter(Character)
LocalPlayer.CharacterAdded:Connect(setupCharacter)
– TELEPORT FUNCTION
local function tweenTeleport(toCFrame, speed)
pcall(function()
if not RootPart then return end
local distance = (toCFrame.Position - RootPart.Position).Magnitude
local tween = TweenService:Create(RootPart, TweenInfo.new(distance / speed, Enum.EasingStyle.Linear), {
CFrame = toCFrame
})
tween:Play()
tween.Completed:Wait()
end)
end
– SIMPLE SERVER HOP FUNCTION
local function serverHop()
pcall(function()
TeleportService:Teleport(game.PlaceId, LocalPlayer)
end)
end
– RAYFIELD GUI
local Rayfield = loadstring(game:HttpGet(‘https://sirius.menu/rayfield’))()
local Window = Rayfield:CreateWindow({
Name = “Steal A Freddy | KEYLESS + FREE”,
LoadingTitle = “Loading…”,
LoadingSubtitle = “By @OriginalTragic”,
ConfigurationSaving = {
Enabled = true,
FolderName = “RadioactiveFoxyScript”,
FileName = “config”
}
})
local MainTab = Window:CreateTab(“Main”, 4483362458)
– ALL IN ONE SECTION (AT THE TOP)
MainTab:CreateSection(“All In One (OP)”)
local collectionZonePosition = nil
– Auto-save position on join (Collection Zone)
task.spawn(function()
pcall(function()
– Wait for character and world to fully load
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild(“HumanoidRootPart”)
```
-- Wait a bit more for everything to settle
task.wait(3)
if humanoidRootPart then
collectionZonePosition = humanoidRootPart.Position
Rayfield:Notify({
Title = "Auto-Saved Collection Zone",
Content = "Your spawn position has been saved automatically!",
Duration = 4
})
end
end)
```
end)
– Helper: Get player’s plot
local function getPlayerPlot()
pcall(function()
if not workspace:FindFirstChild(“Plots”) then return nil end
for _, plot in pairs(workspace.Plots:GetChildren()) do
local config = plot:FindFirstChild(“Config”)
if config and config:FindFirstChild(“Owner”) and config.Owner.Value == LocalPlayer then
return plot
end
end
end)
return nil
end
– Helper: Check if pos is inside BasePart bounds
local function isPositionInsidePart(pos, part)
local success, result = pcall(function()
local size = part.Size
local cf = part.CFrame
local relativePos = cf:PointToObjectSpace(pos)
return math.abs(relativePos.X) <= size.X/2
and math.abs(relativePos.Y) <= size.Y/2
and math.abs(relativePos.Z) <= size.Z/2
end)
return success and result
end
– Helper: Check if pos is inside your entire plot (any part)
local function isPositionInsidePlot(pos, plot)
pcall(function()
for _, part in ipairs(plot:GetDescendants()) do
if part:IsA(“BasePart”) then
if isPositionInsidePart(pos, part) then
return true
end
end
end
end)
return false
end
– Fire proximity prompts in obj
local function firePromptsIn(obj)
local success = false
pcall(function()
for _, prompt in ipairs(obj:GetDescendants()) do
if prompt:IsA(“ProximityPrompt”) then
fireproximityprompt(prompt)
task.wait(0.1)
success = true
end
end
end)
return success
end
– Find Foxy outside your base by name keyword (case-insensitive)
local function findFoxyByNameKeyword(keyword)
local foundFoxy = nil
pcall(function()
local playerPlot = getPlayerPlot()
keyword = string.lower(keyword)
for _, obj in ipairs(workspace:GetDescendants()) do
local name = string.lower(obj.Name)
if string.find(name, keyword) then
local foxyPos = nil
if obj:FindFirstChild(“HumanoidRootPart”) then
foxyPos = obj.HumanoidRootPart.Position
elseif obj:IsA(“BasePart”) then
foxyPos = obj.Position
end
```
if foxyPos and playerPlot and isPositionInsidePlot(foxyPos, playerPlot) then
-- Foxy inside your base: skip it
else
foundFoxy = obj
return
end
end
end
end)
return foundFoxy
```
end
– Steal Foxy by keyword (used for Radioactive and other animatronics)
local function stealFoxyByKeyword(keyword)
local success, message = pcall(function()
if not collectionZonePosition then
return false, “Please save Collection Zone first!”
end
```
local foxy = findFoxyByNameKeyword(keyword)
if not foxy then
return false, "No animatronic with name '"..keyword.."' found outside your base."
end
local foxyPos = nil
if foxy:FindFirstChild("HumanoidRootPart") then
foxyPos = foxy.HumanoidRootPart.Position
elseif foxy:IsA("BasePart") then
foxyPos = foxy.Position
end
if not foxyPos then
return false, "Cannot find animatronic position."
end
tweenTeleport(CFrame.new(foxyPos + Vector3.new(0, 5, 0)), getgenv().speed)
task.wait(0.3)
local interacted = firePromptsIn(foxy)
if not interacted then
for _, obj in ipairs(workspace:GetPartBoundsInBox(CFrame.new(foxyPos), Vector3.new(20, 20, 20))) do
if firePromptsIn(obj) then
interacted = true
break
end
end
end
task.wait(0.8)
-- Tween up to 200 studs above animatronic
tweenTeleport(CFrame.new(foxyPos + Vector3.new(0, 200, 0)), getgenv().speed)
-- Stay in air for 5 seconds
task.wait(5)
tweenTeleport(CFrame.new(collectionZonePosition + Vector3.new(0, 10, 0)), getgenv().speed)
return true, "Animatronic ("..keyword..") stolen!"
end)
if not success then
return false, "Error occurred while stealing"
end
return message
```
end
– ALL IN ONE FUNCTION
local function allInOneLoop()
local searchAttempts = 0
local maxSearchAttempts = 10 – Search 10 times before server hopping
```
while getgenv().AllInOneActive do
pcall(function()
-- Look for radioactive foxy
local foxy = findFoxyByNameKeyword("radioactive")
if foxy then
-- Found radioactive foxy, steal it
local success, message = stealFoxyByKeyword("radioactive")
Rayfield:Notify({
Title = success and "All In One Success" or "All In One Error",
Content = message,
Duration = 2
})
searchAttempts = 0 -- Reset search attempts after successful steal
task.wait(1) -- Wait before next search
else
-- No radioactive foxy found
searchAttempts = searchAttempts + 1
Rayfield:Notify({
Title = "All In One Searching",
Content = "No Radioactive Foxy found... Attempt " .. searchAttempts .. "/" .. maxSearchAttempts,
Duration = 1
})
if searchAttempts >= maxSearchAttempts then
-- Server hop after max attempts
Rayfield:Notify({
Title = "All In One Server Hop",
Content = "Server hopping to find Radioactive Foxy...",
Duration = 3
})
-- Set a flag to re-execute and enable All In One after server hop
getgenv().ReExecuteAllInOne = true
task.wait(1)
serverHop()
break -- Exit the loop as we're hopping servers
else
task.wait(2) -- Wait 2 seconds before next search attempt
end
end
end)
if not getgenv().AllInOneActive then break end
task.wait(0.5) -- Small delay to prevent lag
end
```
end
– All In One Toggle
MainTab:CreateToggle({
Name = “All In One (OP) - Auto Everything”,
CurrentValue = false,
Callback = function(value)
getgenv().AllInOneActive = value
if value then
Rayfield:Notify({
Title = “All In One Activated”,
Content = “Auto-farming, auto-saving, auto-server hopping enabled!”,
Duration = 4
})
task.spawn(allInOneLoop)
else
Rayfield:Notify({
Title = “All In One Stopped”,
Content = “All automation disabled.”,
Duration = 2
})
end
end
})
– Auto-execute All In One if returning from server hop
task.spawn(function()
task.wait(5) – Wait for everything to load after potential server hop
pcall(function()
if getgenv().ReExecuteAllInOne then
getgenv().ReExecuteAllInOne = false
getgenv().AllInOneActive = true
```
Rayfield:Notify({
Title = "All In One Re-Activated",
Content = "Continuing automation after server hop!",
Duration = 3
})
allInOneLoop()
end
end)
```
end)
MainTab:CreateSection(“Radioactive Foxy Steal”)
– Radioactive Foxy Controls
MainTab:CreateButton({
Name = “Steal Radioactive Foxy”,
Callback = function()
local success, message = stealFoxyByKeyword(“radioactive”)
Rayfield:Notify({
Title = success and “Success” or “Error”,
Content = message,
Duration = 3,
Image = 4483362458
})
end
})
local autoStealRadioactive = false
MainTab:CreateToggle({
Name = “Auto Steal Radioactive (0.5s)”,
CurrentValue = false,
Callback = function(value)
autoStealRadioactive = value
if value then
task.spawn(function()
while autoStealRadioactive do
pcall(function()
local success, message = stealFoxyByKeyword(“radioactive”)
Rayfield:Notify({
Title = success and “Auto Success” or “Auto Error”,
Content = message,
Duration = 2
})
end)
for i = 1, 5 do
if not autoStealRadioactive then break end
task.wait(0.1)
end
end
end)
end
end
})
– Other Animatronic Steal (Text Input)
MainTab:CreateSection(“Other Animatronic Steal”)
local animatronicName = “Pizzeria God” – default value
local inputBox = MainTab:CreateInput({
Name = “Enter Animatronic Name”,
PlaceholderText = “Type animatronic name here”,
RemoveTextAfterFocusLost = false,
Callback = function(text)
animatronicName = text
end
})
MainTab:CreateButton({
Name = “Steal Entered Animatronic”,
Callback = function()
pcall(function()
if not animatronicName or animatronicName == “” then
Rayfield:Notify({
Title = “Error”,
Content = “Please enter an animatronic name!”,
Duration = 2
})
return
end
```
local success, message = stealFoxyByKeyword(animatronicName)
Rayfield:Notify({
Title = success and "Success" or "Error",
Content = message,
Duration = 3,
Image = 4483362458
})
end)
end
```
})
local autoStealAnimatronic = false
MainTab:CreateToggle({
Name = “Auto Steal Entered Animatronic (0.5s)”,
CurrentValue = false,
Callback = function(value)
autoStealAnimatronic = value
if value then
task.spawn(function()
while autoStealAnimatronic do
pcall(function()
if animatronicName and animatronicName ~= “” then
local success, message = stealFoxyByKeyword(animatronicName)
Rayfield:Notify({
Title = success and “Auto Success” or “Auto Error”,
Content = message,
Duration = 2
})
else
Rayfield:Notify({
Title = “Error”,
Content = “Please enter an animatronic name!”,
Duration = 2
})
end
end)
for i = 1, 5 do
if not autoStealAnimatronic then break end
task.wait(0.1)
end
end
end)
end
end
})
– Auto Lock Base toggle with improved lock spam timing
MainTab:CreateSection(“Auto Lock Base”)
local autoLockToggle = MainTab:CreateToggle({
Name = “Auto Lock Base”,
CurrentValue = false,
Callback = function(value)
getgenv().AutoLockBase = value
if value then
task.spawn(function()
while getgenv().AutoLockBase do
pcall(function()
local playerPlot, lockTimeValue
if workspace:FindFirstChild(“Plots”) then
for _, plot in pairs(workspace.Plots:GetChildren()) do
local config = plot:FindFirstChild(“Config”)
if config and config:FindFirstChild(“Owner”) and config.Owner.Value == LocalPlayer then
playerPlot = plot
lockTimeValue = config:FindFirstChild(“LockTime”)
break
end
end
end
```
if lockTimeValue and playerPlot then
local spammedBeforeZero = false
local spammedAtZero = false
-- Loop checking lock time until both spams done or AutoLockBase disabled
while getgenv().AutoLockBase and (not spammedBeforeZero or not spammedAtZero) do
local currentLockTime = lockTimeValue.Value
if currentLockTime <= 0.1 and not spammedBeforeZero then
-- Spam lock once at ~0.1 seconds before zero
for _, part in ipairs(playerPlot:GetDescendants()) do
if part:IsA("TouchTransmitter") and part.Parent and part.Parent:IsA("BasePart") then
local basePart = part.Parent
firetouchinterest(RootPart, basePart, 0)
task.wait(0.01)
firetouchinterest(RootPart, basePart, 1)
end
end
spammedBeforeZero = true
elseif currentLockTime <= 0 and not spammedAtZero then
-- Spam lock once at zero
for _, part in ipairs(playerPlot:GetDescendants()) do
if part:IsA("TouchTransmitter") and part.Parent and part.Parent:IsA("BasePart") then
local basePart = part.Parent
firetouchinterest(RootPart, basePart, 0)
task.wait(0.01)
firetouchinterest(RootPart, basePart, 1)
end
end
spammedAtZero = true
end
task.wait(0.1)
end
Rayfield:Notify({
Title = "Auto Lock Completed",
Content = "Base locked successfully!",
Duration = 3
})
end
end)
task.wait(0.3)
end
end)
end
end
```
})
– Automatically enable Auto Lock Base toggle on script start
autoLockToggle:Set(true) – This sets toggle to ON and triggers the callback
– Collection Zone Buttons and speed slider
MainTab:CreateButton({
Name = “Save Collection Zone”,
Callback = function()
pcall(function()
if RootPart then
collectionZonePosition = RootPart.Position
Rayfield:Notify({ Title = “Saved”, Content = “Collection Zone Saved”, Duration = 3 })
else
Rayfield:Notify({ Title = “Error”, Content = “RootPart not found”, Duration = 3 })
end
end)
end
})
MainTab:CreateButton({
Name = “Teleport to Collection Zone”,
Callback = function()
pcall(function()
if collectionZonePosition then
tweenTeleport(CFrame.new(collectionZonePosition + Vector3.new(0, 10, 0)), getgenv().speed)
else
Rayfield:Notify({ Title = “Error”, Content = “No Zone Saved”, Duration = 3 })
end
end)
end
})
MainTab:CreateSlider({
Name = “Teleport Speed”,
Range = {10, 200},
Increment = 5,
CurrentValue = getgenv().speed,
Callback = function(v) getgenv().speed = v end
})
– Loaded notification
Rayfield:Notify({
Title = “Made By @OriginalTragic”,
Content = “Thanks To @aggot For Teleport Source”,
Duration = 4
})
New Paste
Go to most recent paste.