Advertisement
mr2meows

stupid ass btools

Jun 27th, 2022
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.49 KB | None | 0 0
  1. -- Objects To Lua Make By HairBaconGamming --
  2. local Module_Scripts = {}
  3. local Hammer = Instance.new("Tool")
  4. local Handle = Instance.new("Part")
  5. local Mesh = Instance.new("SpecialMesh")
  6. local Resize = Instance.new("Tool")
  7. local Handle_1 = Instance.new("Part")
  8. local Mesh_1 = Instance.new("SpecialMesh")
  9. local Resize_Local = Instance.new("LocalScript")
  10. local SwordScript = Instance.new("LocalScript")
  11. local Server = Instance.new("Script")
  12. local Event = Instance.new("RemoteEvent")
  13. local Clone = Instance.new("Tool")
  14. local Handle_2 = Instance.new("Part")
  15. local Mesh_2 = Instance.new("SpecialMesh")
  16.  
  17. -- Properties --
  18.  
  19. Hammer.Grip = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0.995037138, 0.0995037332, 0, -0.0995037183, 0.995037258)
  20. Hammer.GripForward = Vector3.new(0, -0.09950373321771622, -0.9950372576713562)
  21. Hammer.GripPos = Vector3.new(0, -1, 0)
  22. Hammer.GripUp = Vector3.new(0, 0.9950371384620667, -0.09950371831655502)
  23. Hammer.Name = [[Hammer]]
  24. Hammer.Parent = game.Workspace.mr2meowsALT
  25.  
  26. Handle.BottomSurface = Enum.SurfaceType.Smooth
  27. Handle.BrickColor = BrickColor.new([[Institutional white]])
  28. Handle.CFrame = CFrame.new(4.84520721, -5.49956036, 30.0430145, -0.492368996, 0.247718021, -0.834391177, 0.0870269984, 0.967851639, 0.235986337, 0.866024971, 0.0435777903, -0.498098284)
  29. Handle.Color = Color3.new(0.972549, 0.972549, 0.972549)
  30. Handle.Name = [[Handle]]
  31. Handle.Orientation = Vector3.new(-13.649999618530273, -120.83999633789062, 5.139999866485596)
  32. Handle.Parent = Hammer
  33. Handle.Position = Vector3.new(4.845207214355469, -5.499560356140137, 30.043014526367188)
  34. Handle.Rotation = Vector3.new(-154.64999389648438, -56.54999923706055, -153.2899932861328)
  35. Handle.Size = Vector3.new(1, 3.8000001907348633, 1)
  36. Handle.TopSurface = Enum.SurfaceType.Smooth
  37.  
  38. Mesh.MeshId = [[rbxasset://fonts/hammer.mesh]]
  39. Mesh.MeshType = Enum.MeshType.FileMesh
  40. Mesh.Parent = Handle
  41. Mesh.TextureId = [[rbxasset://textures/hammertex128.png]]
  42.  
  43. Resize.CanBeDropped = false
  44. Resize.Grip = CFrame.new(0.400000006, -0.300000012, 0.100000001, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  45. Resize.GripForward = Vector3.new(-0, 1, -0)
  46. Resize.GripPos = Vector3.new(0.4000000059604645, -0.30000001192092896, 0.10000000149011612)
  47. Resize.GripUp = Vector3.new(0, 0, 1)
  48. Resize.Name = [[Resize]]
  49. Resize.Parent = game.Workspace.mr2meowsALT
  50. Resize.TextureId = [[rbxasset://icons/resize.png]]
  51.  
  52. Handle_1.BottomSurface = Enum.SurfaceType.Smooth
  53. Handle_1.BrickColor = BrickColor.new([[Dark stone grey]])
  54. Handle_1.CFrame = CFrame.new(0.273092985, 18.0974483, 23.4998131, 0, -1, 0, 0, 0, 1, -1, 0, 0)
  55. Handle_1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  56. Handle_1.Locked = true
  57. Handle_1.Name = [[Handle]]
  58. Handle_1.Orientation = Vector3.new(-90, 90, 0)
  59. Handle_1.Parent = Resize
  60. Handle_1.Position = Vector3.new(0.27309298515319824, 18.097448348999023, 23.499813079833984)
  61. Handle_1.Reflectance = 0.4000000059604645
  62. Handle_1.Rotation = Vector3.new(-90, 0, 90)
  63. Handle_1.Size = Vector3.new(2, 1.2000000476837158, 1)
  64. Handle_1.TopSurface = Enum.SurfaceType.Smooth
  65.  
  66. Mesh_1.MeshId = [[http://www.roblox.com/asset/?id=15954259]]
  67. Mesh_1.MeshType = Enum.MeshType.FileMesh
  68. Mesh_1.Parent = Handle_1
  69. Mesh_1.Scale = Vector3.new(0.4000000059604645, 0.4000000059604645, 0.4000000059604645)
  70. Mesh_1.TextureId = [[http://www.roblox.com/asset/?id=15958837]]
  71.  
  72. function Resize_Local_ScriptfakeXD()
  73.  
  74. local script = Instance.new("LocalScript",Resize)
  75. Resize_Local = script
  76. script.Name = [[Resize Local]]
  77. local require_fake = require
  78. local require = function(Object)
  79. local functiom = Module_Scripts[Object]
  80. if functiom then
  81. return functiom()
  82. end
  83. return require_fake(Object)
  84. end
  85.  
  86. local Tool = script.Parent
  87.  
  88. enabled = true
  89. local origTexture = Tool.TextureId
  90. game:GetService("ContentProvider"):Preload("rbxasset://icons/resize_sel.png")
  91.  
  92. local selectionBox
  93. local selectionLasso
  94. local handles
  95.  
  96. local previousDistance
  97.  
  98. function onHandlesDown(normal)
  99. previousDistance = 0
  100. end
  101. function onHandlesDrag(normal, distance)
  102. if handles.Adornee then
  103. local delta = distance - previousDistance
  104. if math.abs(delta) >= handles.Adornee.ResizeIncrement then
  105. local sizeDelta = math.floor(delta / handles.Adornee.ResizeIncrement + 0.5) * handles.Adornee.ResizeIncrement
  106. if handles.Adornee:Resize(normal, sizeDelta) then
  107. previousDistance = distance
  108. end
  109. script.Parent.Event:FireServer("ResizeBrick", handles.Adornee, handles.Adornee.Size, handles.Adornee.CFrame)
  110. end
  111. end
  112. end
  113.  
  114. function onButton1Down(mouse)
  115. if mouse.Target == nil or mouse.Target.Locked then
  116. mouse.Icon = ""
  117. selectionBox.Adornee = nil
  118. selectionLasso.Part = nil
  119. handles.Adornee = nil
  120. else
  121. mouse.Icon = "rbxasset://textures\\DragCursor.png"
  122. selectionBox.Adornee = mouse.Target
  123. selectionLasso.Part = mouse.Target
  124. handles.Adornee = mouse.Target
  125. handles.Faces = mouse.Target.ResizeableFaces
  126. end
  127. end
  128.  
  129.  
  130.  
  131. function onEquippedLocal(mouse)
  132. Tool.TextureId = "rbxasset://icons/resize_sel.png"
  133.  
  134. mouse.Icon = ""
  135. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  136.  
  137. local character = script.Parent.Parent
  138. local player = game.Players:GetPlayerFromCharacter(character)
  139.  
  140. selectionBox = Instance.new("SelectionBox")
  141. selectionBox.Color = BrickColor.Blue()
  142. selectionBox.Adornee = nil
  143. selectionBox.Parent = player.PlayerGui
  144.  
  145. selectionLasso = Instance.new("SelectionPartLasso")
  146. selectionLasso.Name = "Model Delete Lasso"
  147. selectionLasso.Humanoid = character.Humanoid
  148. selectionLasso.Parent = game.workspace
  149. selectionLasso.Part = nil
  150. selectionLasso.Visible = true
  151. selectionLasso.archivable = false
  152. selectionLasso.Color = BrickColor.Red()
  153.  
  154. handles = Instance.new("Handles")
  155. handles.Color = BrickColor.Blue()
  156. handles.Adornee = nil
  157. handles.MouseDrag:connect(onHandlesDrag)
  158. handles.MouseButton1Down:connect(onHandlesDown)
  159. handles.Parent = player.PlayerGui
  160. end
  161.  
  162. function onUnequippedLocal()
  163. Tool.TextureId = origTexture
  164. selectionBox:Remove()
  165. selectionLasso:Remove()
  166. handles:Remove()
  167. end
  168.  
  169.  
  170. Tool.Equipped:connect(onEquippedLocal)
  171. Tool.Unequipped:connect(onUnequippedLocal)
  172.  
  173.  
  174. end
  175. coroutine.wrap(Resize_Local_ScriptfakeXD)()
  176.  
  177.  
  178. function SwordScript_ScriptfakeXD()
  179.  
  180. local script = Instance.new("LocalScript",Resize)
  181. SwordScript = script
  182. script.Name = [[SwordScript]]
  183. local require_fake = require
  184. local require = function(Object)
  185. local functiom = Module_Scripts[Object]
  186. if functiom then
  187. return functiom()
  188. end
  189. return require_fake(Object)
  190. end
  191.  
  192. -------- OMG HAX
  193.  
  194. r = game:service("RunService")
  195.  
  196.  
  197. local damage = 0
  198.  
  199.  
  200. local slash_damage = 0
  201.  
  202.  
  203. sword = script.Parent.Handle
  204. tool = script.Parent
  205.  
  206.  
  207.  
  208. function attack()
  209. local anim = Instance.new("StringValue")
  210. anim.Name = "toolanim"
  211. anim.Value = "Slash"
  212. anim.Parent = tool
  213. end
  214.  
  215.  
  216. function swordUp()
  217. tool.GripForward = Vector3.new(-1,0,0)
  218. tool.GripRight = Vector3.new(0,1,0)
  219. tool.GripUp = Vector3.new(0,0,1)
  220. end
  221.  
  222. function swordOut()
  223. tool.GripForward = Vector3.new(0,0,1)
  224. tool.GripRight = Vector3.new(0,-1,0)
  225. tool.GripUp = Vector3.new(-1,0,0)
  226. end
  227.  
  228. tool.Enabled = true
  229.  
  230. script.Parent.Activated:Connect(function()
  231. if not tool.Enabled then
  232. return
  233. end
  234.  
  235. tool.Enabled = false
  236.  
  237. local character = tool.Parent;
  238. local humanoid = character.Humanoid
  239. if humanoid == nil then
  240. print("Humanoid not found")
  241. return
  242. end
  243.  
  244. attack()
  245. wait(1)
  246. tool.Enabled = true
  247. end)
  248.  
  249. end
  250. coroutine.wrap(SwordScript_ScriptfakeXD)()
  251.  
  252.  
  253. function Server_ScriptfakeXD()
  254.  
  255. local script = Instance.new("Script",Resize)
  256. Server = script
  257. script.Name = [[Server]]
  258. local require_fake = require
  259. local require = function(Object)
  260. local functiom = Module_Scripts[Object]
  261. if functiom then
  262. return functiom()
  263. end
  264. return require_fake(Object)
  265. end
  266.  
  267. script.Parent.Event.OnServerEvent:Connect(function(plr, arg1, arg2, arg3, arg4)
  268. if arg1 == "ResizeBrick" then
  269. if arg2 ~= nil and arg2.Locked == false then
  270. arg2.Size = arg3
  271. arg2.CFrame = arg4
  272. end
  273. end
  274. end)
  275.  
  276. end
  277. coroutine.wrap(Server_ScriptfakeXD)()
  278.  
  279.  
  280. Event.Name = [[Event]]
  281. Event.Parent = Resize
  282.  
  283. Clone.Grip = CFrame.new(0.0500000007, 0, -1.29999995, 0.000123821184, -0.294905365, 0.955526531, 0.994947374, 0.0959692076, 0.029490171, -0.100397922, 0.950694919, 0.293427199)
  284. Clone.GripForward = Vector3.new(-0.9555265307426453, -0.029490171000361443, -0.2934271991252899)
  285. Clone.GripPos = Vector3.new(0.05000000074505806, 0, -1.2999999523162842)
  286. Clone.GripRight = Vector3.new(0.00012382118438836187, 0.9949473738670349, -0.10039792209863663)
  287. Clone.GripUp = Vector3.new(-0.2949053645133972, 0.09596920758485794, 0.9506949186325073)
  288. Clone.Name = [[Clone]]
  289. Clone.Parent = game.Workspace.mr2meowsALT
  290.  
  291. Handle_2.BottomSurface = Enum.SurfaceType.Smooth
  292. Handle_2.BrickColor = BrickColor.new([[Institutional white]])
  293. Handle_2.CFrame = CFrame.new(3.60387039, -5.47310638, 30.0105896, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  294. Handle_2.CanCollide = false
  295. Handle_2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  296. Handle_2.Name = [[Handle]]
  297. Handle_2.Orientation = Vector3.new(-90, -180, 0)
  298. Handle_2.Parent = Clone
  299. Handle_2.Position = Vector3.new(3.603870391845703, -5.473106384277344, 30.010589599609375)
  300. Handle_2.Rotation = Vector3.new(-90, 0, -180)
  301. Handle_2.Size = Vector3.new(1, 0.800000011920929, 4)
  302. Handle_2.TopSurface = Enum.SurfaceType.Smooth
  303.  
  304. Mesh_2.MeshId = [[rbxasset://fonts/clonewand.mesh]]
  305. Mesh_2.MeshType = Enum.MeshType.FileMesh
  306. Mesh_2.Parent = Handle_2
  307. Mesh_2.Scale = Vector3.new(0.75, 0.75, 1)
  308. Mesh_2.TextureId = [[rbxasset://textures/CloneWandTexture.png]]
  309.  
  310. -- End --
  311. -- Thank for using --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement