Advertisement
tomonaoboys

Humanoid Visibler script

Oct 9th, 2017
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.45 KB | None | 0 0
  1. script.Parent=nil
  2. Visible=true
  3. local Players=game:FindFirstChildOfClass("Players")local PL=Players.LocalPlayer
  4. local function CreateWeld(Parent,Part0,Part1,C0)local weld=Instance.new("Weld",Parent)weld.Part0=Part0 weld.Part1=Part1 weld.C0=C0 end
  5. local function humanoidvisibler(model,vib,tr)
  6.     local ch=model:GetChildren()
  7.     for i=1,#ch do
  8.         if ch[i]:IsA("Part")and tostring(ch[i])~="HumanoidRootPart"then
  9.             local p=Instance.new("Part") p.Size=ch[i].Size p.Transparency=1 p.Color=ch[i].Color p.CanCollide=false p.CFrame=ch[i].CFrame
  10.             CreateWeld(p,p,ch[i],CFrame.new(0,0,0))p.Parent=vib
  11.             local sc=Instance.new("SurfaceGui",p)sc.AlwaysOnTop=true local tb=Instance.new("TextBox",sc)tb.Size=UDim2.new(1,0,1,0)tb.BorderSizePixel=0 tb.BackgroundTransparency=tr tb.BackgroundColor3=ch[i].Color
  12.             tb.Text=""
  13.             local sc2=sc:Clone()sc2.Parent=p sc2.Face="Top"local sc2=sc:Clone()sc2.Parent=p sc2.Face="Back"local sc2=sc:Clone()sc2.Parent=p sc2.Face="Bottom"
  14.             local sc2=sc:Clone()sc2.Parent=p sc2.Face="Left"local sc2=sc:Clone()sc2.Parent=p sc2.Face="Right"
  15.         end
  16.     end
  17. end
  18. local function v_find(parent,vib,tr)
  19.     if parent:FindFirstChildOfClass("Humanoid")and tostring(parent)~=PL.Name then humanoidvisibler(parent,vib,tr)end
  20.     local c=parent:GetChildren()for i=1,#c do v_find(c[i],vib,tr)end
  21. end
  22. local nu=0
  23. while Visible do
  24.     local vib=Instance.new("Model",workspace.CurrentCamera)vib.Name="Visibler"
  25.     v_find(workspace,vib,.7)
  26.     wait(5)
  27.     if vib then vib:Remove()end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement