Im was Making a script were I can Grab This or This so I dont know a way Please help
mouse.Button1Down:connect(function()
if mouse.Target.Name == "BasicaxeBuy" or "EndBoxBuy" then
if mouse.Target and (mouse.Hit.p - game.Players.LocalPlayer.Character.Head.Position).Magnitude < 15 then
grabbed = true
-- attachment0 = Instance.new("Attachment", mouse.Target)
-- attachment0.WorldPosition = mouse.Hit.p
--
-- attachment1 = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
--
-- force = Instance.new("LineForce", workspace)
-- force.Attachment0 = attachment0
-- force.Attachment1 = attachment1
-- force.Magnitude = 2500
local p = mouse.Target
sphere.Parent = workspace
force = Instance.new("BodyPosition", sphere)
--force.MaxForce = Vector3.new(1000000000, 10000000000, 1000000000)
sphere.CFrame = mouse.Hit
weld = Instance.new("WeldConstraint", sphere)
weld.Part0 = p
weld.Part1 = sphere
sphere.Anchored = false
end
end
end)

2 comments
Help The or Statement Isnt working So Anyother way to do this
or is not a statement. It is a logical operator. So what is the issue. Is it throwing an exception? Is it not compiling? WHAT is the issue???