View difference between Paste ID: BvZhaF0J and xhzeZs6D
SHOW: | | - or go back to the newest paste.
1
--Created By MyNerRyAk :D
2
--Visite My Channel YouTube For More Videos :D
3
--Channel YouTube: https://www.youtube.com/channel/UCQQfCREFyi0C1WEHisf1Stg --
4
function CreateESPPart(BodyPart,color)
5
6
local ESPPartparent = BodyPart
7
local Box = Instance.new("BoxHandleAdornment")
8
Box.Size = BodyPart.Size + Vector3.new(0.1, 0.1, 0.1)
9
Box.Name = "ESPPart"
10
Box.Adornee = ESPPartparent
11
Box.Color3 = color
12
Box.AlwaysOnTop = true
13
Box.ZIndex = 5
14
Box.Parent = BodyPart
15
end
16
17
while wait(0.1) do
18
for i,v in pairs(game.Players:GetChildren()) do
19
if v.Character ~= nil then
20
if v.Character:FindFirstChild("Head") then
21
if v.Character.Head:FindFirstChild("ESPPart") then
22
v.Character.Head.ESPPart:Destroy()
23
end
24
end
25
end
26
end
27
for i,v in pairs(game.Workspace.Debris:GetChildren()) do
28
if v.Name == "Revolver" then
29
if v.Handle.Handle:FindFirstChild("ESPPart") then
30
v.Handle.Handle.ESPPart:Destroy()
31
end
32
end
33
end
34
for i,v in pairs(game.Workspace.Debris.Props:GetChildren()) do
35
if v:FindFirstChild("ESPPart") then
36
v.ESPPart:Destroy()
37
end
38
end
39
for i,v in pairs(game.Workspace.Debris:GetChildren()) do
40
if v.Name == "Revolver" then
41
CreateESPPart(v.Handle.Handle, Color3.fromRGB(255,255,255))
42
end
43
end
44
for i,v in pairs(game.Workspace.Debris.Props:GetChildren()) do
45
if v:FindFirstChild("Green") then
46
if v.Green.Value == true then
47
CreateESPPart(v, Color3.fromRGB(255,0,255))
48
end
49
end
50
end
51
for i,v in pairs(game.Players:GetDescendants()) do
52
if v.Name == "Role" then
53
if tostring(v.Value) == "Murderer" then
54
Enemy = v.Parent.Parent.Name
55
if game.Players[Enemy].Character ~= nil then
56
if game.Players[Enemy].Character:FindFirstChild("Head") then
57
CreateESPPart(game.Players[Enemy].Character.Head, Color3.fromRGB(255,0,0))
58
end
59
end
60
end
61
end
62
end
63
for i,v in pairs(game.Players:GetDescendants()) do
64
if v.Name == "HasRevolver" then
65
if v.Value == true then
66
Gunner = v.Parent.Parent.Name
67
if game.Players[Gunner].Character ~= nil then
68
if game.Players[Gunner].Character:FindFirstChild("Head") then
69
CreateESPPart(game.Players[Gunner].Character.Head, Color3.fromRGB(0,0,255))
70
end
71
end
72
end
73
end
74
end
75
for i,v in pairs(game.Players:GetDescendants()) do
76
if v.Name == "Role" then
77
if tostring(v.Value) == "Bystander" then
78
if v.Parent.HasRevolver.Value == false then
79
Friend = v.Parent.Parent.Name
80
if game.Players[Friend].Character ~= nil then
81
if game.Players[Friend].Character:FindFirstChild("Head") then
82
CreateESPPart(game.Players[Friend].Character.Head, Color3.fromRGB(0,255,0))
83
end
84
end
85
end
86
end
87
end
88
end
89
if game.Players.LocalPlayer.Character ~= nil then
90
if game.Players.LocalPlayer.Character:FindFirstChild("Head") then
91
if game.Players.LocalPlayer.Character.Head:FindFirstChild("ESPPart") then
92
game.Players.LocalPlayer.Character.Head.ESPPart:Destroy()
93-
end
93+
94
end
95
end
96
end
97
print"Thanks For Used My Script :D Standis"