Advertisement
Josemmoya

Untitled

Feb 8th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. function CreateObject(b,c)local d=Instance.new(b)
  2. for e,f in pairs(c)do d[f[1]]=f[2]end;return d end
  3. handle=CreateObject("Part",{{"Size",Vector3.new(0.2,3.92,0.83)},{"BottomSurface",0},{"Orientation",Vector3.new(
  4. -41.93,-90,0)},{"Name","Handle"},{"BrickColor",BrickColor.new(199)},{"Color",Color3.new(0.388235,0.372549,0.384314)},{"TopSurface",0},{"Parent",workspace},{"CFrame",
  5. CFrame.new(0.001,1.736,0.005)*CFrame.Angles(-1.571,-0.839,-1.571)}})
  6. mesh=CreateObject("SpecialMesh",{{"MeshType",5},{"Scale",Vector3.new(0.4,0.4,0.4)},{"MeshId","http://www.roblox.com/asset/?id=123248347"},{"TextureId","http://www.roblox.com/asset/?id=123248449"},{"Parent",Handle}})
  7. hit=CreateObject("Sound",{{"Volume",1},{"Name","Hit"},{"SoundId","http://www.roblox.com/Asset?ID=123252378"},{"Parent",Handle}})
  8. swing=CreateObject("Sound",{{"Volume",1},{"Name","Swing"},{"SoundId","http://www.roblox.com/Asset?ID=119888724"},{"Parent",Handle}})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement