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

How do I make a furniture placement system?

Asked by 4 years ago

I am trying to make a furniture placement system so you can design your house, but I am not even near to making it. Be aware I am new to scripting. Here is my script so far:

script.Parent.MouseButton1Click:Connect(function()
    while wait() do
        game:GetService("UserInputService").InputBegan:Connect(function(input)
            if input.UserInputType == Enum.UserInputType.MouseButton1 then
                plr = game.Players.LocalPlayer
                local mouse = plr:GetMouse()
                local c = game.ReplicatedStorage.Table:Clone()
                c.Position = mouse.Position 
            end
        end)
    end
end)

That is in a local script inside a text button in StarterGui. Could someone please help here? Thanks in advance!

0
instead of c.Position = mouse.Position use c.Position = Udim2.new(0,mouse.X,0,mouse.Y) DizzyGuy70 38 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

https://scriptinghelpers.org/blog/creating-a-furniture-placement-system

0
This didn't work. PrismaticFruits 842 — 4y
0
oh ok DiamondSwordRoblox -2 — 4y
Ad

Answer this question