0% found this document useful (0 votes)
21 views4 pages

Message

Uploaded by

ricardinhojle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views4 pages

Message

Uploaded by

ricardinhojle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

-- Decompiled Ugc.Players.ricccccccardinho.PlayerScripts.

LoadoutRender

local v_u_1 = game:GetService("CollectionService")


local v_u_2 = game:GetService("Players")
local _ = v_u_2.LocalPlayer
local v3 = v_u_2.LocalPlayer
local _ = script.Parent
local v4 = game.ReplicatedStorage.PlayerData
local v5 = v3.UserId
v4:FindFirstChild((tostring(v5)))
local v_u_6 = game:GetService("UserInputService")
local v_u_7 = v3.Character or v3.CharacterAdded:Wait()
v3.CharacterAdded:Connect(function(p8)
-- upvalues: (ref) v_u_7, (copy) v_u_1
v_u_7 = p8
for _, v9 in pairs(v_u_7:GetDescendants()) do
if v9:IsA("BasePart") and not v_u_1:HasTag(v9, "DontQuery") then
v9.CanQuery = true
end
end
end)
local v_u_10 = v_u_7
for _, v_u_11 in pairs(workspace.InGamePlayers:GetChildren()) do
task.spawn(function()
-- upvalues: (copy) v_u_11, (copy) v_u_1
task.wait(1)
for _, v12 in pairs(v_u_11:GetDescendants()) do
if v12:IsA("BasePart") and not v_u_1:HasTag(v12, "DontQuery") then
v12.CanQuery = true
end
end
end)
end
workspace.InGamePlayers.ChildAdded:Connect(function(p_u_13)
-- upvalues: (copy) v_u_1
task.spawn(function()
-- upvalues: (copy) p_u_13, (ref) v_u_1
task.wait(1)
for _, v14 in pairs(p_u_13:GetDescendants()) do
if v14:IsA("BasePart") and not v_u_1:HasTag(v14, "DontQuery") then
v14.CanQuery = true
end
end
end)
end)
local v15 = game:GetService("RunService")
local v_u_16 = false
game.ReplicatedStorage.Events.ShutDown.OnClientEvent:Connect(function()
-- upvalues: (ref) v_u_16
v_u_16 = true
end)
local v_u_17 = v_u_16
local v_u_18 = {
["Loadout"] = false
}
repeat
task.wait(1)
local v19 = game.ReplicatedStorage.PlayerData
local v20 = v3.UserId
local v_u_21 = v19:FindFirstChild((tostring(v20)))
until v_u_21
local function v_u_28()
-- upvalues: (copy) v_u_6, (ref) v_u_10
local v22 = workspace.CurrentCamera
local v23 = v_u_6:GetMouseLocation()
local v24 = v22:ViewportPointToRay(v23.X, v23.Y)
local v25 = RaycastParams.new()
v25.FilterType = Enum.RaycastFilterType.Whitelist
local v26 = {}
for _, v27 in pairs(workspace.InGamePlayers:GetChildren()) do
if v27 ~= v_u_10 then
table.insert(v26, v27)
end
end
v25.FilterDescendantsInstances = v26
return workspace:Spherecast(v24.Origin, 2, v24.Direction * 1000, v25)
end
local v_u_29 = nil
local v_u_30 = nil
function renderFunction()
-- upvalues: (ref) v_u_17, (copy) v_u_28, (ref) v_u_21, (ref) v_u_29, (ref)
v_u_30
if v_u_17 ~= true then
local v_u_31 = v_u_28()
local _, _ = pcall(function()
-- upvalues: (copy) v_u_31, (ref) v_u_21, (ref) v_u_29, (ref) v_u_30
if v_u_31 and v_u_31.Instance and v_u_21 then
if v_u_31.Instance and
v_u_31.Instance:FindFirstAncestorOfClass("Model") and
v_u_31.Instance:FindFirstAncestorOfClass("Model"):FindFirstChild("Humanoid") then
local v32 = v_u_31.Instance:FindFirstAncestorOfClass("Model")
if v32:FindFirstChild("HumanoidRootPart") then
local v33 = v32:WaitForChild("HumanoidRootPart")
local v34 = v32:FindFirstChild("Head")
local v35 = v33:FindFirstChild("NameTag")
if v32:FindFirstChild("LoadoutFrame") then
local v36 = v32:FindFirstChild("LoadoutFrame")
if v36.Adornee == v33 or v36.Adornee == v34 then
if v_u_21:WaitForChild("LoadoutToggle").Value ==
true then
v36.Frame.Slot1.Visible = true
v36.Frame.Slot2.Visible = true
end
v35.Frame.Visible = true
v35.Outline.Visible = true
v36.Frame.HealthFrame.Visible = true
v36.Frame.HealthFrame.Visible = true
if v_u_29 ~= nil and v_u_29:FindFirstChild("Frame")
and v_u_29 ~= v36 then
v_u_29.Frame.Slot1.Visible = false
v_u_29.Frame.Slot2.Visible = false
v_u_29.Frame.HealthFrame.Visible = false
v_u_29.Frame.HealthFrame.Visible = false
v_u_29 = nil
end
if v_u_30 ~= nil and v_u_30 ~= v35 then
v_u_30.Frame.Visible = false
v_u_30.Outline.Visible = false
v_u_30 = nil
end
v_u_29 = v36
v_u_30 = v35
return
end
if v_u_29 ~= nil and v_u_29:FindFirstChild("Frame") and
v_u_29 ~= v36 then
v_u_29.Frame.Slot1.Visible = false
v_u_29.Frame.Slot2.Visible = false
v_u_29.Frame.HealthFrame.Visible = false
v_u_29.Frame.HealthFrame.Visible = false
v_u_29 = nil
end
if v_u_30 ~= nil and v_u_30 ~= v35 then
v_u_30.Frame.Visible = false
v_u_30.Outline.Visible = false
v_u_30 = nil
return
end
end
end
elseif v_u_31.Instance and not
v_u_31.Instance.Parent:FindFirstChild("Humanoid") then
if v_u_29 ~= nil and v_u_29:FindFirstChild("Frame") then
v_u_29.Frame.Slot1.Visible = false
v_u_29.Frame.Slot2.Visible = false
v_u_29.Frame.HealthFrame.Visible = false
v_u_29.Frame.HealthFrame.Visible = false
v_u_29 = nil
end
if v_u_30 ~= nil then
v_u_30.Frame.Visible = false
v_u_30.Outline.Visible = false
v_u_30 = nil
end
if v_u_21:WaitForChild("LoadoutToggle").Value == false and
v_u_29 ~= nil and v_u_29:FindFirstChild("Frame") then
v_u_29.Frame.Slot1.Visible = false
v_u_29.Frame.Slot2.Visible = false
v_u_29 = nil
end
end
end
end)
end
end
function ToggleTag()
-- upvalues: (ref) v_u_21, (copy) v_u_2, (copy) v_u_18
if v_u_21:WaitForChild("LoadoutToggle").Value == false then
for _, v37 in ipairs(v_u_2:GetPlayers()) do
local v38 = v37.Character or v37.CharacterAdded:Wait()
if v38:FindFirstChild("HumanoidRootPart") then
local v39 = v38:WaitForChild("HumanoidRootPart")
if v39:FindFirstChild("LoadoutFrame") then
local v40 = v39:FindFirstChild("LoadoutFrame")
v40.Frame.Slot1.Visible = false
v40.Frame.Slot2.Visible = false
end
end
end
v_u_18.Loadout = true
else
for _, v41 in ipairs(v_u_2:GetPlayers()) do
local v42 = v41.Character or v41.CharacterAdded:Wait()
if v42:FindFirstChild("HumanoidRootPart") then
local v43 = v42:WaitForChild("HumanoidRootPart")
if v43:FindFirstChild("LoadoutFrame") then
local v44 = v43:FindFirstChild("LoadoutFrame")
v44.Frame.Slot1.Visible = true
v44.Frame.Slot2.Visible = true
end
end
end
v_u_18.ActualNameTag = false
end
end
v_u_21:WaitForChild("LoadoutToggle").Changed:Connect(ToggleTag)
v15.RenderStepped:Connect(renderFunction)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy