Advertisement
Aeyao

mikes facechange

Apr 2nd, 2016
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. admins = "MikeSchmidt90"
  2.  
  3. wait(4)
  4. print("FacePlayer by ASBF loaded")
  5.  
  6. oldanbient = game.Lighting.OutdoorAmbient
  7. gui = Instance.new("ScreenGui")
  8.  
  9.  
  10. gui.Parent = game.Players[admins].PlayerGui
  11.  
  12.  
  13.  
  14. frame = Instance.new("Frame")
  15. frame.Parent = gui
  16. frame.Size = UDim2.new(0.2, 0, 0.2, 0)
  17. frame.Position = UDim2.new(0.6,0,0,0)
  18. frame.BackgroundTransparency = 0.5
  19.  
  20. button = Instance.new("TextButton")
  21. button.Parent = gui.Frame
  22. button.Size = UDim2.new(1, 0, 0.4, 0)
  23. button.Text = "Change Someones Face!"
  24. button.BackgroundTransparency = 0.5
  25.  
  26. imput = Instance.new("TextBox")
  27. imput.Parent = frame
  28. imput.Size = UDim2.new(1, 0, 0.4, 0)
  29. imput.Position = UDim2.new(0.0, 0, 0.4, 0)
  30. imput.Text = "Player name here"
  31. imput.BackgroundTransparency = 0.5
  32.  
  33. id = Instance.new("TextBox")
  34. id.Parent = frame
  35. id.Size = UDim2.new(1, 0, 0.4, 0)
  36. id.Position = UDim2.new(0.0, 0, 0.9, 0)
  37. id.Text = "Decal ID"
  38. id.BackgroundTransparency = 0.5
  39.  
  40. function onClick(v)
  41.  
  42. workspace[imput.Text].Head.face.Texture = "http://www.roblox.com/asset/?id=" .. id.Text
  43.  
  44.  
  45. end
  46.  
  47. button.MouseButton1Down:connect(onClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement