Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects To Lua Make By HairBaconGamming --
- local Module_Scripts = {}
- local Hammer = Instance.new("Tool")
- local Handle = Instance.new("Part")
- local Mesh = Instance.new("SpecialMesh")
- local Resize = Instance.new("Tool")
- local Handle_1 = Instance.new("Part")
- local Mesh_1 = Instance.new("SpecialMesh")
- local Resize_Local = Instance.new("LocalScript")
- local SwordScript = Instance.new("LocalScript")
- local Server = Instance.new("Script")
- local Event = Instance.new("RemoteEvent")
- local Clone = Instance.new("Tool")
- local Handle_2 = Instance.new("Part")
- local Mesh_2 = Instance.new("SpecialMesh")
- -- Properties --
- Hammer.Grip = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0.995037138, 0.0995037332, 0, -0.0995037183, 0.995037258)
- Hammer.GripForward = Vector3.new(0, -0.09950373321771622, -0.9950372576713562)
- Hammer.GripPos = Vector3.new(0, -1, 0)
- Hammer.GripUp = Vector3.new(0, 0.9950371384620667, -0.09950371831655502)
- Hammer.Name = [[Hammer]]
- Hammer.Parent = game.Workspace.mr2meowsALT
- Handle.BottomSurface = Enum.SurfaceType.Smooth
- Handle.BrickColor = BrickColor.new([[Institutional white]])
- 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)
- Handle.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Handle.Name = [[Handle]]
- Handle.Orientation = Vector3.new(-13.649999618530273, -120.83999633789062, 5.139999866485596)
- Handle.Parent = Hammer
- Handle.Position = Vector3.new(4.845207214355469, -5.499560356140137, 30.043014526367188)
- Handle.Rotation = Vector3.new(-154.64999389648438, -56.54999923706055, -153.2899932861328)
- Handle.Size = Vector3.new(1, 3.8000001907348633, 1)
- Handle.TopSurface = Enum.SurfaceType.Smooth
- Mesh.MeshId = [[rbxasset://fonts/hammer.mesh]]
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Parent = Handle
- Mesh.TextureId = [[rbxasset://textures/hammertex128.png]]
- Resize.CanBeDropped = false
- Resize.Grip = CFrame.new(0.400000006, -0.300000012, 0.100000001, 1, 0, 0, 0, 0, -1, 0, 1, 0)
- Resize.GripForward = Vector3.new(-0, 1, -0)
- Resize.GripPos = Vector3.new(0.4000000059604645, -0.30000001192092896, 0.10000000149011612)
- Resize.GripUp = Vector3.new(0, 0, 1)
- Resize.Name = [[Resize]]
- Resize.Parent = game.Workspace.mr2meowsALT
- Resize.TextureId = [[rbxasset://icons/resize.png]]
- Handle_1.BottomSurface = Enum.SurfaceType.Smooth
- Handle_1.BrickColor = BrickColor.new([[Dark stone grey]])
- Handle_1.CFrame = CFrame.new(0.273092985, 18.0974483, 23.4998131, 0, -1, 0, 0, 0, 1, -1, 0, 0)
- Handle_1.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Handle_1.Locked = true
- Handle_1.Name = [[Handle]]
- Handle_1.Orientation = Vector3.new(-90, 90, 0)
- Handle_1.Parent = Resize
- Handle_1.Position = Vector3.new(0.27309298515319824, 18.097448348999023, 23.499813079833984)
- Handle_1.Reflectance = 0.4000000059604645
- Handle_1.Rotation = Vector3.new(-90, 0, 90)
- Handle_1.Size = Vector3.new(2, 1.2000000476837158, 1)
- Handle_1.TopSurface = Enum.SurfaceType.Smooth
- Mesh_1.MeshId = [[http://www.roblox.com/asset/?id=15954259]]
- Mesh_1.MeshType = Enum.MeshType.FileMesh
- Mesh_1.Parent = Handle_1
- Mesh_1.Scale = Vector3.new(0.4000000059604645, 0.4000000059604645, 0.4000000059604645)
- Mesh_1.TextureId = [[http://www.roblox.com/asset/?id=15958837]]
- function Resize_Local_ScriptfakeXD()
- local script = Instance.new("LocalScript",Resize)
- Resize_Local = script
- script.Name = [[Resize Local]]
- local require_fake = require
- local require = function(Object)
- local functiom = Module_Scripts[Object]
- if functiom then
- return functiom()
- end
- return require_fake(Object)
- end
- local Tool = script.Parent
- enabled = true
- local origTexture = Tool.TextureId
- game:GetService("ContentProvider"):Preload("rbxasset://icons/resize_sel.png")
- local selectionBox
- local selectionLasso
- local handles
- local previousDistance
- function onHandlesDown(normal)
- previousDistance = 0
- end
- function onHandlesDrag(normal, distance)
- if handles.Adornee then
- local delta = distance - previousDistance
- if math.abs(delta) >= handles.Adornee.ResizeIncrement then
- local sizeDelta = math.floor(delta / handles.Adornee.ResizeIncrement + 0.5) * handles.Adornee.ResizeIncrement
- if handles.Adornee:Resize(normal, sizeDelta) then
- previousDistance = distance
- end
- script.Parent.Event:FireServer("ResizeBrick", handles.Adornee, handles.Adornee.Size, handles.Adornee.CFrame)
- end
- end
- end
- function onButton1Down(mouse)
- if mouse.Target == nil or mouse.Target.Locked then
- mouse.Icon = ""
- selectionBox.Adornee = nil
- selectionLasso.Part = nil
- handles.Adornee = nil
- else
- mouse.Icon = "rbxasset://textures\\DragCursor.png"
- selectionBox.Adornee = mouse.Target
- selectionLasso.Part = mouse.Target
- handles.Adornee = mouse.Target
- handles.Faces = mouse.Target.ResizeableFaces
- end
- end
- function onEquippedLocal(mouse)
- Tool.TextureId = "rbxasset://icons/resize_sel.png"
- mouse.Icon = ""
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- local character = script.Parent.Parent
- local player = game.Players:GetPlayerFromCharacter(character)
- selectionBox = Instance.new("SelectionBox")
- selectionBox.Color = BrickColor.Blue()
- selectionBox.Adornee = nil
- selectionBox.Parent = player.PlayerGui
- selectionLasso = Instance.new("SelectionPartLasso")
- selectionLasso.Name = "Model Delete Lasso"
- selectionLasso.Humanoid = character.Humanoid
- selectionLasso.Parent = game.workspace
- selectionLasso.Part = nil
- selectionLasso.Visible = true
- selectionLasso.archivable = false
- selectionLasso.Color = BrickColor.Red()
- handles = Instance.new("Handles")
- handles.Color = BrickColor.Blue()
- handles.Adornee = nil
- handles.MouseDrag:connect(onHandlesDrag)
- handles.MouseButton1Down:connect(onHandlesDown)
- handles.Parent = player.PlayerGui
- end
- function onUnequippedLocal()
- Tool.TextureId = origTexture
- selectionBox:Remove()
- selectionLasso:Remove()
- handles:Remove()
- end
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Unequipped:connect(onUnequippedLocal)
- end
- coroutine.wrap(Resize_Local_ScriptfakeXD)()
- function SwordScript_ScriptfakeXD()
- local script = Instance.new("LocalScript",Resize)
- SwordScript = script
- script.Name = [[SwordScript]]
- local require_fake = require
- local require = function(Object)
- local functiom = Module_Scripts[Object]
- if functiom then
- return functiom()
- end
- return require_fake(Object)
- end
- -------- OMG HAX
- r = game:service("RunService")
- local damage = 0
- local slash_damage = 0
- sword = script.Parent.Handle
- tool = script.Parent
- function attack()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = tool
- end
- function swordUp()
- tool.GripForward = Vector3.new(-1,0,0)
- tool.GripRight = Vector3.new(0,1,0)
- tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- tool.GripForward = Vector3.new(0,0,1)
- tool.GripRight = Vector3.new(0,-1,0)
- tool.GripUp = Vector3.new(-1,0,0)
- end
- tool.Enabled = true
- script.Parent.Activated:Connect(function()
- if not tool.Enabled then
- return
- end
- tool.Enabled = false
- local character = tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- attack()
- wait(1)
- tool.Enabled = true
- end)
- end
- coroutine.wrap(SwordScript_ScriptfakeXD)()
- function Server_ScriptfakeXD()
- local script = Instance.new("Script",Resize)
- Server = script
- script.Name = [[Server]]
- local require_fake = require
- local require = function(Object)
- local functiom = Module_Scripts[Object]
- if functiom then
- return functiom()
- end
- return require_fake(Object)
- end
- script.Parent.Event.OnServerEvent:Connect(function(plr, arg1, arg2, arg3, arg4)
- if arg1 == "ResizeBrick" then
- if arg2 ~= nil and arg2.Locked == false then
- arg2.Size = arg3
- arg2.CFrame = arg4
- end
- end
- end)
- end
- coroutine.wrap(Server_ScriptfakeXD)()
- Event.Name = [[Event]]
- Event.Parent = Resize
- 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)
- Clone.GripForward = Vector3.new(-0.9555265307426453, -0.029490171000361443, -0.2934271991252899)
- Clone.GripPos = Vector3.new(0.05000000074505806, 0, -1.2999999523162842)
- Clone.GripRight = Vector3.new(0.00012382118438836187, 0.9949473738670349, -0.10039792209863663)
- Clone.GripUp = Vector3.new(-0.2949053645133972, 0.09596920758485794, 0.9506949186325073)
- Clone.Name = [[Clone]]
- Clone.Parent = game.Workspace.mr2meowsALT
- Handle_2.BottomSurface = Enum.SurfaceType.Smooth
- Handle_2.BrickColor = BrickColor.new([[Institutional white]])
- Handle_2.CFrame = CFrame.new(3.60387039, -5.47310638, 30.0105896, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Handle_2.CanCollide = false
- Handle_2.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Handle_2.Name = [[Handle]]
- Handle_2.Orientation = Vector3.new(-90, -180, 0)
- Handle_2.Parent = Clone
- Handle_2.Position = Vector3.new(3.603870391845703, -5.473106384277344, 30.010589599609375)
- Handle_2.Rotation = Vector3.new(-90, 0, -180)
- Handle_2.Size = Vector3.new(1, 0.800000011920929, 4)
- Handle_2.TopSurface = Enum.SurfaceType.Smooth
- Mesh_2.MeshId = [[rbxasset://fonts/clonewand.mesh]]
- Mesh_2.MeshType = Enum.MeshType.FileMesh
- Mesh_2.Parent = Handle_2
- Mesh_2.Scale = Vector3.new(0.75, 0.75, 1)
- Mesh_2.TextureId = [[rbxasset://textures/CloneWandTexture.png]]
- -- End --
- -- Thank for using --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement