You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Currently i am trying to achieve a “dragging effect” similar to that of darkwood’s dragging effect, however i cant figure out how to do it. -
What is the issue? Include screenshots / videos if possible!
I tried using weld constraints, which achieve a kind of close effect in the player dragging the object, but the player ends up having basically a floating part that moves with them, which is not what im aiming for.
My Effect :
What im aiming for :
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried hinge constraints and rope attachments, both end up with the part or the player with an error in movement, and i didnt find any similar topics to this one.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- script inside the object
interact.OnServerEvent:Connect(function(plr, action)
if action == "1" then
if plr.Character.Holding.Adornee == nil then
local newWeld = Instance.new("WeldConstraint", plr.Character.Torso)
newWeld.Part0 = plr.Character.HumanoidRootPart
newWeld.Part1 = parent
plr.Character.Events.BindablePickup:Fire(parent, "Drag")
parent.Interactable.Value = false
newWeld.Name = parent.Name
end
else
script.Parent.Interactable.Value = true
workspace.Noise:Fire(parent.Position)
end
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.