Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local cam = workspace.CurrentCamera
- local Char = Player.Character or Player.CharacterAdded:wait()
- local HumanoidRootPart = Char:WaitForChild("HumanoidRootPart")
- local Humanoid = Char:WaitForChild("Humanoid")
- local GUI = script:WaitForChild("NameGUI"):Clone()
- GUI.Parent = Player.PlayerGui
- local Label = GUI:WaitForChild("Player")
- local Creator = {"RVVZ"}
- local Head_Admins = {}
- local Mods = {}
- local Builders = {"MATTHEWSPENCE20"}
- local Scripters = {""}
- function GetPlr(Target)
- if Char ~= nil and Target ~= nil then
- for i,Player in pairs(workspace:GetChildren()) do
- local Character = Player
- if Character ~= nil and Character ~= Char and Target:IsDescendantOf(Character) and Character:FindFirstChildOfClass("Humanoid") and Character:FindFirstChild("HumanoidRootPart") then
- return Character
- end
- end
- end
- end
- function Ting()
- Mouse.TargetFilter = Char
- local FoundChar = GetPlr(Mouse.Target)
- if FoundChar ~= nil and HumanoidRootPart then
- local FoundHumanoidRootPart = FoundChar.HumanoidRootPart
- local Magnitude = (HumanoidRootPart.Position - FoundHumanoidRootPart.Position).Magnitude
- if Magnitude < 500 then
- Label.Visible = true
- Label.Text = FoundChar.Name
- Label.Position = UDim2.new(0.025,Mouse.X,0,Mouse.Y)
- local IsBuilder = false
- for i,TableVal in ipairs(Builders) do
- if TableVal == FoundChar.Name then
- IsBuilder = true
- end
- end
- if FoundChar.Name == "RVVZ" then
- Label.RVVZ.Visible = true
- elseif IsBuilder == true then
- Label.BUILDER.Visible = true
- else
- Label.BUILDER.Visible = false
- Label.RVVZ.Visible = false
- end
- else
- Label.Visible = false
- end
- else
- Label.Visible = false
- end
- end
- Mouse.Move:Connect(function()
- pcall(Ting)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement