#How do a make a plate that makes parts that touched it stuck to it?
12 messages · Page 1 of 1 (latest)
You would detect when an object touches the plate by using: Plate.Touched:Connect(funtion(Hit)
Part.Touched() Docs: https://create.roblox.com/docs/reference/engine/classes/BasePart#Touched
And then use: Instance.new("Weld Constraint", Parent) to weld the object to the plate
Instance.new() Docs: https://create.roblox.com/docs/reference/engine/datatypes/Instance#new
Weld Constraint Docs: https://create.roblox.com/docs/reference/engine/classes/WeldConstraint
@abstract orbit
ty
So what is the whole script @pallid fiber
i dont understand which parts to put together
?
Plate.Touched:Connect(funtion(Hit)
Part.Touched()Instance.new("Weld Constraint", Parent) like this????
Plate.Touched:Connect(function(p)
local w = Instance.new("WeldContraint")
w.Parent = Plate
w.Part0= Plate
w.Part1 = p
end)