
Key Required

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local localPlayer = Players.LocalPlayer
local character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
local promptPart = workspace:WaitForChild("PromptGuardGlove")
local prompt = promptPart:WaitForChild("ProximityPrompt")
local function makeDraggable(frame)
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)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and dragging 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)
end
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "Auto Fling"
screenGui.ResetOnSpawn = false
screenGui.Parent = localPlayer:WaitForChild("PlayerGui")
local flingFrame = Instance.new("Frame")
flingFrame.Size = UDim2.new(0, 200, 0, 100)
flingFrame.Position = UDim2.new(0, 680, 0, 365)
flingFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
flingFrame.Parent = screenGui
local flingTitle = Instance.new("TextLabel")
flingTitle.Text = "Auto Fling Toggle"
flingTitle.Size = UDim2.new(1, 0, 0, 30)
flingTitle.BackgroundTransparency = 1
flingTitle.TextColor3 = Color3.new(1,1,1)
flingTitle.Font = Enum.Font.SourceSansBold
flingTitle.TextSize = 20
flingTitle.Parent = flingFrame
local flingToggle = Instance.new("TextButton")
flingToggle.Text = "OFF"
flingToggle.Size = UDim2.new(1, -20, 0, 50)
flingToggle.Position = UDim2.new(0, 10, 0, 40)
flingToggle.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
flingToggle.TextColor3 = Color3.new(1,1,1)
flingToggle.Font = Enum.Font.SourceSansBold
flingToggle.TextSize = 24
flingToggle.Parent = flingFrame
makeDraggable(flingFrame)
local tpFrame = Instance.new("Frame")
tpFrame.Size = UDim2.new(0, 200, 0, 100)
tpFrame.Position = UDim2.new(0, 1028, 0, 364)
tpFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
tpFrame.Parent = screenGui
local tpTitle = Instance.new("TextLabel")
tpTitle.Text = "Slap / Hand "
tpTitle.Size = UDim2.new(1, 0, 0, 30)
tpTitle.BackgroundTransparency = 1
tpTitle.TextColor3 = Color3.new(1,1,1)
tpTitle.Font = Enum.Font.SourceSansBold
tpTitle.TextSize = 20
tpTitle.Parent = tpFrame
local tpButton = Instance.new("TextButton")
tpButton.Text = "Hand To Smack That but"
tpButton.Size = UDim2.new(1, -20, 0, 50)
tpButton.Position = UDim2.new(0, 10, 0, 40)
tpButton.BackgroundColor3 = Color3.fromRGB(0, 120, 60)
tpButton.TextColor3 = Color3.new(1,1,1)
tpButton.Font = Enum.Font.SourceSansBold
tpButton.TextSize = 24
tpButton.Parent = tpFrame
makeDraggable(tpFrame)
local flingEnabled = false
local function flingLoop()
while flingEnabled and RunService.Heartbeat:Wait() do
for _, player in pairs(Players:GetPlayers()) do
if player ~= localPlayer and player.Character then
local args = {
"slash",
player.Character,
Vector3.new(-90.739, -0.00000269, 95.354)
}
local guardGlove = localPlayer.Character and localPlayer.Character:FindFirstChild("GuardGlove")
if guardGlove then
local event = guardGlove:FindFirstChild("Event")
if event then
event:FireServer(unpack(args))
end
end
end
end
end
end
flingToggle.MouseButton1Click:Connect(function()
flingEnabled = not flingEnabled
if flingEnabled then
flingToggle.Text = "ON"
flingToggle.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
coroutine.wrap(flingLoop)()
else
flingToggle.Text = "OFF"
flingToggle.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
end
end)
tpButton.MouseButton1Click:Connect(function()
character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
hrp = character:WaitForChild("HumanoidRootPart")
hrp.CFrame = promptPart.CFrame + Vector3.new(0, 3, 0)
wait(0.3)
local ProximityPromptService = game:GetService("ProximityPromptService")
ProximityPromptService:FireProximityPrompt(prompt)
end)No comments yet for this script.