-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloopbring
More file actions
40 lines (34 loc) · 1.12 KB
/
loopbring
File metadata and controls
40 lines (34 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
_G.z = true
plrName = "whoever u want"
while wait() and _G.z do
local char = game.Players[plrName].Character
local LPChar = game.Players.LocalPlayer.Character
if char and LPChar then
local hum = char:FindFirstChild("HumanoidRootPart")
local LPhum = LPChar:FindFirstChild("HumanoidRootPart")
if hum and LPhum then
hum.CFrame = LPhum.CFrame * CFrame.new(0,0,-5)
end
end
end
--[[
loop bring all
_G.z = true
while wait() and _G.z do
for i,v in pairs(game.Players:GetPlayers()) do
if v ~= game.Players.LocalPlayer then
local plrName = v.Name
local char = game.Players[plrName].Character
local LPChar = game.Players.LocalPlayer.Character
if char and LPChar then
local hum = char:FindFirstChild("HumanoidRootPart")
local humanoid = char:FindFirstChild("Humanoid")
local LPhum = LPChar:FindFirstChild("HumanoidRootPart")
if hum and LPhum and humanoid and humanoid.Health > 0 and not char:FindFirstChild("ForceField") then
hum.CFrame = LPhum.CFrame * CFrame.new(0,0,-5)
end
end
end
end
end
--]]