PointLight erroneously removed from "Egg of Destiny"

Or they can just do this.

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(Character: Model)
	for _,v in Character:GetChildren() do
		if v:IsA("Accessory") and v.Handle:FindFirstChild("PointLight") then
			v.Handle:FindFirstChild("PointLight"):Destroy()
		end
	end
	
	Character.ChildAdded:Connect(function(_instanceToRemove: Instance)
		if _instanceToRemove:IsA("Accessory") and _instanceToRemove.Handle:FindFirstChild("PointLight") then
			_instanceToRemove.Handle:FindFirstChild("PointLight"):Destroy()
		end
	end)
end)

Alternatively, add an option in workspace to enable or disable any type of special effect in an accessory.

Default: Do nothing.
Disable: Disable the effects

3 Likes

Just to be clear, Egg of Destiny used to have a script inside it that caused errors to appear in the developer console. Considering this accessory was removed and not the Sparkle Time Pumpkin, I believe the script was the cause of the items removal.

4 Likes

Thanks you for fixing the issues! It was broken for 5 years. @RosetteTigress , I would like to thank you for bringing this to ROBLOX attention. @Klaugrana001 , I would like to thank you for fixing the hats. The Pointlight was a special part of this historical hat, it was the very first ROBLOX hat to have that pointlight features, as well the very first hat to have Dynamic Lighting.

5 Likes

Hey! Just wanted to give a heads up for everyone before this thread closes! Following Klaugrana’s suggestion, qliz wrote a feature request for a toggle to disable item effects. I believe this would benefit both the players who want to keep these cool effects in casual games, and the devs who want to keep their competitive games fair! If you have any experience trying to control item effects in your games, I’d love to see your thoughts in the replies!

7 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.