im really tweaking out fr, im search, and searching, and searching, and searching, and searching, and searching, and searching AND IM NOT FINDING ANYTHING, PLEASE HELP.
my problem is that im making a grab attack, by server, AND I DONT WANT TO USE ALIGNPOSITION,
and literaly cant make anything good, NO CHANGES, of this bug or something, when the victim gets damage at his final health while the character is grabbing him, DIES BOTH, AND IM SEEIGN PEOPLE THAT ACOMPLISH THAT PROBLEM AND I DONT UNDERSTAND HOW, HOW, HOW, i have a copy of a game that USE weld, AND DOESNT HAVE THAT PROBLEM, and im trying to find how is deleting the weld without this bug, and i still dont understand HOW, is by changing the humanoidstate’???‘?, is by do some weird thing to do with parent’??? i dont understand GOD.
here my script though:
local lol_XD = require(game.ServerScriptService.Main.Pvp_Stuff.MoveSets.Triger_Tabs)
local weld_folders = game.ServerStorage.MainStorage.ItemsToClone.Welds
function module.Grab_type1(Argument, Enemy, you, Animation_On, CFrame_Attachment, CFrame_End_of_Grab, With_endCframe, Rotation, Player_Animation, Enemy_Player, Time_WalksSpeed, Walk_Speed)
local RotEnemy = Enemy.HumanoidRootPart
local char = you.Character
local HumanoidEnemy = Enemy.Humanoid
local rp_enemy = Enemy["HumanoidRootPart"]
local run = game:GetService("RunService")
local ws_val = you:WaitForChild("PvpFolder"):WaitForChild("Attack_walkSpeed")
ws_val.Value = Walk_Speed
local value = Instance.new("NumberValue", char:WaitForChild("Values"))
value.Name = "Attack_Test"
value.Value = Time_WalksSpeed
local anim = Enemy_Player:Clone()
anim.Parent = Enemy
local animationa = HumanoidEnemy:LoadAnimation(anim)
animationa:Play()
Player_Animation:Play()
HumanoidEnemy.AutoRotate = false
Enemy:SetAttribute("GettingBeatdown", true)
RotEnemy.Massless = true
RotEnemy:SetNetworkOwner(you)
HumanoidEnemy.PlatformStand = true
local clone
if CFrame_Attachment == "something" then
clone = weld_folders.Tesadasd:Clone()
clone.Part0 = char.HumanoidRootPart
else
clone = weld_folders.Grab_weld:Clone()
clone.Part1 = char.HumanoidRootPart
end
clone.Parent = RotEnemy
clone.Part1 = RotEnemy
task.spawn(function()
lol_XD.Function(Argument, you, Player_Animation)
end)
local AnimationTracks = char["Humanoid"]:GetPlayingAnimationTracks()
for i, track in pairs (AnimationTracks) do
if track == Player_Animation then
track:GetMarkerReachedSignal("End_Player"):Connect(function(paramString)
char:SetAttribute("Beatdown", false)
for i, v in pairs(you.Character:FindFirstChild("Values"):FindFirstChild("NormalVals"):GetChildren()) do
if v:IsA("ObjectValue") and v.Name == "Target" then
v:Destroy()
end
end
task.delay(Time_WalksSpeed,function()
value:Destroy()
end)
end)
track:GetMarkerReachedSignal("End_Enemy"):Connect(function(paramString)
if With_endCframe == true then
RotEnemy.CFrame = RotEnemy.CFrame * CFrame_End_of_Grab
end
HumanoidEnemy.AutoRotate = true
Enemy:SetAttribute("GettingBeatdown", false)
animationa:Destroy()
clone.Parent = nil
RotEnemy.Massless = false
RotEnemy:SetNetworkOwner(Enemy)
end)
end
end
end