Advertisement
Upscalefanatic34

NOENTERPLAWKS

May 25th, 2016
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. me = game.Players.Upscalegaming
  2. dist = 10
  3. function deny(nam)
  4. local bill = Instance.new("BillboardGui",me.Character.Head)
  5. bill.Size = UDim2.new(0,200,0,30)
  6. bill.Adornee = bill.Parent
  7. local txt = Instance.new("TextLabel",bill)
  8. txt.BackgroundTransparency = 1
  9. txt.Size = UDim2.new(0,200,0,30)
  10. txt.Text = nam.." found, access denied."
  11. txt.TextColor3 = Color3.new(0.6,0,0)
  12. txt.Position = UDim2.new(0,0,0,-50)
  13. txt.FontSize = "Size24"
  14. local ball = Instance.new("Part",workspace)
  15. ball.CanCollide = false
  16. ball.Shape = "Ball"
  17. ball.Size = Vector3.new(dist*2,dist*2,dist*2)
  18. ball.BrickColor = BrickColor.new("Bright red")
  19. ball.Anchored = true
  20. ball.CFrame = CFrame.new(bill.Parent.Position)
  21. ball.Transparency = 0.3
  22. ball.TopSurface = 0
  23. ball.BottomSurface = 0
  24. wait(3)
  25. bill:remove()
  26. ball:remove()
  27. end
  28.  
  29. function lol(pos)
  30. local torso = nil
  31. local temp = nil
  32. local plyrs = game.Players:GetPlayers()
  33. for x=1, #plyrs do
  34. local ob = plyrs[x]
  35. if ob.Name ~= me.Name then
  36. if ob.Character then
  37. temp = ob.Character:findFirstChild("Torso")
  38. if temp ~= nil then
  39. if (pos - temp.Position).magnitude < dist then
  40. torso = temp
  41. end
  42. end
  43. end
  44. end
  45. end
  46. return torso
  47. end
  48.  
  49. while true do
  50. wait(0.2)
  51. local obj = lol(me.Character.Torso.Position)
  52. if obj then
  53. deny(obj.Parent.Name)
  54. obj:remove()
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement