Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Set the console name
- rconsolename("wendigoware.exe - WendigoWare All Rights Reserved")
- -- Get the player's username and user id
- local player = game.Players.LocalPlayer
- local username = player.Name
- local userId = tostring(player.UserId)
- -- Get the player's hwid
- local HttpService = game:GetService("HttpService")
- local hwid = game:GetService("RbxAnalyticsService"):GetClientId()
- -- Print a message to the console
- rconsoleprint("@@YELLOW@@")
- rconsoleprint("Please join discord.gg/wendigo\n")
- rconsoleprint("@@LIGHT_GREEN@@")
- rconsoleprint("Username: " .. username .. "\n")
- rconsoleprint("@@LIGHT_CYAN@@")
- rconsoleprint("User ID: " .. userId .. "\n")
- rconsoleprint("@@MAGENTA@@")
- rconsoleprint("HWID: " .. hwid .. "\n")
- rconsoleprint("@@RED@@")
- rconsoleprint("Loading WendigoWare in 3 seconds...")
- -- Wait for 3 seconds
- wait(2)
- -- Clear the console and close it
- rconsoleclear()
- local hellokittyinject = function(a)
- rconsoleprint("@@LIGHT_MAGENTA@@")
- rconsoleprint(a)
- end
- hellokittyinject([[
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%##&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/... ((*.. %@@@@@@(.. .....@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@......... *@@@@@@@@@@@@@@@@@/.. %%%%%%%%,........@@@@@@&..#@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@ ..@@@@@@@&,.... .............(%%%%%%%%%%% . @@@@@@@@@@@@ .%@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@ . @@@@@@@@@@@@@@&@@@@@@@@@@...#%%%%%%,... //..*%@@@@@@@@@@/..@@@@@@@@@@@@@@
- @@@@@@@@@@@@@&..@@@@@@@@@@@@@@@@@@@@@@@@@&..*%%%%%% %%,..,(##(............ @@@@@@@@@@@@@@
- @@@@@@@@@@@@@%. @@@@@@@@@@@@@@@@@@@@@@@@@@..#%%%%%%/....%%%%%%%%%..(%%%%%%% .,@@@@@@@@@@@@
- @@@@@@@@@@@@@@...@%@@@@@@@@@@@@@@@@@@@@@@@&..*%%%%%%%(..%%%%%%%%%,...#%%%%%% .&@@@@@@@@@@@
- @@@@@@@@@@@@@@(...,@@@@@@@@@@@@@@@@@@@@@@@@@&....... ,*..%%%%%%%...% %%%%%(. @@@@@@@@@@@@
- @@@@@@@@@@@@@@*. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@% ....... . *%%%%%/..&@@@@@@@@@@@@
- @@@@@@@@@@@@@,..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/.,%%%%%%%%.... @@@@@@@@@@@@@
- @@@@@@@@@@@@,. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/.. ...,@@,.,@@@@@@@@@@@@
- @@@@@@@@@@@&..&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..&@@@@@@@@@@@
- @@@@@@@@@@@/. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ . @@@@@@@@@@@
- @@@@@@@@@@@/. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&... ...,//////@@@@
- @@@@ ....,*,../***@@@@@@@@ ..,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@....&@@@@@@@@@@@@ .,@@@@@@@@@@@
- @@@@@@@@@@@@ . @@@@@@@@@@#....@@@@@@@@@@@@@@@@@@@@@@@@@@@@@..../@@@@@@@@@&##../@@@@@@@@@@@
- @@@@@@@@@@@@@.....,@@@@@@@&/(@@@@@@@@@@@@@%....(@@@@@@@@@@@@@&@@@@@@@@@@@@@...** @@@@@@
- @@@@@@@@&.. ,,..*@@@@@@@@@@@@@@@@@@@@@@@@*.#%%%,.@@@@@@@@@@@@@@@@@@@@@@@@@ . @@@@@@@@@@@@@
- @@@@@@@@@@@@@@@.. &@%*(@@@@@@@@@@@@@@@@@@@@&*,(@@@@@@@@@@@@@@@@@@@@@@@......%@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@(.... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#...@@* ..,@@@@@@@@@
- @@@@@@@@@@@% . #@@@@....,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,...*@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@, .... .%@@@@@@@@@@@@@@@@@@@@@@@@@@@@* .... &@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@/..............................(@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- Loading script...
- ]])
- wait(1)
- local Module = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Discord%20Inviter/Source.lua"))()
- Module.Prompt({ invite = "https://discord.gg/VUbKkQMKY5", name = "WendigoWare Server" }) -- name is optional
- Module.Join("https://discord.gg/VUbKkQMKY5")
- getgenv().selfdot = false
- local Prediction = .17
- local RunService = game:GetService("RunService")
- local PlayersService = game:GetService("Players")
- local LocalPlayer = PlayersService.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- Drawing = Drawing
- local Square = Drawing.new("Circle")
- Square.Visible = true
- Square.Filled = true
- Square.Thickness = 1
- Square.Transparency = 1
- Square.Color = Color3.new(0.65, 0.65, 1)
- Square.Radius = 5
- function ShowVelocityOf(User)
- local Camera = game:GetService("Workspace").CurrentCamera
- local Vector, OnScreen = Camera:WorldToViewportPoint(User.Character:FindFirstChild("HumanoidRootPart").Position + (User.Character:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity * Prediction))
- if OnScreen then
- Square.Radius = 5
- Square.Position = Vector2.new(Vector.X,Vector.Y)
- else
- Square.Radius = 0
- end
- end
- local Stapel = nil
- Stapel = RunService.Heartbeat:Connect(function()
- pcall(function()
- if getgenv().selfdot then
- ShowVelocityOf(LocalPlayer)
- else
- Square.Radius = 0
- end
- end)
- end)
- getgenv().circleaa = false
- getgenv().speed = 140
- getgenv().radius = 65
- getgenv().yOffset = 16.5
- game:GetService("RunService").Heartbeat:Connect(function()
- if getgenv().circleaa then
- local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- local theta = math.rad(game:GetService("Workspace").DistributedGameTime * getgenv().speed)
- local x = math.sin(theta) * getgenv().radius
- local z = math.cos(theta) * getgenv().radius
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(x, getgenv().yOffset, z)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
- end
- end)
- getgenv().nearest = false
- getgenv().yVelocity = 0 -- Set the default Y velocity to 0
- getgenv().circleMode = false
- getgenv().speedV2 = 140
- getgenv().radiusV2 = 65
- game:GetService("RunService").Heartbeat:Connect(function()
- if not getgenv().nearest then return end -- Return if not enabled
- local player = game.Players.LocalPlayer
- local character = player.Character
- local hrp = character.HumanoidRootPart
- -- Store the current velocity
- local vel = hrp.Velocity
- -- Find the nearest player
- local nearestPlayer = nil
- local minDistance = math.huge
- for i, otherPlayer in pairs(game.Players:GetPlayers()) do
- if otherPlayer ~= player then
- local otherCharacter = otherPlayer.Character
- if otherCharacter and otherCharacter:FindFirstChild("HumanoidRootPart") then
- local distance = (otherCharacter.HumanoidRootPart.Position - hrp.Position).magnitude
- if distance < minDistance then
- nearestPlayer = otherCharacter.HumanoidRootPart
- minDistance = distance
- end
- end
- end
- end
- -- Set the velocity to the direction of the nearest player or spin in a circle around the player
- if getgenv().circleMode then
- if nearestPlayer then
- local theta = math.rad(game:GetService("Workspace").DistributedGameTime * getgenv().speedV2)
- local x = math.sin(theta) * getgenv().radiusV2
- local z = math.cos(theta) * getgenv().radiusV2
- local direction = (nearestPlayer.Position + Vector3.new(x, getgenv().yVelocity, z) - hrp.Position).unit
- hrp.Velocity = direction * (minDistance * 10)
- end
- else
- if nearestPlayer then
- local direction = (nearestPlayer.Position - hrp.Position).unit
- -- Change the direction to shoot down at the player
- direction = Vector3.new(direction.x, -math.abs(direction.y), direction.z)
- -- Set the Y velocity based on the user's choice
- local yVel = getgenv().yVelocity
- local velocity = Vector3.new(direction.x * (minDistance * 10), yVel, direction.z * (minDistance * 10))
- hrp.Velocity = velocity
- end
- end
- game:GetService("RunService").RenderStepped:Wait()
- hrp.Velocity = vel
- end)
- -- Function to toggle the script on or off
- function toggle()
- getgenv().nearest = not getgenv().nearest
- end
- -- Function to set the Y velocity
- function setYVelocity(yVelocity)
- getgenv().yVelocity = yVelocity
- end
- -- Function to toggle circle mode on or off
- function toggleCircleMode()
- getgenv().circleMode = not getgenv().circleMode
- end
- getgenv().lookvector = false
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().lookvector == true then
- local v = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 1000
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = v
- end
- end)
- local Velmultiplier = 10
- getgenv().high = false
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().high == true then
- local v = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity * (Velmultiplier)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = v
- end
- end)
- local Velmultipliera = -2
- getgenv().low = false
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().low == true then
- local v = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity * (Velmultipliera)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = v
- end
- end)
- getgenv().predbreak = false
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().predbreak ~= false then
- local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
- end
- end)
- getgenv().velocity = false
- getgenv().velAmountX = 0
- getgenv().velAmountY = 0
- getgenv().velAmountZ = 0
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().velocity ~= false then
- local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(getgenv().velAmountX,getgenv().velAmountY,getgenv().velAmountZ)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
- end
- end)
- getgenv().Underground = false
- getgenv().UndergroundAmount = 900
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().Underground ~= false then
- local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,-getgenv().UndergroundAmount,0)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
- end
- end)
- getgenv().sky = false
- getgenv().skyAmount = 900
- game:GetService("RunService").heartbeat:Connect(function()
- if getgenv().sky ~= false then
- local vel = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0,getgenv().skyAmount,0)
- game:GetService("RunService").RenderStepped:Wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = vel
- end
- end)
- local LocalPlayer = game.Players.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- local Character = LocalPlayer.Character
- local RootPart = Character.HumanoidRootPart
- local CC = workspace.CurrentCamera
- local Old = RootPart.Velocity
- local Strength = 120
- _G.mouseAntia = Valuew2
- game.RunService.Heartbeat:Connect(function()
- if _G.mouseAntia then
- local v = game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity
- RootPart.Velocity = (Mouse.hit.p - RootPart.Position).Unit * Strength + CC.CFrame.LookVector * Strength
- game.RunService.RenderStepped:Wait()
- RootPart.Velocity = Old
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = v
- end
- end)
- -- // UI Variables
- local library = {}
- local utility = {}
- --
- local shared = {
- drawings = {},
- connections = {},
- hidden_connections = {},
- pointers = {},
- theme = {
- inline = Color3.fromRGB(6, 6, 6),
- dark = Color3.fromRGB(24, 24, 24),
- text = Color3.fromRGB(255, 255, 255),
- section = Color3.fromRGB(150, 150, 150),
- accent = Color3.fromRGB(0, 102, 255)
- },
- accents = {},
- moveKeys = {
- ["Movement"] = {
- ["W"] = "Up",
- ["S"] = "Down"
- },
- ["Action"] = {
- ["Return"] = "Enter",
- ["A"] = "Left",
- ["D"] = "Right"
- }
- },
- allowedKeyCodes = {"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M","One","Two","Three","Four","Five","Six","Seveen","Eight","Nine","0","Insert","Tab","Home","End","LeftAlt","LeftControl","LeftShift","RightAlt","RightControl","RightShift","CapsLock","Return","Up","Down","Left","Right"},
- allowedInputTypes = {"MouseButton1","MouseButton2","MouseButton3"},
- shortenedInputs = {["MouseButton1"] = "MB1", ["MouseButton2"] = "MB2", ["MouseButton3"] = "MB3", ["Insert"] = "Ins", ["LeftAlt"] = "LAlt", ["LeftControl"] = "LCtrl", ["LeftShift"] = "LShift", ["RightAlt"] = "RAlt", ["RightControl"] = "RCtrl", ["RightShift"] = "RShift", ["CapsLock"] = "Caps"},
- colors = {Color3.fromRGB(255, 0, 0), Color3.fromRGB(255, 100, 0), Color3.fromRGB(255, 200, 0), Color3.fromRGB(210, 255, 0), Color3.fromRGB(110, 255, 0), Color3.fromRGB(10, 255, 0), Color3.fromRGB(0, 255, 90), Color3.fromRGB(0, 255, 190), Color3.fromRGB(0, 220, 255), Color3.fromRGB(0, 120, 255), Color3.fromRGB(0, 20, 255), Color3.fromRGB(80, 0, 255), Color3.fromRGB(180, 0, 255), Color3.fromRGB(255, 0, 230), Color3.fromRGB(255, 0, 130), Color3.fromRGB(255, 255, 255), Color3.fromRGB(0, 0, 0)},
- toggleKey = {Enum.KeyCode.RightShift, true}
- }
- -- // Variables
- local uis = game:GetService("UserInputService")
- local rs = game:GetService("RunService")
- local plrs = game:GetService("Players")
- local ws = game:GetService("Workspace")
- --
- local plr = plrs.LocalPlayer
- -- // Utility Functions
- do
- function utility:Create(instanceType, instanceProperties)
- local instance = Drawing.new(instanceType)
- local parent
- --
- if instanceProperties["Parent"] or instanceProperties["parent"] then
- parent = instanceProperties["Parent"] or instanceProperties["parent"]
- --
- instanceProperties["parent"] = nil
- instanceProperties["Parent"] = nil
- end
- --
- for property, value in pairs(instanceProperties) do
- if property and value then
- if property == "Size" or property == "Size" then
- if instanceType == "Text" then
- instance.Size = value
- else
- local xSize = (value.X.Scale * ((parent and parent.Size) or ws.CurrentCamera.ViewportSize).X) + value.X.Offset
- local ySize = (value.Y.Scale * ((parent and parent.Size) or ws.CurrentCamera.ViewportSize).Y) + value.Y.Offset
- --
- instance.Size = Vector2.new(xSize, ySize)
- end
- elseif property == "Position" or property == "position" then
- if instanceType == "Text" then
- local xPosition = ((((parent and parent.Position) or Vector2.new(0, 0)).X) + (value.X.Scale * ((typeof(parent.Size) == "number" and parent.TextBounds) or parent.Size).X)) + value.X.Offset
- local yPosition = ((((parent and parent.Position) or Vector2.new(0, 0)).Y) + (value.Y.Scale * ((typeof(parent.Size) == "number" and parent.TextBounds) or parent.Size).Y)) + value.Y.Offset
- --
- instance.Position = Vector2.new(xPosition, yPosition)
- else
- local xPosition = ((((parent and parent.Position) or Vector2.new(0, 0)).X) + value.X.Scale * ((parent and parent.Size) or ws.CurrentCamera.ViewportSize).X) + value.X.Offset
- local yPosition = ((((parent and parent.Position) or Vector2.new(0, 0)).Y) + value.Y.Scale * ((parent and parent.Size) or ws.CurrentCamera.ViewportSize).Y) + value.Y.Offset
- --
- instance.Position = Vector2.new(xPosition, yPosition)
- end
- elseif property == "Color" or property == "color" then
- if typeof(value) == "string" then
- instance["Color"] = shared.theme[value]
- --
- if value == "accent" then
- shared.accents[#shared.accents + 1] = instance
- end
- else
- instance[property] = value
- end
- else
- instance[property] = value
- end
- end
- end
- --
- shared.drawings[#shared.drawings + 1] = instance
- --
- return instance
- end
- --
- function utility:Update(instance, instanceProperty, instanceValue, instanceParent)
- if instanceProperty == "Size" or instanceProperty == "Size" then
- local xSize = (instanceValue.X.Scale * ((instanceParent and instanceParent.Size) or ws.CurrentCamera.ViewportSize).X) + instanceValue.X.Offset
- local ySize = (instanceValue.Y.Scale * ((instanceParent and instanceParent.Size) or ws.CurrentCamera.ViewportSize).Y) + instanceValue.Y.Offset
- --
- instance.Size = Vector2.new(xSize, ySize)
- elseif instanceProperty == "Position" or instanceProperty == "position" then
- local xPosition = ((((instanceParent and instanceParent.Position) or Vector2.new(0, 0)).X) + (instanceValue.X.Scale * ((typeof(instanceParent.Size) == "number" and instanceParent.TextBounds) or instanceParent.Size).X)) + instanceValue.X.Offset
- local yPosition = ((((instanceParent and instanceParent.Position) or Vector2.new(0, 0)).Y) + (instanceValue.Y.Scale * ((typeof(instanceParent.Size) == "number" and instanceParent.TextBounds) or instanceParent.Size).Y)) + instanceValue.Y.Offset
- --
- instance.Position = Vector2.new(xPosition, yPosition)
- elseif instanceProperty == "Color" or instanceProperty == "color" then
- if typeof(instanceValue) == "string" then
- instance.Color = shared.theme[instanceValue]
- --
- if instanceValue == "accent" then
- shared.accents[#shared.accents + 1] = instance
- else
- if table.find(shared.accents, instance) then
- table.remove(shared.accents, table.find(shared.accents, instance))
- end
- end
- else
- instance.Color = instanceValue
- end
- end
- end
- --
- function utility:Connection(connectionType, connectionCallback)
- local connection = connectionType:Connect(connectionCallback)
- shared.connections[#shared.connections + 1] = connection
- --
- return connection
- end
- --
- function utility:RemoveConnection(connection)
- for index, con in pairs(shared.connections) do
- if con == connection then
- shared.connections[index] = nil
- con:Disconnect()
- end
- end
- --
- for index, con in pairs(shared.hidden_connections) do
- if con == connection then
- shared.hidden_connections[index] = nil
- con:Disconnect()
- end
- end
- end
- --
- function utility:Lerp(instance, instanceTo, instanceTime)
- local currentTime = 0
- local currentIndex = {}
- local connection
- --
- for i,v in pairs(instanceTo) do
- currentIndex[i] = instance[i]
- end
- --
- local function lerp()
- for i,v in pairs(instanceTo) do
- instance[i] = ((v - currentIndex[i]) * currentTime / instanceTime) + currentIndex[i]
- end
- end
- --
- connection = rs.RenderStepped:Connect(function(delta)
- if currentTime < instanceTime then
- currentTime = currentTime + delta
- lerp()
- else
- connection:Disconnect()
- end
- end)
- end
- --
- function utility:Unload()
- for i,v in pairs(shared.drawings) do
- v:Remove()
- end
- --
- for i,v in pairs(shared.connections) do
- v:Disconnect()
- end
- --
- shared.drawings = nil
- shared.connections = nil
- --
- shared = nil
- utility = nil
- library = nil
- end
- --
- function utility:Toggle()
- shared.toggleKey[2] = not shared.toggleKey[2]
- --
- for index, drawing in pairs(shared.drawings) do
- if getmetatable(drawing).__type == "Text" then
- utility:Lerp(drawing, {Transparency = shared.toggleKey[2] and 1 or 0}, 0.15)
- else
- utility:Lerp(drawing, {Transparency = shared.toggleKey[2] and 1 or 0}, 0.25)
- end
- end
- end
- --
- function utility:ChangeAccent(accentColor)
- shared.theme.accent = accentColor
- --
- for index, drawing in pairs(shared.accents) do
- drawing.Color = shared.theme.accent
- end
- end
- end
- --
- do
- function library:Window(windowProperties)
- -- // Variables
- local window = {
- current = nil,
- currentindex = 1,
- content = {},
- pages = {}
- }
- local windowProperties = windowProperties or {}
- --
- local windowName = windowProperties.name or windowProperties.Name or "New Window"
- -- // Functions
- function window:Movement(moveAction, moveDirection)
- if moveAction == "Movement" then
- window.content[window.currentindex]:Turn(false)
- --
- if window.content[moveDirection == "Down" and window.currentindex + 1 or window.currentindex - 1] then
- window.currentindex = moveDirection == "Down" and window.currentindex + 1 or window.currentindex - 1
- else
- window.currentindex = moveDirection == "Down" and 1 or #window.content
- end
- --
- window.content[window.currentindex]:Turn(true)
- else
- window.content[window.currentindex]:Action(moveDirection)
- end
- end
- --
- function window:ChangeKeys(keyType, moveDirection, newKey)
- for i,v in pairs(shared.moveKeys[keyType]) do
- if tostring(v) == tostring(moveDirection) then
- shared.moveKeys[keyType][i] = nil
- shared.moveKeys[keyType][newKey] = moveDirection
- end
- end
- end
- -- // Main
- local windowFrame = utility:Create("Square", {
- Visible = true,
- Filled = true,
- Thickness = 0,
- Color = shared.theme.inline,
- Size = UDim2.new(0, 280, 0, 19),
- Position = UDim2.new(0, 50, 0, 80)
- })
- --
- local windowInline = utility:Create("Square", {
- Parent = windowFrame,
- Visible = true,
- Filled = true,
- Thickness = 0,
- Color = shared.theme.dark,
- Size = UDim2.new(1, -2, 1, -4),
- Position = UDim2.new(0, 1, 0, 3)
- })
- --
- local windowAccent = utility:Create("Square", {
- Parent = windowFrame,
- Visible = true,
- Filled = true,
- Thickness = 0,
- Color = "accent",
- Size = UDim2.new(1, 0, 0, 2),
- Position = UDim2.new(0, 0, 0, 0)
- })
- --
- local windowText = utility:Create("Text", {
- Parent = windowAccent,
- Visible = true,
- Text = windowName,
- Center = true,
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13,
- Position = UDim2.new(0.5, 0, 0, 3)
- })
- -- // Connections
- utility:Connection(uis.InputBegan, function(Input)
- if shared.toggleKey[2] and Input.KeyCode then
- if shared.moveKeys["Movement"][Input.KeyCode.Name] then
- window:Movement("Movement", shared.moveKeys["Movement"][Input.KeyCode.Name])
- elseif shared.moveKeys["Action"][Input.KeyCode.Name] then
- window:Movement("Action", shared.moveKeys["Action"][Input.KeyCode.Name])
- end
- end
- --
- if Input.KeyCode and Input.KeyCode == shared.toggleKey[1] then
- utility:Toggle()
- end
- end)
- -- // Nested Functions
- function window:ChangeName(newName)
- windowText.Text = newName
- end
- --
- function window:Refresh()
- window.content = {}
- local contentCount = 0
- --
- for index, page in pairs(window.pages) do
- page:Position(19 + (contentCount * 17))
- window.content[#window.content + 1] = page
- contentCount = contentCount + 1
- --
- if page.open then
- for index, section in pairs(page.sections) do
- section:Position(19 + (contentCount * 17))
- contentCount = contentCount + 1
- --
- for index, content in pairs(section.content) do
- content:Position(19 + (contentCount * 17))
- if not content.noaction then
- window.content[#window.content + 1] = content
- end
- contentCount = contentCount + 1
- end
- end
- end
- end
- --
- utility:Update(windowFrame, "Size", UDim2.new(0, 280, 0, 23 + (contentCount * 17)))
- utility:Update(windowInline, "Size", UDim2.new(1, -2, 1, -4), windowFrame)
- end
- --
- function window:Page(pageProperties)
- -- // Variables
- local page = {open = false, sections = {}}
- local pageProperties = pageProperties or {}
- --
- local pageName = pageProperties.name or pageProperties.Name or "New Page"
- -- // Functions
- -- // Main
- local pageText = utility:Create("Text", {
- Parent = windowFrame,
- Visible = true,
- Text = "[+] "..pageName,
- Outline = true,
- Font = 2,
- Color = (#window.content == 0 and shared.theme.accent or shared.theme.text),
- Size = 13,
- Position = UDim2.new(0, 5, 0, 19 + ((#window.content) * 17))
- })
- -- // Nested Functions
- function page:Turn(state)
- if state then
- utility:Update(pageText, "Color", "accent")
- else
- utility:Update(pageText, "Color", "text")
- end
- end
- --
- function page:Position(yAxis)
- utility:Update(page.text, "Position", UDim2.new(0, 5, 0, yAxis), windowFrame)
- end
- --
- function page:Open(state, externalOpen)
- if not externalOpen then
- local ind = 0
- for index, other_page in pairs(window.pages) do
- if other_page == page then
- ind = index
- else
- if other_page.open then
- other_page:Open(false, true)
- end
- end
- end
- --
- window.currentindex = ind
- end
- --
- page.open = state
- pageText.Text = (page.open and "[-] " or "[+] ") .. pageName
- --
- for index, section in pairs(page.sections) do
- section:Open(page.open)
- end
- --
- window:Refresh()
- end
- --
- function page:Action(action)
- if action == "Enter" then
- page:Open(not page.open)
- elseif action == "Right" and not page.open then
- page:Open(true)
- elseif action == "Left" and page.open then
- page:Open(false)
- end
- end
- --
- function page:Section(sectionProperties)
- -- // Variables
- local section = {content = {}}
- local sectionProperties = sectionProperties or {}
- --
- local sectionName = sectionProperties.name or sectionProperties.Name or "New Section"
- -- // Functions
- -- // Main
- local sectionText = utility:Create("Text", {
- Visible = false,
- Text = "["..sectionName.."]",
- Outline = true,
- Font = 2,
- Color = shared.theme.section,
- Size = 13
- })
- -- // Nested Functions
- function section:Open(state)
- section.text.Visible = state
- --
- for index, content in pairs(section.content) do
- content:Open(state)
- end
- end
- --
- function section:Position(yAxis)
- utility:Update(section.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function section:Label(labelProperties)
- -- // Variables
- local label = {noaction = true}
- local labelProperties = labelProperties or {}
- --
- local labelName = labelProperties.name or labelProperties.Name or "New Label"
- -- // Functions
- -- // Main
- local labelText = utility:Create("Text", {
- Visible = false,
- Text = labelName,
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function label:Turn(state)
- if state then
- utility:Update(label.text, "Color", "accent")
- else
- utility:Update(label.text, "Color", "text")
- end
- end
- --
- function label:Position(yAxis)
- utility:Update(label.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function label:Open(state)
- label.text.Visible = state
- end
- --
- function label:Action(action)
- end
- -- // Returning + Other
- label.name = labelName
- label.text = labelText
- --
- section.content[#section.content + 1] = label
- --
- return label
- end
- --
- function section:Button(buttonProperties)
- -- // Variables
- local button = {}
- local buttonProperties = buttonProperties or {}
- --
- local buttonName = buttonProperties.name or buttonProperties.Name or "New Toggle"
- local buttonCallback = buttonProperties.callback or buttonProperties.Callback or buttonProperties.CallBack or buttonProperties.callBack or function() end
- -- // Functions
- -- // Main
- local buttonText = utility:Create("Text", {
- Visible = false,
- Text = buttonName,
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function button:Turn(state)
- if state then
- utility:Update(button.text, "Color", "accent")
- else
- utility:Update(button.text, "Color", "text")
- end
- end
- --
- function button:Position(yAxis)
- utility:Update(button.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function button:Open(state)
- button.text.Visible = state
- end
- --
- function button:Action(action)
- button.text.Text = "<"..buttonName..">"
- --
- buttonCallback()
- --
- wait(0.2)
- button.text.Text = buttonName
- end
- -- // Returning + Other
- button.name = buttonName
- button.text = buttonText
- --
- section.content[#section.content + 1] = button
- --
- return button
- end
- --
- function section:Toggle(toggleProperties)
- local toggle = {}
- local toggleProperties = toggleProperties or {}
- --
- local toggleName = toggleProperties.name or toggleProperties.Name or "New Toggle"
- local toggleDefault = toggleProperties.default or toggleProperties.Default or toggleProperties.def or toggleProperties.Def or false
- local togglePointer = toggleProperties.pointer or toggleProperties.Pointer or toggleProperties.flag or toggleProperties.Flag or nil
- local toggleCallback = toggleProperties.callback or toggleProperties.Callback or toggleProperties.CallBack or toggleProperties.callBack or function() end
- -- // Functions
- -- // Main
- local toggleText = utility:Create("Text", {
- Visible = false,
- Text = toggleName .. " -> " .. (toggleDefault and "ON" or "OFF"),
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function toggle:Turn(state)
- if state then
- utility:Update(toggle.text, "Color", "accent")
- else
- utility:Update(toggle.text, "Color", "text")
- end
- end
- --
- function toggle:Position(yAxis)
- utility:Update(toggle.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function toggle:Open(state)
- toggle.text.Visible = state
- end
- --
- function toggle:Action(action)
- toggle.current = not toggle.current
- toggle.text.Text = toggle.name .. " -> " .. (toggle.current and "ON" or "OFF")
- --
- toggleCallback(toggle.current)
- end
- -- // Returning + Other
- toggle.name = toggleName
- toggle.text = toggleText
- toggle.current = toggleDefault
- --
- section.content[#section.content + 1] = toggle
- --
- if togglePointer then
- local pointer = {}
- --
- function pointer:Get()
- return toggle.current
- end
- --
- function pointer:Set(value)
- if typeof(value) == "bool" then
- toggle.current = value
- toggle.text.Text = toggle.name .. " -> " .. (toggle.current and "ON" or "OFF")
- --
- toggleCallback(toggle.current)
- end
- end
- --
- shared.pointers[togglePointer] = pointer
- end
- --
- return toggle
- end
- --
- function section:Slider(sliderProperties)
- local slider = {}
- local sliderProperties = sliderProperties or {}
- --
- local sliderName = sliderProperties.name or sliderProperties.Name or "New Toggle"
- local sliderDefault = sliderProperties.default or sliderProperties.Default or sliderProperties.def or sliderProperties.Def or 1
- local sliderMax = sliderProperties.max or sliderProperties.Max or sliderProperties.maximum or sliderProperties.Maximum or 10
- local sliderMin = sliderProperties.min or sliderProperties.Min or sliderProperties.minimum or sliderProperties.Minimum or 1
- local sliderTick = sliderProperties.tick or sliderProperties.Tick or sliderProperties.decimals or sliderProperties.Decimals or 1
- local sliderPointer = sliderProperties.pointer or sliderProperties.Pointer or sliderProperties.flag or sliderProperties.Flag or nil
- local sliderCallback = sliderProperties.callback or sliderProperties.Callback or sliderProperties.CallBack or sliderProperties.callBack or function() end
- -- // Functions
- -- // Main
- local sliderText = utility:Create("Text", {
- Visible = false,
- Text = sliderName .. " -> " .. "<" .. tostring(sliderDefault) .. "/" .. tostring(sliderMax) .. ">",
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function slider:Turn(state)
- if state then
- utility:Update(slider.text, "Color", "accent")
- else
- utility:Update(slider.text, "Color", "text")
- end
- end
- --
- function slider:Position(yAxis)
- utility:Update(slider.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function slider:Open(state)
- slider.text.Visible = state
- end
- --
- function slider:Action(action)
- slider.current = math.clamp(action == "Left" and (slider.current - slider.tick) or (slider.current + slider.tick), slider.min, slider.max)
- slider.text.Text = sliderName .. " -> " .. "<" .. tostring(slider.current) .. "/" .. tostring(slider.max) .. ">"
- --
- sliderCallback(slider.current)
- end
- -- // Returning + Other
- slider.name = sliderName
- slider.text = sliderText
- slider.current = sliderDefault
- slider.max = sliderMax
- slider.min = sliderMin
- slider.tick = sliderTick
- --
- section.content[#section.content + 1] = slider
- --
- if sliderPointer then
- local pointer = {}
- --
- function pointer:Get()
- return slider.current
- end
- --
- function pointer:Set(value)
- if typeof(value) == "number" then
- slider.current = value
- slider.text.Text = sliderName .. " -> " .. "<" .. tostring(slider.current) .. "/" .. tostring(slider.max) .. ">"
- --
- sliderCallback(slider.current)
- end
- end
- --
- shared.pointers[sliderPointer] = pointer
- end
- --
- return slider
- end
- --
- function section:List(listProperties)
- local list = {}
- local listProperties = listProperties or {}
- --
- local listName = listProperties.name or listProperties.Name or "New Toggle"
- local listEnter = listProperties.enter or listProperties.Enter or listProperties.comfirm or listProperties.Comfirm or false
- local listDefault = listProperties.default or listProperties.Default or listProperties.def or listProperties.Def or 1
- local listOptions = listProperties.options or listProperties.Options or {"Option 1", "Option 2", "Option 3"}
- local listPointer = listProperties.pointer or listProperties.Pointer or listProperties.flag or listProperties.Flag or nil
- local listCallback = listProperties.callback or listProperties.Callback or listProperties.CallBack or listProperties.callBack or function() end
- -- // Functions
- -- // Main
- local listText = utility:Create("Text", {
- Visible = false,
- Text = listName .. " -> " .. "<" .. tostring(listOptions[listDefault]) .. ">",
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function list:Turn(state)
- if state then
- utility:Update(list.text, "Color", "accent")
- else
- utility:Update(list.text, "Color", "text")
- end
- end
- --
- function list:Position(yAxis)
- utility:Update(list.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function list:Open(state)
- list.text.Visible = state
- end
- --
- function list:Action(action)
- if (listEnter and action == "Enter") then
- listCallback(list.options[list.current])
- else
- list.current = ((list.options[action == "Left" and list.current - 1 or list.current + 1]) and (action == "Left" and list.current - 1 or list.current + 1)) or (action == "Left" and #list.options or 1)
- --
- list.text.Text = listName .. " -> " .. "<" .. tostring(list.options[list.current]) .. ">"
- --
- if not listEnter then
- listCallback(list.options[list.current])
- end
- end
- end
- -- // Returning + Other
- if listPointer then
- local pointer = {}
- --
- function pointer:Get(cfg)
- if cfg then
- return list.current
- else
- return list.options[list.current]
- end
- end
- --
- function pointer:Set(value)
- if typeof(value) == "number" and list.options[value] then
- list.current = value
- --
- list.text.Text = listName .. " -> " .. "<" .. tostring(list.options[list.current]) .. ">"
- --
- if not listEnter then
- listCallback(list.options[list.current])
- end
- end
- end
- --
- shared.pointers[listPointer] = pointer
- end
- --
- list.name = listName
- list.text = listText
- list.current = listDefault
- list.options = listOptions
- --
- section.content[#section.content + 1] = list
- --
- return list
- end
- --
- function section:MultiList(multiListProperties)
- local multiList = {}
- local multiListProperties = multiListProperties or {}
- --
- local multiListName = multiListProperties.name or multiListProperties.Name or "New Toggle"
- local multiListDefault = multiListProperties.default or multiListProperties.Default or multiListProperties.def or multiListProperties.Def or 1
- local multiListOptions = multiListProperties.options or multiListProperties.Options or {{"Option 1", false}, {"Option 2", false}, {"Option 3", false}}
- local multiListPointer = multiListProperties.pointer or multiListProperties.Pointer or multiListProperties.flag or multiListProperties.Flag or nil
- local multiListCallback = multiListProperties.callback or multiListProperties.Callback or multiListProperties.CallBack or multiListProperties.callBack or function() end
- -- // Functions
- -- // Main
- local multiListText = utility:Create("Text", {
- Visible = false,
- Text = multiListName .. " -> " .. "<" .. (multiListOptions[multiListDefault] and (tostring(multiListOptions[multiListDefault][1]) .. ":" .. ((multiListOptions[multiListDefault][2]) and "ON" or "OFF")) or "Nil") .. ">",
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function multiList:Turn(state)
- if state then
- utility:Update(multiList.text, "Color", "accent")
- else
- utility:Update(multiList.text, "Color", "text")
- end
- end
- --
- function multiList:Position(yAxis)
- utility:Update(multiList.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function multiList:Open(state)
- multiList.text.Visible = state
- end
- --
- function multiList:Action(action)
- if action == "Enter" then
- multiList.options[multiList.current][2] = not multiList.options[multiList.current][2]
- --
- multiList.text.Text = multiList.name .. " -> " .. "<" .. tostring(multiList.options[multiList.current][1]) .. ":" .. (multiList.options[multiList.current][2] and "ON" or "OFF") .. ">"
- --
- multiListCallback(multiList.options)
- else
- multiList.current = ((multiList.options[action == "Left" and multiList.current - 1 or multiList.current + 1]) and (action == "Left" and multiList.current - 1 or multiList.current + 1)) or (action == "Left" and #multiList.options or 1)
- --
- multiList.text.Text = multiList.name .. " -> " .. "<" .. tostring(multiList.options[multiList.current][1]) .. ":" .. (multiList.options[multiList.current][2] and "ON" or "OFF") .. ">"
- --
- multiListCallback(multiList.options)
- end
- end
- -- // Returning + Other
- if multiListPointer then
- local pointer = {}
- --
- function pointer:Get()
- return list.options
- end
- --
- function pointer:Set(value)
- if typeof(value) == "table" and value[multiList.current] then
- multiList.options = value
- --
- multiList.text.Text = multiList.name .. " -> " .. "<" .. tostring(multiList.options[multiList.current][1]) .. ":" .. (multiList.options[multiList.current][2] and "ON" or "OFF") .. ">"
- --
- multiListCallback(multiList.options)
- end
- end
- --
- shared.pointers[multiListPointer] = pointer
- end
- --
- multiList.name = multiListName
- multiList.text = multiListText
- multiList.current = multiListDefault
- multiList.options = multiListOptions
- --
- section.content[#section.content + 1] = multiList
- --
- return multiList
- end
- --
- function section:PlayerList(playerListProperties)
- local playerList = {}
- local playerListProperties = playerListProperties or {}
- --
- local playerListName = playerListProperties.name or playerListProperties.Name or "New Toggle"
- local playerListEnter = playerListProperties.enter or playerListProperties.Enter or playerListProperties.comfirm or playerListProperties.Comfirm or false
- local playerListCallback = playerListProperties.callback or playerListProperties.Callback or playerListProperties.CallBack or playerListProperties.callBack or function() end
- local playerListOptions = {}
- -- // Functions
- for index, player in pairs(plrs:GetPlayers()) do
- if player ~= plr then
- playerListOptions[#playerListOptions + 1] = player
- end
- end
- --
- utility:Connection(plrs.PlayerAdded, function(player)
- if player ~= plr then
- if not table.find(playerList.options, player) then
- playerList.options[#playerList.options + 1] = player
- end
- --
- if #playerList.options == 1 then
- playerList.current = 1
- --
- playerList.text.Text = playerList.name .. " -> " .. "<" .. tostring(playerList.options[playerList.current].Name) .. ">"
- --
- if not playerListEnter then
- playerListCallback(tostring(playerList.options[playerList.current]))
- end
- end
- end
- end)
- --
- utility:Connection(plrs.PlayerRemoving, function(player)
- if player ~= plr then
- local index = table.find(playerList.options, player)
- local current = playerList.current
- local current_plr = playerList.options[current]
- --
- if index then
- table.remove(playerList.options, index)
- end
- --
- if #playerList.options == 0 then
- playerList.text.Text = playerList.name .. " -> " .. "<Nil>"
- else
- local oldCurrent = playerList.current
- --
- if index and playerList.options[playerList.current] ~= current_plr and table.find(playerList.options, current_plr) then
- playerList.current = table.find(playerList.options, current_plr)
- end
- --
- playerList.text.Text = playerList.name .. " -> " .. "<" .. tostring(playerList.options[playerList.current].Name) .. ">"
- --
- if not playerListEnter then
- if oldCurrent ~= playerList.current then
- playerListCallback(tostring(playerList.options[playerList.current]))
- end
- end
- end
- end
- end)
- -- // Main
- local playerListText = utility:Create("Text", {
- Visible = false,
- Text = playerListName .. " -> " .. "<" .. (#playerListOptions >= 1 and tostring(playerListOptions[1].Name) or "Nil") .. ">",
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function playerList:Turn(state)
- if state then
- utility:Update(playerList.text, "Color", "accent")
- else
- utility:Update(playerList.text, "Color", "text")
- end
- end
- --
- function playerList:Position(yAxis)
- utility:Update(playerList.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function playerList:Open(state)
- playerList.text.Visible = state
- end
- --
- function playerList:Action(action)
- if (playerListEnter and action == "Enter") then
- if #playerList.options >= 1 then
- playerListCallback(tostring(playerList.options[playerList.current]))
- end
- else
- if #playerList.options >= 1 then
- local oldCurrent = playerList.current
- --
- playerList.current = ((playerList.options[action == "Left" and playerList.current - 1 or playerList.current + 1]) and (action == "Left" and playerList.current - 1 or playerList.current + 1)) or (action == "Left" and #playerList.options or 1)
- --
- playerList.text.Text = playerList.name .. " -> " .. "<" .. tostring(playerList.options[playerList.current].Name) .. ">"
- --
- if not playerListEnter then
- if oldCurrent ~= playerList.current then
- playerListCallback(tostring(playerList.options[playerList.current]))
- end
- end
- end
- end
- end
- -- // Returning + Other
- playerList.name = playerListName
- playerList.text = playerListText
- playerList.current = 1
- playerList.options = playerListOptions
- --
- section.content[#section.content + 1] = playerList
- --
- return playerList
- end
- --
- function section:Keybind(keybindProperties)
- -- // Variables
- local keybind = {}
- local keybindProperties = keybindProperties or {}
- --
- local keybindName = keybindProperties.name or keybindProperties.Name or "New Toggle"
- local keybindDefault = keybindProperties.default or keybindProperties.Default or keybindProperties.def or keybindProperties.Def or Enum.KeyCode.B
- local keybindInputs = keybindProperties.inputs or keybindProperties.Inputs or true
- local keybindPointer = keybindProperties.pointer or keybindProperties.Pointer or keybindProperties.flag or keybindProperties.Flag or nil
- local keybindCallback = keybindProperties.callback or keybindProperties.Callback or keybindProperties.CallBack or keybindProperties.callBack or function() end
- -- // Functions
- function keybind:Shorten(string)
- for i,v in pairs(shared.shortenedInputs) do
- string = string.gsub(string, i, v)
- end
- --
- return string
- end
- --
- function keybind:Change(input)
- input = input or "..."
- local inputTable = {}
- --
- if input.EnumType then
- if input.EnumType == Enum.KeyCode or input.EnumType == Enum.UserInputType then
- if table.find(shared.allowedKeyCodes, input.Name) or table.find(shared.allowedInputTypes, input.Name) then
- inputTable = {input.EnumType == Enum.KeyCode and "KeyCode" or "UserInputType", input.Name}
- --
- keybind.current = inputTable
- keybind.text.Text = keybindName .. " -> " .. "<" .. (#keybind.current > 0 and keybind:Shorten(keybind.current[2]) or "...") .. ">"
- --
- return true
- end
- end
- end
- --
- return false
- end
- -- // Main
- local keybindText = utility:Create("Text", {
- Visible = false,
- Text = keybindName .. " -> " .. "<" .. "..." .. ">",
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- -- // Nested Functions
- function keybind:Turn(state)
- if state then
- utility:Update(keybind.text, "Color", "accent")
- else
- utility:Update(keybind.text, "Color", "text")
- end
- end
- --
- function keybind:Position(yAxis)
- utility:Update(keybind.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- end
- --
- function keybind:Open(state)
- keybind.text.Visible = state
- end
- --
- function keybind:Action(action)
- if not keybind.selecting then
- keybind.text.Text = keybindName .. " -> " .. "<" .. "..." .. ">"
- --
- keybind.selecting = true
- --
- local connection
- connection = utility:Connection(uis.InputBegan, function(Input)
- if connection then
- local inputProcessed = keybind:Change(Input.KeyCode.Name ~= "Unknown" and Input.KeyCode or (keybinds.inputs and Input.UserInputType))
- --
- if inputProcessed then
- wait()
- keybind.selecting = false
- --
- utility:RemoveConnection(connection)
- keybindCallback(Enum[keybind.current[1]][keybind.current[2]])
- end
- end
- end)
- end
- end
- -- // Functions + Connections
- connection = utility:Connection(uis.InputBegan, function(Input)
- if connection then
- local inputProcessed = keybind:Change(Input.KeyCode.Name ~= "Unknown" and Input.KeyCode or (keybinds.inputs and Input.UserInputType))
- --
- if inputProcessed then
- wait()
- keybind.selecting = false
- --
- utility:RemoveConnection(connection)
- keybindCallback(Enum[keybind.current[1]][keybind.current[2]])
- end
- end
- end)
- -- // Returning + Other
- if keybindPointer then
- local pointer = {}
- --
- function pointer:Get(cfg)
- if cfg then
- return keybind.current
- else
- return Enum[keybind.current[1]][keybind.current[2]]
- end
- end
- --
- function pointer:Set(value)
- if typeof(value) == "table" and value[1] and value[2] then
- local inputProcessed = keybind:Change(Enum[value[1]][value[2]])
- --
- if inputProcessed then
- keybindCallback(Enum[keybind.current[1]][keybind.current[2]])
- end
- end
- end
- --
- shared.pointers[keybindPointer] = pointer
- end
- --
- keybind.name = keybindName
- keybind.text = keybindText
- keybind.current = {}
- keybind.inputs = keybindInputs
- keybind.selecting = false
- --
- keybind:Change(keybindDefault)
- --
- section.content[#section.content + 1] = keybind
- --
- return keybind
- end
- --
- function section:ColorList(colorListProperties)
- local colorList = {}
- local colorListProperties = colorListProperties or {}
- --
- local colorListName = colorListProperties.name or colorListProperties.Name or "New Toggle"
- local colorListDefault = colorListProperties.default or colorListProperties.Default or colorListProperties.def or colorListProperties.Def or 1
- local colorListPointer = colorListProperties.pointer or colorListProperties.Pointer or colorListProperties.flag or colorListProperties.Flag or nil
- local colorListCallback = colorListProperties.callback or colorListProperties.Callback or colorListProperties.CallBack or colorListProperties.callBack or function() end
- -- // Functions
- -- // Main
- --
- local colorListText = utility:Create("Text", {
- Visible = false,
- Text = colorListName .. " -> " .. "< >",
- Outline = true,
- Font = 2,
- Color = shared.theme.text,
- Size = 13
- })
- --
- local colorListColor = utility:Create("Square", {
- Visible = false,
- Filled = true,
- Thickness = 0,
- Color = shared.colors[colorListDefault],
- Size = UDim2.new(0, 17, 0, 9),
- })
- -- // Nested Functions
- function colorList:Turn(state)
- if state then
- utility:Update(colorList.text, "Color", "accent")
- else
- utility:Update(colorList.text, "Color", "text")
- end
- end
- --
- function colorList:Position(yAxis)
- utility:Update(colorList.text, "Position", UDim2.new(0, 22, 0, yAxis), windowFrame)
- utility:Update(colorList.color, "Position", UDim2.new(0, 22 + colorList.text.TextBounds.X - 26, 0, yAxis + 3), windowFrame)
- end
- --
- function colorList:Open(state)
- colorList.text.Visible = state
- colorList.color.Visible = state
- end
- --
- function colorList:Action(action)
- colorList.current = ((colorList.options[action == "Left" and colorList.current - 1 or colorList.current + 1]) and (action == "Left" and colorList.current - 1 or colorList.current + 1)) or (action == "Left" and #colorList.options or 1)
- --
- colorList.text.Text = colorListName .. " -> " .. "< >"
- colorList.color.Color = colorList.options[colorList.current]
- --
- colorListCallback(colorList.options[colorList.current])
- end
- -- // Returning + Other
- if colorListPointer then
- local pointer = {}
- --
- function pointer:Get(cfg)
- if cfg then
- return colorList.current
- else
- return colorList.options[colorList.current]
- end
- end
- --
- function pointer:Set(value)
- if typeof(value) == "number" then
- colorList.current = value
- --
- colorList.text.Text = colorListName .. " -> " .. "< >"
- colorList.color.Color = colorList.options[colorList.current]
- --
- colorListCallback(colorList.options[colorList.current])
- end
- end
- --
- shared.pointers[colorListPointer] = pointer
- end
- --
- colorList.name = colorListName
- colorList.text = colorListText
- colorList.color = colorListColor
- colorList.current = colorListDefault
- colorList.options = shared.colors
- --
- section.content[#section.content + 1] = colorList
- --
- return colorList
- end
- -- // Returning + Other
- section.name = sectionName
- section.text = sectionText
- --
- page.sections[#page.sections + 1] = section
- --
- return section
- end
- -- // Returning + Other
- page.name = pageName
- page.text = pageText
- --
- window.pages[#window.pages + 1] = page
- window:Refresh()
- --
- return page
- end
- -- // Returning
- return window
- end
- end
- local window = library:Window({Name = "wendigo#4444 on top"})
- local pag = window:Page({Name = "UnderWorld AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().Underground = s
- end})
- local pag = window:Page({Name = "Sky AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().sky = s
- end})
- local pag = window:Page({Name = "Mouse Control AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- _G.mouseAntia =s
- end})
- local pag = window:Page({Name = "Velocity AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().velocity = s
- end})
- sec:Slider({Name = "Velocity X", Default = 0, Min = -1000, Max = 1000, Pointer = "what is this?", Callback = function(n)
- getgenv().velAmountX = n
- end})
- sec:Slider({Name = "Velocity Y", Default = 0, Min = -1000, Max = 1000, Pointer = "what is this?", Callback = function(n)
- getgenv().velAmountY = n
- end})
- sec:Slider({Name = "Velocity Z", Default = 0, Min = -1000, Max = 1000, Pointer = "what is this?", Callback = function(n)
- getgenv().velAmountZ = n
- end})
- sec:Slider({Name = "Power", Default = 1, Min = -10, Max = 10, Pointer = "what is this?", Callback = function(n)
- getgenv().powervvv = n
- end})
- local pag = window:Page({Name = "Prediction Disabler AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().predbreak = s
- end})
- local pag = window:Page({Name = "LookVector AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().lookvector = s
- end})
- local pag = window:Page({Name = "High Pred AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().high = s
- end})
- local pag = window:Page({Name = "Reversed AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().low = s
- end})
- local pag = window:Page({Name = "ForceLock AA"})
- local sec = pag:Section({Name = "Main"})
- local sec = pag:Section({Name = "Makes lockers shoot to the"})
- local sec = pag:Section({Name = "Nearest person instead of you"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().nearest = s
- end})
- sec:Toggle({Name = "Circle Mode", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().circleMode = s
- end})
- sec:Slider({Name = "Speed", Default = 60, Min = 0, Max = 100, Pointer = "what is this?", Callback = function(n)
- getgenv().speedV2 = n
- end})
- sec:Slider({Name = "Radius", Default = 0, Min = 0, Max = 100, Pointer = "what is this?", Callback = function(n)
- getgenv().radiusV2 = n
- end})
- sec:Slider({Name = "Y Offset", Default = 0, Min = -200, Max = 200, Pointer = "what is this?", Callback = function(n)
- getgenv().yVelocity = n * 10
- end})
- local pag = window:Page({Name = "Circle AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().circleaa = s
- end})
- sec:Slider({Name = "Speed", Default = 60, Min = 0, Max = 200, Pointer = "what is this?", Callback = function(n)
- getgenv().speed = n
- end})
- sec:Slider({Name = "Radius", Default = 65, Min = 0, Max = 100, Pointer = "what is this?", Callback = function(n)
- getgenv().radius = n
- end})
- sec:Slider({Name = "Y Offset", Default = 0, Min = -100, Max = 100, Pointer = "what is this?", Callback = function(n)
- getgenv().yOffset = n
- end})
- local pag = window:Page({Name = "LatestPos AA"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().latestvelocity = s
- end})
- local pag = window:Page({Name = "Fake Lag Desync"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- if s == false then
- setfflag("S2PhysicsSenderRate", 15)
- else
- setfflag("S2PhysicsSenderRate", 2)
- end
- end})
- local pag = window:Page({Name = "Self Dot"})
- local sec = pag:Section({Name = "Main"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().selfdot = s
- end})
- local pag = window:Page({Name = "Fake Stomp"})
- local sec = pag:Section({Name = "Main"})
- local sec = pag:Section({Name = "KeyBind: [X]"})
- sec:Toggle({Name = "Enabled", Default = false, Pointer = "what is this?", Callback = function(s)
- getgenv().fakeStompToggle = s
- local Player = game:GetService("Players").LocalPlayer
- local UserInputService = game:GetService("UserInputService")
- local fakeStompBind = Enum.KeyCode.X -- Change this to the desired keybind
- local fakeStompAnimationId = "rbxassetid://2816431506"
- local fakeStompDuration = 2 -- in seconds
- local fakeStompToggle = true
- local isFakeStomping = false
- local fakeStompStartTime = nil
- local function stopFakeStomp()
- if isFakeStomping then
- isFakeStomping = false
- stopTracks()
- fakeStompStartTime = nil
- end
- end
- local function stopTracks()
- for _, v in next, Player.Character:FindFirstChildOfClass("Humanoid"):GetPlayingAnimationTracks() do
- if (v.Animation.AnimationId == fakeStompAnimationId) then
- v:Stop()
- end
- end
- end
- local function startFakeStomp()
- if not isFakeStomping and fakeStompToggle then
- isFakeStomping = true
- fakeStompStartTime = tick()
- local animation = Instance.new("Animation")
- animation.AnimationId = fakeStompAnimationId
- local animationTrack = Player.Character.Humanoid:LoadAnimation(animation)
- animationTrack:Play()
- animationTrack:AdjustSpeed(1.4) -- increase speed by setting the speed multiplier to 2
- while isFakeStomping and tick() - fakeStompStartTime <= fakeStompDuration and fakeStompToggle do
- wait()
- end
- stopFakeStomp()
- end
- end
- local function onInput(input, gameProcessed)
- if input.KeyCode == fakeStompBind then
- startFakeStomp()
- end
- end
- UserInputService.InputBegan:Connect(onInput)
- while true do
- fakeStompToggle = getgenv().fakeStompToggle
- wait()
- end
- end})
- local pag = window:Page({Name = "Credits"})
- local sec = pag:Section({Name = "wendigo#4444"})
- local sec = pag:Section({Name = "Religious AA for their idea"})
- local sec = pag:Section({Name = "No more paying 4 good scripts"})
- local sec = pag:Section({Name = "Sorry for taking so long"})
- local sec = pag:Section({Name = "I lost motivation, but im back"})
- -- wendigo on top
- assert(getrawmetatable)
- gmt = getrawmetatable(game)
- setreadonly(gmt, false)
- old = gmt.namecall
- gmt.namecall =
- newcclosure(
- function(self, ...)
- local args = {...}
- if tostring(args[1]) == "BreathingHAMON" then
- return
- elseif tostring(args[1]) == "TeleportDetect" then
- return
- elseif tostring(args[1]) == "JJARC" then
- return
- elseif tostring(args[1]) == "TakePoisonDamage" then
- return
- elseif tostring(args[1]) == "CHECKER_1" then
- return
- elseif tostring(args[1]) == "CHECKER" then
- return
- elseif tostring(args[1]) == "GUI_CHECK" then
- return
- elseif tostring(args[1]) == "OneMoreTime" then
- return
- elseif tostring(args[1]) == "checkingSPEED" then
- return
- elseif tostring(args[1]) == "BANREMOTE" then
- return
- elseif tostring(args[1]) == "PERMAIDBAN" then
- return
- elseif tostring(args[1]) == "KICKREMOTE" then
- return
- elseif tostring(args[1]) == "BR_KICKPC" then
- return
- elseif tostring(args[1]) == "FORCEFIELD" then
- return
- elseif tostring(args[1]) == "Christmas_Sock" then
- return
- elseif tostring(args[1]) == "VirusCough" then
- return
- elseif tostring(args[1]) == "Symbiote" then
- return
- elseif tostring(args[1]) == "Symbioted" then
- return
- end
- return old(self, ...)
- end)
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Controls:",
- Text = "W/S - up/down",
- Button1 = "Understood",
- Duration = 4
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Controls:",
- Text = "A/D - left/right",
- Button1 = "Understood",
- Duration = 4
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Controls:",
- Text = "RightShift - open/close",
- Button1 = "Understood",
- Duration = 4
- })
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Selling this script's source",
- Text = "Selling AAs too just dm",
- Button1 = "wendigo#444",
- Duration = 4
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement