Advertisement
SebTDZ

SRSG2+TOS

Jul 19th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print("Seb's Require Script Gui V2 Loaded")
  2.  
  3. function rgb(RED,GREEN,BLUE)
  4.     local Count = 1 / 255
  5.     --Red Count
  6.     local red = Count * RED
  7.     --Green Count
  8.     local green = Count * GREEN
  9.     --Blue Count
  10.     local blue = Count * BLUE
  11.     --Give Color3
  12.     local FColor = Color3.new(red,green,blue)
  13.     return FColor
  14. end
  15.  
  16. function AddAccessory (Accessory, Model)
  17.     local ac = Accessory
  18.     local char = Model
  19.     ac.Parent = char
  20.     local weld = ac.Handle.AccessoryWeld
  21.     weld.Part1 = char.Head
  22.     weld.C0 = char.Head.CFrame:inverse()
  23.     weld.C1 = char.Head.CFrame:inverse()
  24. end
  25.  
  26. function SaveCharacterDetails(model)
  27.        
  28.        
  29.     local total = model:GetChildren()
  30.     local hats = {}
  31.     local skin = model.Head.BrickColor
  32.     local face = model.Head.face.Texture
  33.     local shirt = Instance.new("Shirt")
  34.     local pants = Instance.new("Pants")
  35.     if model:FindFirstChild("Shirt") then
  36.         shirt = model:FindFirstChild("Shirt"):Clone()
  37.     end
  38.     if model:FindFirstChild("Pants") then
  39.         pants = model:FindFirstChild("Pants"):Clone()
  40.     end
  41.    
  42.     for i = 1,#total do
  43.         if total[i]:IsA("Accessory") then
  44.             table.insert(hats, total[i]:Clone())
  45.         end
  46.     end
  47.    
  48.     return hats, face, skin, shirt, pants
  49. end
  50.  
  51. function LoadCharacterDetails(model, h, f, s, z, p)
  52.     local total = model:GetChildren()
  53.    
  54.     for i = 1,#total do
  55.         if total[i]:IsA("Part") then
  56.             total[i].BrickColor = s
  57.         end
  58.     end
  59.    
  60.     for i = 1,#h do
  61.         AddAccessory(h[i]:Clone(),model)
  62.     end
  63.    
  64.     z:Clone().Parent = model
  65.     p:Clone().Parent = model
  66.     model.Head.face.Texture = f
  67. end
  68.  
  69. function gui(plr)
  70. local TweenService = game:GetService("TweenService")
  71. local ScreenGui = Instance.new("ScreenGui",plr.PlayerGui)
  72. ScreenGui.Name = "Script Run Gui"
  73. plr.PlayerGui.ChildRemoved:Connect(function(go)
  74.     if go.Name == ScreenGui.Name then
  75.         gui(plr)
  76.     end
  77. end)
  78. local acceptable = true
  79. plr.CharacterAdded:Connect(function(Character)
  80.     for i,gUi in pairs(plr.PlayerGui:GetChildren()) do
  81.         if gUi.Name == ScreenGui.Name then
  82.             local a = 1
  83.         else
  84.             gUi:Remove()
  85.         end
  86.     end
  87.     if acceptable then
  88.         repeat wait() until plr:HasAppearanceLoaded()
  89.         if Character:FindFirstChild("UpperTorso") then
  90.             acceptable = false
  91.             hats, face, skin, shirt, pants = SaveCharacterDetails(Character)
  92.             plr.CanLoadCharacterAppearance = false
  93.             plr:LoadCharacter()
  94.         end
  95.     else
  96.         LoadCharacterDetails(Character, hats, face, skin, shirt, pants)
  97.     end
  98. end)
  99.  
  100. local ScriptsFrame = Instance.new("Frame",ScreenGui)
  101. ScriptsFrame.BackgroundColor3 = rgb(15, 111, 200)
  102. ScriptsFrame.BorderColor3 = rgb(10, 220, 230)
  103. ScriptsFrame.Name = "ScriptsFrame"
  104. ScriptsFrame.Position = UDim2.new(1.4,0,-1.4,0)
  105. ScriptsFrame.Size = UDim2.new(0.4,0,0.4,0)
  106. local open = TweenService:Create(ScriptsFrame, TweenInfo.new(0.5,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0), {Position = UDim2.new(0.3,0,0.3,0)})
  107. local close = TweenService:Create(ScriptsFrame, TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0), {Position = UDim2.new(1.4,0,-1.4,0)})
  108.  
  109. local OpenGuiButton = Instance.new("TextButton",ScreenGui)
  110. OpenGuiButton.BackgroundColor3 = rgb(15, 60, 200)
  111. OpenGuiButton.BorderColor3 = rgb(10, 220, 230)
  112. OpenGuiButton.Name = "OpenGuiButton"
  113. OpenGuiButton.Position = UDim2.new(1,-150,1,-90)
  114. OpenGuiButton.Size = UDim2.new(0,150,0,45)
  115. OpenGuiButton.Font = "SourceSansBold"
  116. OpenGuiButton.FontSize = "Size32"
  117. OpenGuiButton.Text = "Scripts"
  118. OpenGuiButton.TextColor3 = rgb(10, 220, 230)
  119. local openBool = false
  120. OpenGuiButton.MouseButton1Down:connect(function()
  121.     if openBool == false then
  122.         open:Play()
  123.         openBool = true
  124.     else
  125.         close:Play()
  126.         openBool = false
  127.     end
  128. end)
  129.  
  130. local Title = Instance.new("TextLabel",ScriptsFrame)
  131. Title.BackgroundColor3 = rgb(15, 111, 200)
  132. Title.BorderColor3 = rgb(10, 220, 230)
  133. Title.Name = "Title"
  134. Title.Position = UDim2.new(0.5,0,0.075,0)
  135. Title.Size = UDim2.new(0,1,0,0.05)
  136. Title.Font = "SourceSansBold"
  137. Title.FontSize = "Size32"
  138. Title.Text = "Seb's Require Script Gui V2"
  139. Title.TextColor3 = rgb(10, 220, 230)
  140.  
  141. --Other
  142.  
  143. local ResetButton = Instance.new("TextButton",ScriptsFrame)
  144. ResetButton.BackgroundColor3 = rgb(15, 60, 200)
  145. ResetButton.BorderColor3 = rgb(10, 220, 230)
  146. ResetButton.Name = "ResetButton"
  147. ResetButton.Position = UDim2.new(0,0,0.0,0)
  148. ResetButton.Size = UDim2.new(0.20,0,0.15,0)
  149. ResetButton.Font = "SourceSansBold"
  150. ResetButton.FontSize = "Size32"
  151. ResetButton.Text = "Reset"
  152. ResetButton.TextColor3 = rgb(10, 220, 230)
  153. ResetButton.MouseButton1Down:connect(function()
  154.     plr:LoadCharacter()
  155. end)
  156.  
  157. local R6Button = Instance.new("TextButton",ScriptsFrame)
  158. R6Button.BackgroundColor3 = rgb(15, 60, 200)
  159. R6Button.BorderColor3 = rgb(10, 220, 230)
  160. R6Button.Name = "R6Button"
  161. R6Button.Position = UDim2.new(1-0.20,0,0.0,0)
  162. R6Button.Size = UDim2.new(0.20,0,0.15,0)
  163. R6Button.Font = "SourceSansBold"
  164. R6Button.FontSize = "Size32"
  165. R6Button.Text = "R6"
  166. R6Button.TextColor3 = rgb(10, 220, 230)
  167. IsR6 = false
  168. R6Button.MouseButton1Down:connect(function()
  169.     if IsR6 then
  170.         plr.CanLoadCharacterAppearance = true
  171.         IsR6 = false
  172.         acceptable = false
  173.         R6Button.Text = "R6"
  174.         plr:LoadCharacter()
  175.     else
  176.         R6Button.Text = "R15"
  177.         acceptable = true
  178.         plr:LoadCharacter()
  179.         IsR6 = true
  180.     end
  181. end)
  182.  
  183. --Scripts
  184.  
  185. local Script1 = Instance.new("TextButton",ScriptsFrame)
  186. Script1.BackgroundColor3 = rgb(15, 60, 200)
  187. Script1.BorderColor3 = rgb(10, 220, 230)
  188. Script1.Name = "Script1"
  189. Script1.Position = UDim2.new(0.01,0,0.16,0)
  190. Script1.Size = UDim2.new(0.20,0,0.15,0)
  191. Script1.Font = "SourceSansBold"
  192. Script1.FontSize = "Size32"
  193. Script1.Text = "Vereus"
  194. Script1.TextColor3 = rgb(10, 220, 230)
  195. Script1.MouseButton1Down:connect(function()
  196.     require(3306802406).Player(plr.Name)
  197. end)
  198.  
  199. local Script2 = Instance.new("TextButton",ScriptsFrame)
  200. Script2.BackgroundColor3 = rgb(15, 60, 200)
  201. Script2.BorderColor3 = rgb(10, 220, 230)
  202. Script2.Name = "Script2"
  203. Script2.Position = UDim2.new(0.25,0,0.16,0)
  204. Script2.Size = UDim2.new(0.20,0,0.15,0)
  205. Script2.Font = "SourceSansBold"
  206. Script2.FontSize = "Size32"
  207. Script2.Text = "SpellCaster"
  208. Script2.TextColor3 = rgb(10, 220, 230)
  209. Script2.MouseButton1Down:connect(function()
  210.     require(2630670143).load(plr.Name)
  211. end)
  212.  
  213. local Script3 = Instance.new("TextButton",ScriptsFrame)
  214. Script3.BackgroundColor3 = rgb(15, 60, 200)
  215. Script3.BorderColor3 = rgb(10, 220, 230)
  216. Script3.Name = "Script3"
  217. Script3.Position = UDim2.new(0.55,0,0.16,0)
  218. Script3.Size = UDim2.new(0.20,0,0.15,0)
  219. Script3.Font = "SourceSansBold"
  220. Script3.FontSize = "Size18"
  221. Script3.Text = "Universal Glitcher"
  222. Script3.TextColor3 = rgb(10, 220, 230)
  223. Script3.MouseButton1Down:connect(function()
  224.     require(2632963364).ug(plr.Name)
  225. end)
  226.  
  227. local Script4 = Instance.new("TextButton",ScriptsFrame)
  228. Script4.BackgroundColor3 = rgb(15, 60, 200)
  229. Script4.BorderColor3 = rgb(10, 220, 230)
  230. Script4.Name = "Script4"
  231. Script4.Position = UDim2.new(0.79,0,0.16,0)
  232. Script4.Size = UDim2.new(0.20,0,0.15,0)
  233. Script4.Font = "SourceSansBold"
  234. Script4.FontSize = "Size32"
  235. Script4.Text = "Egg Dog"
  236. Script4.TextColor3 = rgb(10, 220, 230)
  237. Script4.MouseButton1Down:connect(function()
  238.     require(3308106266).eggdog(plr.Name)
  239. end)
  240.  
  241. local Script5 = Instance.new("TextButton",ScriptsFrame)
  242. Script5.BackgroundColor3 = rgb(15, 60, 200)
  243. Script5.BorderColor3 = rgb(10, 220, 230)
  244. Script5.Name = "Script5"
  245. Script5.Position = UDim2.new(0.01,0,0.36,0)
  246. Script5.Size = UDim2.new(0.20,0,0.15,0)
  247. Script5.Font = "SourceSansBold"
  248. Script5.FontSize = "Size28"
  249. Script5.Text = "Fallen Anger"
  250. Script5.TextColor3 = rgb(10, 220, 230)
  251. Script5.MouseButton1Down:connect(function()
  252.     require(2560679631).ang(plr.Name)
  253. end)
  254.  
  255. local Script6 = Instance.new("TextButton",ScriptsFrame)
  256. Script6.BackgroundColor3 = rgb(15, 60, 200)
  257. Script6.BorderColor3 = rgb(10, 220, 230)
  258. Script6.Name = "Script6"
  259. Script6.Position = UDim2.new(0.25,0,0.36,0)
  260. Script6.Size = UDim2.new(0.20,0,0.15,0)
  261. Script6.Font = "SourceSansBold"
  262. Script6.FontSize = "Size32"
  263. Script6.Text = "Switcher V2"
  264. Script6.TextColor3 = rgb(10, 220, 230)
  265. Script6.MouseButton1Down:connect(function()
  266.     require(2605260171).load(plr.Name)
  267. end)
  268.  
  269. local Script7 = Instance.new("TextButton",ScriptsFrame)
  270. Script7.BackgroundColor3 = rgb(15, 60, 200)
  271. Script7.BorderColor3 = rgb(10, 220, 230)
  272. Script7.Name = "Script7"
  273. Script7.Position = UDim2.new(0.55,0,0.36,0)
  274. Script7.Size = UDim2.new(0.20,0,0.15,0)
  275. Script7.Font = "SourceSansBold"
  276. Script7.FontSize = "Size32"
  277. Script7.Text = "MrByeBye"
  278. Script7.TextColor3 = rgb(10, 220, 230)
  279. Script7.MouseButton1Down:connect(function()
  280.     require(2595582545).mbye(plr.Name)
  281. end)
  282.  
  283. local Script8 = Instance.new("TextButton",ScriptsFrame)
  284. Script8.BackgroundColor3 = rgb(15, 60, 200)
  285. Script8.BorderColor3 = rgb(10, 220, 230)
  286. Script8.Name = "Script4"
  287. Script8.Position = UDim2.new(0.79,0,0.36,0)
  288. Script8.Size = UDim2.new(0.20,0,0.15,0)
  289. Script8.Font = "SourceSansBold"
  290. Script8.FontSize = "Size18"
  291. Script8.Text = "Server Admin"
  292. Script8.TextColor3 = rgb(10, 220, 230)
  293. Script8.MouseButton1Down:connect(function()
  294.     require(3004985656).server(plr.Name)
  295. end)
  296.  
  297. local Script9 = Instance.new("TextButton",ScriptsFrame)
  298. Script9.BackgroundColor3 = rgb(15, 60, 200)
  299. Script9.BorderColor3 = rgb(10, 220, 230)
  300. Script9.Name = "Script9"
  301. Script9.Position = UDim2.new(0.01,0,0.56,0)
  302. Script9.Size = UDim2.new(0.20,0,0.15,0)
  303. Script9.Font = "SourceSansBold"
  304. Script9.FontSize = "Size32"
  305. Script9.Text = "Xester"
  306. Script9.TextColor3 = rgb(10, 220, 230)
  307. Script9.MouseButton1Down:connect(function()
  308.     require(2918747265).load(plr.Name)
  309. end)
  310.  
  311. local Script10 = Instance.new("TextButton",ScriptsFrame)
  312. Script10.BackgroundColor3 = rgb(15, 60, 200)
  313. Script10.BorderColor3 = rgb(10, 220, 230)
  314. Script10.Name = "Script10"
  315. Script10.Position = UDim2.new(0.25,0,0.56,0)
  316. Script10.Size = UDim2.new(0.20,0,0.15,0)
  317. Script10.Font = "SourceSansBold"
  318. Script10.FontSize = "Size18"
  319. Script10.Text = "Spectrum Glitcher"
  320. Script10.TextColor3 = rgb(10, 220, 230)
  321. Script10.MouseButton1Down:connect(function()
  322.     require(2930987220).load(plr.Name)
  323. end)
  324.  
  325. local Script11 = Instance.new("TextButton",ScriptsFrame)
  326. Script11.BackgroundColor3 = rgb(15, 60, 200)
  327. Script11.BorderColor3 = rgb(10, 220, 230)
  328. Script11.Name = "Script11"
  329. Script11.Position = UDim2.new(0.55,0,0.56,0)
  330. Script11.Size = UDim2.new(0.20,0,0.15,0)
  331. Script11.Font = "SourceSansBold"
  332. Script11.FontSize = "Size32"
  333. Script11.Text = "Shrike"
  334. Script11.TextColor3 = rgb(10, 220, 230)
  335. Script11.MouseButton1Down:connect(function()
  336.     require(2101877169).shr(plr.Name)
  337. end)
  338.  
  339. local Script12 = Instance.new("TextButton",ScriptsFrame)
  340. Script12.BackgroundColor3 = rgb(15, 60, 200)
  341. Script12.BorderColor3 = rgb(10, 220, 230)
  342. Script12.Name = "Script12"
  343. Script12.Position = UDim2.new(0.79,0,0.56,0)
  344. Script12.Size = UDim2.new(0.20,0,0.15,0)
  345. Script12.Font = "SourceSansBold"
  346. Script12.FontSize = "Size18"
  347. Script12.Text = "Ethereal Glitcher"
  348. Script12.TextColor3 = rgb(10, 220, 230)
  349. Script12.MouseButton1Down:connect(function()
  350.     require(2991936409).load(plr.Name)
  351. end)
  352.  
  353. local Script13 = Instance.new("TextButton",ScriptsFrame)
  354. Script13.BackgroundColor3 = rgb(15, 60, 200)
  355. Script13.BorderColor3 = rgb(10, 220, 230)
  356. Script13.Name = "Script13"
  357. Script13.Position = UDim2.new(0.01,0,0.76,0)
  358. Script13.Size = UDim2.new(0.20,0,0.15,0)
  359. Script13.Font = "SourceSansBold"
  360. Script13.FontSize = "Size28"
  361. Script13.Text = "RuinLX"
  362. Script13.TextColor3 = rgb(10, 220, 230)
  363. Script13.MouseButton1Down:connect(function()
  364.     require(2574148466).lx(plr.Name)
  365. end)
  366.  
  367. end
  368.  
  369. gui(game.Players.TheOfficialSeb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement