Run it
Copy the script and paste it into your executor.
Rayfield = (:())()
Window = Rayfield:({
Name = ,
Icon = ,
LoadingTitle = ,
LoadingSubtitle = ,
Theme = ,
DisableRayfieldPrompts = ,
DisableBuildWarnings = ,
ConfigurationSaving = {
Enabled = ,
FolderName = ,
FileName =
},
Discord = {
Enabled = ,
Invite = ,
RememberJoins =
},
KeySystem =
})
Players = :()
RunService = :()
Lighting = :()
Workspace = :()
LocalPlayer = Players.LocalPlayer
Camera = Workspace.CurrentCamera
State = {
RingOb = ,
RingRadius = ,
RingAngle = ,
LockedRingTarget = ,
SilentAim = ,
LockedAimTarget = ,
EspEnabled = ,
Fullbright = ,
NoFog = ,
AntiRagdoll = ,
WalkSpeed = ,
SpeedEnabled = ,
Noclip =
}
OriginalLighting = {
Ambient = Lighting.Ambient,
OutdoorAmbient = Lighting.OutdoorAmbient,
Brightness = Lighting.Brightness,
GlobalShadows = Lighting.GlobalShadows,
FogEnd = Lighting.FogEnd,
FogStart = Lighting.FogStart
}
(player)
player player.Character
(player)
char = (player)
char char:()
(player)
char = (player)
char char:()
(player)
hum = (player)
root = (player)
hum root hum.Health >
()
myRoot = (LocalPlayer)
myRoot
closest =
shortestDist = .huge
_, plr (Players:())
plr ~= LocalPlayer (plr)
root = (plr)
dist = (root.Position - myRoot.Position).Magnitude
dist < shortestDist
shortestDist = dist
closest = plr
closest
(target)
target target.Parent
Players:(target.Name)
(target)
EspObjects = {}
(player)
player == LocalPlayer EspObjects[player]
tracer = .()
tracer.Visible =
tracer.Thickness =
tracer.Color = .(, , )
box = .()
box.Visible =
box.Thickness =
box.Filled =
box.Color = .(, , )
hpOutline = .()
hpOutline.Visible =
hpOutline.Thickness =
hpOutline.Filled =
hpOutline.Color = .(, , )
hpBar = .()
hpBar.Visible =
hpBar.Thickness =
hpBar.Filled =
hpBar.Color = .(, , )
EspObjects[player] = {
Tracer = tracer,
Box = box,
HpOutline = hpOutline,
HpBar = hpBar
}
(item)
item
item.Tracer.Visible =
item.Box.Visible =
item.HpOutline.Visible =
item.HpBar.Visible =
(player)
item = EspObjects[player]
item
item.Tracer:()
item.Box:()
item.HpOutline:()
item.HpBar:()
EspObjects[player] =
_, plr (Players:())
plr ~= LocalPlayer
(plr)
Players.PlayerAdded:((plr)
(plr)
)
Players.PlayerRemoving:((plr)
(plr)
)
()
State.EspEnabled
_, item (EspObjects)
(item)
topCenter = .(Camera.ViewportSize.X / , )
plr, item (EspObjects)
char = (plr)
hum = (plr)
root = (plr)
char hum root hum.Health >
rootPos, onScreen = Camera:(root.Position)
onScreen rootPos.Z >
head = char:()
headWorld = head (head.Position + .(, , )) (root.Position + .(, , ))
feetWorld = root.Position - .(, , )
topScreen = Camera:(headWorld)
bottomScreen = Camera:(feetWorld)
boxHeight = .(, .(bottomScreen.Y - topScreen.Y))
boxWidth = boxHeight *
boxX = rootPos.X - (boxWidth / )
boxY = topScreen.Y
item.Tracer.From = topCenter
item.Tracer.To = .(rootPos.X, boxY)
item.Tracer.Visible =
item.Box.Size = .(boxWidth, boxHeight)
item.Box.Position = .(boxX, boxY)
item.Box.Visible =
hpRatio = .(hum.Health / .(, hum.MaxHealth), , )
barWidth =
barX = boxX - barWidth -
item.HpOutline.Size = .(barWidth, boxHeight)
item.HpOutline.Position = .(barX, boxY)
item.HpOutline.Visible =
fillHeight = boxHeight * hpRatio
item.HpBar.Size = .(.(, barWidth - ), .(, fillHeight))
item.HpBar.Position = .(barX + , boxY + (boxHeight - fillHeight))
item.HpBar.Color = .( * ( - hpRatio), * hpRatio, )
item.HpBar.Visible =
(item)
(item)
()
State.Fullbright
Lighting.Ambient = .(, , )
Lighting.OutdoorAmbient = .(, , )
Lighting.Brightness =
Lighting.GlobalShadows =
Lighting.Ambient = OriginalLighting.Ambient
Lighting.OutdoorAmbient = OriginalLighting.OutdoorAmbient
Lighting.Brightness = OriginalLighting.Brightness
Lighting.GlobalShadows = OriginalLighting.GlobalShadows
State.NoFog
Lighting.FogEnd =
Lighting.FogStart =
_, obj (Lighting:())
obj:()
obj.Density =
Lighting.FogEnd = OriginalLighting.FogEnd
Lighting.FogStart = OriginalLighting.FogStart
()
char = (LocalPlayer)
hum = (LocalPlayer)
root = (LocalPlayer)
State.AntiRagdoll hum
hum.PlatformStand
hum.PlatformStand =
hum:() == .HumanoidStateType.Ragdoll hum:() == .HumanoidStateType.FallingDown
hum:(.HumanoidStateType.GettingUp)
root
_, part (char:())
part:() part:() part:()
part:()
hum
State.SpeedEnabled
hum.WalkSpeed = State.WalkSpeed
State.Noclip char
_, part (char:())
part:()
part.CanCollide =
RunService.RenderStepped:((dt)
()
myRoot = (LocalPlayer)
myHum = (LocalPlayer)
State.RingOb
(State.LockedRingTarget)
State.LockedRingTarget = ()
(State.LockedRingTarget) myRoot
targetRoot = (State.LockedRingTarget)
State.RingAngle = (State.RingAngle + dt * ) % (.pi * )
offset = .(
.(State.RingAngle) * State.RingRadius,
,
.(State.RingAngle) * State.RingRadius
)
desiredPos = targetRoot.Position + offset
lookAtTarget = .(desiredPos, .(targetRoot.Position.X, desiredPos.Y, targetRoot.Position.Z))
myRoot.CFrame = lookAtTarget
myRoot.AssemblyLinearVelocity = .zero
State.LockedRingTarget =
State.SilentAim
(State.LockedAimTarget)
State.LockedAimTarget = ()
(State.LockedAimTarget) myRoot
targetRoot = (State.LockedAimTarget)
flatTargetPos = .(targetRoot.Position.X, myRoot.Position.Y, targetRoot.Position.Z)
myRoot.CFrame = .(myRoot.Position, flatTargetPos)
State.LockedAimTarget =
State.SpeedEnabled myHum myHum.WalkSpeed ~= State.WalkSpeed
myHum.WalkSpeed = State.WalkSpeed
)
RunService.Stepped:(()
()
)
CombatTab = Window:(, )
VisuelTab = Window:(, )
MovesetTab = Window:(, )
CreditsTab = Window:(, )
CombatTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.RingOb = Value
Value
State.LockedRingTarget =
})
CombatTab:({
Name = ,
Range = {, },
Increment = ,
Suffix = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.RingRadius = Value
})
CombatTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.SilentAim = Value
Value
State.LockedAimTarget =
})
VisuelTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.EspEnabled = Value
})
VisuelTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.Fullbright = Value
()
})
VisuelTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.NoFog = Value
()
})
MovesetTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.AntiRagdoll = Value
})
MovesetTab:({
Name = ,
Range = {, },
Increment = ,
Suffix = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.WalkSpeed = Value
State.SpeedEnabled = Value >
hum = (LocalPlayer)
hum
hum.WalkSpeed = Value
})
MovesetTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
State.Noclip = Value
})
CreditsTab:()
CreditsTab:()
CreditsTab:()
CreditsTab:()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu.
Yeah, does this script make combat easier? Functions: Ring, Esp Line and Box, Speed, Antiragdoll (Bugged)

Universal