Advertisement
Slopeh

Untitled

Dec 12th, 2023
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. 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