Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://pastebin.com/raw/CYBgs6RJ", true))()
- local MainFrame = Library:CreateShit()
- local LocalPlayer = game.Players.LocalPlayer
- local function Alive(plr)
- return plr and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0.11
- end
- local function GetNearestPlayer(teamcheck, ffcheck, distance)
- local TeamCheck = teamcheck
- local ForceFieldCheck = ffcheck
- local PlayerList = {}
- for _, player in pairs(game:GetService("Players"):GetPlayers()) do
- if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- if not TeamCheck or player.Team ~= LocalPlayer.Team then
- if not ForceFieldCheck or not player.Character:FindFirstChildOfClass("ForceField") then
- if Alive(player) then
- local Distances = (LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position - player.Character:FindFirstChild("HumanoidRootPart").Position).Magnitude
- if Distances <= distance then
- table.insert(PlayerList, player)
- end
- end
- end
- end
- end
- end
- return PlayerList
- end
- local function valvec(vec)
- return { value = vec }
- end
- --Music
- local MusicID = 16190757458
- local CustomVolume = 0.4
- local Music = Instance.new("Sound")
- local PlayMusic = MainFrame:CreateToggles("PlayMusic", true, nil, function(callback)
- if callback then
- Music.Parent = game.Workspace
- Music.Name = "PoopMusic"
- Music.SoundId = "rbxassetid://" .. MusicID
- Music.Looped = true
- Music.Volume = CustomVolume
- if Music then
- Music:Play()
- end
- else
- if Music then
- Music:Stop()
- end
- end
- end)
- local PauseMusic = MainFrame:CreateToggles("PauseMusic", false, nil, function(callback)
- if callback then
- if Music then
- Music:Pause()
- end
- else
- if Music then
- Music:Resume()
- end
- end
- end)
- local MusicPlayerID = MainFrame:CreateTextBox("MusicID", "MusicID", function(callback)
- if callback then
- MusicID = callback
- end
- end)
- local CustomMusicVolume = MainFrame:CreateTextBox("MusicVolume", "Volume", function(callback)
- if callback then
- CustomVolume = callback
- end
- end)
- --TimeChanger
- local ClockTimeValue = 20.6
- local OldClockTimeValue = game:GetService("Lighting").ClockTime
- local TimeChager = MainFrame:CreateToggles("TimeChager", true, nil, function(callback)
- if callback then
- game:GetService("Lighting").ClockTime = ClockTimeValue
- else
- game:GetService("Lighting").ClockTime = OldClockTimeValue
- end
- end)
- local CustomClockTime = MainFrame:CreateTextBox("CustomClockTime", "Time", function(callback)
- if callback then
- ClockTimeValue = callback
- end
- end)
- --Aura
- local function GetSword()
- local sword
- for i, v in pairs(LocalPlayer.Character:GetChildren()) do
- if v:IsA("ObjectValue") and v.Name == "HandInvItem" then
- if v.Value and string.match(v.Value.Name, "sword") then
- print(v.Value)
- sword = v
- end
- end
- end
- return sword
- end
- local AuraEnabled = false
- local Aura = MainFrame:CreateToggles("Aura", false, nil, function(callback)
- if callback then
- AuraEnabled = true
- repeat
- wait()
- local NearestPlayer = GetNearestPlayer(true, true, 20)
- if #NearestPlayer > 0 then
- local Sword = GetSword()
- if Sword then
- for _, player in pairs(NearestPlayer) do
- local args = {
- [1] = {
- ["entityInstance"] = player.Character,
- ["chargedAttack"] = {
- ["chargeRatio"] = 0
- },
- ["validate"] = {
- ["targetPosition"] = {
- ["value"] = valvec(player.Character:FindFirstChild("HumanoidRootPart").Position)
- },
- ["selfPosition"] = {
- ["value"] = valvec(LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position + ((LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position - player.Character:FindFirstChild("HumanoidRootPart").Position).Magnitude > 14 and (CFrame.lookAt(LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Position, player.Character:FindFirstChild("HumanoidRootPart").Position).LookVector * 4) or Vector3.new(0, 0, 0))),
- }
- },
- ["weapon"] = Sword
- }
- }
- game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.SwordHit:FireServer(unpack(args))
- end
- end
- end
- until not AuraEnabled
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement