Advertisement
PowerSans124

WINGS

Jul 18th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Player=game:GetService('Players').LocalPlayer
  2. Character=Player.Character
  3. Mouse=Player:GetMouse()
  4. m=Instance.new('Model',Character)
  5. local function weldBetween(a, b)
  6. local weldd = Instance.new("ManualWeld")
  7. weldd.Part0 = a
  8. weldd.Part1 = b
  9. weldd.C0 = CFrame.new()
  10. weldd.C1 = b.CFrame:inverse() * a.CFrame
  11. weldd.Parent = a
  12. return weldd
  13. end
  14.  
  15. it=Instance.new
  16.  
  17. function nooutline(part)
  18. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  19. end
  20.  
  21. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  22. local fp=it("Part")
  23. fp.formFactor=formfactor
  24. fp.Parent=parent
  25. fp.Reflectance=reflectance
  26. fp.Transparency=transparency
  27. fp.CanCollide=false
  28. fp.Locked=true
  29. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  30. fp.Name=name
  31. fp.Size=size
  32. fp.Position=Character.Torso.Position
  33. nooutline(fp)
  34. fp.Material=material
  35. fp:BreakJoints()
  36. return fp
  37. end
  38.  
  39. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  40. local mesh=it(Mesh)
  41. mesh.Parent=part
  42. if Mesh=="SpecialMesh" then
  43. mesh.MeshType=meshtype
  44. mesh.MeshId=meshid
  45. end
  46. mesh.Offset=offset
  47. mesh.Scale=scale
  48. return mesh
  49. end
  50.  
  51. function weld(parent,part0,part1,c0,c1)
  52. local weld=it("Weld")
  53. weld.Parent=parent
  54. weld.Part0=part0
  55. weld.Part1=part1
  56. weld.C0=c0
  57. weld.C1=c1
  58. return weld
  59. end
  60.  
  61. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
  62. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.61954498, 0.610899925, 1.40690994, -0.258819044, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, -0.258819044))
  63. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468234",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
  64.  
  65. Player=game:GetService('Players').LocalPlayer
  66. Character=Player.Character
  67. Mouse=Player:GetMouse()
  68. m=Instance.new('Model',Character)
  69. local function weldBetween(a, b)
  70. local weldd = Instance.new("ManualWeld")
  71. weldd.Part0 = a
  72. weldd.Part1 = b
  73. weldd.C0 = CFrame.new()
  74. weldd.C1 = b.CFrame:inverse() * a.CFrame
  75. weldd.Parent = a
  76. return weldd
  77. end
  78.  
  79. it=Instance.new
  80.  
  81. function nooutline(part)
  82. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  83. end
  84.  
  85. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  86. local fp=it("Part")
  87. fp.formFactor=formfactor
  88. fp.Parent=parent
  89. fp.Reflectance=reflectance
  90. fp.Transparency=transparency
  91. fp.CanCollide=false
  92. fp.Locked=true
  93. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  94. fp.Name=name
  95. fp.Size=size
  96. fp.Position=Character.Torso.Position
  97. nooutline(fp)
  98. fp.Material=material
  99. fp:BreakJoints()
  100. return fp
  101. end
  102.  
  103. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  104. local mesh=it(Mesh)
  105. mesh.Parent=part
  106. if Mesh=="SpecialMesh" then
  107. mesh.MeshType=meshtype
  108. mesh.MeshId=meshid
  109. end
  110. mesh.Offset=offset
  111. mesh.Scale=scale
  112. return mesh
  113. end
  114.  
  115. function weld(parent,part0,part1,c0,c1)
  116. local weld=it("Weld")
  117. weld.Parent=parent
  118. weld.Part0=part0
  119. weld.Part1=part1
  120. weld.C0=c0
  121. weld.C1=c1
  122. return weld
  123. end
  124.  
  125.  
  126. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(4, 1, 2))
  127. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.72890472, 0.675598145, -1.43186569, 0.258819073, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, 0.258819073))
  128. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468709",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
  129. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Handle", VT(0.6,0.1,1)/2,false)
  130. MakeForm(HandlePart,"Ball")
  131. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  132. local HandlePart = CreatePart(3,Weapon, "Neon", 0, 0, "Lime green", "Handle", VT(0.6,0.1,1)/2,false)
  133. MakeForm(HandlePart,"Ball")
  134. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  135. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Handle", VT(0.1,1,1)/2,false)
  136. MakeForm(HandlePart,"Ball")
  137. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  138. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Handle", VT(0.1,1,1)/2,false)
  139. MakeForm(HandlePart,"Ball")
  140. CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement