Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tool = Instance.new("Tool",owner.Backpack)
- local handle = Instance.new("Part",tool)
- handle.Name = "Handle"
- handle.Shape = "Cylinder"
- handle.Size = Vector3.new(1,1.2,1)
- local mash = Instance.new("SpecialMesh",handle)
- mash.MeshId = "http://www.roblox.com/asset/?id=1090756"
- mash.TextureId = "http://www.roblox.com/asset/?id=1090759"
- tool.Name = "StageProp"
- tool.GripPos = Vector3.new(-1.449, 0.358, 0)
- local normalgrip = CFrame.new(-0.315224648, 0.535124779, 0, -1.07278083e-06, 0.164355099, -0.9864012, 5.53428492e-07, -0.9864012, -0.164355099, -1, -7.22219454e-07, 9.67233518e-07)
- local atackgrip = CFrame.new(-0.315224886, 0.535125375, -1.90734863e-06, -1.21247797e-06, -0.98640126, -0.164355129, 6.8195078e-07, -0.164355129, 0.98640126, -1, 1.0839077e-06, 8.71954057e-07)
- local slash = Instance.new("Sound", handle)
- local equip = Instance.new("Sound", handle)
- slash.SoundId = "http://www.roblox.com/asset/?id=12222216"
- equip.SoundId = "http://www.roblox.com/asset/?id=12222225"
- function slish()
- tool.Enabled = false
- slash:Play()
- tool.Grip = atackgrip
- wait(.5)
- tool.Grip = normalgrip
- wait(1.5)
- tool.Enabled = true
- end
- function eqip()
- wait()
- if tool.Parent.StageProp then
- plr = tool.Parent
- if tool.Parent.StageProp:IsA("Accessory") then
- hat = true
- tool.Parent.StageProp:Destroy()
- else
- hat = false
- end
- else
- hat = false
- end
- equip:Play()
- tool.Grip = normalgrip
- end
- function touch(part)
- if part.Parent.Humanoid then
- part.Parent.Humanoid:TakeDamage(6.25)
- end
- end
- function fake()
- if hat == true then
- local StageProp = Instance.new("Accessory")
- local Handle = Instance.new("Part")
- local Mesh = Instance.new("SpecialMesh")
- StageProp.AttachmentPoint = CFrame.new(0, -0.349999994, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- StageProp.Name = [[StageProp]]
- StageProp.Parent = plr
- Handle.BottomSurface = Enum.SurfaceType.Smooth
- Handle.CanCollide = false
- Handle.Locked = true
- Handle.Name = [[Handle]]
- Handle.Parent = StageProp
- Handle.Size = Vector3.new(1, 1.2000000476837158, 1)
- Handle.TopSurface = Enum.SurfaceType.Smooth
- Mesh.MeshId = [[http://www.roblox.com/asset/?id=1090756]]
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Parent = Handle
- Mesh.TextureId = [[http://www.roblox.com/asset/?id=1090759]]
- end
- end
- handle.Touched:Connect(touch)
- tool.Activated:Connect(slish)
- tool.Equipped:Connect(eqip)
- tool.Unequipped:Connect(fake)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement