daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local studioCheckbox = Instance.new("TextButton")
  2.     studioCheckbox.Font = Enum.Font.ArialBold
  3.     studioCheckbox.FontSize = Enum.FontSize.Size18
  4.     studioCheckbox.Size = UDim2.new(0,500,0,500)
  5.     studioCheckbox.Position = UDim2.new(0,100,0,80)
  6.     studioCheckbox.Style = Enum.ButtonStyle.RobloxButton
  7.     studioCheckbox.TextColor3 = Color3.new(1,1,1)
  8.     studioCheckbox.Name = "StudioCheckbox"
  9.     studioCheckbox.ZIndex = 4
  10.     studioCheckbox.Parent = game.CoreGui.RobloxGui
  11.     local studioLabel = Instance.new("TextLabel")
  12.     studioLabel.BackgroundTransparency = 1
  13.     studioLabel.Font = Enum.Font.ArialBold
  14.     studioLabel.FontSize = Enum.FontSize.Size18
  15.     studioLabel.Size = UDim2.new(0,50,0,25)
  16.     studioLabel.Position = UDim2.new(0,170,0,40)
  17.     studioLabel.Text = "Studio Mode"
  18.     studioLabel.TextColor3 = Color3.new(0,0,0)
  19.     studioLabel.Name = "StudioLabel"
  20.     studioLabel.ZIndex = 4
  21.     studioLabel.Parent = game.CoreGui.RobloxGui
  22.    
  23.     local screenCheckbox = Instance.new("TextButton")
  24.     screenCheckbox.Font = Enum.Font.ArialBold
  25.     screenCheckbox.FontSize = Enum.FontSize.Size18
  26.     screenCheckbox.Size = UDim2.new(0,25,0,25)
  27.     screenCheckbox.Position = UDim2.new(0,20,0,55)
  28.     screenCheckbox.Style = Enum.ButtonStyle.RobloxButton
  29.     screenCheckbox.TextColor3 = Color3.new(1,1,1)
  30.     screenCheckbox.Name = "ScreenCheckbox"
  31.     screenCheckbox.ZIndex = 4
  32.     screenCheckbox.Text = ""
  33.     screenCheckbox.Parent = game.CoreGui.RobloxGui
  34.     local screenLabel = Instance.new("TextLabel")
  35.     screenLabel.BackgroundTransparency = 1
  36.     screenLabel.Font = Enum.Font.ArialBold
  37.     screenLabel.FontSize = Enum.FontSize.Size18
  38.     screenLabel.Size = UDim2.new(0,50,0,25)
  39.     screenLabel.Position = UDim2.new(0,80,0,55)
  40.     screenLabel.Text = "Fullscreen"
  41.     screenLabel.TextColor3 = Color3.new(0,0,0)
  42.     screenLabel.Name = "ScreenLabel"
  43.     screenLabel.ZIndex = 4
  44.     screenLabel.Parent = game.CoreGui.RobloxGui
  45.     pcall(function()
  46.         if UserSettings().GameSettings:InStudioMode() then
  47.             studioCheckbox.Text = "X"
  48.         end
  49.     end)
  50.     pcall(function() studioCheckbox:SetVerb("TogglePlayMode") end)
  51.     studioCheckbox.MouseButton1Click:connect(function()
  52.         if not studioCheckbox.Active then return end
  53.        
  54.         if studioCheckbox.Text == "" then
  55.             studioCheckbox.Text = "X"
  56.         else
  57.             studioCheckbox.Text = ""
  58.         end
  59.     end)
  60.     pcall(function()
  61.         if UserSettings().GameSettings:InFullScreen() then
  62.             screenCheckbox.Text = "X"
  63.         end
  64.     end)
  65.     pcall(function() screenCheckbox:SetVerb("ToggleFullScreen") end)
  66.     screenCheckbox.MouseButton1Click:connect(function()
  67.         if screenCheckbox.Text == "" then
  68.             screenCheckbox.Text = "X"
  69.         else
  70.             screenCheckbox.Text = ""
  71.         end
  72.     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