towmater
|
  |
| Joined: 05 Jan 2007 |
| Total Posts: 1804 |
|
|
| 10 Jun 2014 09:09 PM |
local plr = game.Players.LocalPlayer local mouse = plr:GetMouse()
mouse.Button1Down:connect(function(newpart) local part = Instance.new("Part", workspace) part.Size = Vector3.new(1,1,1) part.CFrame = mouse.Hit part.TopSurface = "Smooth" part.BottomSurface = "Smooth" --part.Velocity = mouse.Hit - plr.Character.Head.magnitude part.BrickColor = BrickColor.Yellow() local light = Instance.new("PointLight", part) light.Color = part.Color wait(3) for i = 1,10,.1 do wait(.3) part.Transparency = i/2 if part.Transparency == 1 then part:Destroy() end end end)
--i'm wanting to change this to make it not make a brick at the position of the .Hit but make X amount of bricks to reach the .Hit's position. |
|
|
| Report Abuse |
|
| |
towmater
|
  |
| Joined: 05 Jan 2007 |
| Total Posts: 1804 |
|
| |