-
A script where you can only where shirts and pants?
-
Im making a racing game and when you try to put on a helmet the accessories go through it?
-
I have tried to look for some tutorials on youtube but none of them work?
2 Likes
Here is a reference from the Roblox API on how to remove them:
2 Likes
Here is a script I made for you that works (I tested it)
MAKE SURE TO PUT IT IN SERVERSCRIPTSERVICE AND THAT IT IS A NORMAL SCRIPT!!
local Players = game:GetService("Players")
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAppearanceLoaded:Connect(function(char)
local hum = char:WaitForChild("Humanoid")
hum:RemoveAccessories()
end)
end)
Hope I helped!
2 Likes
In starterplayer you can uncheck “LoadCharacterAppearance” this will make your character a default grey. What I would recommend doing is then making a script that will insert a accessories and clothing into a player or making a customization system which if you are only having two choices isn’t that hard.
You could also have it where when a player enters the seat and actively stays in it their accessories become transparent. Hope this helps.
2 Likes