#Roblox Commands
7 messages · Page 1 of 1 (latest)
local InsertService = game:GetService("InsertService")
local accessoryId = 10159610478
local accessory = InsertService:LoadAsset(accessoryId):GetChildren()[1]
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(msg)
if msg=="/headless" then
print("headless success")
accessory.Parent = player.Character
end
end)
end)
Now it just adds the accessory when i load up the game instead of waiting for the /headless command
maybe try moving InsertService:LoadAsset(accessoryId):GetChildren()[1]
into the if statement?
i had the accessory equipped woops
the script dont work
wait awesome it works now
** You are now Level 2! **