Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i make a simple placement system?

So I have been looking on to this for a while but I want to make a placement system like Work at a Pizza Place with plot's and datastores but I just can't do it.......

Anybody have a tutorial on how to make a simple placement system?

Also I don't really want a grid placement system

4 comments

0

This is not a request site. Ask about questions that are script related.

0

Not trying to be rude but Diamond is right. Also if you look hard enough, you will find it. I have come across plenty of placement systems open sourced if you search for it on google.

0

Sorry ya'll i'm new to this website!

2 answers

✓ Accepted answer

You can use mouse.Hit.Position.

mouse.Hit.Position returns an x, y, z value so you can then fire a remote event or make a new part to "spawn" a part there. here's an example:

local mouse = game:GetService("Players").LocalPlayer:GetMouse()

mouse.Button1Down:Connect(function()
	local position = mouse.Hit.Position
	Instance.new("Part", workspace).Position = position
end)

there you go! theres an example of how to make blocks at a position. I have made a game like this, so if you still need assistance, reply!

1 comment

0

Hi, thanks for the help. If you don't mind may i get some assistance. I will mark the post as solved for now!

This discussion is preserved as it was. New answers, comments, and votes are closed.