Version / Update: v1.0.0
- Download / Script Link
- local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
local LP = Players.LocalPlayer
local pushForce = 100
local pushRadius = 20
local isActive = false
local connection
local function pushAway()
local chr = LP.Character
if not chr or not chr:FindFirstChild("HumanoidRootPart") then return end
local hrp = chr.HumanoidRootPart
local pos = hrp.Position
for _, p in pairs(Players:GetPlayers()) do
if p ~= LP and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
local otherHRP = p.Character.HumanoidRootPart
local dist = (otherHRP.Position - pos).magnitude
if dist <= pushRadius then
local dir = (pos - otherHRP.Position).unit
local bv = Instance.new("BodyVelocity", hrp)
bv.Velocity = dir * pushForce
bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
Debris:AddItem(bv, 0.2)
end
end
end
end
local function startPush()
if not connection then
connection = RunService.Heartbeat:Connect(pushAway)
end
end
local function stopPush()
if connection then
connection:Disconnect()
connection = nil
end
end
local function createUI()
local gui = Instance.new("ScreenGui", Players.LocalPlayer:WaitForChild("PlayerGui"))
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 250, 0, 220)
frame.Position = UDim2.new(0.5, -125, 0.5, -110)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.Active = true
frame.Draggable = true
local toggleBtn = Instance.new("TextButton", frame)
toggleBtn.Size = UDim2.new(0, 200, 0, 50)
toggleBtn.Position = UDim2.new(0.5, -100, 0.3, -25)
toggleBtn.AnchorPoint = Vector2.new(0.5, 0.5)
toggleBtn.Text = "Activate Push"
toggleBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
toggleBtn.TextColor3 = Color3.new(1, 1, 1)
toggleBtn.Font = Enum.Font.SourceSansBold
toggleBtn.TextSize = 24
local forceLabel = Instance.new("TextLabel", frame)
forceLabel.Size = UDim2.new(0, 200, 0, 20)
forceLabel.Position = UDim2.new(0.5, -100, 0.65, -10)
forceLabel.Text = "Push Force: " .. pushForce
forceLabel.BackgroundTransparency = 1
forceLabel.TextColor3 = Color3.new(1, 1, 1)
forceLabel.Font = Enum.Font.SourceSans
forceLabel.TextSize = 16
forceLabel.TextXAlignment = Enum.TextXAlignment.Left
local forceDecreaseBtn = Instance.new("TextButton", frame)
forceDecreaseBtn.Size = UDim2.new(0, 50, 0, 30)
forceDecreaseBtn.Position = UDim2.new(0.25, -25, 0.75, -15)
forceDecreaseBtn.Text = "-"
forceDecreaseBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
forceDecreaseBtn.TextColor3 = Color3.new(1, 1, 1)
local forceIncreaseBtn = Instance.new("TextButton", frame)
forceIncreaseBtn.Size = UDim2.new(0, 50, 0, 30)
forceIncreaseBtn.Position = UDim2.new(0.75, -25, 0.75, -15)
forceIncreaseBtn.Text = "+"
forceIncreaseBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 0)
forceIncreaseBtn.TextColor3 = Color3.new(1, 1, 1)
local radiusLabel = Instance.new("TextLabel", frame)
radiusLabel.Size = UDim2.new(0, 200, 0, 20)
radiusLabel.Position = UDim2.new(0.5, -100, 0.8, -10)
radiusLabel.Text = "Push Radius: " .. pushRadius
radiusLabel.BackgroundTransparency = 1
radiusLabel.TextColor3 = Color3.new(1, 1, 1)
radiusLabel.Font = Enum.Font.SourceSans
radiusLabel.TextSize = 16
radiusLabel.TextXAlignment = Enum.TextXAlignment.Left
local radiusDecreaseBtn = Instance.new("TextButton", frame)
radiusDecreaseBtn.Size = UDim2.new(0, 50, 0, 30)
radiusDecreaseBtn.Position = UDim2.new(0.25, -25, 0.9, -15)
radiusDecreaseBtn.Text = "-"
radiusDecreaseBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
radiusDecreaseBtn.TextColor3 = Color3.new(1, 1, 1)
local radiusIncreaseBtn = Instance.new("TextButton", frame)
radiusIncreaseBtn.Size = UDim2.new(0, 50, 0, 30)
radiusIncreaseBtn.Position = UDim2.new(0.75, -25, 0.9, -15)
radiusIncreaseBtn.Text = "+"
radiusIncreaseBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 0)
radiusIncreaseBtn.TextColor3 = Color3.new(1, 1, 1)
local creditLabel = Instance.new("TextLabel", frame)
creditLabel.Size = UDim2.new(1, 0, 0, 20)
creditLabel.Position = UDim2.new(0, 0, 1, -20)
creditLabel.Text = "Scriptz Noob"
creditLabel.BackgroundTransparency = 1
creditLabel.TextColor3 = Color3.new(1, 1, 1)
creditLabel.Font = Enum.Font.SourceSans
creditLabel.TextSize = 14
creditLabel.TextXAlignment = Enum.TextXAlignment.Center
toggleBtn.MouseButton1Click:Connect(function()
isActive = not isActive
if isActive then
startPush()
toggleBtn.Text = "Deactivate Push"
else
stopPush()
toggleBtn.Text = "Activate Push"
end
end)
forceDecreaseBtn.MouseButton1Click:Connect(function()
pushForce = math.max(pushForce - 10, 10)
forceLabel.Text = "Push Force: " .. pushForce
end)
forceIncreaseBtn.MouseButton1Click:Connect(function()
pushForce = math.min(pushForce + 100, 5000)
forceLabel.Text = "Push Force: " .. pushForce
end)
radiusDecreaseBtn.MouseButton1Click:Connect(function()
pushRadius = math.max(pushRadius - 1, 1)
radiusLabel.Text = "Push Radius: " .. pushRadius
end)
radiusIncreaseBtn.MouseButton1Click:Connect(function()
pushRadius = math.min(pushRadius + 1, 50)
radiusLabel.Text = "Push Radius: " .. pushRadius
end)
end
createUI()[ View More ]
It slightly moves your character away from others when theyre in your Radius.You can change move/fling powerYou can change Radius.