Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- function makeBox()
- local box = Instance.new("Part")
- box.FormFactor = "Custom"
- box.Size = Vector3.new(3,3,3)
- box.Anchored = true
- box.TopSurface = 5
- box.BottomSurface = 5
- box.LeftSurface = 5
- box.RightSurface = 5
- box.FrontSurface = 5
- box.BackSurface = 5
- local outline = box:Clone()
- outline.Size = Vector3.new(3.2,3.2,3.2)
- outline.Transparency = 0.3
- outline.BrickColor = BrickColor.new("Black")
- outline.TopSurface = 0
- outline.BottomSurface = 0
- outline.LeftSurface = 0
- outline.RightSurface = 0
- outline.FrontSurface = 0
- outline.BackSurface = 0
- return box,outline
- end
- local probe,box
- plr.Chatted:connect(
- function(msg)
- if msg == 'probe' then
- probe,box=makeBox()
- else
- game:GetService("Chat"):Chat(probe,msg,"Blue")
- end
- end)
- cam = game.Workspace.CurrentCamera
- while wait() do
- probe.CFrame,box.CFrame=cam.CoordinateFrame,probe.CFrame
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement