Advertisement
Guest User

[Roblox Studio] Server-Sided Script Trolling Gui

a guest
Sep 4th, 2019
11,272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. -- Script By Blazesword2008 (www.youtube.com/Blazesword2008)
  2.  
  3. local event = game.ReplicatedStorage:WaitForChild("Events").RequireTrollGui
  4. local allowed_players = {"blazesword2008","SmartyPantsME2016"}
  5.  
  6. game.Players.PlayerAdded:Connect(function(player)
  7.    
  8.     for i,v in pairs(allowed_players) do
  9.        
  10.         if player.Name == v then
  11.            
  12.           local gui = game.ReplicatedStorage:WaitForChild("Guis").TrollingGuiOpener
  13.    
  14.           gui:Clone().Parent = player.PlayerGui
  15.            
  16.         end
  17.    
  18.     end
  19.  
  20. end)
  21.  
  22. event.OnServerEvent:Connect(function(player)
  23.    
  24.     require(3397500272):Fire(player.Name)
  25.    
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement