What’s ‘partial’ about it? It sounds like you’ve fixed the issue by making hats respect filtering?
Because he couldn’t outright remove the feature, it’s more complicated than just making something replicate or not replicate.
I got that, that’s why I was asking what was partial about it. What’s still left of the feature?
Can you clarify the reason for supporting “hat dropping”? This feature was removed from roblox long ago.
This STILL occurs, and is especially prominent in games with custom avatar editors which allow players to equip their characters with accessories.
Players can respawn their characters or repeatedly equip their character and discard their hats, leaving litter all over the map. It is unacceptable for developers to have to create a server-sided script specifically to clean up garbage from the client.
This is a clear vulnerability to ALL games. It’s been 2 years. Why has this not been patched?
Hat dropping has been removed…? They can delete the welds to the accessories and that will replicate to the server because deleting character joints always replicates, but these accessories are still parented to their character. When the character is de-spawned, the accessories will be removed.
Did you implement hat dropping manually in your game? If so, this would be a problem with your script.
This does indeed still work, accessories that are parented to workspace from the client replicate and remain there.
Tested on a blank baseplate in an online game.
External Media
Edit: Code used for those interested (LocalScript in StarterGui):
local function dropHats()
local localPlayer = game:GetService("Players").LocalPlayer
if localPlayer and localPlayer.Character then
for _, obj in pairs(localPlayer.Character:GetChildren()) do
if obj:IsA("Accoutrement") then
obj.Parent = game.Workspace
end
end
end
end
game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
if not gameProcessedEvent then
if inputObject.KeyCode == Enum.KeyCode.Equals then
dropHats()
end
end
end)
No, the hotkey for dropping hats was removed. As you can see in the previous posts in the thread, and as xonae demonstrated, the functionality still remains.