Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local Client = Players.LocalPlayer
- local Character = Client.Character
- local Humanoid = Character:WaitForChild("Humanoid")
- local RootPart = Character:WaitForChild("HumanoidRootPart")
- local Camera = workspace.CurrentCamera
- local tweeninfo = TweenInfo.new(1, Enum.EasingStyle.Linear)
- local Locations = {
- ["Arcade"] = Vector3.new(195.812, 23.581, -37.246),
- ["Graveyard"] = Vector3.new(183.242, 23.409, -130.118),
- }
- local StunInstances = {
- "InSkill",
- "NoJump",
- "NoSprint",
- "Stun",
- "Block",
- "Knockback",
- "DisableChase",
- "Counter",
- }
- local Settings = {
- ESP = false,
- NoStun = false,
- }
- local function ApplyNoStun()
- while task.wait() do
- if (Settings.NoStun == false) then
- break
- end
- for index, Value in pairs(Character.Info:GetChildren()) do
- if (table.find(StunInstances, Value.Name)) then
- Value:Destroy()
- end
- end
- end
- end
- local function ApplyESP()
- while task.wait() do
- if (Settings.ESP == false) then
- break
- end
- for index, Value in pairs(Players:GetPlayers()) do
- if (Value ~= Client) then
- local ESP = Instance.new("Highlight", Value.Character);
- ESP.Name = "ESP"
- end
- end
- end
- end
- local function UnapplyESP()
- while task.wait() do
- if (Settings.ESP == true) then
- break
- end
- for index, Player in pairs(Players:GetPlayers()) do
- if (Player ~= Client) then
- for _, Value in pairs(Player.Character:GetChildren()) do
- if (Value:IsA("Highlight") and Value.Name == "ESP") then
- Value:Destroy()
- end
- end
- end
- end
- end
- end
- local function Teleport(v)
- if (Character and RootPart) then
- local cf = CFrame.new(v)
- local a = TweenService:Create(RootPart, tweeninfo, {CFrame=cf})
- a:Play()
- a.Completed:Wait()
- end
- end
- local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
- local Window = Rayfield:CreateWindow({
- Name = "Darkness Hub",
- LoadingTitle = "Darkness Hub",
- LoadingSubtitle = "By West and X_X",
- ConfigurationSaving = {
- Enabled = false,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "Darkness 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 = false, -- Set this to true to use our key system
- KeySettings = {
- Title = "Untitled",
- Subtitle = "Key System",
- Note = "No method of obtaining the key is provided",
- FileName = "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 = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
- Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
- }
- })
- local MovementTab = Window:CreateTab("Movement", nil)
- local MovementSection = MovementTab:CreateSection("Movement")
- local RenderTab = Window:CreateTab("Render", nil)
- local RenderSection = RenderTab:CreateSection("Render")
- local TeleportsTab = Window:CreateTab("Teleports", nil)
- local TeleportsSection = TeleportsTab:CreateSection("Areas")
- local BlatantTab = Window:CreateTab("Blatant", nil)
- local BlatantSection = BlatantTab:CreateSection("Blatant")
- local SpeedSlider = MovementTab:CreateSlider({
- Name = "Speed",
- Range = {0, 100},
- Increment = 10,
- Suffix = "WalkSpeed",
- CurrentValue = 16,
- Flag = "SpeedSlider", -- 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)
- pcall(function()
- repeat task.wait()
- Humanoid.WalkSpeed = (Value)
- until false
- end)
- end,
- })
- local ESPButton = RenderTab:CreateButton({
- Name = "ESP",
- Callback = function()
- pcall(function()
- if (Settings.ESP == false) then
- Settings.ESP = true
- ApplyESP()
- else
- Settings.ESP = false
- end
- end)
- end,
- })
- local NoStun = BlatantTab:CreateButton({
- Name = "No-Stun",
- Callback = function()
- pcall(function()
- if (Settings.NoStun == false) then
- Settings.NoStun = true
- ApplyNoStun()
- else
- Settings.NoStun = false
- end
- end)
- end,
- })
- local FOVSlider = RenderTab:CreateSlider({
- Name = "FOV",
- Range = {0, 120},
- Increment = 10,
- Suffix = "FOV",
- CurrentValue = 70,
- Flag = "FOVSlider", -- 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)
- pcall(function()
- repeat task.wait()
- Camera.FieldOfView = (Value)
- until false
- end)
- end,
- })
- local GraveyardKeybind = TeleportsTab:CreateKeybind({
- Name = "Graveyard",
- CurrentKeybind = "Z",
- HoldToInteract = false,
- Flag = "Graveyard", -- 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(Keybind)
- pcall(function()
- Teleport(Locations.Graveyard)
- end)
- end,
- })
- local ArcadeKeybind = TeleportsTab:CreateKeybind({
- Name = "Arcade",
- CurrentKeybind = "X",
- HoldToInteract = false,
- Flag = "Arcade", -- 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(Keybind)
- pcall(function()
- Teleport(Locations.Arcade)
- end)
- end,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement