Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SES = Game.GetStatusEffectSystem() if StatusEffectSystem.ObjectHasStatusEffect(GetPlayer(), TweakDBID("GameplayRestriction.NoCombat")) == false then SES:ApplyStatusEffect(GetPlayer():GetEntityID(), TweakDBID.new("GameplayRestriction.NoCombat"), GetPlayer():GetRecordID(), GetPlayer():GetEntityID()) print(" - NO ONE ATTACKS YOU: ON") else SES:RemoveStatusEffect(GetPlayer():GetEntityID(), TweakDBID.new("GameplayRestriction.NoCombat")) print(" - NO ONE ATTACKS YOU: OFF") end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement