
2.0k Views
334 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
WELCOME to teh new script! This one is entirely made for fun, and require no keybinds. - - - Instructions: Just click some player to protect their back from W+S (BACKSHOTS) Click that same player or someone else to stop following and protecting.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local localPlayer = Players.LocalPlayer
local mouse = localPlayer:GetMouse()
local targetPlayer = nil
local connection = nil
local FOLLOW_DISTANCE = 1.0 -- How close do you want to be to the back of the player..
local STOP_DISTANCE = 0.6 -- Stop where exactly it is.
local MAX_SPEED = 16 -- how fast can you follow to the player
local function stopFollowing()
targetPlayer = nil
if connection then
connection:Disconnect()
connection = nil
end
local char = localPlayer.Character
if char then
local hum = char:FindFirstChild("Humanoid")
local root = char:FindFirstChild("HumanoidRootPart")
if hum then
hum.PlatformStand = false
hum.WalkSpeed = 16
end
if root then
root.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
end
end
end
local function startFollowing(target)
targetPlayer = target
if connection then connection:Disconnect() end
connection = RunService.Heartbeat:Connect(function()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








