local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "murder vs sheriff duels",
LoadingTitle = "MVSD HUB",
LoadingSubtitle = "icrashedmywhip",
ConfigurationSaving = {
Enabled = true,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "icrashedmywhips hub"
},
Discord = {
Enabled = false,
Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every time they load it up
},
KeySystem = true, -- Set this to true to use our key system
KeySettings = {
Title = "MVSD HUB KEY",
Subtitle = "Link In Discord Server",
Note = "Join Server from misc tab",
FileName = "mvs hub key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
GrabKeyFromSite = true, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"https://[Log in to view URL]"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
local MainTab = Window:CreateTab("Home🏠", nil) -- Title, Image
local MainSection = MainTab:CreateSection("Main")
Rayfield:Notify({
Title = "Sucessfully Executed!",
Content = "Press Okay to dismiss this notification",
Duration = 5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = { -- Duplicate this table (or remove it) to add and remove buttons to the notification.
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local Button = MainTab:CreateButton({
Name = "Infinite Jump",
Callback = function()
game:GetService("UserInputService").JumpRequest:connect(function()
game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
end)
end,
})
local Slider = MainTab:CreateSlider({
Name = "Walkspeed Slider",
Range = {0, 1000},
Increment = 1,
Suffix = "Speed",
CurrentValue = 16,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = (Value)
end,
})
local Button = MainTab:CreateButton({
Name = "ESP",
Callback = function()
local Players = game:GetService("Players")
local function ApplyHighlight(Player)
local Connections = {}
--// Parts
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HightLighter = Instance.new("Highlight", Character)
local function UpdateFillColor()
local DefaultColor = Color3.fromRGB(255, 48, 51)
HightLighter.FillColor = (Player.TeamColor and Player.TeamColor.Color) or DefaultColor
end
local function Disconnect()
HightLighter:Remove()
for _, Connection in next, Connections do
Connection:Disconnect()
end
end
--// Connect functions to events
table.insert(Connections, Player:GetPropertyChangedSignal("TeamColor"):Connect(UpdateFillColor))
table.insert(Connections, Humanoid:GetPropertyChangedSignal("Health"):Connect(function()
if Humanoid.Health <= 0 then
Disconnect()
end
end))
end
local function HightLightPlayer(Player)
if Player.Character then
HightLightPlayer(Player)
end
Player.CharacterAdded:Connect(function()
HightLightPlayer(Player)
end)
end
--// Apply highlights to players
for _, Player in next, Players:GetPlayers() do
ApplyHighlight(Player)
end
Players.PlayerAdded:Connect(ApplyHighlight)
end,
})
local Button = MainTab:CreateButton({
Name = "Triggerbot (MAY NOT WORK)",
Callback = function()
local enabled = true
local toggle = Enum.KeyCode.H
local mouse = game:GetService("Players").LocalPlayer:GetMouse()
game:GetService("RunService").RenderStepped:Connect(function()
if mouse.Target.Parent:FindFirstChildOfClass("Humanoid") and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and game:GetService("Players"):GetPlayerFromCharacter(mouse.Target.Parent).Team ~= game:GetService("Players").LocalPlayer.Team and enabled then
mouse1press()
repeat
game:GetService("RunService").RenderStepped:Wait()
until not mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
mouse1release()
end
end)
game:GetService("UserInputService").InputBegan:Connect(function(i,gp)
if i.KeyCode == toggle then
enabled = not enabled
local hint = Instance.new("Hint",game.CoreGui)
hint.Text = "Toggled: "..tostring(enabled)
wait(1.5)
hint:Destroy()
end
end)
end,
})
local Toggle = MainTab:CreateToggle({
Name = "Team Check",
CurrentValue = false,
Flag = "Toggle1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer or Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local Mouse = LocalPlayer:GetMouse()
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local Camera = workspace.CurrentCamera
local CurrentTarget = nil
local Connections = {
CharacterAdded = {}
}
table.insert(Connections.CharacterAdded, LocalPlayer.CharacterAdded:Connect(function(Char)
Character = Char
Humanoid = Char:WaitForChild("Humanoid")
HumanoidRootPart = Char:WaitForChild("HumanoidRootPart")
end))
local Aimbot = {}; do
local Loops = {RenderStepped = {}, Heartbeat = {}, Stepped = {}}
function Aimbot:BindToRenderStepped(id, callback)
if not Loops.RenderStepped[id] then
Loops.RenderStepped[id] = RunService.RenderStepped:Connect(callback)
end
end
function Aimbot:UnbindFromRenderStepped(id)
if Loops.RenderStepped[id] then
Loops.RenderStepped[id]:Disconnect()
Loops.RenderStepped[id] = nil
end
end
function Aimbot:StoreCurrentTarget(Player)
CurrentTarget = Player
end
function Aimbot:IfHolding()
return UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton2)
end
function Aimbot:DistanceCheck(Player, Distance)
shared.DistanceCheck = shared.DistanceCheck or true
shared.Distance = shared.Distance or 100
if Distance and shared.DistanceCheck then
return (Player.Character.HumanoidRootPart.Position - HumanoidRootPart.Position).Magnitude <= Distance
else
return true
end
end
function Aimbot:TeamCheck(Player, Toggle)
if Toggle then
return Player.Team ~= LocalPlayer.Team
else
return true
end
end
function Aimbot:GetClosestPlayerToMouse()
local ClosestPlayer = nil
local ClosestPlayerDistance = math.huge
for _, Player in next, Players:GetPlayers() do
if Player ~= LocalPlayer and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
local ScreenPoint = Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
local MousePoint = Vector2.new(Mouse.X, Mouse.Y)
local Distance = (MousePoint - Vector2.new(ScreenPoint.X, ScreenPoint.Y)).Magnitude
local _, OnScreen = Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
if Aimbot:DistanceCheck(Player, shared.Distance) and OnScreen and Distance < ClosestPlayerDistance then
ClosestPlayer = Player
ClosestPlayerDistance = Distance
end
end
end
return ClosestPlayer
end
function Aimbot:GetClosestFromDistance()
local ClosestPlayer = nil
local ClosestPlayerDistance = math.huge
for _, Player in next, Players:GetPlayers() do
if Player ~= LocalPlayer and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
local Distance = (Player.Character.HumanoidRootPart.Position - HumanoidRootPart.Position).Magnitude
if Aimbot:DistanceCheck(Player, shared.Distance) and Distance < ClosestPlayerDistance then
ClosestPlayer = Player
ClosestPlayerDistance = Distance
end
end
end
return ClosestPlayer
end
function Aimbot:DoMethod()
shared.Method = shared.Method or "Closest To Mouse"
if shared.Method == "Closest To Mouse" then
return self:GetClosestPlayerToMouse()
elseif shared.Method == "Distance" then
return self:GetClosestFromDistance()
end
end
Aimbot:StoreCurrentTarget(Aimbot:DoMethod())
function Aimbot:Update()
getgenv().Smoothness = shared.Smoothness or .25
getgenv().TeamCheck = shared.TeamCheck or false
getgenv().SelectedView = shared.SelectedView or "First Person"
getgenv().TargetPart = shared.TargetPart or "Head"
if CurrentTarget and CurrentTarget.Character then
local Vector = Camera:WorldToViewportPoint(CurrentTarget.Character:WaitForChild(TargetPart).Position)
if not self:IfHolding() then
self:StoreCurrentTarget(self:DoMethod())
elseif self:IfHolding() and self:TeamCheck(CurrentTarget, TeamCheck) then
if SelectedView == "First Person" and UIS.MouseBehavior == Enum.MouseBehavior.LockCenter then
Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position, CurrentTarget.Character:WaitForChild(TargetPart).Position), smooSmoothnessthness)
elseif SelectedView == "Third Person" and UIS.MouseBehavior == Enum.MouseBehavior.Default then
mousemoverel((Vector.X - Mouse.X) / 2 * Smoothness, (Vector.Y - Mouse.Y - 35) / 2 * Smoothness)
elseif SelectedView == "Auto" then
if UIS.MouseBehavior == Enum.MouseBehavior.LockCenter then
Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position, CurrentTarget.Character:WaitForChild(TargetPart).Position), Smoothness)
elseif UIS.MouseBehavior == Enum.MouseBehavior.Default then
mousemoverel((Vector.X - Mouse.X) / 2 * Smoothness, (Vector.Y - Mouse.Y - 35) / 2 * Smoothness)
end
end
end
else
self:StoreCurrentTarget(self:DoMethod())
end
end
function Aimbot:Toggle(boolean)
if boolean then
self:BindToRenderStepped("Aimbot", function()
self:Update()
end)
else
self:UnbindFromRenderStepped("Aimbot")
end
end
end
local Esp = {}; do
Instance.new("ScreenGui",game.CoreGui).Name = "Kaoru"
local ChamsFolder = Instance.new("Folder")
ChamsFolder.Name = "ChamsFolder"
for _,v in next, game.CoreGui:GetChildren() do
if v:IsA'ScreenGui' and v.Name == 'Kaoru' then
ChamsFolder.Parent = v
end
end
Players.PlayerRemoving:Connect(function(plr)
if ChamsFolder:FindFirstChild(plr.Name) then
ChamsFolder[plr.Name]:Destroy()
end
end)
local Loops = {RenderStepped = {}, Heartbeat = {}, Stepped = {}}
function Esp:BindToRenderStepped(id, callback)
if not Loops.RenderStepped[id] then
Loops.RenderStepped[id] = RunService.RenderStepped:Connect(callback)
end
end
function Esp:UnbindFromRenderStepped(id)
if Loops.RenderStepped[id] then
Loops.RenderStepped[id]:Disconnect()
Loops.RenderStepped[id] = nil
end
end
function Esp:TeamCheck(Player, Toggle)
if Toggle then
return Player.Team ~= LocalPlayer.Team
else
return true
end
end
function Esp:Update()
for _, Player in next, Players:GetChildren() do
if ChamsFolder:FindFirstChild(Player.Name) then
Chams = ChamsFolder[Player.Name]
Chams.Enabled = false
Chams.FillColor = Color3.fromRGB(255, 255, 255)
Chams.OutlineColor = Color3.fromHSV(tick()%5/5,1,1)
end
if Player ~= LocalPlayer and Player.Character then
if ChamsFolder:FindFirstChild(Player.Name) == nil then
local chamfolder = Instance.new("Highlight")
chamfolder.Name = Player.Name
chamfolder.Parent = ChamsFolder
Chams = chamfolder
end
Chams.Enabled = true
Chams.Adornee = Player.Character
Chams.OutlineTransparency = 0
Chams.DepthMode = Enum.HighlightDepthMode[(true and "AlwaysOnTop" or "Occluded")]
Chams.FillTransparency = 1
end
end
end
function Esp:Toggle(boolean)
if boolean then
self:BindToRenderStepped("Esp", function()
self:Update()
end)
else
self:UnbindFromRenderStepped("Esp")
ChamsFolder:ClearAllChildren()
end
end
end
local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "FPS Universal",
LoadingTitle = "FPS Universal",
LoadingSubtitle = "By: Kaoru~#6438",
ConfigurationSaving = {
Enabled = true,
FolderName = "FPS-Universal-Kaoru",
FileName = "reddyhub"
},
})
local Main = Window:CreateTab('Main')
Main:CreateSection("Aimbot")
Main:CreateToggle({
Name = "Aimbot",
CurrentValue = false,
Callback = function(AimAssistToggle)
Aimbot:Toggle(AimAssistToggle)
end,
})
Main:CreateSection("Aimbot Settings")
Main:CreateDropdown({
Name = "Method",
Options = {"Closest To Mouse", "Distance"},
CurrentOption = "Closest To Mouse",
Callback = function(Method)
shared.Method = Method
end,
})
Main:CreateDropdown({
Name = "Target Part",
Options = {
"Head",
"Torso",
"Right Arm",
"Left Arm",
"Right Leg",
"Left Leg"
},
CurrentOption = "Head",
Callback = function(TargetPart)
if TargetPart == "Torso" then
shared.TargetPart = "HumanoidRootPart"
elseif TargetPart ~= "Torso" then
shared.TargetPart = TargetPart
end
end,
})
Main:CreateDropdown({
Name = "Selected View",
Options = {"First Person", "Third Person", "Auto"},
CurrentOption = "First Person",
Callback = function(SelectedView)
shared.SelectedView = SelectedView
end,
})
Main:CreateSlider({
Name = "Smoothness",
Range = {0, 1},
Increment = .01,
CurrentValue = .25,
Callback = function(Smoothness)
shared.Smoothness = Smoothness
end,
})
Main:CreateToggle({
Name = "Distance Check",
CurrentValue = true,
Callback = function(DistanceCheckToggle)
shared.DistanceCheck = DistanceCheckToggle
end,
})
Main:CreateSlider({
Name = "Distance",
Range = {0, 1000},
Increment = 1,
CurrentValue = 100,
Callback = function(Distance)
shared.Distance = Distance
end,
})
Main:CreateToggle({
Name = "Team Check",
CurrentValue = false,
Callback = function(TeamCheckToggle)
shared.TeamCheck = TeamCheckToggle
end,
})
Main:CreateSection("Esp")
Main:CreateToggle({
Name = "Esp",
CurrentValue = false,
Callback = function(EspToggle)
Esp:Toggle(EspToggle)
end,
})
Main:CreateSection("Esp Settings")
Main:CreateToggle({
Name = "Team Check",
CurrentValue = false,
Callback = function(ESPTeamCheck)
shared.ESPTeamCheck = ESPTeamCheck
end,
})
end,
})
To embed this project on your website, copy the following code and paste it into your website's HTML: