guys i want this script is only a gem that following but i want to change it when other gem go to me they will disappeard and go to the player's leaderstat so please what should i gonna do?here is my code
local torso = script.Parent.HumanoidRootPart
local center = workspace.Gem
center.CanCollide = false
local bp = Instance.new("BodyPosition")
bp.maxForce = Vector3.new(9e+100, 9e+100, 9e+100)
bp.P = 40000
bp.Parent = center
while torso.Parent do
center.BodyPosition.position = torso.Position
wait()
end
i just want a script that if a gem dectects a player it will magnet and get a force to get into the player's torso then it will disappeard and will add to a player's leaderstat what should i do guys? and i forgot to say my leaderstat name is Gem but please help me!??

1 comment
Or if u want to help me just join this if u have discord please https://discord.gg/PwtJgmu or add me in FZSLegend My account so we can talk more