SHARE
TWEET

Untitled

a guest Apr 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Commands = {
  2.     "trigger",
  3.     "trigers",
  4.     "showtrigger",
  5.     "showtriggers"
  6. }
  7.  
  8. local IWishDadLovedMe = {false}
  9.  
  10. local function ShowTriggies()
  11.      Command:Register(Commands, function(pl)
  12.         ShowTriggersPopNiggers(pl)
  13.     end )  
  14. end
  15. hook.Add("Initialize","123sdfhuy32gyu12hgdyuwgehrgf23",ShowTriggies)
  16.  
  17. function InitSpawnPreventTransmit(pl)
  18.     for _,ent in pairs(ents.FindByClass("trigger_teleport")) do
  19.         ent:RemoveEffects(EF_NODRAW)
  20.         ent:SetPreventTransmit(pl,true)
  21.     end
  22. end
  23. hook.Add("PlayerInitialSpawn","123fhh23g4h1f23faghdsk,345",InitSpawnPreventTransmit)
  24.  
  25. function ShowTriggersPopNiggers(pl)
  26.     IWishDadLovedMe[pl] = !IWishDadLovedMe[pl]
  27.     for _,ent in pairs(ents.FindByClass("trigger_teleport")) do
  28.         ent:SetPreventTransmit(pl,!IWishDadLovedMe[pl])
  29.     end
  30.     Core:Send( pl, "Print", { "General", "You have ".. (IWishDadLovedMe[pl] and "enabled" or "disabled").." show triggers." } )
  31. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top