Advertisement
Guest User

Face Gui (Roblox)

a guest
Jan 17th, 2020
5,055
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.Draggable = true
  38. Frame.Parent = ScreenGui
  39. Frame.Active = true
  40. Frame.BackgroundColor3 = Color3.fromRGB(63, 243, 13)
  41. Frame.BorderSizePixel = 0
  42. Frame.Position = UDim2.new(0.253386468, 0, 0.335285515, 0)
  43. Frame.Size = UDim2.new(0, 221, 0, 348)
  44. Frame.Visible = false
  45. Frame.Style = Enum.FrameStyle.DropShadow
  46.  
  47. TextLabel.Parent = Frame
  48. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  49. TextLabel.BackgroundTransparency = 1.000
  50. TextLabel.Position = UDim2.new(0.00904977415, 0, 0, 0)
  51. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  52. TextLabel.Font = Enum.Font.GothamBlack
  53. TextLabel.Text = "Face Changer"
  54. TextLabel.TextColor3 = Color3.fromRGB(80, 174, 255)
  55. TextLabel.TextScaled = true
  56. TextLabel.TextSize = 14.000
  57. TextLabel.TextStrokeColor3 = Color3.fromRGB(68, 177, 102)
  58. TextLabel.TextWrapped = true
  59.  
  60. FaceI.Name = "FaceI"
  61. FaceI.Parent = Frame
  62. FaceI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. FaceI.BackgroundTransparency = 1.000
  64. FaceI.Position = UDim2.new(0.0139339641, 0, 0.132869676, 0)
  65. FaceI.Size = UDim2.new(0, 73, 0, 72)
  66. FaceI.Image = "http://www.roblox.com/asset/?id=275614649"
  67.  
  68. FaceII.Name = "FaceII"
  69. FaceII.Parent = Frame
  70. FaceII.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  71. FaceII.BackgroundTransparency = 1.000
  72. FaceII.Position = UDim2.new(0.321626276, 0, 0.132869676, 0)
  73. FaceII.Size = UDim2.new(0, 73, 0, 72)
  74. FaceII.Image = "rbxassetid://2154297942"
  75.  
  76. FaceIII.Name = "FaceIII"
  77. FaceIII.Parent = Frame
  78. FaceIII.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  79. FaceIII.BackgroundTransparency = 1.000
  80. FaceIII.Position = UDim2.new(0.656467915, 0, 0.132869676, 0)
  81. FaceIII.Size = UDim2.new(0, 73, 0, 72)
  82. FaceIII.Image = "rbxassetid://2410435220"
  83.  
  84. FaceIV.Name = "FaceIV"
  85. FaceIV.Parent = Frame
  86. FaceIV.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  87. FaceIV.BackgroundTransparency = 1.000
  88. FaceIV.Position = UDim2.new(0.0139339566, 0, 0.377122551, 0)
  89. FaceIV.Size = UDim2.new(0, 73, 0, 72)
  90. FaceIV.Image = "rbxassetid://4348493372"
  91.  
  92. FaceV.Name = "FaceV"
  93. FaceV.Parent = Frame
  94. FaceV.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  95. FaceV.BackgroundTransparency = 1.000
  96. FaceV.Position = UDim2.new(0.344250709, 0, 0.377122551, 0)
  97. FaceV.Size = UDim2.new(0, 73, 0, 72)
  98. FaceV.Image = "http://www.roblox.com/asset/?id=205375662"
  99.  
  100. FaceVI.Name = "FaceVI"
  101. FaceVI.Parent = Frame
  102. FaceVI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  103. FaceVI.BackgroundTransparency = 1.000
  104. FaceVI.Position = UDim2.new(0.651943028, 0, 0.377122551, 0)
  105. FaceVI.Size = UDim2.new(0, 73, 0, 72)
  106. FaceVI.Image = "http://www.roblox.com/asset/?id=362505168"
  107.  
  108. Close.Name = "Close"
  109. Close.Parent = ScreenGui
  110. Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  111. Close.BackgroundTransparency = 1.000
  112. Close.BorderSizePixel = 3
  113. Close.Position = UDim2.new(0.886055768, 0, 0.424597353, 0)
  114. Close.Size = UDim2.new(0, 143, 0, 44)
  115. Close.Font = Enum.Font.Cartoon
  116. Close.Text = "Close"
  117. Close.TextColor3 = Color3.fromRGB(151, 254, 255)
  118. Close.TextScaled = true
  119. Close.TextSize = 14.000
  120. Close.TextWrapped = true
  121.  
  122. -- Scripts:
  123. TextButton.MouseButton1Click:Connect(function()
  124. Frame.Visible = true
  125. end)
  126.  
  127. Close.MouseButton1Click:Connect(function()
  128. Frame.Visible = false
  129. end)
  130.  
  131. FaceI.MouseButton1Click:Connect(function()
  132. Char.face.Texture = "http://www.roblox.com/asset/?id=275614649"
  133. end)
  134.  
  135. FaceII.MouseButton1Click:Connect(function()
  136. Char.face.Texture = "rbxassetid://2154297942"
  137. end)
  138.  
  139. FaceIII.MouseButton1Click:Connect(function()
  140. Char.face.Texture = "rbxassetid://2410435220"
  141. end)
  142.  
  143. FaceIV.MouseButton1Click:Connect(function()
  144. Char.face.Texture = "rbxassetid://4348493372"
  145. end)
  146.  
  147. FaceV.MouseButton1Click:Connect(function()
  148. Char.face.Texture = "http://www.roblox.com/asset/?id=205375662"
  149. end)
  150.  
  151. FaceVI.MouseButton1Click:Connect(function()
  152. Char.face.Texture = "http://www.roblox.com/asset/?id=362505168"
  153. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement