Advertisement
SWP360_Hacked

GetTorsoGUI

May 21st, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. -- Objects
  2. local np = Instance.new("Part")
  3. local plr = game.Players.LocalPlayer
  4. local GetTorsoGUI = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local GetTorsButton = Instance.new("TextButton")
  7. local Userbox = Instance.new("TextBox")
  8.  
  9. -- Properties
  10.  
  11. GetTorsoGUI.Name = "GetTorsoGUI"
  12. GetTorsoGUI.Parent = plr.PlayerGui
  13.  
  14. Frame.Parent = GetTorsoGUI
  15. Frame.Active = true
  16. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  17. Frame.BackgroundTransparency = 0.5
  18. Frame.BorderSizePixel = 0
  19. Frame.Position = UDim2.new(0.254452914, 0, 0.333333343, 0)
  20. Frame.Size = UDim2.new(0, 387, 0, 168)
  21. Frame.Draggable = true
  22.  
  23. GetTorsButton.Name = "GetTorsButton"
  24. GetTorsButton.Parent = Frame
  25. GetTorsButton.BackgroundColor3 = Color3.new(0, 0, 0)
  26. GetTorsButton.BorderSizePixel = 0
  27. GetTorsButton.Position = UDim2.new(0.0490956083, 0, 0.583061397, 0)
  28. GetTorsButton.Size = UDim2.new(0, 348, 0, 50)
  29. GetTorsButton.Font = Enum.Font.SourceSans
  30. GetTorsButton.Text = "Get Torso"
  31. GetTorsButton.TextColor3 = Color3.new(1, 1, 1)
  32. GetTorsButton.TextScaled = true
  33. GetTorsButton.TextSize = 14
  34. GetTorsButton.TextWrapped = true
  35.  
  36. Userbox.Name = "Userbox"
  37. Userbox.Parent = Frame
  38. Userbox.BackgroundColor3 = Color3.new(0, 0, 0)
  39. Userbox.BorderSizePixel = 0
  40. Userbox.Position = UDim2.new(0.0490956046, 0, 0.101522848, 0)
  41. Userbox.Size = UDim2.new(0, 348, 0, 50)
  42. Userbox.Font = Enum.Font.SourceSans
  43. Userbox.Text = "Username"
  44. Userbox.TextColor3 = Color3.new(1, 1, 1)
  45. Userbox.TextScaled = true
  46. Userbox.TextSize = 14
  47. Userbox.TextWrapped = true
  48.  
  49. Part0 = Instance.new("Part")
  50.  
  51. GetTorsButton.MouseButton1Down:connect(function()
  52. Part0.Name = "UpperTorso"
  53. Part0.Anchored = false
  54. Part0.Parent = game.Workspace[Userbox]
  55. Part0.Size = Vector3.new(6.9800005, 7.50999928, 8.42999649)
  56. Part0.BottomSurface = Enum.SurfaceType.Smooth
  57. Part0.TopSurface = Enum.SurfaceType.Smooth
  58. end)
  59.  
  60.  
  61.  
  62.  
  63. GetTorsButton.MouseButton1Down:connect(function()
  64. if game.Workspace[Userbox.Text]:FindFirstChildOfClass("Humanoid").RigType ==
  65. Enum.HumanoidRigType.R15 then
  66. Part0.Name = "Torso"
  67. Part0.Anchored = false
  68. Part0.Parent = game.Workspace[Userbox]
  69. Part0.Size = Vector3.new(6.9800005, 7.50999928, 8.42999649)
  70. Part0.BottomSurface = Enum.SurfaceType.Smooth
  71. Part0.TopSurface = Enum.SurfaceType.Smooth
  72. else
  73. Part0.Name = "UpperTorso"
  74. Part0.Anchored = false
  75. Part0.Parent = game.Workspace[Userbox]
  76. Part0.Size = Vector3.new(6.9800005, 7.50999928, 8.42999649)
  77. Part0.BottomSurface = Enum.SurfaceType.Smooth
  78. Part0.TopSurface = Enum.SurfaceType.Smooth
  79. end
  80. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement