Advertisement
Meliodas0_0

Lua GUI

Aug 15th, 2019
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. local LuaU = Instance.new("ScreenGui")
  2. local LitShit = Instance.new("Frame")
  3. local Frame = Instance.new("Frame")
  4. local TextLabel = Instance.new("TextLabel")
  5. local Execute = Instance.new("TextButton")
  6. local Code = Instance.new("TextBox")
  7. --Properties:
  8. LuaU.Name = "LuaU"
  9. LuaU.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10. LuaU.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. LitShit.Name = "LitShit"
  13. LitShit.Parent = LuaU
  14. LitShit.BackgroundColor3 = Color3.new(0.541176, 0.541176, 0.541176)
  15. LitShit.Position = UDim2.new(0.255218118, 0, 0.237658486, 0)
  16. LitShit.Size = UDim2.new(0, 480, 0, 217)
  17.  
  18. Frame.Parent = LitShit
  19. Frame.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  20. Frame.Size = UDim2.new(0, 480, 0, 40)
  21.  
  22. TextLabel.Parent = Frame
  23. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  24. TextLabel.BackgroundTransparency = 1
  25. TextLabel.Position = UDim2.new(0.0270833336, 0, 0.186866373, 0)
  26. TextLabel.Size = UDim2.new(0, 187, 0, 25)
  27. TextLabel.Font = Enum.Font.ArialBold
  28. TextLabel.Text = "LitShit GUI"
  29. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  30. TextLabel.TextScaled = true
  31. TextLabel.TextSize = 14
  32. TextLabel.TextWrapped = true
  33. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  34.  
  35. Execute.Name = "Execute"
  36. Execute.Parent = LitShit
  37. Execute.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  38. Execute.Position = UDim2.new(0.020833334, 0, 0.820276439, 0)
  39. Execute.Size = UDim2.new(0, 460, 0, 30)
  40. Execute.Font = Enum.Font.ArialBold
  41. Execute.Text = "Execute that shit"
  42. Execute.TextColor3 = Color3.new(1, 1, 1)
  43. Execute.TextScaled = true
  44. Execute.TextSize = 14
  45. Execute.TextWrapped = true
  46.  
  47. Code.Name = "Code"
  48. Code.Parent = LitShit
  49. Code.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118)
  50. Code.Position = UDim2.new(0.0204271376, 0, 0.230679989, 0)
  51. Code.Size = UDim2.new(0, 460, 0, 115)
  52. Code.Font = Enum.Font.SourceSans
  53. Code.Text = "print(\"LuaU Execution\")"
  54. Code.TextColor3 = Color3.new(1, 1, 1)
  55. Code.TextSize = 14
  56. Code.TextXAlignment = Enum.TextXAlignment.Left
  57. Code.TextYAlignment = Enum.TextYAlignment.Top
  58. -- Scripts:
  59. function SCRIPT_CANS71_FAKESCRIPT() -- Execute.Script
  60. local script = Instance.new('Script')
  61. script.Parent = Execute
  62. script.Parent.MouseButton1Click:connect(function()
  63. loadstring(script.Parent.Parent.Code.Text)()
  64. end)
  65.  
  66. end
  67. coroutine.resume(coroutine.create(SCRIPT_CANS71_FAKESCRIPT))
  68.  
  69. frame = LitShit
  70. frame.Draggable = true
  71. frame.Active = true
  72. frame.Selectable = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement