Advertisement
Guest User

Face Gui for Roblox

a guest
Jan 18th, 2020
541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local Char = game.Players.LocalPlayer.Character
  7. local ScreenGui = Instance.new("ScreenGui")
  8. local TextButton = Instance.new("TextButton")
  9. local Frame = Instance.new("Frame")
  10. local TextLabel = Instance.new("TextLabel")
  11. local FaceI = Instance.new("ImageButton")
  12. local FaceII = Instance.new("ImageButton")
  13. local FaceIII = Instance.new("ImageButton")
  14. local FaceIV = Instance.new("ImageButton")
  15. local FaceV = Instance.new("ImageButton")
  16. local FaceVI = Instance.new("ImageButton")
  17. local Close = Instance.new("TextButton")
  18.  
  19. --Properties:
  20.  
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. TextButton.Parent = ScreenGui
  25. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  26. TextButton.BackgroundTransparency = 1.000
  27. TextButton.BorderSizePixel = 3
  28. TextButton.Position = UDim2.new(0.886055768, 0, 0.50512445, 0)
  29. TextButton.Size = UDim2.new(0, 143, 0, 44)
  30. TextButton.Font = Enum.Font.Cartoon
  31. TextButton.Text = "Open"
  32. TextButton.TextColor3 = Color3.fromRGB(151, 254, 255)
  33. TextButton.TextScaled = true
  34. TextButton.TextSize = 14.000
  35. TextButton.TextWrapped = true
  36.  
  37. Frame.Parent = ScreenGui
  38. Frame.Active = true
  39. Frame.BackgroundColor3 = Color3.fromRGB(63, 243, 13)
  40. Frame.BorderSizePixel = 0
  41. Frame.Position = UDim2.new(0.253386468, 0, 0.335285515, 0)
  42. Frame.Size = UDim2.new(0, 221, 0, 348)
  43. Frame.Visible = false
  44. Frame.Style = Enum.FrameStyle.DropShadow
  45.  
  46. TextLabel.Parent = Frame
  47. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  48. TextLabel.BackgroundTransparency = 1.000
  49. TextLabel.Position = UDim2.new(0.00904977415, 0, 0, 0)
  50. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  51. TextLabel.Font = Enum.Font.GothamBlack
  52. TextLabel.Text = "Face Changer"
  53. TextLabel.TextColor3 = Color3.fromRGB(80, 174, 255)
  54. TextLabel.TextScaled = true
  55. TextLabel.TextSize = 14.000
  56. TextLabel.TextStrokeColor3 = Color3.fromRGB(68, 177, 102)
  57. TextLabel.TextWrapped = true
  58.  
  59. FaceI.Name = "FaceI"
  60. FaceI.Parent = Frame
  61. FaceI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  62. FaceI.BackgroundTransparency = 1.000
  63. FaceI.Position = UDim2.new(0.0139339641, 0, 0.132869676, 0)
  64. FaceI.Size = UDim2.new(0, 73, 0, 72)
  65. FaceI.Image = "http://www.roblox.com/asset/?id=275614649"
  66.  
  67. FaceII.Name = "FaceII"
  68. FaceII.Parent = Frame
  69. FaceII.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  70. FaceII.BackgroundTransparency = 1.000
  71. FaceII.Position = UDim2.new(0.321626276, 0, 0.132869676, 0)
  72. FaceII.Size = UDim2.new(0, 73, 0, 72)
  73. FaceII.Image = "rbxassetid://2154297942"
  74.  
  75. FaceIII.Name = "FaceIII"
  76. FaceIII.Parent = Frame
  77. FaceIII.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  78. FaceIII.BackgroundTransparency = 1.000
  79. FaceIII.Position = UDim2.new(0.656467915, 0, 0.132869676, 0)
  80. FaceIII.Size = UDim2.new(0, 73, 0, 72)
  81. FaceIII.Image = "rbxassetid://2410435220"
  82.  
  83. FaceIV.Name = "FaceIV"
  84. FaceIV.Parent = Frame
  85. FaceIV.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  86. FaceIV.BackgroundTransparency = 1.000
  87. FaceIV.Position = UDim2.new(0.0139339566, 0, 0.377122551, 0)
  88. FaceIV.Size = UDim2.new(0, 73, 0, 72)
  89. FaceIV.Image = "rbxassetid://4348493372"
  90.  
  91. FaceV.Name = "FaceV"
  92. FaceV.Parent = Frame
  93. FaceV.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  94. FaceV.BackgroundTransparency = 1.000
  95. FaceV.Position = UDim2.new(0.344250709, 0, 0.377122551, 0)
  96. FaceV.Size = UDim2.new(0, 73, 0, 72)
  97. FaceV.Image = "http://www.roblox.com/asset/?id=205375662"
  98.  
  99. FaceVI.Name = "FaceVI"
  100. FaceVI.Parent = Frame
  101. FaceVI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  102. FaceVI.BackgroundTransparency = 1.000
  103. FaceVI.Position = UDim2.new(0.651943028, 0, 0.377122551, 0)
  104. FaceVI.Size = UDim2.new(0, 73, 0, 72)
  105. FaceVI.Image = "http://www.roblox.com/asset/?id=362505168"
  106.  
  107. Close.Name = "Close"
  108. Close.Parent = ScreenGui
  109. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  110. Close.BackgroundTransparency = 1.000
  111. Close.BorderSizePixel = 3
  112. Close.Position = UDim2.new(0.886055768, 0, 0.424597353, 0)
  113. Close.Size = UDim2.new(0, 143, 0, 44)
  114. Close.Font = Enum.Font.Cartoon
  115. Close.Text = "Close"
  116. Close.TextColor3 = Color3.fromRGB(151, 254, 255)
  117. Close.TextScaled = true
  118. Close.TextSize = 14.000
  119. Close.TextWrapped = true
  120.  
  121. -- Scripts:
  122. TextButton.MouseButton1Click:Connect(function()
  123. Frame.Visible = true
  124. end)
  125.  
  126. Close.MouseButton1Click:Connect(function()
  127. Frame.Visible = false
  128. end)
  129.  
  130. FaceI.MouseButton1Click:Connect(function()
  131. Char.Head.face.Texture = "http://www.roblox.com/asset/?id=275614649"
  132. end)
  133.  
  134. FaceII.MouseButton1Click:Connect(function()
  135. Char.Head.face.Texture = "rbxassetid://2154297942"
  136. end)
  137.  
  138. FaceIII.MouseButton1Click:Connect(function()
  139. Char.Head.face.Texture = "rbxassetid://2410435220"
  140. end)
  141.  
  142. FaceIV.MouseButton1Click:Connect(function()
  143. Char.Head.face.Texture = "rbxassetid://4348493372"
  144. end)
  145.  
  146. FaceV.MouseButton1Click:Connect(function()
  147. Char.Head.face.Texture = "http://www.roblox.com/asset/?id=205375662"
  148. end)
  149.  
  150. FaceVI.MouseButton1Click:Connect(function()
  151. Char.Head.face.Texture = "http://www.roblox.com/asset/?id=362505168"
  152. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement