If you reset the halo still on your head

make script that when you equip it will clone on you head but when i reset i need to equip it again its annoying…

Replicated Storage Script :
Untitled

local Player = game.Players

local repStorage = game:GetService("ReplicatedStorage")

local remotes = repStorage.HaloRemotes.BlackHalo

local equip = remotes.Equip

local hat = game.ServerStorage.Black

equip.OnServerEvent:Connect(function(player)

local character = player.Character

local humanoid = character.Humanoid

local clone = hat:Clone()

humanoid:AddAccessory(clone)

if character:FindFirstChild("BlackHalo") then

character.BlackHalo:Destroy()

end

end)

Button When You Equip : Starter Gui

local equipped = script.Parent.Parent.Equipped

local unequipped = script.Parent.Parent.Unequipped

script.Parent.MouseButton1Click:Connect(function()

game.ReplicatedStorage.HaloRemotes.BlackHalo.Equip:FireServer()

unequipped.Visible = true

equipped.Visible = true

end)

I believe adding the halo to the character without the need to equip it again can be done using the CharacterAdded event. Though you might need a bool to check if the player had it equipped before respawning.

1 Like