I organized the script, so you can see the section where the script begins to weld. The charging thing is a number that goes up every second and stops at 30, and is divided depending on which ball/Strong is being divided; then the quotient is added to the Ball/Strong's size. The problem is here is when the ball increases to a high number like 10, the ball just teleports to the parent and doesnt go straight to the player, this makes the player get teleported. How do i fix this?
replicatedstorage = game:GetService("ReplicatedStorage") tool = script.Parent.Parent.Parent local dis = replicatedstorage:FindFirstChild("RicoClass"):WaitForChild("Strong") local dis1 = replicatedstorage:FindFirstChild("RicoClass"):WaitForChild("Strong1") Counter = replicatedstorage:FindFirstChild("RicoClass").Counter baseAtk = 15 debounce = true Counter.OnServerEvent:connect(function(player) print(script.Parent:FindFirstChild("Charging").Value) print("boi") local Strong = dis:clone() local Strong1 = dis1:clone() wait() ----------------------------------------------------- Strong.Size = Strong.Size + Vector3.new(script.Parent:FindFirstChild("Charging").Value / 4,script.Parent:FindFirstChild("Charging").Value / 4,script.Parent:FindFirstChild("Charging").Value / 4) Strong1.Size = Strong1.Size + Vector3.new(script.Parent:FindFirstChild("Charging").Value / 3,script.Parent:FindFirstChild("Charging").Value / 3,script.Parent:FindFirstChild("Charging").Value / 3) -----------[Welding(HELP HERE |)]------------- ------------------------------V--------------- Strong.Parent = game.Workspace local w = Instance.new("Weld", Strong) w.Part0 = player.Character.RightLowerArm w.Part1 = Strong w.C0 = CFrame.new(0,-0.5,0) Strong1.Parent = game.Workspace local w = Instance.new("Weld", Strong1) w.Part0 = player.Character.RightLowerArm w.Part1 = Strong1 w.C0 = CFrame.new(0,-0.5,0) ----------------------------------------------------- -------------------[Damage]-------------------------- Strong1.Touched:connect(function(hit) if not debounce then return end debounce = false local opponent = hit.Parent:findFirstChild("Humanoid") or hit.Parent.Parent:findFirstChild("Humanoid") if opponent and opponent ~= player.Character.Humanoid then opponent:TakeDamage(baseAtk) end wait(0.225) debounce = true end) ----------------------------------------------------- -------------------[Debris]-------------------------- wait(0.6) Strong:remove() Strong1:remove() wait(0.1) script.Parent:FindFirstChild("Charging").Value = 0 end)