Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/xwel33/hud/main/Notification"))()
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- local Frame = Instance.new("Frame")
- Frame.BackgroundColor3 = Color3.fromRGB(81, 72, 115)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.351797849, 0, 0.300268084, 0)
- Frame.Size = UDim2.new(0, 305, 0, 298)
- Frame.Parent = ScreenGui
- local dragging
- local dragInput
- local dragStart
- local startPos
- Frame.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if dragging and input == dragInput then
- local delta = input.Position - dragStart
- Frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- end)
- local Frame_2 = Instance.new("Frame")
- Frame_2.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(0.0293965321, 0, 0.0210608151, 0)
- Frame_2.Size = UDim2.new(0, 287, 0, 284)
- Frame_2.Parent = Frame
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundColor3 = Color3.fromRGB(81, 72, 115)
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 287, 0, 50)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.LineHeight = 0.770
- TextLabel.Text = "Key System"
- TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.TextSize = 23.000
- TextLabel.Parent = Frame_2
- local TextButton = Instance.new("TextButton")
- TextButton.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.149825782, 0, 0.792253494, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Load Script"
- TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.TextSize = 19.000
- TextButton.Parent = Frame_2
- local UICorner = Instance.new("UICorner")
- UICorner.Parent = TextButton
- local TextLabel_2 = Instance.new("TextLabel")
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.149825782, 0, 0.17605634, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Key Here"
- TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.TextSize = 19.000
- TextLabel_2.Parent = Frame_2
- local UICorner_2 = Instance.new("UICorner")
- UICorner_2.Parent = TextLabel_2
- local TextBox = Instance.new("TextBox")
- TextBox.BackgroundColor3 = Color3.fromRGB(81, 72, 115)
- TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.149825782, 0, 0.316901416, 0)
- TextBox.Size = UDim2.new(0, 200, 0, 50)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.TextSize = 14.000
- TextBox.Parent = Frame_2
- local UICorner_3 = Instance.new("UICorner")
- UICorner_3.Parent = TextBox
- local UICorner_5 = Instance.new("UICorner")
- UICorner_5.CornerRadius = UDim.new(0, 11)
- UICorner_5.Parent = Frame
- local customKey = "a"
- local function isValidKey(enteredKey)
- return enteredKey == customKey
- end
- local function loadScript(enteredKey)
- if isValidKey(enteredKey) then
- NotifyLib.prompt('Kingston', 'Correct Key', 2)
- NotifyLib.prompt('Kingston', 'Loading...', 2)
- local Kingston = {
- ["Options"] = {
- ["Anti Error"] = false, -- // Doesnt show errors in F9 Console
- ["Bypass Idle Kick"] = false,
- ["Boost FPS"] = {
- ["Enabled"] = true,
- ["Unlock FPS"] = {
- ["Enabled"] = false,
- ["Value"] = 60
- }
- },
- ["Find Best Server"] = {
- ["Enabled"] = true,
- ["PingThreshold"] = "100" -- // The ping the server has to have. (Not Exact Ofc)
- }
- },
- ["Parrying"] = {
- ["Auto Parry"] = {
- ["Enabled"] = true,
- ["Print Information"] = false,
- ["Face Ball"] = {
- ["Enabled"] = false,
- ["Keybind"] = "N"
- },
- ["Visualize Distance"] = { -- // Uses A "Sphere" / "Ball" Part
- ["Enabled"] = false,
- ["Color"] = Color3.new(1 , 0 , 0), -- // Red , Green , Blue
- ["Transparency"] = 0 -- // 0 . Completely Visible | 1 . Invisible
- }
- },
- ["Spamming"] = {
- ["Enabled"] = true,
- ["Distance"] = {15, 2}, -- // 1st Value = Dist Between You + Target, 2nd Value = Dist Between You + Ball
- ["Notify"] = false,
- ["Face Target"] = { -- // Disables when you die
- ["Enabled"] = false,
- ["Require Distance"] = false, -- // Checks if you're in the range (1st value on "Distance" before looking at the target)
- ["Keybind"] = "U"
- },
- ["Visualize Distance"] = {
- ["Enabled"] = false,
- ["Mode"] = "Display Target", -- // "Display Target", "Display Ball", "Display Both"
- ["Target Display"] = {
- ["Color"] = Color3.new(1 , 0 , 0),
- ["Transparency"] = 0
- },
- ["Ball Display"] = {
- ["Color"] = Color3.new(1 , 0 , 0),
- ["Transparency"] = 0,
- }
- }
- }
- },
- ["Force Target"] = { -- // Beta
- ["Enabled"] = false,
- ["Keybind"] = "P",
- ["Radius"] = {
- ["Use Radius"] = false,
- ["Size"] = {30, 15}, -- // Used for the box's size
- },
- ["Show Target"] = {
- ["Enabled"] = false,
- ["Type"] = "Highlight", -- // Only highlight (which isnt streamable not like the method is streamable either)
- ["Color"] = Color3.new(1 , 0 , 4),
- ["Transparency"] = 0.5
- }
- },
- ["Ability Spammer"] = { -- // Spams The Selected Ability
- ["Enabled"] = false,
- ["Ability"] = "Freeze",
- ["Keybind"] = "L"
- },
- ["Misc"] = {
- ["Mod"] = { -- // Mod Detection
- ["Enabled"] = false,
- ["OnJoin"] = "Kick", -- // Kick, Notify
- ["Notification"] = "Mod Joined",
- ["Delay"] = 1,
- ["Rank"] = 200
- },
- ["MemSpoofer"] = { -- // Spoofs your ingame memory
- ["Enabled"] = true,
- ["Range"] = {500, 520}, -- // Start, End
- ["Delay"] = 1, -- // Delay between the time it changes (1 is normal)
- ["Method"] = 0 -- // 0, 1
- },
- ["Movement"] = { -- // Speed Hacks
- ["Enabled"] = true,
- ["Type"] = "CFrame", -- // "CFrame", "Humanoid.WS"
- ["Speed Value"] = 0.6,
- ["DefaultWS"] = 70, -- // 70 Is the sprinting walkspeed for blade ball
- ["Keybind"] = "Z"
- },
- ["HitSound"] = { -- // Plays when you parry the ball
- ["Enabled"] = true,
- ["Sound"] = "Bameware", -- // "Bameware", "Skeet", "Bonk", "Lazer Beam", "Windows XP Error", "TF2 Hitsound", "TF2 Critical", "TF2 Bat", "Bow Hit", "Bow", "OSU", "Minecraft Hit", "Steve", "1nn", "Rust", "TF2 Pan", "Neverlose", "Mario"
- ["Pitch"] = -2,
- ["Volume"] = 1.6
- },
- ["Skybox"] = {
- ["Enabled"] = true,
- ["Type"] = "Pink Sky" -- // "Pink Sky", "Red Sky", "Nebula", "Dark Night", "Space", "Purple Sky", "Green Sky"
- },
- ["TargetStrafe"] = {
- ["Enabled"] = false,
- ["Speed"] = 3,
- ["Distance"] = 6,
- ["Height"] = 3,
- ["Keybind"] = "O",
- ["Visualize"] = {
- ["Enabled"] = false,
- ["Color"] = Color3.new(0 , 1 , 0),
- ["Transparency"] = 0
- }
- },
- ["Lighting"] = {
- ["Enabled"] = false,
- ["Remove Fog"] = false,
- ["Remove Textures"] = false,
- ["Remove Grass"] = false,
- ["Remove Reflections"] = false,
- ["Remove Shadows"] = false,
- ["Water %"] = {false, 50, Color3.new(1, 9, 3)} -- // Enable Water Reduction | Enable, Reduction Percentage, Color
- },
- ["Player"] = {
- ["Enabled"] = false,
- ["Jump Power"] = {false, 100},
- ["Gravity"] = {false, -50}
- },
- ["Sword Grip"] = {
- ["Enabled"] = false,
- ["Delete Sword"] = false,
- ["Values"] = {
- ["Front"] = 3,
- ["Side"] = 2,
- ["Height"] = 5
- }
- },
- ["Fly"] = {
- ["Enabled"] = true,
- ["Speed"] = 10,
- ["Velocity"] = Vector3.new(0, 12, 0), -- // X, Y, Z
- ["Keybind"] = "F"
- }
- }
- }
- local sus = false -- // Used for Ability Spammer
- local Version = "1.13.9"
- local CoreGui = game:GetService("CoreGui")
- local PerformanceStats = CoreGui:WaitForChild("RobloxGui"):WaitForChild("PerformanceStats", 1)
- local DevConsole = CoreGui:WaitForChild("DevConsoleMaster", 1)
- local UserInputService = game:GetService("UserInputService")
- local HTTPService = game:GetService("HttpService")
- local TeleportService = game:GetService("TeleportService")
- local StatsService = game:GetService("Stats")
- local MarketplaceService = game:GetService('MarketplaceService')
- local GroupService = game:GetService('GroupService')
- local ScriptContext = game:GetService('ScriptContext')
- local workspace = game:GetService("Workspace")
- local RunService = game:GetService("RunService")
- local Players = game:GetService("Players")
- local Localplayer = Players.LocalPlayer
- local Balls = workspace:WaitForChild("Balls")
- local VirtualUser = game:GetService("VirtualUser")
- local ParryRemote = game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("ParryAttempt")
- local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/xwel33/hud/main/Notification"))()
- local Light = game:GetService("Lighting")
- local SFC = setfpscap
- local FPS = Kingston.Options["Boost FPS"]["Unlock FPS"].Value
- local Camera = game.Workspace.CurrentCamera
- local Mouse = Localplayer:GetMouse()
- NotifyLib.prompt('Kington | ', 'Beta Build Loaded | V ' .. Version .. ' |', 2)
- local RadiusEnabled = Kingston["Force Target"]["Radius"]["Use Radius"]
- local ShowTargetEnabled = Kingston["Force Target"]["Show Target"]["Enabled"]
- local RadiusSize = Kingston["Force Target"]["Radius"]["Size"]
- local ShowTargetType = Kingston["Force Target"]["Show Target"]["Type"]
- local Keybind = Kingston["Force Target"]["Keybind"]
- Builders = {
- Connections = {
- CACHE_MEMORY = {}; -- later used for the mem spoofer
- },
- Memory = 400; -- Current memory for memory spoofer
- }
- if Kingston.Options["Boost FPS"].Enabled then
- if Kingston.Options["Boost FPS"]["Unlock FPS"].Enabled then
- SFC(FPS)
- local function toggleDevConsoleVisibility(enable)
- local coreGui = game:GetService("CoreGui")
- local devConsoleUI = coreGui:FindFirstChild("DevConsoleUI", true)
- if devConsoleUI then
- local mainView = devConsoleUI:FindFirstChild("MainView")
- if mainView then
- mainView.Parent.Enabled = enable
- end
- end
- end
- game.DescendantAdded:Connect(function(descendant)
- if descendant.Name == "MainView" and descendant.Parent.Name == "DevConsoleUI" and boostFPS then
- task.wait()
- toggleDevConsoleVisibility(false)
- end
- end)
- vim:SendKeyEvent(true, "F9", 0, game)
- task.wait()
- vim:SendKeyEvent(false, "F9", 0, game)
- while true do
- task.wait()
- if boostFPS then
- warn("")
- if not game:GetService("CoreGui"):FindFirstChild("DevConsoleUI", true):FindFirstChild("MainView") then
- toggleDevConsoleVisibility(true)
- task.wait()
- toggleDevConsoleVisibility(false)
- end
- end
- end
- end
- end
- if Kingston.Options["Find Best Server"].Enabled then
- if Kingston.Options["Find Best Server"].Enabled then
- local function fetchServersData(placeId, limit)
- local url = string.format("https://games.roblox.com/v1/games/%d/servers/Public?limit=%d", placeId, limit)
- local success, response = pcall(function()
- return game:HttpGet(url) -- removed unnecessary JSONDecode since response is not JSON
- end)
- if success and response then
- return game.HttpService:JSONDecode(response).data -- fix JSON decoding
- end
- return nil
- end
- local placeId = game.PlaceId
- local serverLimit = 100
- local servers = fetchServersData(placeId, serverLimit)
- if not servers then
- return
- end
- local lowestPingServer = nil
- for _, server in pairs(servers) do
- if (not lowestPingServer or (server.ping and server.ping < lowestPingServer.ping)) and server.maxPlayers > server.playing then
- lowestPingServer = server
- end
- end
- local commonLoadTime = 5
- wait(commonLoadTime) -- task.wait is deprecated, use wait
- local pingThreshold = Kingston.Options["Find Best Server"].PingThreshold
- local serverStats = game:GetService("Stats").Network.ServerStatsItem
- local dataPing = serverStats["Data Ping"]:GetValueString()
- local pingValue = tonumber(dataPing:match("(%d+)"))
- if pingValue >= pingThreshold then
- TeleportService:TeleportToPlaceInstance(placeId, lowestPingServer.id)
- else
- end
- end
- if Kingston.Options["Unlock FPS"] then
- SFC(FPS);
- end
- if Kingston.Options["Bypass Idle Kick"] == true then
- Players.Localplayer.Idled:Connect(function()
- VirtualUser:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
- wait(1)
- VirtualUser:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
- end)
- while true do
- wait()
- end
- end
- if Kingston.Options["Anti Error"] then
- local connections = ScriptContext.Error:GetConnections()
- for i, connection in ipairs(connections) do
- connection:Disable()
- end
- end
- if Kingston.Parrying["Auto Parry"].Enabled then
- getgenv().Signal = Signal or {}
- -- Function to get player points
- function PlayerPoints()
- local tbl = {}
- for _, player in pairs(Players:GetPlayers()) do
- local userId = tostring(player.UserId)
- local humanoidRootPart = player.Character and player.Character:FindFirstChild("HumanoidRootPart")
- if humanoidRootPart and player == LocalPlayer then
- tbl[userId] = Camera:WorldToScreenPoint(humanoidRootPart.Position)
- end
- end
- for userId, screenPosition in pairs(tbl) do
- print(userId, screenPosition)
- end
- return tbl
- end
- -- Function to perform the parry attempt
- function Parry()
- if Localplayer.Character then
- local worldToScreenPoint = Camera:WorldToScreenPoint(Localplayer.Character.HumanoidRootPart.Position)
- local args = {
- [1] = 0.5,
- [2] = workspace.CurrentCamera.CFrame,
- [3] = PlayerPoints(),
- [4] = {
- [1] = worldToScreenPoint.X,
- [2] = worldToScreenPoint.Y
- }
- }
- if Kingston.Parrying["Auto Parry"]["Print Information"] then
- warn("Players:", unpack(args[3]))
- end
- ParryRemote:FireServer(unpack(args))
- end
- end
- -- Initialize debounce and last player and time variables
- local Debounce = false
- local LastPlayer = false
- local LastTime = nil
- local LastTime = LastTime
- -- Function to anticipate
- function Anticipate(Time)
- if Debounce then
- return
- end
- if LastTime then
- local Sum = (Time - LastTime)
- if Sum >= -25 and Sum <= 25 then
- if Sum >= 25 or Sum <= -25 then
- return true
- end
- end
- end
- LastTime = Time
- end
- -- Function to calculate projectile time
- function calculateProjectileTime(initialPosition, targetPosition, initialVelocity)
- local distance = (targetPosition - initialPosition).Magnitude
- local time = distance / initialVelocity.Magnitude
- return time
- end
- -- Function to calculate distance between projectile and object
- function calculateDistance(projectilePosition, objectPosition)
- return math.abs((projectilePosition - objectPosition).Magnitude)
- end
- -- Function to check if the object can intercept (parry) the projectile
- function canObjectParry(projectilePosition, objectPosition, projectileVelocity, objectVelocity)
- local timeToIntercept = calculateProjectileTime(projectilePosition, objectPosition, projectileVelocity)
- local distanceToIntercept = calculateDistance(projectilePosition + projectileVelocity * timeToIntercept, objectPosition + objectVelocity * timeToIntercept)
- local AnticipateResult = Anticipate(timeToIntercept)
- print("CanParry:", distanceToIntercept, timeToIntercept, AnticipateResult)
- local conditions = {
- (Anticipate and distanceToIntercept <= 60),
- (distanceToIntercept <= 14 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.12),
- (distanceToIntercept <= 13 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.12),
- (distanceToIntercept <= 12 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.12),
- (distanceToIntercept <= 11.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.1105),
- (distanceToIntercept <= 11.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.1107),
- (distanceToIntercept <= 11.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.1103),
- (distanceToIntercept <= 11 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.11),
- (distanceToIntercept <= 0.04 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.004),
- (distanceToIntercept <= 0.05 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.005),
- (distanceToIntercept <= 0.01 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.001),
- (distanceToIntercept <= 0.03 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.003),
- (distanceToIntercept <= 0.02 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.002),
- (distanceToIntercept <= 8.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.085),
- (distanceToIntercept <= 8.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.087),
- (distanceToIntercept <= 8 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.08),
- (distanceToIntercept <= 10 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.1),
- (distanceToIntercept <= 10.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.17),
- (distanceToIntercept <= 10.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.15),
- (distanceToIntercept <= 10.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.13),
- (distanceToIntercept <= 9 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.09),
- (distanceToIntercept <= 9.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.093),
- (distanceToIntercept <= 9.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.095),
- (distanceToIntercept <= 9.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.097),
- (distanceToIntercept <= 7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.07),
- (distanceToIntercept <= 7.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.077),
- (distanceToIntercept <= 7.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.075),
- (distanceToIntercept <= 7.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.073),
- (distanceToIntercept <= 6 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.06),
- (distanceToIntercept <= 6.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.065),
- (distanceToIntercept <= 6.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.063),
- (distanceToIntercept <= 6.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.067),
- (distanceToIntercept <= 5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.05),
- (distanceToIntercept <= 5.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.055),
- (distanceToIntercept <= 5.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.053),
- (distanceToIntercept <= 5.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.057),
- (distanceToIntercept <= 4 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.04),
- (distanceToIntercept <= 4.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.043),
- (distanceToIntercept <= 4.4 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.044),
- (distanceToIntercept <= 4.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.045),
- (distanceToIntercept <= 4.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.047),
- (distanceToIntercept <= 4.8 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.048),
- (distanceToIntercept <= 4.9 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.049),
- (distanceToIntercept <= 4.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.043),
- (distanceToIntercept <= 3.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.033),
- (distanceToIntercept <= 3.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.035),
- (distanceToIntercept <= 3.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.037),
- (distanceToIntercept <= 3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.03),
- (distanceToIntercept <= 2.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.025),
- (distanceToIntercept <= 2.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.023),
- (distanceToIntercept <= 2 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.02),
- (distanceToIntercept <= 2.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.027),
- (distanceToIntercept <= 2.8 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.028),
- (distanceToIntercept <= 2.9 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.029),
- (distanceToIntercept <= 1 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.01),
- (distanceToIntercept <= 1.4 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.014),
- (distanceToIntercept <= 1.6 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.016),
- (distanceToIntercept <= 1.7 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.017),
- (distanceToIntercept <= 1.5 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.015),
- (distanceToIntercept <= 1.3 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.013),
- (distanceToIntercept <= 1.2 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.012),
- (distanceToIntercept <= 1.1 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.011),
- (distanceToIntercept <= 0.1 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.001),
- (distanceToIntercept <= 0.06 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.006),
- (distanceToIntercept <= 0.07 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.007),
- (distanceToIntercept <= 0.08 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.008),
- (distanceToIntercept <= 0.011 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0011),
- (distanceToIntercept <= 0.012 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0012),
- (distanceToIntercept <= 0.013 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0013),
- (distanceToIntercept <= 0.014 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0014),
- (distanceToIntercept <= 0.015 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0015),
- (distanceToIntercept <= 0.016 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0016),
- (distanceToIntercept <= 0.017 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0017),
- (distanceToIntercept <= 0.018 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0018),
- (distanceToIntercept <= 0.009 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0009),
- (distanceToIntercept <= 0.006 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0006),
- (distanceToIntercept <= 0.005 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0005),
- (distanceToIntercept <= 0.003 and
- timeToIntercept >= 0.00000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0003),
- (distanceToIntercept <= 0.001 and
- timeToIntercept >= 0.0000000000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0001),
- (distanceToIntercept <= 0.0001 and
- timeToIntercept >= 0.0000000000000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.00001),
- (distanceToIntercept <= 0.0005 and
- timeToIntercept >= 0.000000000000000000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.00005),
- (distanceToIntercept <= 0.00005 and
- timeToIntercept >= 0.0000000000000000000000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.000005),
- (distanceToIntercept <= 0 and
- timeToIntercept >=
- 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001 and
- timeToIntercept <= 0.0000001)
- }
- for _, condition in pairs(conditions) do
- if condition then
- return true
- end
- end
- end
- -- Function to choose a new focused ball
- function chooseNewFocusedBall()
- local balls = workspace.Balls:GetChildren()
- for _, ball in ipairs(balls) do
- if ball:GetAttribute("realBall") ~= nil and ball:GetAttribute("realBall") == true then
- return ball
- end
- end
- end
- -- Function to iterate through balls and perform actions
- function foreach(Ball)
- local focusedBall = chooseNewFocusedBall()
- if Ball and not Debounce then
- for i, v in pairs(Signal) do
- table.remove(Signal, i)
- v:Disconnect()
- end
- local function Calculation(Delta)
- local start, humanoidRootPart, player = os.clock(), Localplayer.Character and Localplayer.Character:FindFirstChild("HumanoidRootPart"), Players:FindFirstChild(Ball:GetAttribute("target"))
- if Ball and Ball:FindFirstChild("zoomies") and Ball:GetAttribute("target") == Localplayer.Name and humanoidRootPart and not Debounce then
- local timeToReachTarget = calculateProjectileTime(Ball.Position, humanoidRootPart.Position, Ball.Velocity)
- local distanceToTarget = calculateDistance(Ball.Position, humanoidRootPart.Position)
- local canParry = canObjectParry(Ball.Position, humanoidRootPart.Position, Ball.Velocity, humanoidRootPart.Velocity)
- if Kingston.Parrying["Auto Parry"]["Print Information"] then
- warn(timeToReachTarget, "Distance:", canParry)
- end
- if canParry then
- Parry()
- LastTime = LastTime
- Debounce = true
- local Signal = RunService.Stepped:Connect(function()
- if Kingston.Parrying["Auto Parry"]["Print Information"] then
- warn("False:", Ball:GetAttribute("target"), os.clock() - start, Ball, workspace.Dead:FindFirstChild(Localplayer.Name))
- end
- if Ball:GetAttribute("target") ~= Localplayer.Name or os.clock() - start >= 1.25 or not Ball or not workspace.Alive:FindFirstChild(Localplayer.Name) then
- if Kingston.Parrying["Auto Parry"]["Print Information"] then
- warn("Set to false")
- end
- Debounce = false
- Signal:Disconnect()
- end
- end)
- end
- elseif Ball and Ball:FindFirstChild("zoomies") and Ball:GetAttribute("target") ~= Localplayer.Name and humanoidRootPart then
- -- local HumanoidRootPart = Player.Character and Player.Character:FindFirstChild("HumanoidRootPart")
- -- local Distance = CalculateDistance(HumanoidRootPart, Delta)
- LastPlayer = player
- end
- end
- Signal[#Signal + 1] = RunService.Stepped:Connect(Calculation)
- end
- end
- Localplayer.CharacterRemoving:Connect(
- function()
- if distanceVisualizer then
- distanceVisualizer:Destroy()
- distanceVisualizer = nil
- end
- end
- )
- -- Function to initialize the auto parry
- function Init()
- Balls.ChildAdded:Connect(foreach)
- for _, ball in pairs(Balls:GetChildren()) do
- foreach(ball)
- end
- end
- -- Call the initialization function
- Init()
- end
- if Kingston.Parrying["Auto Parry"]["Face Ball"].Enabled then
- local function onKeyPress()
- local realBall = chooseNewFocusedBall()
- if realBall then
- local realBallPosition = realBall.Position
- workspace.CurrentCamera.CFrame = CFrame.lookAt(workspace.CurrentCamera.CFrame.Position, realBallPosition)
- end
- end
- local function onKeyRelease()
- workspace.CurrentCamera.CFrame = CFrame.new(Vector3.new(), Vector3.new(0, 0, -1))
- end
- game:GetService("UserInputService").InputBegan:Connect(function(input, processed)
- if not processed and input.KeyCode == Enum.KeyCode[Kingston.Parrying["Auto Parry"]["Face Ball"].Keybind] then
- onKeyPress()
- end
- end)
- game:GetService("UserInputService").InputEnded:Connect(function(input)
- if input.KeyCode == Enum.KeyCode[Kingston.Parrying["Auto Parry"]["Face Ball"].Keybind] then
- onKeyRelease()
- end
- end)
- end
- if Kingston.Parrying["Auto Parry"]["Visualize Distance"].Enabled then
- local Playervisual = game.Players.LocalPlayer
- local HitboxPart = Instance.new("Part", workspace)
- HitboxPart.Color = Kingston.Parrying["Auto Parry"]["Visualize Distance"].Color
- HitboxPart.Anchored = true
- HitboxPart.Material = Enum.Material.ForceField
- HitboxPart.Shape = Enum.PartType.Ball
- HitboxPart.CanCollide = false
- HitboxPart.CastShadow = false
- HitboxPart.Transparency = Kingston.Parrying["Auto Parry"]["Visualize Distance"].Transparency
- RunService.Stepped:Connect(
- function(Time, DeltaTime)
- for i, ball in pairs(workspace.Balls:GetChildren()) do
- if ball:GetAttribute("realBall") then
- local ballVelocity6 = ball.Velocity
- local ballVolume = ball.Velocity.X + ball.Velocity.Y + ball.Velocity.Z
- if Visual then
- HitboxPart.Position = Playervisual.Character.HumanoidRootPart.Position
- if ballVolume >= 1 then
- HitboxPart.Size = Vector3.new(ballVolume, ballVolume, ballVolume)
- elseif ballVolume <= 5 then
- HitboxPart.Size = Vector3.new(15, 15, 15)
- else
- HitboxPart.Size = -Vector3.new(ballVolume, ballVolume, ballVolume)
- end
- else
- HitboxPart.Position = Vector3.new(0, 100000, 0)
- end
- end
- end
- end)
- end
- if Kingston.Parrying.Spamming.Enabled then
- local function IsTarget()
- local target
- for _, player in pairs(game:GetService("Players"):GetPlayers()) do
- if player ~= game.Players.LocalPlayer and player.Character and player.Character:FindFirstChild("Highlight") then
- target = player.Character.PrimaryPart
- end
- end
- return target
- end
- local function FireParryRemote()
- local args = {
- [1] = 1.5,
- [2] = CFrame.new(-260, 120, -165, 1, 0, 0, 0, 0.9, 0.25, 0, -0.25, 0.96),
- [3] = {
- ["266226319"] = Vector3.new(1461, 212, -112),
- ["3302585485"] = Vector3.new(342, 208, -141),
- ["4245012857"] = Vector3.new(94, 174, 81),
- ["908010761"] = Vector3.new(2126, 127, -51),
- ["641022168"] = Vector3.new(847, 265, -182),
- ["4490764036"] = Vector3.new(-5989, -288, -12),
- ["2717890843"] = Vector3.new(-514, 28, -28),
- ["1790608299"] = Vector3.new(70486, 12805, -0.5),
- ["385891491"] = Vector3.new(1073, 216, -168),
- ["1692348001"] = Vector3.new(639, 467, 31),
- ["12440631"] = Vector3.new(640, 467, 31),
- ["331610898"] = Vector3.new(2033, 69, -35),
- ["3985733703"] = Vector3.new(511, 216, -168)
- },
- [4] = {
- [1] = 1057,
- [2] = 296
- }
- }
- if ParryRemote then
- ParryRemote:FireServer(unpack(args))
- else
- NotifyLib.prompt('Error', 'Failed to get the parry remote', 2)
- end
- end
- while wait() do
- FireParryRemote()
- end
- local function onKeyPress()
- local target = IsTarget()
- if target and target:IsA("BasePart") then
- local distance = (target.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
- local character = player.Character
- if character:FindFirstChild("Humanoid") then
- local humanoid = character.Humanoid
- if Kingston.Parrying.Spamming["Face Target"]["Require Distance"] == true and Kingston.Parrying.Spamming["Face Target"].Enabled then
- if distance <= Kingston.Parrying.Spamming.Distance then
- if humanoid.Health <= 0 then
- workspace.CurrentCamera.CFrame = CFrame.new(Vector3.new(), Vector3.new(0, 0, -1))
- workspace.CurrentCamera.CFrame = CFrame.lookAt(workspace.CurrentCamera.CFrame.Position, target.Position)
- elseif Kingston.Parrying.Spamming["Face Target"]["Require Distance"] == false and Kingston.Parrying.Spamming["Face Target"].Enabled then
- workspace.CurrentCamera.CFrame = CFrame.lookAt(workspace.CurrentCamera.CFrame.Position, target.Position)
- if humanoid.Health <= 0 then
- workspace.CurrentCamera.CFrame = CFrame.new(Vector3.new(), Vector3.new(0, 0, -1))
- end
- end
- end
- end
- end
- local function onKeyRelease()
- workspace.CurrentCamera.CFrame = CFrame.new(Vector3.new(), Vector3.new(0, 0, -1))
- end
- UserInputService.InputBegan:Connect(function(input, processed)
- if not processed and input.KeyCode == Enum.KeyCode[Kingston.Parrying.Spamming["Face Target"].Keybind] then
- onKeyPress()
- end
- end)
- UserInputService.InputEnded:Connect(function(input)
- if input.KeyCode == Enum.KeyCode[Kingston.Parrying.Spamming["Face Target"].Keybind] then
- onKeyRelease()
- end
- end)
- spawn(function()
- while true do
- wait()
- local target = IsTarget()
- if target and target:IsA("BasePart") then
- local distance = (target.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
- local realBall = chooseNewFocusedBall()
- if realBall then
- local realBallPosition = realBall.Position
- local dist2 = (realBallPosition - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
- if distance <= Kingston.Parrying.Spamming.Distance[1] and dist2 <= Kingston.Parrying.Spamming.Distance[2] and Kingston.Parrying.Spamming.Notify then
- NotifyLib.prompt('Kingston', 'Currently Spamming...', 2)
- FireParryRemote()
- elseif distance <= Kingston.Parrying.Spamming.Distance[1] and dist2 <= Kingston.Parrying.Spamming.Distance[2] and not Kingston.Parrying.Spamming.Notify then
- FireParryRemote()
- end
- else
- warn("Error : chooseNewFocusedBall() returned nil")
- end
- end
- if Kingston.Parrying.Spamming["Visualize Distance"].Enabled and Kingston.Parrying.Spamming["Visualize Distance"].Mode == "Display Target" then
- local Size1 = Vector3.new(Kingston.Parrying.Spamming.Distance[1], Kingston.Parrying.Spamming.Distance[1], Kingston.Parrying.Spamming.Distance[1])
- local ball = Instance.new("Part", workspace)
- ball.Size = Size1
- ball.Color = Kingston.Parrying.Spamming["Visualize Distance"]["Target Display"].Color
- ball.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- ball.Transparency = Kingston.Parrying.Spamming["Visualize Distance"]["Target Display"].Transparency
- elseif Kingston.Parrying.Spamming["Visualize Distance"].Enabled and Kingston.Parrying.Spamming["Visualize Distance"].Mode == "Display Ball" then
- local Size2 = Vector3.new(Kingston.Parrying.Spamming.Distance[2], Kingston.Parrying.Spamming.Distance[2], Kingston.Parrying.Spamming.Distance[2])
- local ball = Instance.new("Part", workspace)
- ball.Size = Size2
- ball.Color = Kingston.Parrying.Spamming["Visualize Distance"]["Ball Display"].Color
- ball.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- ball.Transparency = Kingston.Parrying.Spamming["Visualize Distance"]["Ball Display"].Transparency
- elseif Kingston.Parrying.Spamming["Visualize Distance"].Enabled and Kingston.Parrying.Spamming["Visualize Distance"].Mode == "Display Both" then
- local Size1 = Vector3.new(Kingston.Parrying.Spamming.Distance[1], Kingston.Parrying.Spamming.Distance[1], Kingston.Parrying.Spamming.Distance[1])
- local ball = Instance.new("Part", workspace)
- ball.Size = Size1
- ball.Color = Kingston.Parrying.Spamming["Visualize Distance"]["Target Display"].Color
- ball.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- ball.Transparency = Kingston.Parrying.Spamming["Visualize Distance"]["Target Display"].Transparency
- local Size2 = Vector3.new(Kingston.Parrying.Spamming.Distance[2], Kingston.Parrying.Spamming.Distance[2], Kingston.Parrying.Spamming.Distance[2])
- local ball = Instance.new("Part", workspace)
- ball.Size = Size2
- ball.Color = Kingston.Parrying.Spamming["Visualize Distance"]["Ball Display"].Color
- ball.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- ball.Transparency = Kingston.Parrying.Spamming["Visualize Distance"]["Ball Display"].Transparency
- end
- end
- end)
- end
- end
- if Kingston["Force Target"].Enabled then
- local Highlight = Instance.new("SurfaceGui")
- Highlight.Name = "TargetHighlight"
- Highlight.Face = Enum.NormalId.Front
- Highlight.LightInfluence = 0
- Highlight.Parent = game.Players
- function findClosestPlayer(position)
- local PlayerPosition = Localplayer.Character and Localplayer.Character:FindFirstChild("HumanoidRootPart") and Localplayer.Character.HumanoidRootPart.Position
- if not PlayerPosition then
- return nil
- end
- local ClosestPlayer = nil
- local ClosestDistance = math.huge
- for _, OtherPlayer in pairs(game.Players:GetPlayers()) do
- if OtherPlayer ~= Localplayer then
- local Character = OtherPlayer.Character
- if Character and Character:FindFirstChild("HumanoidRootPart") then
- local Distance = (position - Character.HumanoidRootPart.Position).magnitude
- if Distance < ClosestDistance then
- ClosestDistance = Distance
- ClosestPlayer = OtherPlayer
- end
- end
- end
- end
- return ClosestPlayer
- end
- function onKeyPress()
- if not RadiusEnabled then
- local TargetPosition = Vector3.new(0, 0, 0)
- local Target = findClosestPlayer(TargetPosition)
- highlightAdornee(Target)
- else
- RadiusEnabled = not RadiusEnabled
- Highlight.Adornee = nil
- end
- end
- function highlightAdornee(Target)
- if Target then
- local Adornee = Target.Character and Target.Character:FindFirstChild("HumanoidRootPart")
- if Adornee then
- Highlight.Adornee = Adornee
- if ShowTargetEnabled then
- showTarget(Adornee)
- end
- end
- end
- end
- function isPlayerInRadius(position)
- if not RadiusEnabled then
- return true
- end
- local PlayerScreenPos = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y / 2)
- local PlayerX = PlayerScreenPos.X
- local PlayerY = PlayerScreenPos.Y
- local MouseX = Mouse.X
- local MouseY = Mouse.Y
- local LeftX = MouseX - RadiusSize[1] / 2
- local RightX = MouseX + RadiusSize[1] / 2
- local TopY = MouseY - RadiusSize[2] / 2
- local BottomY = MouseY + RadiusSize[2] / 2
- return PlayerX >= LeftX and PlayerX <= RightX and PlayerY >= TopY and PlayerY <= BottomY
- end
- function showTarget(Adornee)
- if ShowTargetType == "Highlight" then
- local highlightSurface = Instance.new("SurfaceGui")
- highlightSurface.Parent = Adornee
- highlightSurface.Face = Enum.NormalId.Back
- highlightSurface.LightInfluence = 0
- highlightSurface.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- local highlightFrame = Instance.new("Frame")
- highlightFrame.Size = UDim2.new(2, 0, 2, 0)
- highlightFrame.BackgroundColor3 = Kingston["Force Target"]["Show Target"]["Color"]
- highlightFrame.BackgroundTransparency = Kingston["Force Target"]["Show Target"]["Transparency"]
- highlightFrame.BorderSizePixel = 0
- highlightFrame.Parent = highlightSurface
- end
- end
- function updateFacing()
- local Target = findClosestPlayer(Vector3.new(0, 0, 0))
- if Target then
- local TargetPosition = Target.Character.HumanoidRootPart.Position
- local LookVector = (TargetPosition - Localplayer.Character.HumanoidRootPart.Position).unit
- Localplayer.Character:SetPrimaryPartCFrame(CFrame.new(Localplayer.Character.HumanoidRootPart.Position, Localplayer.Character.HumanoidRootPart.Position + Vector3.new(LookVector.x, 0, LookVector.z)))
- local PlayerPosition = Localplayer.Character.HumanoidRootPart.Position
- local CameraLookAt = PlayerPosition + Vector3.new(LookVector.x, 0, LookVector.z)
- local CameraCFrame = CFrame.new(PlayerPosition, CameraLookAt)
- Camera.CFrame = CameraCFrame
- end
- end
- UserInputService.InputBegan:Connect(function(Input, GameProcessed)
- if not GameProcessed and Input.KeyCode == Enum.Keycode[Keybind] then
- onKeyPress()
- end
- end)
- RunService.Heartbeat:Connect(function()
- updateFacing()
- end)
- end
- if Kingston["Misc"].Mod.Enabled then
- local isGroupGame = function()
- return MarketplaceService:GetProductInfo(game.PlaceId).Creator.CreatorType == 'Group'
- end
- local creatorID, groupID
- if isGroupGame() then
- groupID = GroupService:GetGroupInfoAsync(MarketplaceService:GetProductInfo(game.PlaceId).Creator.CreatorTargetId).Id
- else
- creatorID = game.CreatorId
- end
- if creatorID then
- for _, player in ipairs(Players:GetPlayers()) do
- if player.UserId == creatorID then
- task.wait(Kingston["Misc"].Mod.Delay)
- if string.lower(Kingston["Misc"].Mod.OnJoin) == "Kick" then
- Players.LocalPlayer:Kick(Kingston["Misc"].Mod.Notification)
- elseif string.lower(Kingston["Misc"].Mod.OnJoin) == "Notify" then
- NotifyLib.prompt('Kingston', Kingston["Misc"].Mod.Notification, 2)
- end
- end
- end
- elseif groupID then
- for _, player in ipairs(Players:GetPlayers()) do
- if player:IsInGroup(groupID) and player:GetRankInGroup(groupID) >= Kingston["Misc"].Mod.Rank then
- if string.lower(Kingston["Misc"].Mod.OnJoin) == "Kick" then
- Players.LocalPlayer:Kick(Kingston["Misc"].Mod.Notification)
- elseif string.lower(Kingston["Misc"].Mod.OnJoin) == "Notify" then
- NotifyLib.prompt('Kingston', Kingston["Misc"].Mod.Notification, 2)
- end
- end
- task.wait(1)
- end
- end
- task.wait()
- end
- if Kingston["Ability Spammer"].Enabled then
- local function toggleSus()
- sus = not sus
- if sus then
- NotifyLib.prompt('Kingston', 'Ability Spammer | Enabled', 2)
- while sus do
- game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild(Kingston["Ability Spammer"].Ability):FireServer()
- wait()
- end
- else
- NotifyLib.prompt('Kingston', 'Ability Spammer | Disabled', 2)
- end
- end
- UserInputService.InputBegan:Connect(function(input, gameProcessed)
- if not gameProcessed and input.KeyCode == Enum.KeyCode[Kingston["Ability Spammer"].Keybind] then
- toggleSus()
- end
- end)
- end
- if Kingston["Misc"].MemSpoofer.Enabled then
- if PerformanceStats then
- local function spoofMemory()
- Builders.Memory = tonumber(string.format("%.2f", math.random() + math.random(-1, 1)))
- if Builders.Memory < math.random(Kingston["Misc"].MemSpoofer.Range[1], Kingston["Misc"].MemSpoofer.Range[2]) then
- Builders.Memory = math.random() + math.random(1, 2)
- elseif Builders.Memory > math.random(Kingston["Misc"].MemSpoofer.Range[1] - math.random(10, 40), Kingston["Misc"].MemSpoofer.Range[2] - math.random(10, 30)) then
- Builders.Memory = math.random() + math.random(1, 2)
- end
- end
- -- Method 1
- if Kingston["Misc"].MemSpoofer.Method == "1" then
- for _, key in pairs(PerformanceStats:GetDescendants()) do
- if key:IsA("TextLabel") and key.Text == "Mem" then
- spoofMemory()
- key.Parent.ValueLabel.Text = string.format("%.2f MB", Builders.Memory)
- end
- end
- if PerformanceStats:FindFirstChild("PS_Viewer") then
- for _, key in pairs(PerformanceStats:FindFirstChild("PS_Viewer"):GetDescendants()) do
- if key:IsA("TextLabel") and string.find(key.Text, "Current") then
- key.Text = string.format("Current: %.2f MB", Builders.Memory)
- elseif key:IsA("TextLabel") and string.find(key.Text, "Average") then
- key.Text = string.format("Average: %.2f MB", Builders.Memory - (math.random() * 1.45))
- end
- end
- end
- elseif Kingston["Misc"].MemSpoofer.Method == "0" then
- for _, key in pairs(PerformanceStats:GetDescendants()) do
- if key:IsA("TextLabel") and key.Text == "Mem" then
- if not Builders.Connections.CACHE_MEMORY.Spoofer1 then
- Builders.Connections.CACHE_MEMORY.Spoofer1 = key.Parent.ValueLabel:GetPropertyChangedSignal("Text"):Connect(function()
- if Kingston["Misc"].MemSpoofer.Enabled then
- spoofMemory()
- key.Parent.ValueLabel.Text = string.format("%.2f MB", Builders.Memory)
- task.wait(Kingston["Misc"].MemSpoofer.Delay)
- end
- end)
- end
- end
- end
- if PerformanceStats:FindFirstChild("PS_Viewer") then
- for _, key in pairs(PerformanceStats:FindFirstChild("PS_Viewer"):GetDescendants()) do
- if key:IsA("TextLabel") and string.find(key.Text, "Current") then
- if not Builders.Connections.CACHE_MEMORY.Current then
- Builders.Connections.CACHE_MEMORY.Current = key:GetPropertyChangedSignal("Text"):Connect(function()
- key.Text = string.format("Current: %.2f MB", Builders.Memory)
- task.wait(Kingston["Misc"].MemSpoofer.Delay)
- end)
- end
- elseif key:IsA("TextLabel") and string.find(key.Text, "Average") then
- if not Builders.Connections.CACHE_MEMORY.Avg then
- Builders.Connections.CACHE_MEMORY.Avg = key:GetPropertyChangedSignal("Text"):Connect(function()
- key.Text = string.format("Average: %.2f MB", Builders.Memory + math.random())
- task.wait(Kingston["Misc"].MemSpoofer.Delay)
- end)
- end
- end
- end
- end
- end
- end
- if DevConsole then
- for _, key in pairs(DevConsole:GetDescendants()) do
- if key:IsA("TextButton") and key.Name == "MemoryUsage_MB" then
- if Kingston["Misc"].MemSpoofer.Method == "1" then
- key.Text = string.format("%.0f MB", tonumber(Builders.Memory))
- elseif Kingston["Misc"].MemSpoofer.Method == "0" then
- if not Builders.Connections.CACHE_MEMORY.DevConsole then
- Builders.Connections.CACHE_MEMORY.DevConsole = key:GetPropertyChangedSignal("Text"):Connect(function()
- key.Text = string.format("%.2f MB", tonumber(Builders.Memory))
- task.wait(Kingston["Misc"].MemSpoofer.Delay)
- end)
- end
- end
- end
- end
- end
- end
- if Kingston["Misc"].Movement.Enabled and Kingston["Misc"].Movement.Mode == "CFrame" then
- local MovementEnabled = ingston["Misc"].Movement.Enabled
- local Multiplier = getgenv().Kingston.Misc.Movement.SpeedValue
- repeat
- wait()
- until LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
- local HumanoidRootPart = LocalPlayer.Character:WaitForChild("HumanoidRootPart")
- UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
- if not gameProcessedEvent and input.KeyCode == Enum.KeyCode[getgenv().Kingston.Misc.Movement.Keybind] then
- MovementEnabled = not MovementEnabled
- if MovementEnabled then
- repeat
- HumanoidRootPart.CFrame = HumanoidRootPart.CFrame +
- LocalPlayer.Character.Humanoid.MoveDirection * Multiplier
- RunService.Stepped:Wait()
- until not MovementEnabled
- end
- end
- end)
- elseif Kingston["Misc"].Movement.Enabled and Kingston["Misc"].Movement.Mode == "Humanoid.WS" then
- repeat
- wait()
- until Localplayer.Character
- local WalkspeedEnabled = true
- getgenv().WalkspeedMultiplier = Kingston["Misc"].Movement["Speed Value"]
- UserInputService.InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode[Kingston["Misc"].Movement.Keybind] then
- WalkspeedEnabled = not WalkspeedEnabled
- if WalkspeedEnabled then
- repeat
- Localplayer.Character.Humanoid.WalkSpeed = getgenv().WalkspeedMultiplier
- RunService.Stepped:wait()
- until not WalkspeedEnabled
- else
- Localplayer.Character.Humanoid.WalkSpeed = Kingston["Misc"].Movement.DefaultWS
- end
- end
- end)
- end
- end
- ParryRemote.OnClientEvent:Connect(function(player)
- if Kingston.Misc.HitSound.Enabled then
- local sound = Instance.new("Sound")
- if Kingston.Misc.HitSound.Sound == "Bameware" then
- sound.SoundId = "rbxassetid://3124331820"
- elseif Kingston.Misc.HitSound.Sound == "Skeet" then
- sound.SoundId = "rbxassetid://4753603610"
- elseif Kingston.Misc.HitSound.Sound == "Bonk" then
- sound.SoundId = "rbxassetid://3765689841"
- elseif Kingston.Misc.HitSound.Sound == "Lazer Beam" then
- sound.SoundId = "rbxassetid://130791043"
- elseif Kingston.Misc.HitSound.Sound == "Windows XP Error" then
- sound.SoundId = "rbxassetid://160715357"
- elseif Kingston.Misc.HitSound.Sound == "TF2 Hitsound" then
- sound.SoundId = "rbxassetid://3455144981"
- elseif Kingston.Misc.HitSound.Sound == "TF2 Critical" then
- sound.SoundId = "rbxassetid://296102734"
- elseif Kingston.Misc.HitSound.Sound == "TF2 Bat" then
- sound.SoundId = "rbxassetid://3333907347"
- elseif Kingston.Misc.HitSound.Sound == 'Bow Hit' then
- sound.SoundId = "rbxassetid://1053296915"
- elseif Kingston.Misc.HitSound.Sound == 'Bow' then
- sound.SoundId = "rbxassetid://3442683707"
- elseif Kingston.Misc.HitSound.Sound == 'OSU' then
- sound.SoundId = "rbxassetid://7147454322"
- elseif Kingston.Misc.HitSound.Sound == 'Minecraft Hit' then
- sound.SoundId = "rbxassetid://4018616850"
- elseif Kingston.Misc.HitSound.Sound == 'Steve' then
- sound.SoundId = "rbxassetid://5869422451"
- elseif Kingston.Misc.HitSound.Sound == '1nn' then
- sound.SoundId = "rbxassetid://7349055654"
- elseif Kingston.Misc.HitSound.Sound == 'Rust' then
- sound.SoundId = "rbxassetid://3744371091"
- elseif Kingston.Misc.HitSound.Sound == "TF2 Pan" then
- sound.SoundId = "rbxassetid://3431749479"
- elseif Kingston.Misc.HitSound.Sound == "Neverlose" then
- sound.SoundId = "rbxassetid://8679627751"
- elseif Kingston.Misc.HitSound.Sound == "Mario" then
- sound.SoundId = "rbxassetid://5709456554"
- end
- local humanoidRootPart = player.Character:FindFirstChild("HumanoidRootPart")
- sound.Parent = humanoidRootPart or player.Character
- sound.Volume = Kingston.Misc.HitSound.Volume
- sound.Pitch = Kingston.Misc.HitSound.Pitch
- sound:Play()
- end
- end)
- if Kingston["Misc"].Skybox.Enabled then
- task.wait()
- if Kingston["Misc"].Skybox.Enabled and Kingston["Misc"].Skybox.Type == "Pink Sky" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "http://www.roblox.com/asset/?id=1279987105"
- game:GetService("Lighting").Sky.SkyboxDn = "http://www.roblox.com/asset/?id=1279987105"
- game:GetService("Lighting").Sky.SkyboxFt = "http://www.roblox.com/asset/?id=1279987105"
- game:GetService("Lighting").Sky.SkyboxLf = "http://www.roblox.com/asset/?id=1279987105"
- game:GetService("Lighting").Sky.SkyboxRt = "http://www.roblox.com/asset/?id=1279987105"
- game:GetService("Lighting").Sky.SkyboxUp = "http://www.roblox.com/asset/?id=1279987105"
- elseif Kingston["Misc"].Skybox.Type == "Red Sky" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "http://www.roblox.com/asset/?id=2571711090"
- game:GetService("Lighting").Sky.SkyboxDn = "http://www.roblox.com/asset/?id=2571711090"
- game:GetService("Lighting").Sky.SkyboxFt = "http://www.roblox.com/asset/?id=2571711090"
- game:GetService("Lighting").Sky.SkyboxLf = "http://www.roblox.com/asset/?id=2571711090"
- game:GetService("Lighting").Sky.SkyboxRt = "http://www.roblox.com/asset/?id=2571711090"
- game:GetService("Lighting").Sky.SkyboxUp = "http://www.roblox.com/asset/?id=2571711090"
- elseif Kingston["Misc"].Skybox.Type == "Nebula" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://6277563515"
- game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://6277565742"
- game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://6277567481"
- game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://6277569562"
- game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://6277583250"
- game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://6277586065"
- elseif Kingston["Misc"].Skybox.Type == "Dark Night" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://6285719338"
- game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://6285721078"
- game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://6285722964"
- game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://6285724682"
- game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://6285726335"
- game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://6285730635"
- elseif Kingston["Misc"].Skybox.Type == "Space" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://877168885"
- game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://877169070"
- game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://877169154"
- game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://877169233"
- game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://877169317"
- game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://877169431"
- elseif Kingston["Misc"].Skybox.Type == "Purple Sky" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "http://www.roblox.com/asset/?id=9971120429"
- game:GetService("Lighting").Sky.SkyboxDn = "http://www.roblox.com/asset/?id=9971120429"
- game:GetService("Lighting").Sky.SkyboxFt = "http://www.roblox.com/asset/?id=9971120429"
- game:GetService("Lighting").Sky.SkyboxLf = "http://www.roblox.com/asset/?id=9971120429"
- game:GetService("Lighting").Sky.SkyboxRt = "http://www.roblox.com/asset/?id=9971120429"
- game:GetService("Lighting").Sky.SkyboxUp = "http://www.roblox.com/asset/?id=9971120429"
- elseif Kingston["Misc"].Skybox.Type == "Green Sky" then
- Light["ClockTime"] = "12";
- game:GetService("Lighting").Sky.SkyboxBk = "http://www.roblox.com/asset/?id=8754359769"
- game:GetService("Lighting").Sky.SkyboxDn = "http://www.roblox.com/asset/?id=8754359769"
- game:GetService("Lighting").Sky.SkyboxFt = "http://www.roblox.com/asset/?id=8754359769"
- game:GetService("Lighting").Sky.SkyboxLf = "http://www.roblox.com/asset/?id=8754359769"
- game:GetService("Lighting").Sky.SkyboxRt = "http://www.roblox.com/asset/?id=8754359769"
- game:GetService("Lighting").Sky.SkyboxUp = "http://www.roblox.com/asset/?id=8754359769"
- end
- end
- if Kingston["Misc"]["TargetStrafe"].Enabled then
- local function IsTarget()
- local target
- for _, player in pairs(game:GetService("Players"):GetPlayers()) do
- if player ~= game.Players.LocalPlayer and player.Character and player.Character:FindFirstChild("Highlight") then
- target = player.Character.PrimaryPart
- end
- end
- return target
- end
- local function UpdateTargetStrafe()
- if Kingston["Misc"]["TargetStrafe"].Enabled then
- local target = IsTarget()
- if target then
- angle_Y = angle_Y + RunService.RenderStepped:Wait() / Kingston["Misc"]["TargetStrafe"].Speed % 1
- local LocalPlayer = game.Players.LocalPlayer
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(target.Position) * CFrame.Angles(0, 2 * math.pi * angle_Y, 0) * CFrame.new(0, Kingston["Misc"]["TargetStrafe"].Height, Kingston["Misc"]["TargetStrafe"].Distance)
- end
- end
- end
- RunService.RenderStepped:Connect(UpdateTargetStrafe)
- UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
- if not gameProcessedEvent and input.UserInputType == Enum.UserInputType.Keyboard and input.KeyCode == Enum.Keycode[Kingston["Misc"]["TargetStrafe"].Keybind] then
- -- Toggle TargetStrafe on key press
- Kingston["Misc"]["TargetStrafe"].Enabled = not Kingston["Misc"]["TargetStrafe"].Enabled
- end
- end)
- -- Visualization
- if Kingston["Misc"]["TargetStrafe"].Visualize.Enabled then
- local targetStrafeRangePart = Instance.new("Part", workspace)
- targetStrafeRangePart.Size = Vector3.new(Kingston["Misc"]["TargetStrafe"].Distance * 0.7, 0.01, Kingston["Misc"]["TargetStrafe"].Distance * 0.7)
- targetStrafeRangePart.Anchored = true
- targetStrafeRangePart.CanCollide = false
- targetStrafeRangePart.Transparency = Kingston["Misc"]["TargetStrafe"].Visualize.Transparency
- local function UpdateVisualize()
- if Kingston["Misc"]["TargetStrafe"].Visualize.Enabled and Kingston["Misc"]["TargetStrafe"].Enabled then
- targetStrafeRangePart.CFrame = CFrame.new(TargetTarget.Character.HumanoidRootPart.Position)
- targetStrafeRangePart.Color = Kingston["Misc"]["TargetStrafe"].Visualize.Color
- else
- targetStrafeRangePart.CFrame = CFrame.new(0, 9999, 0)
- end
- end
- RunService.RenderStepped:Connect(UpdateVisualize)
- end
- end
- local function updateFeatures()
- if Kingston["Misc"]["Lighting"]["Enabled"] then
- if Kingston["Misc"]["Lighting"]["Remove Fog"] then
- Light.Fog = 0
- end
- if Kingston["Misc"]["Lighting"]["Remove Grass"] then
- for _, obj in pairs(workspace:GetDescendants()) do
- if obj:IsA("Terrain") then
- obj.Material = Enum.Material.SmoothPlastic
- end
- end
- end
- if Kingston["Misc"]["Lighting"]["Water %"][1] then
- local water = workspace:FindFirstChild("Water")
- if water then
- water.Transparency = Kingston["Misc"]["Lighting"]["Water %"][2] / 100
- water.Color = Kingston["Misc"]["Lighting"]["Water %"][3]
- end
- end
- end
- end
- updateFeatures()
- while Kingston.Misc["Sword Grip"].Enabled do
- game:GetService("RunService").Stepped:wait()
- local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
- tool.GripPos = Vector3.new(
- Kingston.Misc["Sword Grip"].Values["Side"],
- Kingston.Misc["Sword Grip"].Values["Height"],
- Kingston.Misc["Sword Grip"].Values["Front"]
- )
- end
- if Kingston.Misc["Sword Grip"]["Delete Sword"] then
- tool.GripPos = Vector3.new(
- Kingston.Misc["Sword Grip"].Values["Side"] == 10000,
- Kingston.Misc["Sword Grip"].Values["Height"] == 10000,
- Kingston.Misc["Sword Grip"].Values["Front"] == 10000
- )
- end
- if Kingston.Misc["Sword Grip"].Enabled == false then
- local tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
- tool.GripPos = Vector3.new(0, 0, 0)
- end
- local FlyLoop
- game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessed)
- if not gameProcessed then
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode == Enum.KeyCode[Kingston.Misc.Fly.Keybind] then
- Kingston.Misc.Fly.Enabled = not Kingston.Misc.Fly.Enabled
- if Kingston.Misc.Fly.Enabled then
- FlyLoop = game:GetService("RunService").Stepped:Connect(function()
- spawn(function()
- pcall(function()
- if Kingston.Misc.Fly.Enabled then
- local speed = Kingston.Misc.Fly.Speed
- local velocity = Kingston.Misc.Fly.Velocity
- local UserInputService = game:GetService("UserInputService")
- if UserInputService:IsKeyDown(Enum.KeyCode.W) then
- velocity = velocity + (workspace.CurrentCamera.CoordinateFrame.lookVector * speed)
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.A) then
- velocity = velocity + (workspace.CurrentCamera.CoordinateFrame.rightVector * -speed)
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.S) then
- velocity = velocity + (workspace.CurrentCamera.CoordinateFrame.lookVector * -speed)
- end
- if UserInputService:IsKeyDown(Enum.KeyCode.D) then
- velocity = velocity + (workspace.CurrentCamera.CoordinateFrame.rightVector * speed)
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = velocity
- game.Players.LocalPlayer.Character.Humanoid:ChangeState("Freefall")
- end
- end)
- end)
- end)
- elseif FlyLoop then
- FlyLoop:Disconnect()
- game.Players.LocalPlayer.Character.Humanoid:ChangeState("Seated")
- end
- end
- end
- end
- end)
- ScreenGui:Remove()
- else
- NotifyLib.prompt('Kingston', 'Incorrect Key', 2)
- end
- end
- TextButton.MouseButton1Click:Connect(function()
- local KeyEntered = TextBox.Text
- loadScript(KeyEntered)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment