Run it
Copy the script and paste it into your executor.
= .unpack
Rayfield
_, url ({
,
,
})
success, result = (()
(:(url, ))()
)
success result
Rayfield = result
.()
Rayfield
:():(, {
Title = ,
Text = ,
Duration =
})
Window = Rayfield:({
Name = ,
LoadingTitle = ,
LoadingSubtitle = ,
ConfigurationSaving = {
Enabled =
}
})
MainTab = Window:(, )
AutoTab = Window:(, )
ItemsTab = Window:(, )
ESPTab = Window:(, )
TeleportTab = Window:(, )
PlayerTab = Window:(, )
MiscTab = Window:(, )
Players = :()
RunService = :()
UserInputService = :()
ReplicatedStorage = :()
VirtualInputManager = :()
LocalPlayer = Players.LocalPlayer
Characters = :()
Items = :()
Map = :()
RemoteEvents = ReplicatedStorage:()
RemoteEvents:()
RemoteEvents:()
RemoteEvents:()
RemoteEvents:()
()
LocalPlayer.Character
()
char = LocalPlayer.Character
char
char = char:()
char
()
char = LocalPlayer.Character
char
char = char:()
char
(obj)
obj
obj:()
primary = obj.PrimaryPart
primary
primary = obj:()
primary
part = obj:() obj
part
part = obj:()
part
(part)
root = ()
root part
root.CFrame = part.CFrame + .(, , )
TempStorage = ReplicatedStorage:()
()
remotes = :():()
startRemote = remotes
remotes
startRemote = remotes:()
remotes
remotes = remotes:()
startRemote, remotes
(item, position)
item
isDescendant = item:()
isDescendant
isDescendant = TempStorage item:(TempStorage)
isDescendant
primary = item.PrimaryPart
primary
primary = item:()
primary
primary = item:()
foundPart = primary
foundPart
item.PrimaryPart
(()
item.PrimaryPart = foundPart
)
(()
startDrag, stopDrag = ()
startDrag stopDrag
startDrag:(item)
.()
item.PrimaryPart
item:(.(position))
foundPart.CFrame = .(position)
.()
stopDrag:(item)
)
lightingData = {}
partData = {}
effectData = {}
brightnessEnabled =
brightnessConnection
Lighting = :()
()
Lighting.GlobalShadows =
Lighting.Brightness =
Lighting.Ambient = .(, , )
Lighting.OutdoorAmbient = .(, , )
Lighting.ClockTime =
Lighting.FogEnd =
Lighting.FogStart =
()
terrain = :()
lightingData.saved
lightingData.saved =
lightingData.GlobalShadows = Lighting.GlobalShadows
lightingData.FogEnd = Lighting.FogEnd
lightingData.FogStart = Lighting.FogStart
lightingData.Brightness = Lighting.Brightness
lightingData.Ambient = Lighting.Ambient
lightingData.OutdoorAmbient = Lighting.OutdoorAmbient
lightingData.ClockTime = Lighting.ClockTime
()
_, child (Lighting:())
isEffect = child:()
isEffect
isEffect = child:()
isEffect
isEffect = child:()
isEffect
effectData[child] ==
effectData[child] = child.Enabled
(()
child.Enabled =
)
terrain
terrain.WaterWaveSize =
terrain.WaterWaveSpeed =
terrain.WaterReflectance =
terrain.WaterTransparency =
terrain.Decoration =
(()
().Rendering.QualityLevel = .QualityLevel.Level01
)
Map
.(()
count =
_, descendant (Map:())
count +=
descendant:()
partData[descendant]
partData[descendant] = {
Reflectance = descendant.Reflectance,
CastShadow = descendant.CastShadow
}
descendant.Reflectance =
descendant.CastShadow =
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
isParticle = descendant:()
isParticle
(()
descendant.Enabled =
)
count % ==
.()
Rayfield:({
Title = ,
Content = ,
Duration =
})
)
brightnessConnection
brightnessConnection:()
brightnessConnection = RunService.Heartbeat:(()
brightnessEnabled
brightnessConnection:()
needsUpdate = Lighting.ClockTime ~=
needsUpdate
needsUpdate = Lighting.Brightness ~=
needsUpdate
()
)
()
brightnessConnection
brightnessConnection:()
lightingData.saved
Lighting.GlobalShadows = lightingData.GlobalShadows
Lighting.FogEnd = lightingData.FogEnd
Lighting.FogStart = lightingData.FogStart
Lighting.Brightness = lightingData.Brightness
Lighting.Ambient = lightingData.Ambient
Lighting.OutdoorAmbient = lightingData.OutdoorAmbient
Lighting.ClockTime = lightingData.ClockTime
effect, state (effectData)
effect effect.Parent
(()
effect.Enabled = state
)
part, data (partData)
part part.Parent
part.Reflectance = data.Reflectance
part.CastShadow = data.CastShadow
Rayfield:({
Title = ,
Content = ,
Duration =
})
MiscTab:({
Name = ,
CurrentValue = ,
Callback = (state)
brightnessEnabled = state
state
()
()
})
(char)
humanoid = char:()
root = char:()
.()
.speedEnabled .walkSpeed
humanoid.WalkSpeed = .walkSpeed
.flyEnabled
.()
bodyVelocity = .(, root)
bodyGyro = .(, root)
bodyVelocity.MaxForce = .(, , )
bodyGyro.MaxTorque = .(, , )
.flyConn
.flyConn:()
.flyConn = RunService.RenderStepped:(()
camera = .CurrentCamera
moveVector = .()
UserInputService:(.KeyCode.W)
moveVector += camera.CFrame.LookVector
UserInputService:(.KeyCode.S)
moveVector -= camera.CFrame.LookVector
UserInputService:(.KeyCode.A)
moveVector -= camera.CFrame.RightVector
UserInputService:(.KeyCode.D)
moveVector += camera.CFrame.RightVector
bodyVelocity.Velocity = moveVector * (.flySpeed )
bodyGyro.CFrame = camera.CFrame
)
.bv = bodyVelocity
.bg = bodyGyro
LocalPlayer.CharacterAdded:(onCharacterAdded)
LocalPlayer.Character
.(onCharacterAdded, LocalPlayer.Character)
antiAFKEnabled =
.(()
.()
antiAFKEnabled
VirtualInputManager:(, .KeyCode.ButtonL3, , )
.()
VirtualInputManager:(, .KeyCode.ButtonL3, , )
)
MiscTab:({
Name = ,
CurrentValue = ,
Callback = (state)
antiAFKEnabled = state
})
noclipEnabled =
RunService.Heartbeat:(()
noclipEnabled
char = ()
char
_, descendant (char:())
descendant:()
descendant.CanCollide =
)
MiscTab:({
Name = ,
CurrentValue = ,
Callback = (state)
noclipEnabled = state
})
godModeEnabled =
.(()
.()
godModeEnabled
remotes = :():()
damageRemote = remotes remotes:()
damageRemote
(()
damageRemote:(-)
)
)
MiscTab:({
Name = ,
CurrentValue = ,
Callback = (state)
godModeEnabled = state
})
killAuraEnabled =
auraRange =
weaponIDs = {
[] = ,
[] = ,
[] = ,
Chainsaw = ,
Spear =
}
()
inventory = :().LocalPlayer:()
inventory ,
name, id (weaponIDs)
item = inventory:(name)
item
item, id
,
.(()
.()
killAuraEnabled
char = :().LocalPlayer.Character
root = char char:()
weaponItem, weaponID = ()
root weaponItem weaponID
remotes = :():()
remotes
equipRemote = remotes:()
damageRemote = remotes:()
equipRemote
equipRemote:(, weaponItem)
damageRemote
_, child (.Characters:())
child:() child ~= char
part = child:()
part (part.Position - root.Position).Magnitude <= auraRange
(()
damageRemote:(child, weaponItem, weaponID, .(part.Position))
)
)
MainTab:({
Name = ,
CurrentValue = ,
Callback = (state)
killAuraEnabled = state
state
Rayfield:({
Title = ,
Content = ,
Duration =
})
})
MainTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Callback = (value)
auraRange = value
})
autoFishEnabled =
lastFishTime =
.(()
autoFishEnabled
.()
.()
playerGui = LocalPlayer:()
playerGui
playerGui = playerGui:(, )
isVisible = playerGui
playerGui
isVisible = playerGui.Visible
isVisible
isVisible = playerGui.AbsoluteSize.Y >
isVisible
timingBar = playerGui:()
timingBar timingBar.Visible
bar = timingBar:()
successArea = timingBar:()
isValid = bar
bar
isValid = successArea bar.Visible successArea.Visible
isValid
barCenter = bar.AbsolutePosition.Y + bar.AbsoluteSize.Y /
successY = successArea.AbsolutePosition.Y
successEndY = successY + successArea.AbsoluteSize.Y
successY <= barCenter barCenter <= successEndY
currentTime = ()
currentTime - lastFishTime >
lastFishTime = currentTime
VirtualInputManager:(, , , , , )
VirtualInputManager:(, , , , , )
)
MainTab:({
Name = ,
CurrentValue = ,
Callback = (state)
autoFishEnabled = state
})
infiniteSaplingEnabled =
saplingDelay =
MainTab:({
Name = ,
CurrentValue = ,
Callback = (state)
infiniteSaplingEnabled = state
})
MainTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Callback = (value)
saplingDelay = value
})
()
_, child (Items:())
child.Name == child.PrimaryPart
child
(position)
filter = {}
raycastParams = RaycastParams.()
Map
ground = Map:()
snow = Map:()
ground
.(filter, ground)
snow
.(filter, snow)
#filter ==
raycastParams.FilterDescendantsInstances = filter
raycastParams.FilterType = .RaycastFilterType.Include
raycastParams.IgnoreWater =
result = :(position, .(, -, ), raycastParams)
result result.Position
plantRemote
.(()
.()
_, descendant (ReplicatedStorage:())
isPlant = descendant.Name:():()
isPlant
isPlant = descendant:()
isPlant
isPlant = descendant:()
isPlant
plantRemote = descendant
)
saplingOffsets = {}
i = -,
j = -,
.(saplingOffsets, .(i * , , j * ))
offsetIndex =
.(()
.()
currentSapling
.()
infiniteSaplingEnabled
.()
root = ()
root
.()
currentSapling = currentSapling ()
currentSapling
.()
groundPos = (root.Position + .(, , ))
groundPos plantRemote
offsetIndex = offsetIndex % #saplingOffsets +
placePosition = groundPos + saplingOffsets[offsetIndex] + .(, , )
(()
plantRemote:()
plantRemote:(currentSapling, placePosition)
plantRemote:(currentSapling, placePosition)
)
.(saplingDelay)
)
.walkSpeed =
.speedEnabled =
PlayerTab:({
Name = ,
CurrentValue = ,
Callback = (state)
.speedEnabled = state
})
PlayerTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Callback = (value)
.walkSpeed = value
})
.(()
.()
.()
.speedEnabled
humanoid = ()
humanoid humanoid.WalkSpeed ~= .walkSpeed
humanoid.WalkSpeed = .walkSpeed
)
infiniteJumpEnabled =
PlayerTab:({
Name = ,
CurrentValue = ,
Callback = (state)
infiniteJumpEnabled = state
})
UserInputService.JumpRequest:(()
infiniteJumpEnabled
humanoid = ()
humanoid
humanoid:(.HumanoidStateType.Jumping)
)
.flySpeed =
.flyEnabled =
PlayerTab:({
Name = ,
CurrentValue = ,
Callback = (state)
.flyEnabled = state
char = LocalPlayer.Character LocalPlayer.CharacterAdded:()
root = char:()
state
bodyVelocity = .(, root)
bodyGyro = .(, root)
bodyVelocity.MaxForce = .(, , )
bodyGyro.MaxTorque = .(, , )
.flyConn
.flyConn:()
.flyConn = RunService.RenderStepped:(()
camera = .CurrentCamera
moveVector = .()
UserInputService:(.KeyCode.W)
moveVector += camera.CFrame.LookVector
UserInputService:(.KeyCode.S)
moveVector -= camera.CFrame.LookVector
UserInputService:(.KeyCode.A)
moveVector -= camera.CFrame.RightVector
UserInputService:(.KeyCode.D)
moveVector += camera.CFrame.RightVector
bodyVelocity.Velocity = moveVector * .flySpeed
bodyGyro.CFrame = camera.CFrame
)
.bv = bodyVelocity
.bg = bodyGyro
.flyConn
.flyConn:()
.bv
.bv:()
.bg
.bg:()
})
PlayerTab:({
Name = ,
Range = {, },
Increment = ,
CurrentValue = ,
Callback = (value)
.flySpeed = value
})
mobESPEnabled =
itemESPEnabled =
chestESPEnabled =
playerESPEnabled =
chestESPObjects = {}
playerESPObjects = {}
chestList = {}
lastChestUpdate =
lastPlayerUpdate =
(list)
_, obj (list)
obj obj.Parent
obj:()
.(list)
()
_, player (Players:())
player ~= LocalPlayer player.Character
highlight = player.Character:()
highlight
highlight:()
.(()
.()
.( chestESPEnabled )
chestESPEnabled
chestList = {}
_, child (Items:())
child.Name:():()
.(chestList, child)
)
.(()
.()
.()
mobESPEnabled itemESPEnabled chestESPEnabled playerESPEnabled
root = ()
root
position = root.Position
mobESPEnabled
_, child (Characters:())
part = (child)
part
(part.Position - position).Magnitude <=
child:()
highlight = .(, child)
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
highlight = child:()
highlight
highlight:()
_, child (Characters:())
highlight = child:()
highlight
highlight:()
itemESPEnabled
_, child (Items:())
child:()
highlight = .(, child)
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
_, child (Items:())
highlight = child:()
highlight
highlight:()
chestESPEnabled
time = ()
time - lastChestUpdate >=
lastChestUpdate = time
(chestESPObjects)
_, chest (chestList)
part = (chest)
part
magnitude = (part.Position - position).Magnitude
magnitude <=
billboard = .()
billboard.Size = .(, , , )
billboard.AlwaysOnTop =
billboard.Adornee = part
label = .(, billboard)
label.Size = .(, , , )
label.BackgroundTransparency =
label.Text = .. .(magnitude) ..
label.TextColor3 = .(, , )
label.TextStrokeTransparency =
label.Font = .Font.GothamBold
label.TextScaled =
billboard.Parent = part
.(chestESPObjects, billboard)
#chestESPObjects >
(chestESPObjects)
playerESPEnabled
time = ()
time - lastPlayerUpdate >=
lastPlayerUpdate = time
(playerESPObjects)
()
_, player (Players:())
player ~= LocalPlayer player.Character
rootPart = player.Character:()
player.Character:()
highlight = .(, player.Character)
highlight.Name =
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
highlight.FillTransparency =
rootPart
magnitude = (rootPart.Position - position).Magnitude
billboard = .()
billboard.Size = .(, , , )
billboard.AlwaysOnTop =
billboard.Adornee = rootPart
billboard.StudsOffset = .(, , )
label = .(, billboard)
label.Size = .(, , , )
label.BackgroundTransparency =
label.Text = player.Name .. .. .(magnitude) ..
label.TextColor3 = .(, , )
label.TextStrokeTransparency =
label.Font = .Font.GothamBold
label.TextScaled =
billboard.Parent = rootPart
.(playerESPObjects, billboard)
#playerESPObjects >
(playerESPObjects)
()
)
ESPTab:({
Name = ,
CurrentValue = ,
Callback = (state)
mobESPEnabled = state
})
ESPTab:({
Name = ,
CurrentValue = ,
Callback = (state)
itemESPEnabled = state
})
ESPTab:({
Name = ,
CurrentValue = ,
Callback = (state)
chestESPEnabled = state
})
ESPTab:({
Name = ,
CurrentValue = ,
Callback = (state)
playerESPEnabled = state
})
(name)
Map
_, descendant (Map:())
descendant.Name:():(name)
obj = descendant:() (descendant)
obj
obj = descendant:() descendant
obj
obj
TeleportTab:({
Name = ,
Callback = ()
obj = () ()
obj
(obj)
Rayfield:({
Title = ,
Content = ,
Duration =
})
})
TeleportTab:({
Name = ,
Callback = ()
stronghold = :()
stronghold
stronghold = .Map:()
stronghold
stronghold = .Map.Landmarks:()
stronghold
stronghold = .Map.Landmarks.Stronghold:()
stronghold
stronghold = .Map.Landmarks.Stronghold.Functional:()
stronghold
stronghold = .Map.Landmarks.Stronghold.Functional.EntryDoors:()
stronghold
stronghold = .Map.Landmarks.Stronghold.Functional.EntryDoors.DoorRight:()
stronghold
part = stronghold:()[]
part part:()
(part)
Rayfield:({
Title = ,
Content = ,
Duration =
})
})
dropdownUpdateDelay =
(dropdown, getOptionsFunc, refreshDelay)
dropdownUpdateDelay +=
delayTime = dropdownUpdateDelay
.(()
.(delayTime)
currentOptions = {}
.(refreshDelay)
newOptions = ()
changed = #newOptions ~= #currentOptions
changed
i, opt (newOptions)
opt ~= currentOptions[i]
changed =
changed
dropdown:(newOptions)
currentOptions = newOptions
)
selectedChest
(chest)
opened = chest:()
opened
opened = chest.Opened.Value
opened
isOpen = chest:()
isOpen
isOpen = chest.IsOpen.Value
isOpen
lid = chest:() chest:()
lid
lid = lid:() lid.Transparency >
lid
chestDropdown = TeleportTab:({
Name = ,
Options = {},
Callback = (options)
selectedChest = options[]
})
chestLookup = {}
(chestDropdown, ()
counts = {}
optionList = {}
chestLookup = {}
_, child (Items:())
isChest = child:()
isChest
isChest = child.Name:():() (child)
isChest
name = .. (child.Name:() )
counts[name] = (counts[name] ) +
optionName = name .. .. counts[name]
chestLookup[optionName] = child
.(optionList, optionName)
.(optionList)
optionList
, )
TeleportTab:({
Name = ,
Callback = ()
chest = chestLookup[selectedChest]
chest
((chest))
})
selectedPlayer
playerDropdown = TeleportTab:({
Name = ,
Options = {},
Callback = (options)
selectedPlayer = options[]
})
(playerDropdown, ()
players = {}
_, player (Players:())
player ~= LocalPlayer
.(players, player.Name)
players
, )
TeleportTab:({
Name = ,
Callback = ()
player = Players:(selectedPlayer)
player player.Character
(player.Character:())
})
selectedMob
mobDropdown = TeleportTab:({
Name = ,
Options = {},
Callback = (options)
selectedMob = options[]
})
(mobDropdown, ()
mobs = {}
_, child (Characters:())
.(mobs, child.Name)
mobs
, )
TeleportTab:({
Name = ,
Callback = ()
_, child (Characters:())
child.Name == selectedMob
((child))
})
selectedItem
itemDropdown = ItemsTab:({
Name = ,
Options = {},
CurrentOption = {},
Callback = (options)
selectedItem = options[]
})
(itemDropdown, ()
items = {}
_, child (Items:())
isValid = child.Name:():()
isValid
isValid = .(items, child.Name)
isValid
.(items, child.Name)
.(items)
items
, )
ItemsTab:({
Name = ,
Callback = ()
root = ()
root
selectedItem
Rayfield:({
Title = ,
Content = ,
Duration =
})
count =
_, child (Items:())
child.Name == selectedItem
count +=
count >
(()
primary = child.PrimaryPart
primary
primary = child:()
primary
primary = child:()
part = primary
part
child.PrimaryPart
(()
child.PrimaryPart = part
)
position = root.CFrame + .(, count * + , )
startDrag, stopDrag = ()
startDrag stopDrag
startDrag:(child)
.()
child.PrimaryPart
child:(position)
part.CFrame = position
.()
stopDrag:(child)
.()
)
message
count >
message = .. count .. .. selectedItem
message = selectedItem ..
Rayfield:({
Title = ,
Content = message,
Duration =
})
})
campfirePosition = .(, , )
workbenchPosition = .(, , -)
autoCampfire = {}
autoCook = {}
autoWorkbench = {}
autoBiofuel = {}
(tab, sectionName, items, stateTable)
tab:(sectionName)
_, item (items)
tab:({
Name = item,
CurrentValue = ,
Callback = (state)
stateTable[item] = state
})
tab:({
Name = ,
Callback = ()
_, item (items)
stateTable[item] =
})
tab:({
Name = ,
Callback = ()
_, item (items)
stateTable[item] =
})
(AutoTab, , {
,
,
,
,
}, autoCampfire)
(AutoTab, , {
,
}, autoCook)
(AutoTab, , {
,
,
,
,
,
,
,
,
,
,
,
}, autoWorkbench)
(AutoTab, , {
,
,
,
,
,
}, autoBiofuel)
.(()
.()
item, state (autoCampfire)
state
_, child (Items:())
item == child.Name
(child, campfirePosition)
)
.(()
.()
item, state (autoCook)
state
_, child (Items:())
item == child.Name
(child, campfirePosition)
)
.(()
.()
item, state (autoWorkbench)
state
_, child (Items:())
item == child.Name
(child, workbenchPosition)
)
.(()
biofuelPosition
.()
biofuelPosition
structures = :()
processor = structures structures:()
processor
processor = processor:()
processor
biofuelPosition = processor.Position + .(, , )
biofuelPosition
item, state (autoBiofuel)
state
_, child (Items:())
item == child.Name
(child, biofuelPosition)
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed input.KeyCode == .KeyCode.G
Rayfield:()
)
Rayfield:({
Title = ,
Content = ,
Duration =
})Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu, raw.githubusercontent.com, cdn.sirius.menu.

99 Nights in the Forest 🔦