So I'm trying to make a resizable part WITH filtering enabled on. In startergui, I have a screen gui, and in that screen gui i have a handles object, and in the handles object I have a local script with the following code...
local handles, origin = script.Parent, 0
handles.Adornee = game.Workspace.Part
handles.MouseDrag:connect(function(norm, dist)
local delta = (math.floor(dist - origin / handles.Adornee.ResizeIncrement + .5) * handles.Adornee.ResizeIncrement)
game.ReplicatedStorage.Resize:FireServer(game.Workspace.Part, norm, delta)
end)
handles.MouseButton1Down:connect(function()
origin = 0
end)
now in a script in serverscriptservice i have the following code...
remote = game:GetService("ReplicatedStorage"):WaitForChild("Resize")
remote.OnServerEvent:connect(function(plr, part, id, delta)
-- ??????????????????
end)
Now where you see the question marks, I'm kind of confused as to what code needs to be there to actually resize the part. Help!!!!!!!!!??????
