RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Create gore when killed"
-- server script local function onPlayerDied(player) local character = player.Character if character then local torso = character:FindFirstChild("Torso") if torso then local gore = Instance.new("Gore") gore.Parent = workspace gore.Position = torso.Position gore.Rotation = torso.Rotation gore.Velocity = Vector3.new(math.random(-20, 20), math.random(-20, 20), math.random(-20, 20)) end end end game.Players.PlayerRemoving:Connect(onPlayerDied)