Advertisement
GAMEZGOD909

Roleplay gui item giver

Sep 18th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. - Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextButton = Instance.new("TextButton")
  9. local TextLabel = Instance.new("TextLabel")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local TextButton_3 = Instance.new("TextButton")
  12. local TextButton_4 = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17.  
  18. Frame.Parent = ScreenGui
  19. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  20. Frame.BackgroundTransparency = 0.550
  21. Frame.Position = UDim2.new(0, 0, -2.89540587e-08, 0)
  22. Frame.Size = UDim2.new(0, 764, 0, 56)
  23.  
  24. TextButton.Parent = ScreenGui
  25. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  26. TextButton.Position = UDim2.new(0, 0, 0.034155596, 0)
  27. TextButton.Size = UDim2.new(0, 123, 0, 37)
  28. TextButton.Font = Enum.Font.Fantasy
  29. TextButton.LineHeight = 0.000
  30. TextButton.Text = "BOBUC"
  31. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  32. TextButton.TextScaled = true
  33. TextButton.TextSize = 14.000
  34. TextButton.TextWrapped = true
  35.  
  36. TextLabel.Parent = ScreenGui
  37. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  38. TextLabel.BackgroundTransparency = 0.550
  39. TextLabel.Position = UDim2.new(0.336387426, 0, -0.00189753319, 0)
  40. TextLabel.Size = UDim2.new(0, 206, 0, 19)
  41. TextLabel.Font = Enum.Font.SourceSans
  42. TextLabel.Text = "Roleplay Gui items"
  43. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  44. TextLabel.TextScaled = true
  45. TextLabel.TextSize = 14.000
  46. TextLabel.TextWrapped = true
  47.  
  48. TextButton_2.Parent = ScreenGui
  49. TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  50. TextButton_2.Position = UDim2.new(0.373036623, 0, 0.034155596, 0)
  51. TextButton_2.Size = UDim2.new(0, 123, 0, 37)
  52. TextButton_2.Font = Enum.Font.JosefinSans
  53. TextButton_2.Text = "BoomBox"
  54. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  55. TextButton_2.TextScaled = true
  56. TextButton_2.TextSize = 14.000
  57. TextButton_2.TextWrapped = true
  58.  
  59. TextButton_3.Parent = ScreenGui
  60. TextButton_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  61. TextButton_3.Position = UDim2.new(0.595549762, 0, 0.034155596, 0)
  62. TextButton_3.Size = UDim2.new(0, 99, 0, 37)
  63. TextButton_3.Font = Enum.Font.PermanentMarker
  64. TextButton_3.Text = "food"
  65. TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  66. TextButton_3.TextScaled = true
  67. TextButton_3.TextSize = 14.000
  68. TextButton_3.TextWrapped = true
  69.  
  70. TextButton_4.Parent = ScreenGui
  71. TextButton_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  72. TextButton_4.Position = UDim2.new(0.774869084, 0, 0.0227703992, 0)
  73. TextButton_4.Size = UDim2.new(0, 114, 0, 43)
  74. TextButton_4.Font = Enum.Font.SourceSans
  75. TextButton_4.Text = "2007"
  76. TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  77. TextButton_4.TextScaled = true
  78. TextButton_4.TextSize = 14.000
  79. TextButton_4.TextWrapped = true
  80.  
  81. -- Scripts:
  82.  
  83. local function LNTDE_fake_script() -- TextButton.LocalScript
  84. local script = Instance.new('LocalScript', TextButton)
  85.  
  86. local tool = game.ReplicatedStorage.Robux--Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
  87. local player = game.Players.LocalPlayer --finds the script's parent, the player.
  88.  
  89. script.Parent.MouseButton1Click:Connect(function() --when clicked, function
  90. tool:Clone() --clones tool
  91. tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
  92. end)
  93. ---------------------------
  94. end
  95. coroutine.wrap(LNTDE_fake_script)()
  96. local function LBVCH_fake_script() -- TextButton_2.LocalScript
  97. local script = Instance.new('LocalScript', TextButton_2)
  98.  
  99. local tool = game.ReplicatedStorage.BoomBox --Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
  100. local player = game.Players.LocalPlayer --finds the script's parent, the player.
  101.  
  102. script.Parent.MouseButton1Click:Connect(function() --when clicked, function
  103. tool:Clone() --clones tool
  104. tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
  105. end)
  106. ---------------------------
  107. end
  108. coroutine.wrap(LBVCH_fake_script)()
  109. local function MXJXWX_fake_script() -- TextButton_3.LocalScript
  110. local script = Instance.new('LocalScript', TextButton_3)
  111.  
  112. local tool = game.ReplicatedStorage.Waffle --Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
  113. local player = game.Players.LocalPlayer --finds the script's parent, the player.
  114.  
  115. script.Parent.MouseButton1Click:Connect(function() --when clicked, function
  116. tool:Clone() --clones tool
  117. tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
  118. end)
  119. ---------------------------
  120. end
  121. coroutine.wrap(MXJXWX_fake_script)()
  122. local function MEKDNK_fake_script() -- TextButton_4.LocalScript
  123. local script = Instance.new('LocalScript', TextButton_4)
  124.  
  125. local tool = game.ReplicatedStorage["old roblox"] --Refers "tool" as game.ReplicatedStorage.YourTool. Put your tool name in the ClassicSword.
  126. local player = game.Players.LocalPlayer --finds the script's parent, the player.
  127.  
  128. script.Parent.MouseButton1Click:Connect(function() --when clicked, function
  129. tool:Clone() --clones tool
  130. tool:Clone().Parent = player.Backpack --has the cloned tool's parent the player's Backpack
  131. end)
  132. ---------------------------
  133. end
  134. coroutine.wrap(MEKDNK_fake_script)()
  135.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement