Advertisement
Ham-Bur-Ger

test

Jun 20th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.74 KB | None | 0 0
  1. wait(0.1)
  2. game.StarterGui:SetCore("SendNotification", {
  3. Title = "BlackCells Loaded";
  4. Text = "BlackCells Has Loadaded. Enjoy!"
  5. })
  6. -- Farewell Infortality.
  7. -- Version: 2.82
  8. -- Instances:
  9. local BlackCells = Instance.new("ScreenGui")
  10. local MainFrame = Instance.new("ImageLabel")
  11. local min = Instance.new("ImageLabel")
  12. local minBtn = Instance.new("TextButton")
  13. local exit = Instance.new("ImageLabel")
  14. local exitBtn = Instance.new("TextButton")
  15. local btools = Instance.new("ImageLabel")
  16. local btoolsBtn = Instance.new("TextButton")
  17. local maxland = Instance.new("ImageLabel")
  18. local landBtn = Instance.new("TextButton")
  19. local comingsoon1 = Instance.new("ImageLabel")
  20. local landBtn_2 = Instance.new("TextButton")
  21. local tptool = Instance.new("ImageLabel")
  22. local tpBtn = Instance.new("TextButton")
  23. local noclip = Instance.new("ImageLabel")
  24. local noclipBtn = Instance.new("TextButton")
  25. local comingsoon2 = Instance.new("ImageLabel")
  26. local itemBtn = Instance.new("TextButton")
  27. local spawnitemframe = Instance.new("ImageLabel")
  28. local TextButton = Instance.new("TextButton")
  29. local spawnbox = Instance.new("ImageLabel")
  30. local iteminput = Instance.new("TextBox")
  31. local title = Instance.new("ImageLabel")
  32. local comingsoon3 = Instance.new("ImageLabel")
  33. local itemBtn_2 = Instance.new("TextButton")
  34. local openFrame = Instance.new("ImageLabel")
  35. local openBtn = Instance.new("TextButton")
  36. --Properties:
  37. BlackCells.Name = "BlackCells"
  38. BlackCells.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  39.  
  40. MainFrame.Name = "MainFrame"
  41. MainFrame.Parent = BlackCells
  42. MainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  43. MainFrame.BackgroundTransparency = 1
  44. MainFrame.Position = UDim2.new(0.0853018239, 0, 0.239089176, 0)
  45. MainFrame.Size = UDim2.new(0, 413, 0, 274)
  46. MainFrame.Image = "rbxassetid://2851926732"
  47. MainFrame.ImageColor3 = Color3.new(0.298039, 0.298039, 0.298039)
  48. MainFrame.ScaleType = Enum.ScaleType.Slice
  49. MainFrame.SliceCenter = Rect.new(12, 12, 12, 12)
  50.  
  51. min.Name = "min"
  52. min.Parent = MainFrame
  53. min.BackgroundColor3 = Color3.new(1, 1, 1)
  54. min.BackgroundTransparency = 1
  55. min.Position = UDim2.new(0.748749614, 0, 0.0345503129, 0)
  56. min.Size = UDim2.new(0, 37, 0, 36)
  57. min.Image = "rbxassetid://2851926732"
  58. min.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  59. min.ScaleType = Enum.ScaleType.Slice
  60. min.SliceCenter = Rect.new(12, 12, 12, 12)
  61.  
  62. minBtn.Name = "minBtn"
  63. minBtn.Parent = min
  64. minBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  65. minBtn.BackgroundTransparency = 1
  66. minBtn.Size = UDim2.new(0, 37, 0, 36)
  67. minBtn.Font = Enum.Font.GothamBlack
  68. minBtn.Text = "-"
  69. minBtn.TextColor3 = Color3.new(1, 1, 1)
  70. minBtn.TextScaled = true
  71. minBtn.TextSize = 14
  72. minBtn.TextWrapped = true
  73.  
  74. exit.Name = "exit"
  75. exit.Parent = MainFrame
  76. exit.BackgroundColor3 = Color3.new(1, 1, 1)
  77. exit.BackgroundTransparency = 1
  78. exit.Position = UDim2.new(0.863402665, 0, 0.0345503129, 0)
  79. exit.Size = UDim2.new(0, 37, 0, 36)
  80. exit.Image = "rbxassetid://2851926732"
  81. exit.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  82. exit.ScaleType = Enum.ScaleType.Slice
  83. exit.SliceCenter = Rect.new(12, 12, 12, 12)
  84.  
  85. exitBtn.Name = "exitBtn"
  86. exitBtn.Parent = exit
  87. exitBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  88. exitBtn.BackgroundTransparency = 1
  89. exitBtn.Size = UDim2.new(0, 37, 0, 36)
  90. exitBtn.Font = Enum.Font.GothamBlack
  91. exitBtn.Text = "x"
  92. exitBtn.TextColor3 = Color3.new(1, 1, 1)
  93. exitBtn.TextScaled = true
  94. exitBtn.TextSize = 14
  95. exitBtn.TextWrapped = true
  96.  
  97. btools.Name = "btools"
  98. btools.Parent = MainFrame
  99. btools.BackgroundColor3 = Color3.new(1, 1, 1)
  100. btools.BackgroundTransparency = 1
  101. btools.Position = UDim2.new(0.023533117, 0, 0.359056234, 0)
  102. btools.Size = UDim2.new(0, 123, 0, 40)
  103. btools.Image = "rbxassetid://2851926732"
  104. btools.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  105. btools.ScaleType = Enum.ScaleType.Slice
  106. btools.SliceCenter = Rect.new(12, 12, 12, 12)
  107.  
  108. btoolsBtn.Name = "btoolsBtn"
  109. btoolsBtn.Parent = btools
  110. btoolsBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  111. btoolsBtn.BackgroundTransparency = 1
  112. btoolsBtn.Size = UDim2.new(0, 123, 0, 40)
  113. btoolsBtn.Font = Enum.Font.GothamBold
  114. btoolsBtn.Text = "BTOOLS"
  115. btoolsBtn.TextColor3 = Color3.new(1, 1, 1)
  116. btoolsBtn.TextScaled = true
  117. btoolsBtn.TextSize = 14
  118. btoolsBtn.TextWrapped = true
  119.  
  120. maxland.Name = "maxland"
  121. maxland.Parent = MainFrame
  122. maxland.BackgroundColor3 = Color3.new(1, 1, 1)
  123. maxland.BackgroundTransparency = 1
  124. maxland.Position = UDim2.new(0.333260298, 0, 0.359056234, 0)
  125. maxland.Size = UDim2.new(0, 123, 0, 40)
  126. maxland.Image = "rbxassetid://2851926732"
  127. maxland.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  128. maxland.ScaleType = Enum.ScaleType.Slice
  129. maxland.SliceCenter = Rect.new(12, 12, 12, 12)
  130.  
  131. landBtn.Name = "landBtn"
  132. landBtn.Parent = maxland
  133. landBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  134. landBtn.BackgroundTransparency = 1
  135. landBtn.Size = UDim2.new(0, 123, 0, 40)
  136. landBtn.Font = Enum.Font.GothamBold
  137. landBtn.Text = "MAX LAND"
  138. landBtn.TextColor3 = Color3.new(1, 1, 1)
  139. landBtn.TextScaled = true
  140. landBtn.TextSize = 14
  141. landBtn.TextWrapped = true
  142.  
  143. comingsoon1.Name = "comingsoon1"
  144. comingsoon1.Parent = MainFrame
  145. comingsoon1.BackgroundColor3 = Color3.new(1, 1, 1)
  146. comingsoon1.BackgroundTransparency = 1
  147. comingsoon1.Position = UDim2.new(0.65550071, 0, 0.359056234, 0)
  148. comingsoon1.Size = UDim2.new(0, 123, 0, 40)
  149. comingsoon1.Image = "rbxassetid://2851926732"
  150. comingsoon1.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  151. comingsoon1.ScaleType = Enum.ScaleType.Slice
  152. comingsoon1.SliceCenter = Rect.new(12, 12, 12, 12)
  153.  
  154. landBtn_2.Name = "landBtn"
  155. landBtn_2.Parent = comingsoon1
  156. landBtn_2.BackgroundColor3 = Color3.new(1, 1, 1)
  157. landBtn_2.BackgroundTransparency = 1
  158. landBtn_2.Size = UDim2.new(0, 123, 0, 40)
  159. landBtn_2.Font = Enum.Font.GothamBold
  160. landBtn_2.Text = "COMING SOON"
  161. landBtn_2.TextColor3 = Color3.new(1, 1, 1)
  162. landBtn_2.TextScaled = true
  163. landBtn_2.TextSize = 14
  164. landBtn_2.TextWrapped = true
  165.  
  166. tptool.Name = "tptool"
  167. tptool.Parent = MainFrame
  168. tptool.BackgroundColor3 = Color3.new(1, 1, 1)
  169. tptool.BackgroundTransparency = 1
  170. tptool.Position = UDim2.new(0.0235330425, 0, 0.563712776, 0)
  171. tptool.Size = UDim2.new(0, 122, 0, 40)
  172. tptool.Image = "rbxassetid://2851926732"
  173. tptool.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  174. tptool.ScaleType = Enum.ScaleType.Slice
  175. tptool.SliceCenter = Rect.new(12, 12, 12, 12)
  176.  
  177. tpBtn.Name = "tpBtn"
  178. tpBtn.Parent = tptool
  179. tpBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  180. tpBtn.BackgroundTransparency = 1
  181. tpBtn.Size = UDim2.new(0, 123, 0, 40)
  182. tpBtn.Font = Enum.Font.GothamBold
  183. tpBtn.Text = "E - TELEPORT"
  184. tpBtn.TextColor3 = Color3.new(1, 1, 1)
  185. tpBtn.TextScaled = true
  186. tpBtn.TextSize = 14
  187. tpBtn.TextWrapped = true
  188.  
  189. noclip.Name = "noclip"
  190. noclip.Parent = MainFrame
  191. noclip.BackgroundColor3 = Color3.new(1, 1, 1)
  192. noclip.BackgroundTransparency = 1
  193. noclip.Position = UDim2.new(0.333260298, 0, 0.563712776, 0)
  194. noclip.Size = UDim2.new(0, 123, 0, 40)
  195. noclip.Image = "rbxassetid://2851926732"
  196. noclip.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  197. noclip.ScaleType = Enum.ScaleType.Slice
  198. noclip.SliceCenter = Rect.new(12, 12, 12, 12)
  199.  
  200. noclipBtn.Name = "noclipBtn"
  201. noclipBtn.Parent = noclip
  202. noclipBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  203. noclipBtn.BackgroundTransparency = 1
  204. noclipBtn.Size = UDim2.new(0, 123, 0, 40)
  205. noclipBtn.Font = Enum.Font.GothamBold
  206. noclipBtn.Text = "N - NOCIP"
  207. noclipBtn.TextColor3 = Color3.new(1, 1, 1)
  208. noclipBtn.TextScaled = true
  209. noclipBtn.TextSize = 14
  210. noclipBtn.TextWrapped = true
  211.  
  212. comingsoon2.Name = "comingsoon2"
  213. comingsoon2.Parent = MainFrame
  214. comingsoon2.BackgroundColor3 = Color3.new(1, 1, 1)
  215. comingsoon2.BackgroundTransparency = 1
  216. comingsoon2.Position = UDim2.new(0.65550071, 0, 0.567362368, 0)
  217. comingsoon2.Size = UDim2.new(0, 123, 0, 40)
  218. comingsoon2.Image = "rbxassetid://2851926732"
  219. comingsoon2.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  220. comingsoon2.ScaleType = Enum.ScaleType.Slice
  221. comingsoon2.SliceCenter = Rect.new(12, 12, 12, 12)
  222.  
  223. itemBtn.Name = "itemBtn"
  224. itemBtn.Parent = comingsoon2
  225. itemBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  226. itemBtn.BackgroundTransparency = 1
  227. itemBtn.Size = UDim2.new(0, 123, 0, 40)
  228. itemBtn.Font = Enum.Font.GothamBold
  229. itemBtn.Text = "COMING SOON"
  230. itemBtn.TextColor3 = Color3.new(1, 1, 1)
  231. itemBtn.TextScaled = true
  232. itemBtn.TextSize = 14
  233. itemBtn.TextWrapped = true
  234.  
  235. spawnitemframe.Name = "spawnitemframe"
  236. spawnitemframe.Parent = MainFrame
  237. spawnitemframe.BackgroundColor3 = Color3.new(1, 1, 1)
  238. spawnitemframe.BackgroundTransparency = 1
  239. spawnitemframe.Position = UDim2.new(0.468910694, 0, 0.79785037, 0)
  240. spawnitemframe.Size = UDim2.new(0, 153, 0, 47)
  241. spawnitemframe.Image = "rbxassetid://2851926732"
  242. spawnitemframe.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  243. spawnitemframe.ScaleType = Enum.ScaleType.Slice
  244. spawnitemframe.SliceCenter = Rect.new(12, 12, 12, 12)
  245.  
  246. TextButton.Parent = spawnitemframe
  247. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  248. TextButton.BackgroundTransparency = 1
  249. TextButton.Position = UDim2.new(0, 0, -0.00722622871, 0)
  250. TextButton.Size = UDim2.new(0, 153, 0, 47)
  251. TextButton.Font = Enum.Font.GothamBlack
  252. TextButton.Text = "SPAWN ITEM"
  253. TextButton.TextColor3 = Color3.new(1, 1, 1)
  254. TextButton.TextScaled = true
  255. TextButton.TextSize = 14
  256. TextButton.TextWrapped = true
  257.  
  258. spawnbox.Name = "spawnbox"
  259. spawnbox.Parent = MainFrame
  260. spawnbox.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  261. spawnbox.BackgroundTransparency = 1
  262. spawnbox.Position = UDim2.new(0.0286902878, 0, 0.79785037, 0)
  263. spawnbox.Size = UDim2.new(0, 163, 0, 47)
  264. spawnbox.Image = "rbxassetid://2851926732"
  265. spawnbox.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  266. spawnbox.ScaleType = Enum.ScaleType.Slice
  267. spawnbox.SliceCenter = Rect.new(12, 12, 12, 12)
  268.  
  269. iteminput.Name = "iteminput"
  270. iteminput.Parent = spawnbox
  271. iteminput.BackgroundColor3 = Color3.new(1, 1, 1)
  272. iteminput.BackgroundTransparency = 1
  273. iteminput.Size = UDim2.new(0, 163, 0, 47)
  274. iteminput.Font = Enum.Font.GothamBlack
  275. iteminput.Text = "ITEM NAME"
  276. iteminput.TextColor3 = Color3.new(1, 1, 1)
  277. iteminput.TextScaled = true
  278. iteminput.TextSize = 14
  279. iteminput.TextWrapped = true
  280.  
  281. title.Name = "title"
  282. title.Parent = MainFrame
  283. title.BackgroundColor3 = Color3.new(1, 1, 1)
  284. title.BackgroundTransparency = 1
  285. title.Position = UDim2.new(-0.022195315, 0, -0.0685050562, 0)
  286. title.Rotation = 350
  287. title.Size = UDim2.new(0, 73, 0, 75)
  288. title.Image = "rbxassetid://3303431424"
  289.  
  290. comingsoon3.Name = "comingsoon3"
  291. comingsoon3.Parent = MainFrame
  292. comingsoon3.BackgroundColor3 = Color3.new(1, 1, 1)
  293. comingsoon3.BackgroundTransparency = 1
  294. comingsoon3.Position = UDim2.new(0.185767069, 0, 0.056413468, 0)
  295. comingsoon3.Size = UDim2.new(0, 206, 0, 66)
  296. comingsoon3.Image = "rbxassetid://2851926732"
  297. comingsoon3.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  298. comingsoon3.ScaleType = Enum.ScaleType.Slice
  299. comingsoon3.SliceCenter = Rect.new(12, 12, 12, 12)
  300.  
  301. itemBtn_2.Name = "itemBtn"
  302. itemBtn_2.Parent = comingsoon3
  303. itemBtn_2.BackgroundColor3 = Color3.new(1, 1, 1)
  304. itemBtn_2.BackgroundTransparency = 1
  305. itemBtn_2.Position = UDim2.new(-0.00248636794, 0, 0.0068183667, 0)
  306. itemBtn_2.Size = UDim2.new(0, 206, 0, 65)
  307. itemBtn_2.Font = Enum.Font.GothamBold
  308. itemBtn_2.Text = "COMING SOON"
  309. itemBtn_2.TextColor3 = Color3.new(1, 1, 1)
  310. itemBtn_2.TextScaled = true
  311. itemBtn_2.TextSize = 14
  312. itemBtn_2.TextWrapped = true
  313.  
  314. openFrame.Name = "openFrame"
  315. openFrame.Parent = BlackCells
  316. openFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  317. openFrame.BackgroundTransparency = 1
  318. openFrame.Position = UDim2.new(0.0275591053, 0, 0.853889942, 0)
  319. openFrame.Size = UDim2.new(0, 127, 0, 43)
  320. openFrame.Image = "rbxassetid://2851926732"
  321. openFrame.ImageColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  322. openFrame.ScaleType = Enum.ScaleType.Slice
  323. openFrame.SliceCenter = Rect.new(12, 12, 12, 12)
  324.  
  325. openBtn.Name = "openBtn"
  326. openBtn.Parent = openFrame
  327. openBtn.BackgroundColor3 = Color3.new(1, 1, 1)
  328. openBtn.BackgroundTransparency = 1
  329. openBtn.Size = UDim2.new(0, 126, 0, 43)
  330. openBtn.Font = Enum.Font.GothamBlack
  331. openBtn.Text = "OPEN"
  332. openBtn.TextColor3 = Color3.new(1, 1, 1)
  333. openBtn.TextScaled = true
  334. openBtn.TextSize = 14
  335. openBtn.TextWrapped = true
  336. -- Scripts:
  337. minBtn.MouseButton1Click:Connect(function()
  338. MainFrame.Visible = false
  339. openFrame.Visible = true
  340. end)
  341. openBtn.MouseButton1Click:Connect(function()
  342. MainFrame.Visible = true
  343. openFrame.Visible = false
  344. end)
  345. exitBtn.MouseButton1Click:Connect(function()
  346. BlackCells:Destroy()
  347. end)
  348.  
  349. --[[
  350. SPAWN ITEM SCRIPT DONT MESS WITH!!!
  351. --]]
  352. TextButton.MouseButton1Down:connect(function()
  353. local Item = iteminput.Text
  354. local Quantity = 10
  355.  
  356. local Land = nil
  357. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  358. if v.Owner.Value == game.Players.LocalPlayer then
  359. Land = v
  360. break
  361. end
  362. end
  363. if not Land then
  364. for i,v in pairs(game.Workspace.Properties:GetChildren()) do
  365. if v.Owner.Value == game.Players.LocalPlayer or v.Owner.Value == nil then
  366. Land = v
  367. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v)
  368. break
  369. end
  370. end
  371. end
  372.  
  373. function Spawn(Item)
  374. local Info = {}
  375. Info.Name = Item.Name
  376. Info.Type = game.ReplicatedStorage.Purchasables.Structures.HardStructures.Sawmill2.Type
  377. Info.OtherInfo = game.ReplicatedStorage.Purchasables.WireObjects.Wire.OtherInfo
  378. local Points = {Land.OriginSquare.Position + Vector3.new(0,5,0), Land.OriginSquare.Position + Vector3.new(0,5,0)}
  379. game.ReplicatedStorage.PlaceStructure.ClientPlacedWire:FireServer(Info, Points)
  380. end
  381.  
  382. for i=1, Quantity do
  383. Spawn(game.ReplicatedStorage.Purchasables:FindFirstChild(Item, true))
  384. end
  385. end)
  386.  
  387. --[[
  388. MAX LAND SCRIPT DONT MESS WITH!!!
  389. --]]
  390.  
  391. landBtn.MouseButton1Down:connect(function()
  392. for i, v in pairs(game:GetService("Workspace").Properties:GetChildren()) do
  393. if v:FindFirstChild("Owner") and v.Owner.Value == game.Players.LocalPlayer then
  394. base = v
  395. square = v.OriginSquare
  396. end
  397. end
  398. function makebase(pos)
  399. local Event = game:GetService("ReplicatedStorage").PropertyPurchasing.ClientExpandedProperty
  400. Event:FireServer(base, pos)
  401. end
  402. spos = square.Position
  403. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z))
  404. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z))
  405. makebase(CFrame.new(spos.X, spos.Y, spos.Z + 40))
  406. makebase(CFrame.new(spos.X, spos.Y, spos.Z - 40))
  407. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z + 40))
  408. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z - 40))
  409. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z + 40))
  410. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z - 40))
  411. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z))
  412. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z))
  413. makebase(CFrame.new(spos.X, spos.Y, spos.Z + 80))
  414. makebase(CFrame.new(spos.X, spos.Y, spos.Z - 80))
  415. --Corners--
  416. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z + 80))
  417. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z - 80))
  418. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z + 80))
  419. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z - 80))
  420. --Corners--
  421. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z + 80))
  422. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z + 80))
  423. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z + 40))
  424. makebase(CFrame.new(spos.X + 80, spos.Y, spos.Z - 40))
  425. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z + 40))
  426. makebase(CFrame.new(spos.X - 80, spos.Y, spos.Z - 40))
  427. makebase(CFrame.new(spos.X + 40, spos.Y, spos.Z - 80))
  428. makebase(CFrame.new(spos.X - 40, spos.Y, spos.Z - 80))
  429.  
  430. end)
  431.  
  432. --[[
  433. NOCLIP BUTTON DONT MESS WITH!!!
  434. --]]
  435.  
  436. noclipBtn.MouseButton1Down:connect(function()
  437. noclip = false
  438. game:GetService('RunService').Stepped:connect(function()
  439. if noclip then
  440. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  441. end
  442. end)
  443. plr = game.Players.LocalPlayer
  444. mouse = plr:GetMouse()
  445. mouse.KeyDown:connect(function(key)
  446.  
  447. if key == "n" then
  448. noclip = not noclip
  449. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  450. end
  451. end)
  452. print('Loaded')
  453. print('Press "N" to noclip')
  454. end)
  455.  
  456. --[[
  457. TELEPORT BUTTON DONT MESS WITH!!!
  458. --]]
  459.  
  460. tpBtn.MouseButton1Down:connect(function()
  461. plr = game.Players.LocalPlayer
  462. hum = plr.Character.HumanoidRootPart
  463. mouse = plr:GetMouse()
  464. mouse.KeyDown:connect(function(key)
  465. if key == "q" then
  466. if mouse.Target then
  467. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  468. end
  469. end
  470. end)
  471. end)
  472.  
  473. --[[
  474. DRAGGABLE
  475. --]]
  476.  
  477. MainFrame.Draggable = true
  478. MainFrame.Active = true
  479. MainFrame.Selectable = true
  480.  
  481. --[[
  482. BTOOLS SCRIPT
  483. --]]
  484.  
  485. btoolsBtn.MouseButton1Down:connect(function()
  486. --fe cafe hammertool script cuz im gay--
  487. maind = nil
  488. if workspace:FindFirstChild'GiveSystem' then
  489. if workspace.GiveSystem:FindFirstChild'GiveItem' then
  490. maind = workspace.GiveSystem.GiveItem
  491. end
  492. end
  493. if workspace:FindFirstChild'HandToCentre' then
  494. if workspace.HandToCentre:FindFirstChild'SendItem' then
  495. maind = workspace.HandToCentre.SendItem
  496. end
  497. end
  498. if maind == nil then
  499. print''
  500. return
  501. end
  502. tool = Instance.new'Tool'
  503. me = game:GetService'Players'.LocalPlayer
  504. tool.RequiresHandle = false
  505. tool.TextureId = 'http://www.roblox.com/asset/?id=12223874'
  506. tool.Name = 'ya like jazz?'
  507. tool.Parent = me.Backpack
  508. buttonf = nil
  509. tool.Equipped:connect(function()
  510. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  511. m.Icon = 'rbxasset://textures/HammerCursor.png'
  512. buttonf = m.Button1Down:connect(function()
  513. if m.Target == nil then return end
  514. local ob = m.Target
  515. if ob:IsA'BasePart' or ob:IsA'WedgePart' then
  516. if ob:IsDescendantOf(me.Character) then return end
  517. m.Icon = 'rbxasset://textures/HammerOverCursor.png'
  518. local ex = Instance.new'Explosion'
  519. ex.BlastRadius = 0
  520. ex.Position = ob.Position
  521. ex.Parent = workspace
  522. maind:FireServer(workspace, ob)
  523. wait(0.3)
  524. m.Icon = 'rbxasset://textures/HammerCursor.png'
  525. end
  526. end)
  527. end)
  528. tool.Unequipped:connect(function()
  529. if buttonf ~= nil then
  530. buttonf:Disconnect()
  531. buttonf = nil
  532. end
  533. local m = game:GetService'Players'.LocalPlayer:GetMouse()
  534. m.Icon = ''
  535. end)
  536. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement