Advertisement
thatonepuggo

bunker pad giver

Aug 21st, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.79 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. Script2 = Instance.new("Script")
  22. SelectionBox3 = Instance.new("SelectionBox")
  23. Tool4 = Instance.new("Tool")
  24. Script5 = Instance.new("Script")
  25. Part6 = Instance.new("Part")
  26. WeldConstraint7 = Instance.new("WeldConstraint")
  27. WeldConstraint8 = Instance.new("WeldConstraint")
  28. WeldConstraint9 = Instance.new("WeldConstraint")
  29. WeldConstraint10 = Instance.new("WeldConstraint")
  30. Part11 = Instance.new("Part")
  31. Part12 = Instance.new("Part")
  32. WeldConstraint13 = Instance.new("WeldConstraint")
  33. WeldConstraint14 = Instance.new("WeldConstraint")
  34. Part15 = Instance.new("Part")
  35. WeldConstraint16 = Instance.new("WeldConstraint")
  36. WeldConstraint17 = Instance.new("WeldConstraint")
  37. WeldConstraint18 = Instance.new("WeldConstraint")
  38. WeldConstraint19 = Instance.new("WeldConstraint")
  39. WeldConstraint20 = Instance.new("WeldConstraint")
  40. Part21 = Instance.new("Part")
  41. Part22 = Instance.new("Part")
  42. WeldConstraint23 = Instance.new("WeldConstraint")
  43. Part24 = Instance.new("Part")
  44. WeldConstraint25 = Instance.new("WeldConstraint")
  45. WeldConstraint26 = Instance.new("WeldConstraint")
  46. Part27 = Instance.new("Part")
  47. SelectionBox28 = Instance.new("SelectionBox")
  48. Part29 = Instance.new("Part")
  49. UnionOperation30 = Instance.new("UnionOperation")
  50. Part31 = Instance.new("Part")
  51. SurfaceGui32 = Instance.new("SurfaceGui")
  52. TextLabel33 = Instance.new("TextLabel")
  53. Model0.Name = "bpad"
  54. Model0.Parent = mas
  55. Part1.Name = "GiverPart[put-tool-in]"
  56. Part1.Parent = Model0
  57. Part1.CFrame = CFrame.new(33.2186928, 3.74654388, 4.45043182, 0, 1.17160359e-24, -1, 0, 1, -1.17160359e-24, 1, 0, 0)
  58. Part1.Orientation = Vector3.new(0, -90, 0)
  59. Part1.Position = Vector3.new(33.2186928, 3.74654388, 4.45043182)
  60. Part1.Rotation = Vector3.new(0, -90, 0)
  61. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  62. Part1.Size = Vector3.new(0.499019682, 0.499019682, 3.9971478)
  63. Part1.Anchored = true
  64. Part1.BottomSurface = Enum.SurfaceType.Smooth
  65. Part1.BrickColor = BrickColor.new("Really black")
  66. Part1.Material = Enum.Material.SmoothPlastic
  67. Part1.TopSurface = Enum.SurfaceType.Smooth
  68. Part1.brickColor = BrickColor.new("Really black")
  69. Script2.Parent = Part1
  70. table.insert(cors,sandbox(Script2,function()
  71. local debounce = false
  72. local storage
  73. if not game.ServerStorage:FindFirstChild("oofgiverstorage") then
  74. storage = Instance.new("Folder",game.ServerStorage)
  75. storage.Name = "oofgiverstorage"
  76. else
  77. storage = game.ServerStorage.oofgiverstorage
  78. end
  79. local tool = script.Parent:FindFirstChildWhichIsA("Tool")
  80. tool.Parent = storage
  81. function getPlayer(humanoid)
  82. local players = game.Players:children()
  83. for i = 1, #players do
  84. if players[i].Character.Humanoid == humanoid then return players[i] end
  85. end
  86. return nil
  87. end
  88.  
  89. function onTouch(part)
  90.  
  91. local human = part.Parent:findFirstChild("Humanoid")
  92. if (human ~= nil) and debounce == false then
  93.  
  94. debounce = true
  95.  
  96. local player = getPlayer(human)
  97.  
  98. if (player == nil) then return end
  99. local toolclone = tool:Clone()
  100. toolclone.Parent = player.Backpack
  101. toolclone.Handle.Anchored = false
  102. wait(2)
  103. debounce = false
  104. end
  105. end
  106.  
  107.  
  108. script.Parent.Touched:connect(onTouch)
  109. end))
  110. SelectionBox3.Parent = Part1
  111. SelectionBox3.Color = BrickColor.new("Institutional white")
  112. SelectionBox3.Color3 = Color3.new(1, 1, 1)
  113. SelectionBox3.Adornee = Part1
  114. SelectionBox3.SurfaceColor = BrickColor.new("Cyan")
  115. SelectionBox3.SurfaceColor3 = Color3.new(0.0745098, 0.615686, 1)
  116. Tool4.Name = "B-pad"
  117. Tool4.Parent = Part1
  118. Tool4.Grip = CFrame.new(-0.257987976, -0.232658386, -1.64205551, -0.0162496101, -0.900238872, 0.435093194, 0.0767853782, 0.432742, 0.898241937, -0.996915281, 0.0480048656, 0.0620932952)
  119. Tool4.GripForward = Vector3.new(-0.435093194, -0.898241937, -0.0620932952)
  120. Tool4.GripPos = Vector3.new(-0.257987976, -0.232658386, -1.64205551)
  121. Tool4.GripRight = Vector3.new(-0.0162496101, 0.0767853782, -0.996915281)
  122. Tool4.GripUp = Vector3.new(-0.900238872, 0.432742, 0.0480048656)
  123. Script5.Parent = Tool4
  124. table.insert(cors,sandbox(Script5,function()
  125. local plr
  126. script.Parent.Equipped:Connect(function()
  127. plr = game.Players:GetPlayerFromCharacter(script.Parent.Parent)
  128. local bunkerpadgui = require(5503818474).oof(plr.PlayerGui,script.Parent)
  129. end)
  130. end))
  131. Part6.Parent = Tool4
  132. Part6.CFrame = CFrame.new(32.740551, 2.66371942, 5.69657326, 0.939691484, -1.03073394e-09, 0.342026561, -3.09471927e-11, 1.00000334, 3.09864179e-09, -0.342025518, -2.92234681e-09, 0.939693809)
  133. Part6.Orientation = Vector3.new(0, 20, 0)
  134. Part6.Position = Vector3.new(32.740551, 2.66371942, 5.69657326)
  135. Part6.Rotation = Vector3.new(0, 20, 0)
  136. Part6.Size = Vector3.new(2.05999994, 0.090000011, 0.309999943)
  137. Part6.BottomSurface = Enum.SurfaceType.Smooth
  138. Part6.TopSurface = Enum.SurfaceType.Smooth
  139. WeldConstraint7.Parent = Part6
  140. WeldConstraint7.Part0 = Part6
  141. WeldConstraint7.Part1 = Part24
  142. WeldConstraint8.Parent = Part6
  143. WeldConstraint8.Part0 = Part6
  144. WeldConstraint8.Part1 = Part22
  145. WeldConstraint9.Parent = Part6
  146. WeldConstraint9.Part0 = Part6
  147. WeldConstraint9.Part1 = Part12
  148. WeldConstraint10.Parent = Part6
  149. WeldConstraint10.Part0 = Part6
  150. WeldConstraint10.Part1 = Part21
  151. Part11.Parent = Tool4
  152. Part11.CFrame = CFrame.new(33.4964485, 2.66371918, 7.83182764, 0.939691782, -1.03073483e-09, 0.34202686, -3.09473801e-11, 1.00000429, 3.09864512e-09, -0.342025548, -2.92234881e-09, 0.939694762)
  153. Part11.Orientation = Vector3.new(0, 20, 0)
  154. Part11.Position = Vector3.new(33.4964485, 2.66371918, 7.83182764)
  155. Part11.Rotation = Vector3.new(0, 20, 0)
  156. Part11.Size = Vector3.new(2.0999999, 0.090000011, 0.299999952)
  157. Part11.BottomSurface = Enum.SurfaceType.Smooth
  158. Part11.TopSurface = Enum.SurfaceType.Smooth
  159. Part12.Parent = Tool4
  160. Part12.CFrame = CFrame.new(33.9821625, 2.66371942, 6.44718885, 0.34202686, -1.03073483e-09, -0.939691782, 3.09864512e-09, 1.00000429, 3.09473801e-11, 0.939694762, -2.92234881e-09, 0.342025548)
  161. Part12.Orientation = Vector3.new(0, -70, 0)
  162. Part12.Position = Vector3.new(33.9821625, 2.66371942, 6.44718885)
  163. Part12.Rotation = Vector3.new(0, -70, 0)
  164. Part12.Size = Vector3.new(2.56999993, 0.090000011, 0.299999952)
  165. Part12.BottomSurface = Enum.SurfaceType.Smooth
  166. Part12.TopSurface = Enum.SurfaceType.Smooth
  167. WeldConstraint13.Parent = Part12
  168. WeldConstraint13.Part0 = Part12
  169. WeldConstraint13.Part1 = Part22
  170. WeldConstraint14.Parent = Part12
  171. WeldConstraint14.Part0 = Part12
  172. WeldConstraint14.Part1 = Part11
  173. Part15.Name = "Handle"
  174. Part15.Parent = Tool4
  175. Part15.CFrame = CFrame.new(33.122345, 2.64372253, 6.7601409, 0.939691067, -1.0307315e-09, 0.342025846, -3.09467695e-11, 1.00000143, 3.09863513e-09, -0.342025399, -2.92234215e-09, 0.93969208)
  176. Part15.Orientation = Vector3.new(0, 20, 0)
  177. Part15.Position = Vector3.new(33.122345, 2.64372253, 6.7601409)
  178. Part15.Rotation = Vector3.new(0, 20, 0)
  179. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  180. Part15.Size = Vector3.new(1.59000003, 0.0500000007, 2.02999997)
  181. Part15.BottomSurface = Enum.SurfaceType.Smooth
  182. Part15.BrickColor = BrickColor.new("Really black")
  183. Part15.TopSurface = Enum.SurfaceType.Smooth
  184. Part15.brickColor = BrickColor.new("Really black")
  185. WeldConstraint16.Parent = Part15
  186. WeldConstraint16.Part0 = Part15
  187. WeldConstraint16.Part1 = Part24
  188. WeldConstraint17.Parent = Part15
  189. WeldConstraint17.Part0 = Part15
  190. WeldConstraint17.Part1 = Part6
  191. WeldConstraint18.Parent = Part15
  192. WeldConstraint18.Part0 = Part15
  193. WeldConstraint18.Part1 = Part22
  194. WeldConstraint19.Parent = Part15
  195. WeldConstraint19.Part0 = Part15
  196. WeldConstraint19.Part1 = Part11
  197. WeldConstraint20.Parent = Part15
  198. WeldConstraint20.Part0 = Part15
  199. WeldConstraint20.Part1 = Part12
  200. Part21.Parent = Tool4
  201. Part21.CFrame = CFrame.new(32.6512871, 2.69371819, 5.72907066, 1.03073816e-09, 0.939692318, 0.342027932, -1.00000715, -3.09481538e-11, 3.09865489e-09, 2.92235591e-09, -0.342025697, 0.939697385)
  202. Part21.Orientation = Vector3.new(0, 20, -90)
  203. Part21.Position = Vector3.new(32.6512871, 2.69371819, 5.72907066)
  204. Part21.Rotation = Vector3.new(0, 20, -90)
  205. Part21.Color = Color3.new(0.388235, 0.372549, 0.384314)
  206. Part21.Size = Vector3.new(0.0500000007, 0.330000013, 0.25000006)
  207. Part21.BottomSurface = Enum.SurfaceType.Smooth
  208. Part21.BrickColor = BrickColor.new("Dark stone grey")
  209. Part21.TopSurface = Enum.SurfaceType.Smooth
  210. Part21.brickColor = BrickColor.new("Dark stone grey")
  211. Part21.Shape = Enum.PartType.Cylinder
  212. Part22.Parent = Tool4
  213. Part22.CFrame = CFrame.new(33.1210747, 2.62371826, 6.77124786, 0.342025489, -1.03073039e-09, -0.939690828, 3.0986318e-09, 1.00000048, 3.09465786e-11, 0.939691186, -2.9223397e-09, 0.34202534)
  214. Part22.Orientation = Vector3.new(0, -70, 0)
  215. Part22.Position = Vector3.new(33.1210747, 2.62371826, 6.77124786)
  216. Part22.Rotation = Vector3.new(0, -70, 0)
  217. Part22.Size = Vector3.new(2.54999995, 0.0700000152, 2.11999989)
  218. Part22.BottomSurface = Enum.SurfaceType.Smooth
  219. Part22.TopSurface = Enum.SurfaceType.Smooth
  220. WeldConstraint23.Parent = Part22
  221. WeldConstraint23.Part0 = Part22
  222. WeldConstraint23.Part1 = Part11
  223. Part24.Parent = Tool4
  224. Part24.CFrame = CFrame.new(32.2608223, 2.66371942, 7.06839752, 0.342026561, -1.03073394e-09, -0.939691484, 3.09864179e-09, 1.00000334, 3.09471927e-11, 0.939693809, -2.92234681e-09, 0.342025518)
  225. Part24.Orientation = Vector3.new(0, -70, 0)
  226. Part24.Position = Vector3.new(32.2608223, 2.66371942, 7.06839752)
  227. Part24.Rotation = Vector3.new(0, -70, 0)
  228. Part24.Size = Vector3.new(2.55999994, 0.090000011, 0.299999952)
  229. Part24.BottomSurface = Enum.SurfaceType.Smooth
  230. Part24.TopSurface = Enum.SurfaceType.Smooth
  231. WeldConstraint25.Parent = Part24
  232. WeldConstraint25.Part0 = Part24
  233. WeldConstraint25.Part1 = Part22
  234. WeldConstraint26.Parent = Part24
  235. WeldConstraint26.Part0 = Part24
  236. WeldConstraint26.Part1 = Part11
  237. Part27.Parent = Model0
  238. Part27.CFrame = CFrame.new(33.2204018, 4.75459862, 6.52799988, 0, 1.17160359e-24, -1, 0, 1, -1.17160359e-24, 1, 0, 0)
  239. Part27.Orientation = Vector3.new(0, -90, 0)
  240. Part27.Position = Vector3.new(33.2204018, 4.75459862, 6.52799988)
  241. Part27.Rotation = Vector3.new(0, -90, 0)
  242. Part27.Color = Color3.new(1, 0.690196, 0)
  243. Part27.Transparency = 1
  244. Part27.Size = Vector3.new(3.70272446, 4.65086555, 3.97219825)
  245. Part27.Anchored = true
  246. Part27.BottomSurface = Enum.SurfaceType.Smooth
  247. Part27.BrickColor = BrickColor.new("Deep orange")
  248. Part27.Material = Enum.Material.SmoothPlastic
  249. Part27.TopSurface = Enum.SurfaceType.Smooth
  250. Part27.brickColor = BrickColor.new("Deep orange")
  251. SelectionBox28.Parent = Part27
  252. SelectionBox28.Color = BrickColor.new("Institutional white")
  253. SelectionBox28.Color3 = Color3.new(1, 1, 1)
  254. SelectionBox28.Adornee = Part27
  255. Part29.Parent = Model0
  256. Part29.CFrame = CFrame.new(33.1487846, 2.38666534, 6.51893616, 0, 1.17160359e-24, -1, 0, 1, -1.17160359e-24, 1, 0, 0)
  257. Part29.Orientation = Vector3.new(0, -90, 0)
  258. Part29.Position = Vector3.new(33.1487846, 2.38666534, 6.51893616)
  259. Part29.Rotation = Vector3.new(0, -90, 0)
  260. Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  261. Part29.Size = Vector3.new(4.07699299, 0.464088231, 4.43628931)
  262. Part29.Anchored = true
  263. Part29.BottomSurface = Enum.SurfaceType.Smooth
  264. Part29.BrickColor = BrickColor.new("Really black")
  265. Part29.Material = Enum.Material.SmoothPlastic
  266. Part29.TopSurface = Enum.SurfaceType.Smooth
  267. Part29.brickColor = BrickColor.new("Really black")
  268. UnionOperation30.Parent = Model0
  269. UnionOperation30.CFrame = CFrame.new(32.9965706, 4.54500198, 6.59627533, 0, 1.17160359e-24, -1, 0, 1, -1.17160359e-24, 1, 0, 0)
  270. UnionOperation30.Orientation = Vector3.new(0, -90, 0)
  271. UnionOperation30.Position = Vector3.new(32.9965706, 4.54500198, 6.59627533)
  272. UnionOperation30.Rotation = Vector3.new(0, -90, 0)
  273. UnionOperation30.Color = Color3.new(1, 0.690196, 0)
  274. UnionOperation30.Transparency = 1
  275. UnionOperation30.Size = Vector3.new(3.79254985, 5.09000063, 3.49313784)
  276. UnionOperation30.Anchored = true
  277. UnionOperation30.BrickColor = BrickColor.new("Deep orange")
  278. UnionOperation30.Material = Enum.Material.SmoothPlastic
  279. UnionOperation30.brickColor = BrickColor.new("Deep orange")
  280. Part31.Parent = Model0
  281. Part31.CFrame = CFrame.new(33.25, 9.09007645, 4.44996452, 1, -7.90287431e-17, 5.08037893e-13, 7.90270556e-17, 1, 3.32055938e-09, -5.08037893e-13, -3.32055916e-09, 1)
  282. Part31.Position = Vector3.new(33.25, 9.09007645, 4.44996452)
  283. Part31.Color = Color3.new(0.929412, 0.917647, 0.917647)
  284. Part31.Size = Vector3.new(4, 4, 0.5)
  285. Part31.Anchored = true
  286. Part31.BackSurface = Enum.SurfaceType.Universal
  287. Part31.BottomSurface = Enum.SurfaceType.Universal
  288. Part31.BrickColor = BrickColor.new("Lily white")
  289. Part31.FrontSurface = Enum.SurfaceType.Universal
  290. Part31.LeftSurface = Enum.SurfaceType.Universal
  291. Part31.RightSurface = Enum.SurfaceType.Universal
  292. Part31.TopSurface = Enum.SurfaceType.Universal
  293. Part31.brickColor = BrickColor.new("Lily white")
  294. SurfaceGui32.Parent = Part31
  295. SurfaceGui32.LightInfluence = 1
  296. SurfaceGui32.ClipsDescendants = true
  297. SurfaceGui32.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  298. TextLabel33.Parent = SurfaceGui32
  299. TextLabel33.Size = UDim2.new(1, 0, 1, 0)
  300. TextLabel33.BackgroundColor = BrickColor.new("Institutional white")
  301. TextLabel33.BackgroundColor3 = Color3.new(1, 1, 1)
  302. TextLabel33.BackgroundTransparency = 1
  303. TextLabel33.Font = Enum.Font.GothamBlack
  304. TextLabel33.FontSize = Enum.FontSize.Size14
  305. TextLabel33.Text = "b-pad"
  306. TextLabel33.TextColor = BrickColor.new("Institutional white")
  307. TextLabel33.TextColor3 = Color3.new(1, 1, 1)
  308. TextLabel33.TextScaled = true
  309. TextLabel33.TextSize = 14
  310. TextLabel33.TextStrokeTransparency = 0
  311. TextLabel33.TextWrap = true
  312. TextLabel33.TextWrapped = true
  313. for i,v in pairs(mas:GetChildren()) do
  314. v.Parent = workspace
  315. pcall(function() v:MakeJoints() end)
  316. end
  317. mas:Destroy()
  318. for i,v in pairs(cors) do
  319. spawn(function()
  320. pcall(v)
  321. end)
  322. end
  323.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement