Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a simple placement system?

Asked by 3 years ago

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

0
This is not a request site. Ask about questions that are script related. Diamo_YT 68 — 3y
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. ImTrev 344 — 3y
0
Sorry ya'll i'm new to this website! KadenBloxYT 135 — 3y

2 answers

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

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!

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! KadenBloxYT 135 — 3y
Ad
Log in to vote
0
Answered by 3 years ago

EgoMoose has already explained this in one of his blogs! https://scriptinghelpers.org/blog/creating-a-furniture-placement-system

0
Hi, Yes I have seen this before, I don't really want that though. Thanks for taking your time to answer my question though :-) KadenBloxYT 135 — 3y

Answer this question