Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. function makeBox()
  3. local box = Instance.new("Part")
  4. box.FormFactor = "Custom"
  5. box.Size = Vector3.new(3,3,3)
  6. box.Anchored = true
  7. box.TopSurface = 5
  8. box.BottomSurface = 5
  9. box.LeftSurface = 5
  10. box.RightSurface = 5
  11. box.FrontSurface = 5
  12. box.BackSurface = 5
  13. local outline = box:Clone()
  14. outline.Size = Vector3.new(3.2,3.2,3.2)
  15. outline.Transparency = 0.3
  16. outline.BrickColor = BrickColor.new("Black")
  17. outline.TopSurface = 0
  18. outline.BottomSurface = 0
  19. outline.LeftSurface = 0
  20. outline.RightSurface = 0
  21. outline.FrontSurface = 0
  22. outline.BackSurface = 0
  23. return box,outline
  24. end
  25.  
  26. local probe,box
  27.  
  28. plr.Chatted:connect(
  29. function(msg)
  30. if msg == 'probe' then
  31. probe,box=makeBox()
  32. else
  33. game:GetService("Chat"):Chat(probe,msg,"Blue")
  34. end
  35. end)
  36.  
  37. cam = game.Workspace.CurrentCamera
  38. while wait() do
  39. probe.CFrame,box.CFrame=cam.CoordinateFrame,probe.CFrame
  40. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement