arfiakbar123

LT2

Feb 8th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.49 KB | None | 0 0
  1. By:Arfi
  2.  
  3. Mouse = game.Players.LocalPlayer:GetMouse()
  4.  
  5. Client = game.ReplicatedStorage.Interaction.ClientSetListPlayer
  6. players = game.Players
  7. for i, v in pairs(players:GetPlayers()) do
  8. if v.Name ~= players.LocalPlayer.Name then
  9. Client:InvokeServer(players.LocalPlayer.BlacklistFolder, v, true)
  10. end
  11. end
  12. players.PlayerAdded:connect(function(plr)
  13. Client:InvokeServer(players.LocalPlayer.BlacklistFolder, plr, true)
  14. end)
  15.  
  16. -- Instances:
  17. local LT2 = Instance.new("ScreenGui")
  18. local Gui = Instance.new("Frame")
  19. local TextLabel = Instance.new("TextLabel")
  20. local TextLabel_2 = Instance.new("TextLabel")
  21. local TextLabel_3 = Instance.new("TextLabel")
  22. local TextLabel_4 = Instance.new("TextLabel")
  23. local TextButton = Instance.new("TextButton")
  24. local Spooky = Instance.new("TextButton")
  25. local Blue = Instance.new("TextButton")
  26. local Selc = Instance.new("TextLabel")
  27. local Grey = Instance.new("TextButton")
  28. local Phantom = Instance.new("TextButton")
  29. local TextButton_2 = Instance.new("TextButton")
  30. local TextButton_3 = Instance.new("TextButton")
  31. --Properties:
  32. LT2.Name = "LT2"
  33. LT2.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  34.  
  35. Gui.Name = "Gui"
  36. Gui.Parent = LT2
  37. Gui.Active = true
  38. Gui.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Gui.BackgroundTransparency = 0.69999998807907
  40. Gui.BorderColor3 = Color3.new(0, 0, 0)
  41. Gui.BorderSizePixel = 0
  42. Gui.Draggable = true
  43. Gui.Position = UDim2.new(0, 88, 0, 321)
  44. Gui.Size = UDim2.new(0, 412, 0, 241)
  45.  
  46. TextLabel.Parent = Gui
  47. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  48. TextLabel.Position = UDim2.new(0, 0, -0.156492248, 0)
  49. TextLabel.Size = UDim2.new(0, 412, 0, 40)
  50. TextLabel.Font = Enum.Font.SourceSans
  51. TextLabel.Text = "LumberTycoon2"
  52. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  53. TextLabel.TextSize = 14
  54.  
  55. TextLabel_2.Parent = Gui
  56. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  57. TextLabel_2.Position = UDim2.new(0, 0, -0.156492248, 0)
  58. TextLabel_2.Size = UDim2.new(0, 90, 0, 40)
  59. TextLabel_2.Font = Enum.Font.SourceSans
  60. TextLabel_2.Text = "V1"
  61. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  62. TextLabel_2.TextSize = 14
  63.  
  64. TextLabel_3.Parent = Gui
  65. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  66. TextLabel_3.Position = UDim2.new(0.810679615, 0, 0.936531007, 0)
  67. TextLabel_3.Size = UDim2.new(0, 78, 0, 16)
  68. TextLabel_3.Font = Enum.Font.SourceSans
  69. TextLabel_3.Text = "By:Arfi#291"
  70. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  71. TextLabel_3.TextSize = 14
  72.  
  73. TextLabel_4.Parent = Gui
  74. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  75. TextLabel_4.Position = UDim2.new(0.740291238, 0, 0.00948286336, 0)
  76. TextLabel_4.Size = UDim2.new(0, 107, 0, 27)
  77. TextLabel_4.Font = Enum.Font.SourceSans
  78. TextLabel_4.Text = "Wall Hack"
  79. TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
  80. TextLabel_4.TextSize = 14
  81.  
  82. TextButton.Parent = Gui
  83. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  84. TextButton.Position = UDim2.new(0.0459655337, 0, 0.0717697442, 0)
  85. TextButton.Size = UDim2.new(0, 138, 0, 36)
  86. TextButton.Font = Enum.Font.SourceSans
  87. TextButton.Text = "Dupe"
  88. TextButton.TextColor3 = Color3.new(0, 0, 0)
  89. TextButton.TextSize = 14
  90. TextButton.MouseButton1Click:connect(function()
  91. local slott = game:GetService('Players').LocalPlayer.CurrentSaveSlot
  92. if Duping == true then
  93. slott.RobloxLocked = false
  94. Duping = false
  95. Dupe.BackgroundColor3 = Color3.new(255, 255, 255)
  96. else
  97. Duping = true
  98. if slott.Value == -1 then
  99. slott.RobloxLocked = true
  100. Dupe.BackgroundColor3 = Color3.new(0, 255, 0)
  101. end
  102. end
  103. end)
  104.  
  105. Spooky.Name = "Spooky "
  106. Spooky.Parent = Gui
  107. Spooky.BackgroundColor3 = Color3.new(1, 1, 1)
  108. Spooky.Position = UDim2.new(0.757130563, 0, 0.158906668, 0)
  109. Spooky.Size = UDim2.new(0, 93, 0, 36)
  110. Spooky.Font = Enum.Font.SourceSans
  111. Spooky.Text = "Spooky"
  112. Spooky.TextColor3 = Color3.new(0, 0, 0)
  113. Spooky.TextSize = 14
  114. Spooky.MouseButton1Click:connect(function()
  115. if g2 == true then
  116. g2 = false
  117. Spooky.BackgroundColor3 = Color3.new(255, 255, 255)
  118. else
  119. g2 = true
  120. Spooky.BackgroundColor3 = Color3.new(0, 255, 0)
  121. if g2 then
  122. woodtype = "Spooky"
  123. end
  124. end
  125. end)
  126.  
  127. Blue.Name = "Blue "
  128. Blue.Parent = Gui
  129. Blue.BackgroundColor3 = Color3.new(1, 1, 1)
  130. Blue.Position = UDim2.new(0.757130563, 0, 0.333180547, 0)
  131. Blue.Size = UDim2.new(0, 93, 0, 36)
  132. Blue.Font = Enum.Font.SourceSans
  133. Blue.Text = "Blue "
  134. Blue.TextColor3 = Color3.new(0, 0, 0)
  135. Blue.TextSize = 14
  136. Blue.MouseButton1Click:connect(function()
  137. if g4 == true then
  138. g4 = false
  139. Blue.BackgroundColor3 = Color3.new(255, 255, 255)
  140. else
  141. g4 = true
  142. Blue.BackgroundColor3 = Color3.new(0, 255, 0)
  143. if g4 then
  144. woodtype = "CaveCrawler"
  145. end
  146. end
  147. end)
  148.  
  149. Selc.Name = "Selc"
  150. Selc.Parent = Gui
  151. Selc.BackgroundColor3 = Color3.new(1, 1, 1)
  152. Selc.Position = UDim2.new(0.74022156, 0, 0.00653966889, 0)
  153. Selc.Size = UDim2.new(0, 0, 0, 193)
  154. Selc.Font = Enum.Font.SourceSans
  155. Selc.Text = ""
  156. Selc.TextColor3 = Color3.new(0, 0, 0)
  157. Selc.TextSize = 14
  158.  
  159. Grey.Name = "Grey"
  160. Grey.Parent = Gui
  161. Grey.BackgroundColor3 = Color3.new(1, 1, 1)
  162. Grey.Position = UDim2.new(0.757130563, 0, 0.519902527, 0)
  163. Grey.Size = UDim2.new(0, 93, 0, 36)
  164. Grey.Font = Enum.Font.SourceSans
  165. Grey.Text = "Grey"
  166. Grey.TextColor3 = Color3.new(0, 0, 0)
  167. Grey.TextSize = 14
  168. Grey.MouseButton1Click:connect(function()
  169. if g1 == true then
  170. g1 = false
  171. Grey.BackgroundColor3 = Color3.new(255, 255, 255)
  172. else
  173. g1 = true
  174. Grey.BackgroundColor3 = Color3.new(0, 255, 0)
  175. if g1 then
  176. woodtype = nil
  177. end
  178. end
  179. end)
  180.  
  181. Phantom.Name = "Phantom"
  182. Phantom.Parent = Gui
  183. Phantom.BackgroundColor3 = Color3.new(1, 1, 1)
  184. Phantom.Position = UDim2.new(0.757130563, 0, 0.706624508, 0)
  185. Phantom.Size = UDim2.new(0, 93, 0, 36)
  186. Phantom.Font = Enum.Font.SourceSans
  187. Phantom.Text = "Phantom"
  188. Phantom.TextColor3 = Color3.new(0, 0, 0)
  189. Phantom.TextSize = 14
  190. Phantom.MouseButton1Click:connect(function()
  191. if g5 == true then
  192. g5 = false
  193. Phantom.BackgroundColor3 = Color3.new(255, 255, 255)
  194. else
  195. g5 = true
  196. Phantom.BackgroundColor3 = Color3.new(0, 255, 0)
  197. if g5 then
  198. woodtype = "LoneCave"
  199. end
  200. end
  201. end)
  202.  
  203. TextButton_2.Parent = Gui
  204. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  205. TextButton_2.Position = UDim2.new(0.0459655337, 0, 0.246043608, 0)
  206. TextButton_2.Size = UDim2.new(0, 138, 0, 36)
  207. TextButton_2.Font = Enum.Font.SourceSans
  208. TextButton_2.Text = "strangemen "
  209. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  210. TextButton_2.TextSize = 14
  211. TextButton_2.MouseButton1Click:connect(function()
  212. tp.CFrame = CFrame.new(1061, 20, 1131)
  213. end)
  214.  
  215.  
  216. TextButton_3.Parent = Gui
  217. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  218. TextButton_3.Position = UDim2.new(0.0459655337, 0, 0.424466848, 0)
  219. TextButton_3.Size = UDim2.new(0, 138, 0, 36)
  220. TextButton_3.Font = Enum.Font.SourceSans
  221. TextButton_3.Text = "GoldAxe "
  222. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  223. TextButton_3.TextSize = 14
  224. TextButton_3.MouseButton1Down:Connect(function()
  225. GoldAxe.BackgroundColor3 = Color3.new(0, 255, 0)
  226. GoldAxe.Text = "Active, Cant To off"
  227. Detect = coroutine.wrap(function()
  228. Player = game.Players.LocalPlayer
  229. mouse = Player:GetMouse()
  230. mouse.Button1Down:connect(function()
  231. MouseDown = true
  232. end)
  233. mouse.Button1Up:connect(function()
  234. MouseDown = false
  235. end)
  236. end)
  237. Detect()
  238. Player = game.Players.LocalPlayer
  239. mouse = Player:GetMouse()
  240. game:GetService('RunService').RenderStepped:connect(function()
  241. if Player.Character:FindFirstChild("Tool") then
  242. if MouseDown == true then
  243. if mouse.Target.Name == "WoodSection" then
  244. targetWood = mouse.Target
  245. Tool=Player.Character.Tool
  246. ---FaceVector
  247. Height = targetWood.CFrame:pointToObjectSpace(mouse.Hit.p).Y + targetWood.Size.Y/2
  248. local ray = Ray.new(Player.Character.Head.Position, ((targetWood.CFrame * CFrame.new(0, Height - targetWood.Size.Y/2, 0)).p - Player.Character.Head.Position).unit * 200)
  249. part,_,p = workspace:FindPartOnRay(ray, Player.Character)
  250. function fixVector(V)
  251. return Vector3.new(math.floor(V.X + 0.5), math.floor(V.Y + 0.5), math.floor(V.Z + 0.5))
  252. end
  253. local faceVector = fixVector(targetWood.CFrame:vectorToObjectSpace(p))
  254. if faceVector.Y ~= 0 then
  255. return
  256. end
  257. local lookAtCFrame = CFrame.new(Player.Character.Head.Position, mouse.Hit.p)
  258. local relativeCFrame = lookAtCFrame:toObjectSpace(targetWood.CFrame * CFrame.Angles(math.pi/2, 0, 0))
  259. local relativeLookVector = relativeCFrame.lookVector
  260. local m = relativeLookVector.Y >= 0 and 1 or -1
  261. if faceVector.X == 1 then
  262. faceVector = Vector3.new(0, 0, -1) * m
  263. elseif faceVector.X == -1 then
  264. faceVector = Vector3.new(0, 0, 1) * m
  265. elseif faceVector.Z == 1 then
  266. faceVector = Vector3.new(1, 0, 0) * m
  267. elseif faceVector.Z == -1 then
  268. faceVector = Vector3.new(-1, 0, 0) * m
  269. end
  270. local cutEvent = targetWood.Parent.CutEvent
  271. game.ReplicatedStorage.Interaction.RemoteProxy:FireServer(cutEvent, {sectionId = targetWood.ID.Value, faceVector = faceVector, height = Height, hitPoints = 0.2, cooldown = 0, cuttingClass = "Axe", tool = Player.Character.Tool})
  272. end
  273. end
  274. end
  275. end)
  276. end)
  277.  
  278. woodtype = "Birch"
  279.  
  280. local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  281. tool.RequiresHandle = false
  282. --tool.RobloxLocked = true
  283. tool.Name = "Paint"
  284. tool.ToolTip = "Changes A Stucture's Wood Type"
  285. tool.Equipped:connect(function(Mouse)
  286. Mouse.Button1Down:connect(function()
  287. if Mouse.Target.Parent:FindFirstChild("Type") or Mouse.Target.Parent:FindFirstChild("BlueprintWoodClass") then
  288. local Cframe
  289. if Mouse.Target.Parent:FindFirstChild("MainCFrame") then
  290. Cframe = Mouse.Target.Parent.MainCFrame.Value
  291. else
  292. Cframe = Mouse.Target.Parent.PrimaryPart.CFrame
  293. end
  294. if Mouse.Target.Parent ~= nil then
  295. game.ReplicatedStorage.PlaceStructure.ClientPlacedStructure:FireServer(Mouse.Target.Parent.ItemName.Value, Cframe, game.Players.LocalPlayer, woodtype, Mouse.Target.Parent, false)
  296. end
  297. else
  298. --do nothing
  299. end
  300. end)
  301. end)
  302.  
  303. g1 = false
  304. g2 = false
  305. g3 = false
  306. g4 = false
  307. g5 = false
Advertisement
Add Comment
Please, Sign In to add comment