local debounce = false
script.Parent.Touched:Connect(function(hit)
if not debounce then
debounce = true
local Ball = script.Parent.Ball
local AttachmentA = Instance.new("Attachment",Ball)
AttachmentA.Position = Vector3.new(0,1,0)
local Targett = hit.Parent:FindFirstChild("UpperTorso")
local AttachmentV = Instance.new("Attachment",Targett)
AttachmentV.Position = Vector3.new(1,0,0)
local al = Instance.new("AlignPosition",Ball)
al.Attachment0 = AttachmentA
al.Attachment1 = AttachmentV
end
end)
COMMUNITY QUESTION
Why i can't attach the Player with AlignPosition?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
First of all what are you trying to do?