Advertisement
Plug_RBLX

unt00tled

Dec 30th, 2017
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. --[[BACON NEWS]]--
  2.  
  3. --THIEF IS PLUGINED!!
  4. --BAN HIM!!!!
  5. --NOWWWW!!!!!!!!!!!!!!!!!!
  6.  
  7. --nvm dont xd
  8.  
  9. --I STOLE MANY FIJIT SPINURS!!!! BAN MEEEE
  10.  
  11. function sandbox(var,func)
  12. local env = getfenv(func)
  13. local newenv = setmetatable({},{
  14. __index = function(self,k)
  15. if k=="script" then
  16. return var
  17. else
  18. return env[k]
  19. end
  20. end,
  21. })
  22. setfenv(func,newenv)
  23. return func
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. Tool0 = Instance.new("Tool")
  28. Part1 = Instance.new("Part")
  29. SurfaceGui2 = Instance.new("SurfaceGui")
  30. TextLabel3 = Instance.new("TextLabel")
  31. Script4 = Instance.new("Script")
  32. Tool0.Name = "LATEST BACON NEWS"
  33. Tool0.Parent = mas
  34. Tool0.ToolTip = "MUST READ!!! LEGIT"
  35. Part1.Name = "Handle"
  36. Part1.Parent = Tool0
  37. Part1.Material = Enum.Material.SmoothPlastic
  38. Part1.BrickColor = BrickColor.new("Institutional white")
  39. Part1.Rotation = Vector3.new(179.979996, -0.0199999996, -179.919998)
  40. Part1.CanCollide = false
  41. Part1.FormFactor = Enum.FormFactor.Custom
  42. Part1.Size = Vector3.new(1.18000007, 1.62, 0.200000003)
  43. Part1.CFrame = CFrame.new(-30.1530991, 14.2991924, -50.752121, -0.999998987, 0.00141789182, -0.000335457677, 0.00141799997, 0.999998987, -0.000322524604, 0.00033499999, -0.000322999957, -0.999999881)
  44. Part1.BottomSurface = Enum.SurfaceType.Smooth
  45. Part1.TopSurface = Enum.SurfaceType.Smooth
  46. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  47. Part1.Position = Vector3.new(-30.1530991, 14.2991924, -50.752121)
  48. Part1.Orientation = Vector3.new(0.0199999996, -179.979996, 0.0799999982)
  49. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  50. SurfaceGui2.Name = "gui"
  51. SurfaceGui2.Parent = Part1
  52. SurfaceGui2.CanvasSize = Vector2.new(300, 300)
  53. TextLabel3.Name = "text"
  54. TextLabel3.Parent = SurfaceGui2
  55. TextLabel3.Transparency = 1
  56. TextLabel3.Size = UDim2.new(1, 0, 1, 0)
  57. TextLabel3.Text = "The thief also knows as Bacony23, stole 11120410200120510205102 fidget spinners! ban him"
  58. TextLabel3.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  59. TextLabel3.BackgroundTransparency = 1
  60. TextLabel3.Font = Enum.Font.SourceSans
  61. TextLabel3.FontSize = Enum.FontSize.Size48
  62. TextLabel3.TextColor3 = Color3.new(1, 1, 1)
  63. TextLabel3.TextScaled = true
  64. TextLabel3.TextStrokeTransparency = 0
  65. TextLabel3.TextWrapped = true
  66. Script4.Name = "WeldScript"
  67. Script4.Parent = Tool0
  68. table.insert(cors,sandbox(Script4,function()
  69. -- Simple Welding Script by Plugined. No credit necessary.
  70.  
  71. --[[
  72. To use, Simply place this inside the model you want to use. If you want the model unanchored, Set unanchor to true. If not, set it to
  73. false. If there are any part classes in your model that aren't in the class list, Just add it in. Make sure to use the EXACT name.
  74.  
  75. MAKE SURE THE ENIRE MODEL IS ANCHORED BEFORE USE! Otherwise all the parts will glitch and go out of place and they'll look ugly.
  76.  
  77. If you want to remove all welds from your model, Just set removeWelds to true. (If you ever used the qPerfectionWeld script, This will
  78. also remove all those annoying CFrame values as well.)
  79. --]]
  80.  
  81. unanchor = false
  82.  
  83. removeWelds = false
  84.  
  85. classes = {
  86. "Part";
  87. "WedgePart";
  88. "TrussPart";
  89. "CornerWedgePart";
  90. "Seat";
  91. "VehicleSeat";
  92. "UnionOperation";
  93. "NegateOperation";
  94. "MeshPart";
  95. "SpawnLocation";
  96. }
  97.  
  98. -- Don't edit anything down here unless you know what you're doing.
  99.  
  100. function createWeld(p1, p2)
  101. local weld = Instance.new("Weld", p1)
  102. weld.C0 = p1.CFrame:inverse() * p2.CFrame
  103. weld.Part0 = p1
  104. weld.Part1 = p2
  105. end
  106.  
  107. function checkWelds(model)
  108. local prev
  109. local c = model:GetChildren()
  110. for i = 1, #c do
  111. for a = 1, #classes do
  112. if c[i].ClassName == classes[a] then
  113. local oldWeld = c[i]:FindFirstChildOfClass("Weld")
  114. if oldWeld ~= nil then
  115. oldWeld:Destroy()
  116. end
  117. local oldCFrame = c[i]:FindFirstChildOfClass("CFrameValue")
  118. if oldCFrame ~= nil then
  119. oldCFrame:Destroy()
  120. end
  121. if removeWelds == false then
  122. if unanchor == true then
  123. c[i].Anchored = false
  124. end
  125. if prev ~= nil then
  126. createWeld(prev, c[i])
  127. end
  128. prev = c[i]
  129. end
  130. end
  131. end
  132. checkWelds(c[i])
  133. end
  134. end
  135.  
  136. checkWelds(script.Parent)
  137. end))
  138. for i,v in pairs(mas:GetChildren()) do
  139. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  140. pcall(function() v:MakeJoints() end)
  141. end
  142. mas:Destroy()
  143. for i,v in pairs(cors) do
  144. spawn(function()
  145. pcall(v)
  146. end)
  147. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement