Jump to content

Recommended Posts

If you want to remove her only for a specific character then use this:

AddPrefabPostInit("wilson", function(inst) -- "wilson" can be any character
	if inst.components.grue ~= nil then
		inst:RemoveComponent("grue") -- "grue" component makes the darkess damage the plyer so you have to remove it
	end
end)

 

If you want to remove Charlie from every character at once then use this:

AddPlayerPostInit(function(inst)
	if inst.components.grue ~= nil then
		inst:RemoveComponent("grue")
	end
end)

 

  • Like 2
3 hours ago, IThatGuyI said:

If you want to remove her only for a specific character then use this:


AddPrefabPostInit("wilson", function(inst) -- "wilson" can be any character
	if inst.components.grue ~= nil then
		inst:RemoveComponent("grue") -- "grue" component makes the darkess damage the plyer so you have to remove it
	end
end)

 

If you want to remove Charlie from every character at once then use this:


AddPlayerPostInit(function(inst)
	if inst.components.grue ~= nil then
		inst:RemoveComponent("grue")
	end
end)

 

Thank you very much!:wickerbottomthanks:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...