of     1   

2sp00ky4y0u
#183532383Saturday, February 13, 2016 9:25 PM GMT

can someone give me an example of a script that will make a tool place blocks?
TimeTicks
#183532465Saturday, February 13, 2016 9:26 PM GMT

Nah. Use CFrame and mouse position.
2sp00ky4y0u
#183532772Saturday, February 13, 2016 9:30 PM GMT

HOW DO I GET THE MOUSEPOSITION? i need to know! the wiki makes no sense to me? btw are you the only one on right now? you picky person that wont do anything just tell you a few words that's it
ScriptBased
#183533810Saturday, February 13, 2016 9:46 PM GMT

Mouse.Origin.x or y
2sp00ky4y0u
#183535750Saturday, February 13, 2016 10:12 PM GMT

so like when i click it makes a part then uses the x position to position that part?
ScriptBased
#183536583Saturday, February 13, 2016 10:25 PM GMT

Or something like that, yes
2sp00ky4y0u
#183536926Saturday, February 13, 2016 10:32 PM GMT

well can someone help me incorporate that Mouse.Origin.x to a tool that onclick makes a part? I can't get mine to work although it's probably obvious why it doesn't to you guys because I suck at scripting sucky script below (doesn't work at all) local player = game.Player.LocalPlayer local Mouse = player:GetMouse() local target = Mouse.Origin.x local target2 = Mouse.Origin.y local bin = script.Parent bin.Selected:connect(function(Mouse) Mouse.Button1Down:connect(function() local part = Instance.new('Part',game.Workspace) part.Name = player.Name..'FigurePart' part.Transparency = 1 end) end)
IronSteelMetal
#183538814Saturday, February 13, 2016 10:59 PM GMT

Cframing or vector3 but Cframing is better
Aethex
#183542865Saturday, February 13, 2016 11:53 PM GMT

-- In a LocalScript inside of a Tool object local plr = game.Players.LocalPlayer; local m = plr:GetMouse(); local tool = script.Parent; tool.Activated:connect(function() local part = Instance.new("Part", workspace); part.Position = m.Hit.p; end)
Aethex
#183542965Saturday, February 13, 2016 11:55 PM GMT

just so you know, i'm assuming you either want this done only on the client or that filteringenabled is off if you want it to appear for everyone with fe on, then you will need a RemoteEvent that creates the part with the position supplied from the client when fired

    of     1