hawoody

Simple Combat Model

Apr 19th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.42 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Model0 = Instance.new("Model")
  19. Part1 = Instance.new("Part")
  20. ManualWeld2 = Instance.new("ManualWeld")
  21. Part3 = Instance.new("Part")
  22. ManualWeld4 = Instance.new("ManualWeld")
  23. Part5 = Instance.new("Part")
  24. ManualWeld6 = Instance.new("ManualWeld")
  25. Part7 = Instance.new("Part")
  26. SpecialMesh8 = Instance.new("SpecialMesh")
  27. Part9 = Instance.new("Part")
  28. Part10 = Instance.new("Part")
  29. ManualWeld11 = Instance.new("ManualWeld")
  30. Part12 = Instance.new("Part")
  31. SpecialMesh13 = Instance.new("SpecialMesh")
  32. Part14 = Instance.new("Part")
  33. ManualWeld15 = Instance.new("ManualWeld")
  34. ManualWeld16 = Instance.new("ManualWeld")
  35. Part17 = Instance.new("Part")
  36. ManualWeld18 = Instance.new("ManualWeld")
  37. Part19 = Instance.new("Part")
  38. Part20 = Instance.new("Part")
  39. Part21 = Instance.new("Part")
  40. Part22 = Instance.new("Part")
  41. Part23 = Instance.new("Part")
  42. Model0.Name = ":P"
  43. Model0.Parent = mas
  44. Part1.Parent = Model0
  45. Part1.Rotation = Vector3.new(-18.3599987, -11.79, -15.46)
  46. Part1.Anchored = true
  47. Part1.Size = Vector3.new(1, 2, 1)
  48. Part1.CFrame = CFrame.new(2.55843425, 8.97660351, 12.0000048, 0.943478167, 0.261009067, -0.204266146, -0.191050261, 0.931898057, 0.308332115, 0.270832449, -0.251879215, 0.929090261)
  49. Part1.BottomSurface = Enum.SurfaceType.Smooth
  50. Part1.TopSurface = Enum.SurfaceType.Smooth
  51. Part1.Position = Vector3.new(2.55843425, 8.97660351, 12.0000048)
  52. Part1.Orientation = Vector3.new(-17.9599991, -12.3999996, -11.5900002)
  53. ManualWeld2.Name = "Part-to-Part Strong Joint"
  54. ManualWeld2.Parent = Part1
  55. ManualWeld2.C0 = CFrame.new(0.5, -1, 0.5, 1, 0, 0, 0, 0, -1, -0, 1, 0)
  56. ManualWeld2.C1 = CFrame.new(0.500000477, 0.500001431, 2.25, 1.00000072, 2.08616257e-07, 2.98023224e-08, -7.4505806e-08, 4.02331352e-07, -1.00000155, 8.94069672e-08, 1.00000107, 2.98023224e-08)
  57. ManualWeld2.Part0 = Part1
  58. ManualWeld2.Part1 = Part23
  59. Part3.Parent = Model0
  60. Part3.Rotation = Vector3.new(0, 0, -135.309998)
  61. Part3.Anchored = true
  62. Part3.Size = Vector3.new(1, 2, 1)
  63. Part3.CFrame = CFrame.new(1.70027828, 11.9167404, 11, -0.71094048, 0.703252554, 0, -0.703252554, -0.71094048, 0, 0, 0, 1)
  64. Part3.BottomSurface = Enum.SurfaceType.Smooth
  65. Part3.TopSurface = Enum.SurfaceType.Smooth
  66. Part3.Position = Vector3.new(1.70027828, 11.9167404, 11)
  67. Part3.Orientation = Vector3.new(0, 0, -135.309998)
  68. ManualWeld4.Name = "Part-to-Part Strong Joint"
  69. ManualWeld4.Parent = Part3
  70. ManualWeld4.C0 = CFrame.new(0.5, -1, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  71. ManualWeld4.C1 = CFrame.new(0.0679883957, -1.11596489, 0.5, -0.919967413, 0.39199537, 0, 0.39199537, 0.919967413, 0, 0, 0, -1)
  72. ManualWeld4.Part0 = Part3
  73. ManualWeld4.Part1 = Part9
  74. Part5.Parent = Model0
  75. Part5.Rotation = Vector3.new(0, 0, -171.050003)
  76. Part5.Anchored = true
  77. Part5.Size = Vector3.new(1, 2, 2)
  78. Part5.CFrame = CFrame.new(2.83980703, 10.3625488, 10.5, -0.98781389, 0.155639991, 0, -0.155639991, -0.98781389, 0, 0, 0, 1)
  79. Part5.BottomSurface = Enum.SurfaceType.Smooth
  80. Part5.TopSurface = Enum.SurfaceType.Smooth
  81. Part5.Position = Vector3.new(2.83980703, 10.3625488, 10.5)
  82. Part5.Orientation = Vector3.new(0, 0, -171.050003)
  83. ManualWeld6.Name = "Part-to-Part Strong Joint"
  84. ManualWeld6.Parent = Part5
  85. ManualWeld6.C0 = CFrame.new(0.5, -1, -1, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  86. ManualWeld6.C1 = CFrame.new(-0.0485715866, -2.1169796, 0.5, -0.874154627, 0.485648096, 0, 0.485648096, 0.874154627, 0, 0, 0, -1)
  87. ManualWeld6.Part0 = Part5
  88. ManualWeld6.Part1 = Part20
  89. Part7.Parent = Model0
  90. Part7.Rotation = Vector3.new(0, 0, 130.339996)
  91. Part7.Anchored = true
  92. Part7.Size = Vector3.new(1, 1, 1)
  93. Part7.CFrame = CFrame.new(3.07326698, 8.8808279, 10.5, -0.647325695, -0.762213647, 0, 0.762213647, -0.647325695, 0, 0, 0, 1)
  94. Part7.BottomSurface = Enum.SurfaceType.Smooth
  95. Part7.TopSurface = Enum.SurfaceType.Smooth
  96. Part7.Position = Vector3.new(3.07326698, 8.8808279, 10.5)
  97. Part7.Orientation = Vector3.new(0, 0, 130.339996)
  98. SpecialMesh8.Parent = Part7
  99. Part9.Parent = Model0
  100. Part9.Rotation = Vector3.new(0, 0, -112.229996)
  101. Part9.Anchored = true
  102. Part9.Size = Vector3.new(1, 2, 1)
  103. Part9.CFrame = CFrame.new(1.70027804, 11.9167404, 10, -0.378370166, 0.925654411, 0, -0.925654411, -0.378370166, 0, 0, 0, 1)
  104. Part9.BottomSurface = Enum.SurfaceType.Smooth
  105. Part9.TopSurface = Enum.SurfaceType.Smooth
  106. Part9.Position = Vector3.new(1.70027804, 11.9167404, 10)
  107. Part9.Orientation = Vector3.new(0, 0, -112.229996)
  108. Part10.Parent = Model0
  109. Part10.Rotation = Vector3.new(13.7999992, 16.9200001, 139.830002)
  110. Part10.Anchored = true
  111. Part10.Size = Vector3.new(1, 2, 1)
  112. Part10.CFrame = CFrame.new(2.83035517, 4.40400314, 12.0000038, -0.7310251, -0.617185652, 0.291011691, 0.573420346, -0.786821127, -0.228271022, 0.369858474, 2.56507604e-07, 0.929089844)
  113. Part10.BottomSurface = Enum.SurfaceType.Smooth
  114. Part10.TopSurface = Enum.SurfaceType.Smooth
  115. Part10.Position = Vector3.new(2.83035517, 4.40400314, 12.0000038)
  116. Part10.Orientation = Vector3.new(13.1999998, 17.3899994, 143.919998)
  117. ManualWeld11.Name = "Part-to-Part Strong Joint"
  118. ManualWeld11.Parent = Part10
  119. ManualWeld11.C0 = CFrame.new(0.5, -1, 0.5, 1, 0, 0, 0, 0, -1, -0, 1, 0)
  120. ManualWeld11.C1 = CFrame.new(-0.50000906, -0.499996185, 2.24999905, -1.00000191, 5.96046448e-08, 1.24673718e-07, 1.13559463e-06, 8.87740725e-09, 1.00000286, -3.27825546e-07, 1.00000167, -4.61835612e-07)
  121. ManualWeld11.Part0 = Part10
  122. ManualWeld11.Part1 = Part22
  123. Part12.Parent = Model0
  124. Part12.Rotation = Vector3.new(0, 0, 27.3199997)
  125. Part12.Anchored = true
  126. Part12.Size = Vector3.new(1, 1, 1)
  127. Part12.CFrame = CFrame.new(2.31157827, 4.33269882, 10.5, 0.88846314, -0.458947986, 0, 0.458947986, 0.88846314, 0, 0, 0, 1)
  128. Part12.BottomSurface = Enum.SurfaceType.Smooth
  129. Part12.TopSurface = Enum.SurfaceType.Smooth
  130. Part12.Position = Vector3.new(2.31157827, 4.33269882, 10.5)
  131. Part12.Orientation = Vector3.new(0, 0, 27.3199997)
  132. SpecialMesh13.Parent = Part12
  133. Part14.Parent = Model0
  134. Part14.Rotation = Vector3.new(0, 0, 27.3199997)
  135. Part14.Anchored = true
  136. Part14.Size = Vector3.new(1, 2, 2)
  137. Part14.CFrame = CFrame.new(3, 3.00000405, 10.5, 0.88846314, -0.458948046, 0, 0.458948046, 0.88846314, 0, 0, 0, 1)
  138. Part14.BottomSurface = Enum.SurfaceType.Smooth
  139. Part14.TopSurface = Enum.SurfaceType.Smooth
  140. Part14.Position = Vector3.new(3, 3.00000405, 10.5)
  141. Part14.Orientation = Vector3.new(0, 0, 27.3199997)
  142. ManualWeld15.Name = "Part-to-Part Strong Joint"
  143. ManualWeld15.Parent = Part14
  144. ManualWeld15.C0 = CFrame.new(0.5, -1, -1, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  145. ManualWeld15.C1 = CFrame.new(-0.0485706329, -1.11697865, 0.5, -0.874154568, 0.485648006, 0, 0.485648006, 0.874154568, 0, 0, 0, -1)
  146. ManualWeld15.Part0 = Part14
  147. ManualWeld15.Part1 = Part21
  148. ManualWeld16.Name = "Part-to-Part Strong Joint"
  149. ManualWeld16.Parent = Part14
  150. ManualWeld16.C0 = CFrame.new(-0.5, 1, 1, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  151. ManualWeld16.C1 = CFrame.new(-0.500000238, -0.5, 1, -1, 0, -5.96046448e-08, -5.96046448e-08, 0, 1, 0, 1, 0)
  152. ManualWeld16.Part0 = Part14
  153. ManualWeld16.Part1 = Part12
  154. Part17.Parent = Model0
  155. Part17.Anchored = true
  156. Part17.Size = Vector3.new(1, 2, 1)
  157. Part17.CFrame = CFrame.new(2.99999928, 1.00000381, 11, 1.00000036, -7.74860382e-07, 0, -8.04662704e-07, 1.00000107, 0, 0, 0, 1)
  158. Part17.BottomSurface = Enum.SurfaceType.Smooth
  159. Part17.TopSurface = Enum.SurfaceType.Smooth
  160. Part17.Position = Vector3.new(2.99999928, 1.00000381, 11)
  161. ManualWeld18.Name = "Part-to-Part Strong Joint"
  162. ManualWeld18.Parent = Part17
  163. ManualWeld18.C0 = CFrame.new(0.5, -1, -0.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  164. ManualWeld18.C1 = CFrame.new(0.927027702, -0.624995828, 0.5, -0.870807707, -0.491623819, 0, -0.491623789, 0.870807707, 0, 0, 0, -1)
  165. ManualWeld18.Part0 = Part17
  166. ManualWeld18.Part1 = Part19
  167. Part19.Parent = Model0
  168. Part19.Rotation = Vector3.new(0, 0, -29.4499989)
  169. Part19.Anchored = true
  170. Part19.Size = Vector3.new(1, 2, 1)
  171. Part19.CFrame = CFrame.new(2.99999928, 1.00000381, 10, 0.870808363, 0.491623282, 0, -0.491625041, 0.870808244, 0, 0, 0, 1)
  172. Part19.BottomSurface = Enum.SurfaceType.Smooth
  173. Part19.TopSurface = Enum.SurfaceType.Smooth
  174. Part19.Position = Vector3.new(2.99999928, 1.00000381, 10)
  175. Part19.Orientation = Vector3.new(0, 0, -29.4499989)
  176. Part20.Parent = Model0
  177. Part20.Rotation = Vector3.new(0, 0, -141.98999)
  178. Part20.Anchored = true
  179. Part20.Size = Vector3.new(1, 2, 1)
  180. Part20.CFrame = CFrame.new(3.45559072, 9.57463169, 9, -0.787915826, 0.615783334, 0, -0.615783334, -0.787915826, 0, 0, 0, 1)
  181. Part20.BottomSurface = Enum.SurfaceType.Smooth
  182. Part20.TopSurface = Enum.SurfaceType.Smooth
  183. Part20.Position = Vector3.new(3.45559072, 9.57463169, 9)
  184. Part20.Orientation = Vector3.new(0, 0, -141.98999)
  185. Part21.Parent = Model0
  186. Part21.Rotation = Vector3.new(0, 0, 56.3699989)
  187. Part21.Anchored = true
  188. Part21.Size = Vector3.new(1, 2, 1)
  189. Part21.CFrame = CFrame.new(2.99999976, 3.00000405, 9, 0.553766906, -0.832671881, 0, 0.832671881, 0.553766906, 0, 0, 0, 1)
  190. Part21.BottomSurface = Enum.SurfaceType.Smooth
  191. Part21.TopSurface = Enum.SurfaceType.Smooth
  192. Part21.Position = Vector3.new(2.99999976, 3.00000405, 9)
  193. Part21.Orientation = Vector3.new(0, 0, 56.3699989)
  194. Part22.Parent = Model0
  195. Part22.Rotation = Vector3.new(13.7999992, 16.9200001, -40.1699982)
  196. Part22.Size = Vector3.new(1, 1, 4.5)
  197. Part22.CFrame = CFrame.new(3.24686742, 5.98370028, 10.3740978, 0.731024265, 0.617183924, 0.291011184, -0.573418319, 0.786818922, -0.22827062, -0.369858027, 2.50131706e-07, 0.929088295)
  198. Part22.BottomSurface = Enum.SurfaceType.Smooth
  199. Part22.TopSurface = Enum.SurfaceType.Smooth
  200. Part22.Position = Vector3.new(3.24686742, 5.98370028, 10.3740978)
  201. Part22.Orientation = Vector3.new(13.1999998, 17.3899994, -36.079998)
  202. Part23.Parent = Model0
  203. Part23.Rotation = Vector3.new(-18.3599987, -11.79, -15.46)
  204. Part23.Size = Vector3.new(1, 1, 4.5)
  205. Part23.CFrame = CFrame.new(2.52438641, 7.03917599, 10.7519188, 0.943477511, 0.26100868, -0.204266131, -0.191050082, 0.931896806, 0.308331549, 0.270832241, -0.251878738, 0.929089367)
  206. Part23.BottomSurface = Enum.SurfaceType.Smooth
  207. Part23.TopSurface = Enum.SurfaceType.Smooth
  208. Part23.Position = Vector3.new(2.52438641, 7.03917599, 10.7519188)
  209. Part23.Orientation = Vector3.new(-17.9599991, -12.3999996, -11.5900002)
  210. for i,v in pairs(mas:GetChildren()) do
  211. v.Parent = workspace
  212. pcall(function() v:MakeJoints() end)
  213. end
  214. mas:Destroy()
  215. for i,v in pairs(cors) do
  216. spawn(function()
  217. pcall(v)
  218. end)
  219. end
Add Comment
Please, Sign In to add comment