Im trying to fling character’s body parts upon his death, tried numerous methods but nothing works
3 Likes
idk if this works but try:
game.Players.PlayerAdded:Connect(function(player)
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
humanoid.Died:Connect(function()
humanoid:BreakJoints()
for _, v in pairs(character:GetDescendants()) do
if not v:IsA("BasePart") then continue end
math.randomseed(tick())
v:ApplyImpulse(Vector3.new(math.random(1, 11929), 11929, math.random(1, 11923)))
end
end)
end)
3 Likes
Fire event from client to server and fling character parts here
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.