Advertisement
Guest User

boobs script lol

a guest
Jan 26th, 2019
14,563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.86 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. Part3 = Instance.new("Part")
  23. SpecialMesh4 = Instance.new("SpecialMesh")
  24. Part5 = Instance.new("Part")
  25. SpecialMesh6 = Instance.new("SpecialMesh")
  26. Part7 = Instance.new("Part")
  27. SpecialMesh8 = Instance.new("SpecialMesh")
  28. Part9 = Instance.new("Part")
  29. SpecialMesh10 = Instance.new("SpecialMesh")
  30. Part11 = Instance.new("Part")
  31. SpecialMesh12 = Instance.new("SpecialMesh")
  32. Part13 = Instance.new("Part")
  33. Script14 = Instance.new("Script")
  34. Script15 = Instance.new("Script")
  35. Script16 = Instance.new("Script")
  36. Model0.Name = "some titties"
  37. Model0.Parent = mas
  38. Part1.Name = "Lol, you're overly curious and here you are now."
  39. Part1.Parent = Model0
  40. Part1.CFrame = CFrame.new(-10.7180319, 3.40425158, -36.4132843, 1, 2.27001919e-06, 1.25453334e-06, 2.59361445e-06, 0.874624372, 0.484807342, -3.278668e-09, -0.484808862, 0.874624372)
  41. Part1.Orientation = Vector3.new(-29, 0, 0)
  42. Part1.Position = Vector3.new(-10.7180319, 3.40425158, -36.4132843)
  43. Part1.Rotation = Vector3.new(-29, 0, 0)
  44. Part1.Color = Color3.new(0.72549, 0.439216, 0.27451)
  45. Part1.Size = Vector3.new(1.10785043, 1.10785043, 1.3188709)
  46. Part1.Anchored = true
  47. Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  48. Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  49. Part1.BrickColor = BrickColor.new("Br. reddish orange")
  50. Part1.CanCollide = false
  51. Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  52. Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  53. Part1.Material = Enum.Material.SmoothPlastic
  54. Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  55. Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  56. Part1.brickColor = BrickColor.new("Br. reddish orange")
  57. SpecialMesh2.Parent = Part1
  58. SpecialMesh2.MeshType = Enum.MeshType.Sphere
  59. Part3.Name = "Lol, you're overly curious and here you are now."
  60. Part3.Parent = Model0
  61. Part3.CFrame = CFrame.new(-10.7180328, 3.09732962, -36.9669533, 1, 1.25453334e-06, -2.27001919e-06, 2.59361445e-06, 0.484807342, -0.874624372, -3.278668e-09, 0.874624372, 0.484808862)
  62. Part3.Orientation = Vector3.new(61, 0, 0)
  63. Part3.Position = Vector3.new(-10.7180328, 3.09732962, -36.9669533)
  64. Part3.Rotation = Vector3.new(61, 0, 0)
  65. Part3.Color = Color3.new(1, 0.34902, 0.34902)
  66. Part3.Size = Vector3.new(0.263775408, 0.0527550802, 0.263775408)
  67. Part3.Anchored = true
  68. Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  69. Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  70. Part3.BrickColor = BrickColor.new("Persimmon")
  71. Part3.CanCollide = false
  72. Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  73. Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  74. Part3.Material = Enum.Material.SmoothPlastic
  75. Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  76. Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  77. Part3.brickColor = BrickColor.new("Persimmon")
  78. SpecialMesh4.Parent = Part3
  79. SpecialMesh4.MeshType = Enum.MeshType.Sphere
  80. Part5.Name = "Lol, you're overly curious and here you are now."
  81. Part5.Parent = Model0
  82. Part5.CFrame = CFrame.new(-10.7180328, 3.09732962, -36.9669533, 1, 1.25453334e-06, -2.27001919e-06, 2.59361445e-06, 0.484807342, -0.874624372, -3.278668e-09, 0.874624372, 0.484808862)
  83. Part5.Orientation = Vector3.new(61, 0, 0)
  84. Part5.Position = Vector3.new(-10.7180328, 3.09732962, -36.9669533)
  85. Part5.Rotation = Vector3.new(61, 0, 0)
  86. Part5.Color = Color3.new(1, 0.34902, 0.34902)
  87. Part5.Size = Vector3.new(0.158265248, 0.158265248, 0.158265248)
  88. Part5.Anchored = true
  89. Part5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  90. Part5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  91. Part5.BrickColor = BrickColor.new("Persimmon")
  92. Part5.CanCollide = false
  93. Part5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  94. Part5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  95. Part5.Material = Enum.Material.SmoothPlastic
  96. Part5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  97. Part5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  98. Part5.brickColor = BrickColor.new("Persimmon")
  99. SpecialMesh6.Parent = Part5
  100. SpecialMesh6.MeshType = Enum.MeshType.Sphere
  101. Part7.Name = "Lol, you're overly curious and here you are now."
  102. Part7.Parent = Model0
  103. Part7.CFrame = CFrame.new(-11.6148739, 3.40424919, -36.4132843, 1, 2.27001919e-06, 1.25453334e-06, 2.59361445e-06, 0.874624372, 0.484807342, -3.278668e-09, -0.484808862, 0.874624372)
  104. Part7.Orientation = Vector3.new(-29, 0, 0)
  105. Part7.Position = Vector3.new(-11.6148739, 3.40424919, -36.4132843)
  106. Part7.Rotation = Vector3.new(-29, 0, 0)
  107. Part7.Color = Color3.new(0.72549, 0.439216, 0.27451)
  108. Part7.Size = Vector3.new(1.10785043, 1.10785043, 1.3188709)
  109. Part7.Anchored = true
  110. Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  111. Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  112. Part7.BrickColor = BrickColor.new("Br. reddish orange")
  113. Part7.CanCollide = false
  114. Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  115. Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  116. Part7.Material = Enum.Material.SmoothPlastic
  117. Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  118. Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  119. Part7.brickColor = BrickColor.new("Br. reddish orange")
  120. SpecialMesh8.Parent = Part7
  121. SpecialMesh8.MeshType = Enum.MeshType.Sphere
  122. Part9.Name = "Lol, you're overly curious and here you are now."
  123. Part9.Parent = Model0
  124. Part9.CFrame = CFrame.new(-11.6148748, 3.09732771, -36.9669533, 1, 1.25453334e-06, -2.27001919e-06, 2.59361445e-06, 0.484807342, -0.874624372, -3.278668e-09, 0.874624372, 0.484808862)
  125. Part9.Orientation = Vector3.new(61, 0, 0)
  126. Part9.Position = Vector3.new(-11.6148748, 3.09732771, -36.9669533)
  127. Part9.Rotation = Vector3.new(61, 0, 0)
  128. Part9.Color = Color3.new(1, 0.34902, 0.34902)
  129. Part9.Size = Vector3.new(0.263775408, 0.0527550802, 0.263775408)
  130. Part9.Anchored = true
  131. Part9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  132. Part9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  133. Part9.BrickColor = BrickColor.new("Persimmon")
  134. Part9.CanCollide = false
  135. Part9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  136. Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  137. Part9.Material = Enum.Material.SmoothPlastic
  138. Part9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  139. Part9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  140. Part9.brickColor = BrickColor.new("Persimmon")
  141. SpecialMesh10.Parent = Part9
  142. SpecialMesh10.MeshType = Enum.MeshType.Sphere
  143. Part11.Name = "Lol, you're overly curious and here you are now."
  144. Part11.Parent = Model0
  145. Part11.CFrame = CFrame.new(-11.6148748, 3.09732771, -36.9669533, 1, 1.25453334e-06, -2.27001919e-06, 2.59361445e-06, 0.484807342, -0.874624372, -3.278668e-09, 0.874624372, 0.484808862)
  146. Part11.Orientation = Vector3.new(61, 0, 0)
  147. Part11.Position = Vector3.new(-11.6148748, 3.09732771, -36.9669533)
  148. Part11.Rotation = Vector3.new(61, 0, 0)
  149. Part11.Color = Color3.new(1, 0.34902, 0.34902)
  150. Part11.Size = Vector3.new(0.158265248, 0.158265248, 0.158265248)
  151. Part11.Anchored = true
  152. Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  153. Part11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  154. Part11.BrickColor = BrickColor.new("Persimmon")
  155. Part11.CanCollide = false
  156. Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  157. Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  158. Part11.Material = Enum.Material.SmoothPlastic
  159. Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  160. Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  161. Part11.brickColor = BrickColor.new("Persimmon")
  162. SpecialMesh12.Parent = Part11
  163. SpecialMesh12.MeshType = Enum.MeshType.Sphere
  164. Part13.Name = "fucking torso"
  165. Part13.Parent = Model0
  166. Part13.CFrame = CFrame.new(-11, 3, -35.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  167. Part13.Position = Vector3.new(-11, 3, -35.5)
  168. Part13.Transparency = 1
  169. Part13.Size = Vector3.new(2, 2, 1)
  170. Part13.BottomSurface = Enum.SurfaceType.Smooth
  171. Part13.TopSurface = Enum.SurfaceType.Smooth
  172. Script14.Parent = Part13
  173. table.insert(cors,sandbox(Script14,function()
  174. wait (2)
  175. local char = owner.Character
  176. local weld = Instance.new("Weld",script.Parent)
  177. weld.Part0 = script.Parent
  178. weld.Part1 = char.Torso
  179.  
  180. end))
  181. Script15.Parent = Model0
  182. table.insert(cors,sandbox(Script15,function()
  183. local player = owner
  184. local char = player.Character
  185. script.Parent.Parent = char
  186.  
  187.  
  188. end))
  189. Script16.Name = "qPerfectionWeld"
  190. Script16.Parent = Model0
  191. table.insert(cors,sandbox(Script16,function()
  192. -- Created by Quenty (@Quenty, follow me on twitter).
  193. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  194. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  195.  
  196. --[[ INSTRUCTIONS
  197. - Place in the model
  198. - Make sure model is anchored
  199. - That's it. It will weld the model and all children.
  200.  
  201. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  202. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  203. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  204. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  205. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  206. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  207. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  208. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  209.  
  210. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  211. ]]
  212.  
  213. --[[ DOCUMENTATION
  214. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  215. - Will work in PBS servers
  216. - Will work as long as it starts out with the part anchored
  217. - Stores the relative CFrame as a CFrame value
  218. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  219. - Utilizes a recursive algorith to find all parts in the model
  220. - Will reweld on script reparent if the script is initially parented to a tool.
  221. - Welds as fast as possible
  222. ]]
  223.  
  224. -- qPerfectionWeld.lua
  225. -- Created 10/6/2014
  226. -- Author: Quenty
  227. -- Version 1.0.3
  228.  
  229. -- Updated 10/14/2014 - Updated to 1.0.1
  230. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  231.  
  232. -- Updated 10/14/2014 - Updated to 1.0.2
  233. --- Fixed bug fix.
  234.  
  235. -- Updated 10/14/2014 - Updated to 1.0.3
  236. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  237.  
  238. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  239.  
  240.  
  241. local function CallOnChildren(Instance, FunctionToCall)
  242. -- Calls a function on each of the children of a certain object, using recursion.
  243.  
  244. FunctionToCall(Instance)
  245.  
  246. for _, Child in next, Instance:GetChildren() do
  247. CallOnChildren(Child, FunctionToCall)
  248. end
  249. end
  250.  
  251. local function GetNearestParent(Instance, ClassName)
  252. -- Returns the nearest parent of a certain class, or returns nil
  253.  
  254. local Ancestor = Instance
  255. repeat
  256. Ancestor = Ancestor.Parent
  257. if Ancestor == nil then
  258. return nil
  259. end
  260. until Ancestor:IsA(ClassName)
  261.  
  262. return Ancestor
  263. end
  264.  
  265. local function GetBricks(StartInstance)
  266. local List = {}
  267.  
  268. -- if StartInstance:IsA("BasePart") then
  269. -- List[#List+1] = StartInstance
  270. -- end
  271.  
  272. CallOnChildren(StartInstance, function(Item)
  273. if Item:IsA("BasePart") then
  274. List[#List+1] = Item;
  275. end
  276. end)
  277.  
  278. return List
  279. end
  280.  
  281. local function Modify(Instance, Values)
  282. -- Modifies an Instance by using a table.
  283.  
  284. assert(type(Values) == "table", "Values is not a table");
  285.  
  286. for Index, Value in next, Values do
  287. if type(Index) == "number" then
  288. Value.Parent = Instance
  289. else
  290. Instance[Index] = Value
  291. end
  292. end
  293. return Instance
  294. end
  295.  
  296. local function Make(ClassType, Properties)
  297. -- Using a syntax hack to create a nice way to Make new items.
  298.  
  299. return Modify(Instance.new(ClassType), Properties)
  300. end
  301.  
  302. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  303. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  304.  
  305. local function HasWheelJoint(Part)
  306. for _, SurfaceName in pairs(Surfaces) do
  307. for _, HingSurfaceName in pairs(HingSurfaces) do
  308. if Part[SurfaceName].Name == HingSurfaceName then
  309. return true
  310. end
  311. end
  312. end
  313.  
  314. return false
  315. end
  316.  
  317. local function ShouldBreakJoints(Part)
  318. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  319. -- definitely some edge cases.
  320.  
  321. if NEVER_BREAK_JOINTS then
  322. return false
  323. end
  324.  
  325. if HasWheelJoint(Part) then
  326. return false
  327. end
  328.  
  329. local Connected = Part:GetConnectedParts()
  330.  
  331. if #Connected == 1 then
  332. return false
  333. end
  334.  
  335. for _, Item in pairs(Connected) do
  336. if HasWheelJoint(Item) then
  337. return false
  338. elseif not Item:IsDescendantOf(script.Parent) then
  339. return false
  340. end
  341. end
  342.  
  343. return true
  344. end
  345.  
  346. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  347. --- Weld's 2 parts together
  348. -- @param Part0 The first part
  349. -- @param Part1 The second part (Dependent part most of the time).
  350. -- @param [JointType] The type of joint. Defaults to weld.
  351. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  352. -- @return The weld created.
  353.  
  354. JointType = JointType or "Weld"
  355. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  356.  
  357. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  358. Modify(NewWeld, {
  359. Name = "qCFrameWeldThingy";
  360. Part0 = Part0;
  361. Part1 = Part1;
  362. C0 = CFrame.new();--Part0.CFrame:inverse();
  363. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  364. Parent = Part1;
  365. })
  366.  
  367. if not RelativeValue then
  368. RelativeValue = Make("CFrameValue", {
  369. Parent = Part1;
  370. Name = "qRelativeCFrameWeldValue";
  371. Archivable = true;
  372. Value = NewWeld.C1;
  373. })
  374. end
  375.  
  376. return NewWeld
  377. end
  378.  
  379. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  380. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  381. -- @param MainPart The part to weld the model to (can be in the model).
  382. -- @param [JointType] The type of joint. Defaults to weld.
  383. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  384.  
  385. for _, Part in pairs(Parts) do
  386. if ShouldBreakJoints(Part) then
  387. Part:BreakJoints()
  388. end
  389. end
  390.  
  391. for _, Part in pairs(Parts) do
  392. if Part ~= MainPart then
  393. WeldTogether(MainPart, Part, JointType, MainPart)
  394. end
  395. end
  396.  
  397. if not DoNotUnanchor then
  398. for _, Part in pairs(Parts) do
  399. Part.Anchored = false
  400. end
  401. MainPart.Anchored = false
  402. end
  403. end
  404.  
  405. local function PerfectionWeld()
  406. local Tool = GetNearestParent(script, "Tool")
  407.  
  408. local Parts = GetBricks(script.Parent)
  409. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  410.  
  411. if PrimaryPart then
  412. WeldParts(Parts, PrimaryPart, "Weld", false)
  413. else
  414. warn("qWeld - Unable to weld part")
  415. end
  416.  
  417. return Tool
  418. end
  419.  
  420. local Tool = PerfectionWeld()
  421.  
  422.  
  423. if Tool and script.ClassName == "Script" then
  424. --- Don't bother with local scripts
  425.  
  426. script.Parent.AncestryChanged:connect(function()
  427. PerfectionWeld()
  428. end)
  429. end
  430.  
  431. -- Created by Quenty (@Quenty, follow me on twitter).
  432.  
  433. end))
  434. for i,v in pairs(mas:GetChildren()) do
  435. v.Parent = workspace
  436. pcall(function() v:MakeJoints() end)
  437. end
  438. mas:Destroy()
  439. for i,v in pairs(cors) do
  440. spawn(function()
  441. pcall(v)
  442. end)
  443. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement