Advertisement
ItzPartapika

Chara Dreamer

Apr 6th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.78 KB | None | 0 0
  1. CV = "Really red"
  2. plr = game.Players.LocalPlayer
  3. Character = plr.Character
  4. local s = Instance.new("Sound",plr.Character)
  5. New = function(Object, Parent, Name, Data)
  6. local Object = Instance.new(Object)
  7. for Index, Value in pairs(Data or {}) do
  8. Object[Index] = Value
  9. end
  10. Object.Parent = Parent
  11. Object.Name = Name
  12. return Object
  13. end
  14. p = game.Players.LocalPlayer
  15. char = p.Character
  16. local txt = Instance.new("BillboardGui", char)
  17. txt.Adornee = char .Head
  18. txt.Name = "_status"
  19. txt.Size = UDim2.new(2, 0, 1.2, 0)
  20. txt.StudsOffset = Vector3.new(-9, 6, 0)
  21. local text = Instance.new("TextLabel", txt)
  22. text.Size = UDim2.new(10, 0, 7, 0)
  23. text.FontSize = "Size24"
  24. text.TextScaled = true
  25. text.TextTransparency = 0
  26. text.BackgroundTransparency = 1
  27. text.TextTransparency = 0
  28. text.TextStrokeTransparency = 1
  29. text.Font = "Code"
  30. text.TextStrokeColor3 = Color3.new(40,0,0)
  31. text.Text = ">-Chara-<"
  32. GasMask = true
  33.  
  34. if GasMask == true then
  35. o1 = Instance.new("Model")
  36. o2 = Instance.new("Part")
  37. o3 = Instance.new("SpecialMesh")
  38. o4 = Instance.new("Part")
  39. o5 = Instance.new("Part")
  40. o6 = Instance.new("Part")
  41. o7 = Instance.new("SpecialMesh")
  42. o8 = Instance.new("Part")
  43. o9 = Instance.new("Part")
  44. o10 = Instance.new("SpecialMesh")
  45. o11 = Instance.new("Part")
  46. o12 = Instance.new("Part")
  47. o13 = Instance.new("SpecialMesh")
  48. o14 = Instance.new("Part")
  49. o15 = Instance.new("Part")
  50. o16 = Instance.new("Part")
  51. o17 = Instance.new("Part")
  52. o1.Name = "MODEL"
  53. o2.Name = "Middle"
  54. o2.Parent = o1
  55. o2.BrickColor = BrickColor.new("Pastel brown")
  56. o2.Transparency = 1
  57. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  58. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  59. o2.Anchored = true
  60. o2.FormFactor = Enum.FormFactor.Custom
  61. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  62. o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
  63. o2.BottomSurface = Enum.SurfaceType.Smooth
  64. o2.TopSurface = Enum.SurfaceType.Smooth
  65. o2.Color = Color3.new(1, 0.8, 0.6)
  66. o3.Parent = o2
  67. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  68. o3.MeshType = Enum.MeshType.FileMesh
  69. o4.Name = "Lense 1"
  70. o4.Parent = o1
  71. o4.Material = Enum.Material.Metal
  72. o4.Transparency = 0.050000011920929
  73. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  74. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  75. o4.Anchored = true
  76. o4.CanCollide = false
  77. o4.FormFactor = Enum.FormFactor.Custom
  78. o4.Shape = Enum.PartType.Cylinder
  79. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  80. o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
  81. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  82. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  83. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  84. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  85. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  86. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  87. o5.Name = "Lense2"
  88. o5.Parent = o1
  89. o5.Material = Enum.Material.Metal
  90. o5.Transparency = 0.050000011920929
  91. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  92. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  93. o5.Anchored = true
  94. o5.CanCollide = false
  95. o5.FormFactor = Enum.FormFactor.Custom
  96. o5.Shape = Enum.PartType.Cylinder
  97. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  98. o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
  99. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  100. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  101. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  102. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  103. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  104. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  105. o6.Name = "Handle"
  106. o6.Parent = o1
  107. o6.Material = Enum.Material.Metal
  108. o6.BrickColor = BrickColor.new("Really black")
  109. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  110. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  111. o6.Anchored = true
  112. o6.CanCollide = false
  113. o6.FormFactor = Enum.FormFactor.Plate
  114. o6.Size = Vector3.new(1, 0.400000006, 1)
  115. o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
  116. o6.BottomSurface = Enum.SurfaceType.Weld
  117. o6.TopSurface = Enum.SurfaceType.Smooth
  118. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  119. o7.Parent = o6
  120. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  121. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  122. o7.MeshType = Enum.MeshType.FileMesh
  123. o8.Name = "Straps"
  124. o8.Parent = o1
  125. o8.Material = Enum.Material.Fabric
  126. o8.BrickColor = BrickColor.new("Really black")
  127. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  128. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  129. o8.Anchored = true
  130. o8.CanCollide = false
  131. o8.FormFactor = Enum.FormFactor.Custom
  132. o8.Shape = Enum.PartType.Cylinder
  133. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  134. o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  135. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  136. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  137. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  138. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  139. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  140. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  141. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  142. o9.Name = "Ring2"
  143. o9.Parent = o1
  144. o9.BrickColor = BrickColor.new("Dark stone grey")
  145. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  146. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  147. o9.Anchored = true
  148. o9.CanCollide = false
  149. o9.FormFactor = Enum.FormFactor.Custom
  150. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  151. o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
  152. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  153. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  154. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  155. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  156. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  157. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  158. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  159. o10.Parent = o9
  160. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  161. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  162. o10.MeshType = Enum.MeshType.FileMesh
  163. o11.Name = "Straps"
  164. o11.Parent = o1
  165. o11.Material = Enum.Material.Fabric
  166. o11.BrickColor = BrickColor.new("Really black")
  167. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  168. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  169. o11.Anchored = true
  170. o11.CanCollide = false
  171. o11.FormFactor = Enum.FormFactor.Custom
  172. o11.Shape = Enum.PartType.Cylinder
  173. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  174. o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  175. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  176. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  177. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  178. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  179. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  180. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  181. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  182. o12.Name = "Ring1"
  183. o12.Parent = o1
  184. o12.BrickColor = BrickColor.new("Dark stone grey")
  185. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  186. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  187. o12.Anchored = true
  188. o12.CanCollide = false
  189. o12.FormFactor = Enum.FormFactor.Custom
  190. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  191. o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
  192. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  193. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  194. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  195. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  196. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  197. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  198. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  199. o13.Parent = o12
  200. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  201. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  202. o13.MeshType = Enum.MeshType.FileMesh
  203. o14.Name = "Breather"
  204. o14.Parent = o1
  205. o14.Material = Enum.Material.Metal
  206. o14.BrickColor = BrickColor.new("Really black")
  207. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  208. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  209. o14.Anchored = true
  210. o14.CanCollide = false
  211. o14.FormFactor = Enum.FormFactor.Custom
  212. o14.Shape = Enum.PartType.Cylinder
  213. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  214. o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  215. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  216. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  217. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  218. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  219. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  220. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  221. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  222. o15.Name = "Breather"
  223. o15.Parent = o1
  224. o15.Material = Enum.Material.Metal
  225. o15.BrickColor = BrickColor.new("Really black")
  226. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  227. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  228. o15.Anchored = true
  229. o15.CanCollide = false
  230. o15.FormFactor = Enum.FormFactor.Custom
  231. o15.Shape = Enum.PartType.Cylinder
  232. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  233. o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  234. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  235. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  236. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  237. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  238. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  239. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  240. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  241. o16.Name = "Breather"
  242. o16.Parent = o1
  243. o16.Material = Enum.Material.Metal
  244. o16.BrickColor = BrickColor.new("Really black")
  245. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  246. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  247. o16.Anchored = true
  248. o16.CanCollide = false
  249. o16.FormFactor = Enum.FormFactor.Custom
  250. o16.Shape = Enum.PartType.Cylinder
  251. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  252. o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  253. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  254. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  255. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  256. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  257. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  258. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  259. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  260. o17.Name = "Breather"
  261. o17.Parent = o1
  262. o17.Material = Enum.Material.Metal
  263. o17.BrickColor = BrickColor.new("Really black")
  264. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  265. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  266. o17.Anchored = true
  267. o17.CanCollide = false
  268. o17.FormFactor = Enum.FormFactor.Custom
  269. o17.Shape = Enum.PartType.Cylinder
  270. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  271. o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  272. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  273. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  274. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  275. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  276. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  277. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  278. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  279. function onTouched(hit)
  280. local d = hit.Parent:GetChildren()
  281. for i=1, #d do
  282. if (d[i].className == "Hat") then
  283. d[i]:remove()
  284. end
  285. end
  286. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  287. local g = o1:clone()
  288. g.Parent = hit.Parent
  289. local C = g:GetChildren()
  290. for i=1, #C do
  291. if C[i].className == "Part" then
  292. local W = Instance.new("Weld")
  293. W.Part0 = g.Middle
  294. W.Part1 = C[i]
  295. local CJ = CFrame.new(g.Middle.Position)
  296. local C0 = g.Middle.CFrame:inverse()*CJ
  297. local C1 = C[i].CFrame:inverse()*CJ
  298. W.C0 = C0
  299. W.C1 = C1
  300. W.Parent = g.Middle
  301. g.Middle.Transparency = 1
  302. end
  303. local Y = Instance.new("Weld")
  304. Y.Part0 = hit.Parent.Head
  305. Y.Part1 = g.Middle
  306. Y.C0 = CFrame.new(0, 0, 0)
  307. Y.Parent = Y.Part0
  308. end
  309.  
  310. local h = g:GetChildren()
  311. for i = 1, # h do
  312. h[i].Anchored = false
  313. h[i].CanCollide = false
  314. end
  315.  
  316. end
  317. end
  318. onTouched(game.Players.LocalPlayer.Character.Head)
  319. end
  320. ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  321. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  322. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  323.  
  324. Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  325. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  326. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  327. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  328. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  329. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  330. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  331. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  332. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  333. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  334. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  335. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  336. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  337. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  338. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  339. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  340. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  341. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  342. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  343. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  344. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  345. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  346. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  347. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  348. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  349. mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  350. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  351. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  352. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  353. Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  354. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  355. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  356. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  357. Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  358. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  359. mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  360. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  361. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  362. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  363. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  364. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  365. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  366. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  367. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  368. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  369. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  370. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  371. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  372. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  373. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  374. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  375. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  376. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  377. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  378. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  379. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  380. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  381. Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  382. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  383. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  384. Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  385. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  386. mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),})
  387. coroutine.wrap(function()
  388. while wait() do
  389. wait(3)
  390. text.Text = "Die."
  391. wait()
  392. text.Text = ">-Chara-<";
  393. wait(2)
  394. local str = ""
  395. for i = 1, math.random(3,25) do
  396. str = str..string.char(math.random(65,122))
  397. end
  398. text.Text = str
  399. wait()
  400. str = ""
  401. for i = 1, math.random(12,25) do
  402. str = str..string.char(math.random(48,122))
  403. end
  404. wait()
  405. text.Text = str
  406. wait()
  407. text.Text = ">-Chara-<";
  408. wait(1)
  409. text.Text = "Why."
  410. wait()
  411. text.Text = "GET AWAY FROM ME!"
  412. wait()
  413. text.Text = ">-Chara-<";
  414. wait(2)
  415. text.Text = "You made me do this.";
  416. wait()
  417. text.Text = "DIE!";
  418. wait()
  419. for i = 1, math.random(12,25) do
  420. str = str..string.char(math.random(48,57))
  421. end
  422. text.Text = str
  423. wait()
  424. text.Text = ">-Chara-<";
  425. wait(2)
  426. end
  427. end)()
  428.  
  429. s.Name = "Sound"
  430. s.SoundId = "http://www.roblox.com/asset/?id=488464235"
  431. s.Volume = 50
  432. s.Looped = true
  433. s.archivable = false
  434.  
  435. s.Parent = game.Workspace
  436.  
  437. wait(1)
  438.  
  439. s:play()
  440.  
  441. wait(0.016666666666667)
  442. Anim = nil
  443. cf = CFrame.new
  444. function c3(cz, cx, cc)
  445. return Color3.new(cz / 255, cx / 255, cc / 255)
  446. end
  447. angles = CFrame.Angles
  448. Player = game.Players.LocalPlayer
  449. Character = Player.Character
  450. Humanoid = Character.Humanoid
  451. mouse = Player:GetMouse()
  452. local LeftArm = Character["Left Arm"]
  453. RightArm = Character["Right Arm"]
  454. LeftLeg = Character["Left Leg"]
  455. RightLeg = Character["Right Leg"]
  456. Head = Character.Head
  457. Torso = Character.Torso
  458. RootPart = Character.HumanoidRootPart
  459. RootJoint = RootPart.RootJoint
  460. Humanoid.Animator:Destroy()
  461. Character:WaitForChild("Animate"):Destroy()
  462. NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  463. RootCF = angles(-1.57, 0, 3.14)
  464. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  465. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  466. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  467. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  468. RW = Instance.new("Weld")
  469. LW = Instance.new("Weld")
  470. RH = Torso["Right Hip"]
  471. LH = Torso["Left Hip"]
  472. Neck = Torso.Neck
  473. RSH = Torso["Right Shoulder"]
  474. LSH = Torso["Left Shoulder"]
  475. RSH.Parent = nil
  476. LSH.Parent = nil
  477. RW.Name = "Right Shoulder"
  478. RW.Part0 = Torso
  479. RW.C0 = cf(1.5, 0.5, 0)
  480. RW.C1 = cf(0, 0.5, 0)
  481. RW.Part1 = RightArm
  482. RW.Parent = Torso
  483. LW.Name = "Left Shoulder"
  484. LW.Part0 = Torso
  485. LW.C0 = cf(-1.5, 0.5, 0)
  486. LW.C1 = cf(0, 0.5, 0)
  487. LW.Part1 = LeftArm
  488. LW.Parent = Torso
  489. Effects = Instance.new("Folder", Character)
  490. Effects.Name = "Effects"
  491. Humanoid.WalkSpeed = 35 ----------------------------------------------------------------------------------------------Walk Speed
  492. partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {}
  493. AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 1
  494. AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1
  495. AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true
  496. sine = 0
  497. attackcounter = 1
  498. energyslashcounter = 1
  499. torvel = nil
  500. attacking = false
  501. hitfloor, posfloor = nil, nil
  502. tool = nil
  503. if script.Parent.ClassName == "HopperBin" then
  504. tool = script.Parent
  505. tool.Parent = Player.Backpack
  506. else
  507. tool = Instance.new("HopperBin", Player.Backpack)
  508. tool.Name = "Chara Knife"
  509. end
  510. hitbox = Instance.new("Part")
  511. hitbox.BrickColor = BrickColor.Black()
  512. hitbox.Transparency = 1
  513. hitbox.CanCollide = false
  514. hitbox.Anchored = false
  515. hitbox.Size = Vector3.new(3, 3, 4)
  516. meshes = {
  517. 3270017,
  518. 20329976,
  519. 448386996,
  520. 1095708,
  521. 1033714,
  522. 9756362
  523. }
  524. sounds = {
  525. {
  526. 320557413,
  527. 320557453,
  528. 320557487,
  529. 320557518,
  530. 320557537,
  531. 320557563,
  532. 233856146,
  533. 233856140
  534. },
  535. {
  536. 234365549,
  537. 234365573,
  538. 231917961,
  539. 231917950,
  540. 231917856,
  541. 231917863,
  542. 231917871
  543. },
  544. {
  545. 262562442,
  546. 231917806,
  547. 231917784
  548. },
  549. {
  550. 262562442,
  551. 233856048,
  552. 306247739
  553. }
  554. }
  555. ArtificialHB = Instance.new("BindableEvent", script)
  556. ArtificialHB.Name = "Heartbeat"
  557. script:WaitForChild("Heartbeat")
  558. frame = 0.025
  559. tf = 0
  560. allowframeloss = true
  561. tossremainder = false
  562. lastframe = tick()
  563. script.Heartbeat:Fire()
  564. game:GetService("RunService").Heartbeat:connect(function(s, p)
  565. tf = tf + s
  566. if tf >= frame then
  567. if allowframeloss then
  568. script.Heartbeat:Fire()
  569. lastframe = tick()
  570. else
  571. for i = 1, math.floor(tf / frame) do
  572. script.Heartbeat:Fire()
  573. end
  574. lastframe = tick()
  575. end
  576. if tossremainder then
  577. tf = 0
  578. else
  579. tf = tf - frame * math.floor(tf / frame)
  580. end
  581. end
  582. end)
  583. function swait(num)
  584. if num == 0 or num == nil then
  585. ArtificialHB.Event:wait()
  586. else
  587. for i = 0, num do
  588. ArtificialHB.Event:wait()
  589. end
  590. end
  591. end
  592. function thread(f)
  593. coroutine.resume(coroutine.create(f))
  594. end
  595. function clerp(a, b, t)
  596. local qa = {
  597. QuaternionFromCFrame(a)
  598. }
  599. local qb = {
  600. QuaternionFromCFrame(b)
  601. }
  602. local ax, ay, az = a.x, a.y, a.z
  603. local bx, by, bz = b.x, b.y, b.z
  604. local _t = 1 - t
  605. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  606. end
  607. function QuaternionFromCFrame(cf)
  608. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  609. local trace = m00 + m11 + m22
  610. if trace > 0 then
  611. local s = math.sqrt(1 + trace)
  612. local recip = 0.5 / s
  613. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  614. else
  615. local i = 0
  616. if m00 < m11 then
  617. i = 1
  618. end
  619. if m22 > (i == 0 and m00 or m11) then
  620. i = 2
  621. end
  622. if i == 0 then
  623. local s = math.sqrt(m00 - m11 - m22 + 1)
  624. local recip = 0.5 / s
  625. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  626. elseif i == 1 then
  627. local s = math.sqrt(m11 - m22 - m00 + 1)
  628. local recip = 0.5 / s
  629. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  630. elseif i == 2 then
  631. local s = math.sqrt(m22 - m00 - m11 + 1)
  632. local recip = 0.5 / s
  633. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  634. end
  635. end
  636. end
  637. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  638. local xs, ys, zs = x + x, y + y, z + z
  639. local wx, wy, wz = w * xs, w * ys, w * zs
  640. local xx = x * xs
  641. local xy = x * ys
  642. local xz = x * zs
  643. local yy = y * ys
  644. local yz = y * zs
  645. local zz = z * zs
  646. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  647. end
  648. function QuaternionSlerp(a, b, t)
  649. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  650. local startInterp, finishInterp
  651. if cosTheta >= 1.0E-4 then
  652. if 1 - cosTheta > 1.0E-4 then
  653. local theta = math.acos(cosTheta)
  654. local invSinTheta = 1 / math.sin(theta)
  655. startInterp = math.sin((1 - t) * theta) * invSinTheta
  656. finishInterp = math.sin(t * theta) * invSinTheta
  657. else
  658. startInterp = 1 - t
  659. finishInterp = t
  660. end
  661. elseif 1 + cosTheta > 1.0E-4 then
  662. local theta = math.acos(-cosTheta)
  663. local invSinTheta = 1 / math.sin(theta)
  664. startInterp = math.sin((t - 1) * theta) * invSinTheta
  665. finishInterp = math.sin(t * theta) * invSinTheta
  666. else
  667. startInterp = t - 1
  668. finishInterp = t
  669. end
  670. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  671. end
  672. function rayCast(Pos, Dir, Max, Ignore)
  673. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  674. end
  675. function newPart(par, brick, transp, anch, canc, size, name, mat, ref)
  676. local p = Instance.new("Part")
  677. p.BrickColor = brick
  678. p.Transparency = transp
  679. p.Material = mat and mat or "SmoothPlastic"
  680. p.Reflectance = ref and ref or 0
  681. p.Anchored = anch
  682. p.CanCollide = canc
  683. p.Size = size
  684. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = 10, 10, 10, 10, 10, 10
  685. p.Name = name
  686. p.CFrame = RootPart.CFrame
  687. p.Parent = par
  688. return p
  689. end
  690. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  691. local mesh = Instance.new(Mesh)
  692. mesh.Parent = part
  693. if Mesh == "SpecialMesh" then
  694. mesh.MeshType = meshtype
  695. if meshid then
  696. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  697. end
  698. end
  699. if offset then
  700. mesh.Offset = offset
  701. end
  702. mesh.Scale = scale
  703. return mesh
  704. end
  705. function weld(parent, part0, part1, c0, c1)
  706. local weld = Instance.new("Weld")
  707. weld.Parent = parent
  708. weld.Part0 = part0
  709. weld.Part1 = part1
  710. weld.C0 = c0
  711. if c1 then
  712. weld.C1 = c1
  713. end
  714. return weld
  715. end
  716. function randomangles(r)
  717. local random = math.rad((math.random() - 0.5) * 180)
  718. local randomangles = CFrame.Angles(random, random, random)
  719. if r and r == 0 then
  720. return angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  721. elseif r and r == 1 then
  722. return math.rad((math.random() - 0.5) * 180)
  723. elseif r and r == 2 then
  724. return math.random(-50, 50)
  725. else
  726. return randomangles
  727. end
  728. end
  729. function round(num)
  730. local a, b = math.modf(num)
  731. if num % 1 ~= 0 then
  732. return math.floor(num) + math.floor(b * 10 + 0.5) / 10
  733. else
  734. return math.floor(num)
  735. end
  736. end
  737. function sound(id, par, vol, dur, pit)
  738. coroutine.resume(coroutine.create(function()
  739. local sou = Instance.new("Sound", par or workspace)
  740. sou.Volume = vol
  741. sou.Pitch = pit or 1
  742. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  743. swait()
  744. sou:play()
  745. wait(dur)
  746. sou:Destroy()
  747. end))
  748. end
  749. function findCloseHumanoid(centre, distance)
  750. local tab = {}
  751. for _, child in pairs(game.Workspace:GetChildren()) do
  752. if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
  753. local vtors = child.Torso
  754. local mag = math.abs((vtors.Position - centre).magnitude)
  755. if distance >= mag then
  756. table.insert(tab, child.Humanoid)
  757. end
  758. end
  759. end
  760. return tab
  761. end
  762. function basicDamage(vhum, damage, colour)
  763. if not vhum or not vhum.Parent:findFirstChild("Humanoid") or vhum.Health <= 0 then
  764. return
  765. end
  766. vhum.Health = vhum.Health - damage
  767. local damagepart = Instance.new("Part", Effects)
  768. damagepart.Transparency = 1
  769. damagepart.Anchored = true
  770. damagepart.CanCollide = false
  771. damagepart.Size = Vector3.new(1, 1, 1)
  772. damagepart.Name = "DamagePart"
  773. damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
  774. local g = Instance.new("BillboardGui", damagepart)
  775. g.Enabled = true
  776. g.Adornee = damagepart
  777. g.Size = UDim2.new(5, 0, 5, 0)
  778. g.ExtentsOffset = Vector3.new(0, 0, 0)
  779. g.StudsOffset = Vector3.new(0, 0, 0)
  780. local t = Instance.new("TextLabel", g)
  781. t.BackgroundTransparency = 1
  782. t.Font = "ArialBold"
  783. t.TextSize = 24
  784. t.Text = "-" .. round(damage)
  785. if round(damage) % 1 == 0 then
  786. t.Text = "-" .. round(damage) .. ".0"
  787. end
  788. t.Size = UDim2.new(1, 0, 1, 0)
  789. t.TextStrokeTransparency = 0
  790. t.TextTransparency = 0
  791. t.TextScaled = true
  792. t.TextWrapped = true
  793. t.TextXAlignment = "Center"
  794. t.TextYAlignment = "Center"
  795. t.TextColor3 = colour
  796. coroutine.resume(coroutine.create(function()
  797. for i = 1, 50 do
  798. game:GetService("RunService").Heartbeat:wait()
  799. local sinewave = math.sin(i / 500) * 4
  800. damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
  801. t.TextTransparency = t.TextTransparency + 0.02
  802. t.TextStrokeTransparency = t.TextTransparency + 0.02
  803. end
  804. damagepart:Destroy()
  805. end), t)
  806. end
  807. function magic(type, thing)
  808. local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t)
  809. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  810. prt.CFrame = cframe
  811. local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  812. game:GetService("Debris"):AddItem(prt, 8)
  813. if t == 1 or t == nil then
  814. table.insert(partEffects, {
  815. prt,
  816. "Block1",
  817. delay,
  818. x3,
  819. y3,
  820. z3,
  821. msh
  822. })
  823. elseif t == 2 then
  824. table.insert(partEffects, {
  825. prt,
  826. "Block2",
  827. delay,
  828. x3,
  829. y3,
  830. z3,
  831. msh
  832. })
  833. end
  834. end
  835. local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  836. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  837. local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  838. game:GetService("Debris"):AddItem(prt, 8)
  839. table.insert(partEffects, {
  840. prt,
  841. "Cylinder",
  842. delay,
  843. x3,
  844. y3,
  845. z3,
  846. msh
  847. })
  848. end
  849. local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  850. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  851. local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  852. game:GetService("Debris"):AddItem(prt, 8)
  853. table.insert(partEffects, {
  854. prt,
  855. "Cylinder",
  856. delay,
  857. x3,
  858. y3,
  859. z3,
  860. msh
  861. })
  862. end
  863. local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  864. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  865. prt.Anchored = true
  866. prt.CFrame = cframe
  867. local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868. game:GetService("Debris"):AddItem(prt, 2)
  869. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  870. for i = 0, 1, delay do
  871. swait()
  872. Part.Transparency = i
  873. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  874. end
  875. Part:Destroy()
  876. end), prt, msh, (math.random(0, 1) + math.random()) / 5)
  877. end
  878. local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  879. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
  880. prt.Anchored = true
  881. prt.CFrame = cframe
  882. local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  883. game:GetService("Debris"):AddItem(prt, 2)
  884. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  885. for i = 0, 1, delay do
  886. swait()
  887. Part.Transparency = i
  888. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  889. end
  890. Part:Destroy()
  891. end), prt, msh, (math.random(0, 1) + math.random()) / 5)
  892. end
  893. local par = thing[1]
  894. local brick = thing[2]
  895. local cframe = thing[3]
  896. local x1 = thing[4]
  897. local y1 = thing[5]
  898. local z1 = thing[6]
  899. local x3 = thing[7]
  900. local y3 = thing[8]
  901. local z3 = thing[9]
  902. local delay = thing[10]
  903. local t = thing[11]
  904. if type == "Block" or type == 1 then
  905. magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  906. elseif type == "Cylinder" or type == 2 then
  907. magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  908. elseif type == "Sphere" or type == 3 then
  909. magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  910. elseif type == "Ring" or type == 4 then
  911. magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  912. elseif type == "Slash" or type == 5 then
  913. magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  914. end
  915. end
  916. function newFrame(par, bg, transp, size, pos, name)
  917. local f = Instance.new("Frame", nil)
  918. f.BackgroundColor3 = bg
  919. f.BackgroundTransparency = transp
  920. f.BorderSizePixel = 0
  921. f.Position = pos
  922. f.Size = size
  923. f.Name = name
  924. f.Parent = par
  925. return f
  926. end
  927. function newLabel(par, size, pos, text, textsize, text3, textstroke3, scaled, name)
  928. local l = Instance.new("TextLabel", nil)
  929. l.BackgroundTransparency = 1
  930. l.Size = size
  931. l.Position = pos
  932. l.Text = text
  933. l.TextSize = textsize
  934. l.TextColor3 = text3
  935. l.TextStrokeColor3 = textstroke3
  936. if scaled then
  937. l.TextScaled = scaled
  938. else
  939. l.TextScaled = true
  940. end
  941. l.TextStrokeTransparency = 0
  942. l.Name = name
  943. l.Parent = par
  944. return l
  945. end
  946. a1t = "Chara Anger"
  947. a2t = "Chara Power"
  948. a3t = "Chara Hate"
  949. a4t = "Frisk Determination"
  950. backc3 = c3(107, 107, 107)
  951. reloc3 = c3(62, 62, 62)
  952. g = Instance.new("ScreenGui")
  953. f1 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.85, 0), "")
  954. f2 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.76, 0), "")
  955. f3 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.67, 0), "")
  956. f4 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.58, 0), "")
  957. newFrame(f1, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  958. newFrame(f2, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  959. newFrame(f3, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  960. newFrame(f4, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  961. newLabel(f1, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(Z)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  962. newLabel(f2, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(X)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  963. newLabel(f3, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(C)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  964. newLabel(f4, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(V)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  965. newLabel(f1, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a1t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  966. newLabel(f2, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a2t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  967. newLabel(f3, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a3t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  968. newLabel(f4, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.4, 0), a4t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  969. g.Parent = Player.PlayerGui
  970. Reload = {}
  971. Reload[1] = f1.Reload
  972. Reload[2] = f2.Reload
  973. Reload[3] = f3.Reload
  974. Reload[4] = f4.Reload
  975. weapon = Instance.new("Model", Character)
  976. weapon.Name = "Chara Knife"
  977. p0 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  978. mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 2.39999986, 6.57500076))
  979. p1 = newPart(weapon, BrickColor.new("Institutional white"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  980. mesh("SpecialMesh", p1, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.425000012, 1.70000005))
  981. p1 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p1")
  982. mesh("SpecialMesh", p1, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.425000012, 1.70000005))
  983. p2 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  984. mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.999999881, 3.02500105))
  985. p2 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p2")
  986. mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.999999881, 3.02500105))
  987. p3 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  988. mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.974999905, 1.70000064))
  989. p3 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p3")
  990. mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.974999905, 1.70000064))
  991. p4 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  992. mesh("SpecialMesh", p4, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 1.32500005))
  993. p4 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p4")
  994. mesh("SpecialMesh", p4, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 1.32500005))
  995. p5 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Part")
  996. mesh("SpecialMesh", p5, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 0.350000083))
  997. p5 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p5")
  998. mesh("SpecialMesh", p5, Enum.MeshType.Wedge, nil, Vector3.new(0, 0, 0), Vector3.new(0.774999976, 0.975000024, 0.350000083))
  999. p6 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "Handle")
  1000. mesh("SpecialMesh", p6, Enum.MeshType.Cylinder, nil, Vector3.new(0, 0, 0), Vector3.new(5, 0.75, 0.800000012))
  1001. p6 = newPart(weapon, BrickColor.new("Really black"), 0, false, false, Vector3.new(0.220000014, 0.220000014, 0.220000014), "p6")
  1002. mesh("SpecialMesh", p6, Enum.MeshType.Cylinder, nil, Vector3.new(0, 0, 0), Vector3.new(5, 0.75, 0.800000012))
  1003. weld(p0, p0, p1, CFrame.new(-0.400014997, -2.90028477, 2.71900272, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.400014997, 2.68303514, 3.62925434, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1004. weld(p1, p1, p2, CFrame.new(0.400014997, 2.68303514, 3.62925434, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(-0.400014997, -3.05428457, 3.77500391, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1005. weld(p2, p2, p3, CFrame.new(-0.400014997, -3.05428457, 3.77500391, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.400014997, -2.83703494, 3.62925434, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1006. weld(p3, p3, p4, CFrame.new(-0.400014997, -2.83703494, 3.62925434, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.400014997, 2.83703494, 3.96200418, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1007. weld(p4, p4, p5, CFrame.new(0.400014997, 2.83703494, 3.96200418, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(0.400014997, 3.05703473, 4.14625359, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  1008. weld(p5, p5, p6, CFrame.new(0.400014997, 3.05703473, 4.14625359, -1, 0, 0, 0, -1, 0, 0, 0, 1), CFrame.new(1.48875475, 2.98278475, -0.400014997, 0, 4.37113883E-8, 1, 0, -1, 4.37113883E-8, 1, 0, 0))
  1009. handleweld = Instance.new("Weld", RightArm)
  1010. handleweld.Part1 = RightArm
  1011. handleweld.Part0 = p6
  1012. handlec0 = CFrame.new(0, -0.95, 0) * angles(0, math.pi / 2, math.pi)
  1013. handleweld.C0 = handlec0
  1014. function attackone()
  1015. attacking = true
  1016. for i = 0, 1, 0.1 do
  1017. swait()
  1018. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(60)), 0.4)
  1019. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-60)), 0.4)
  1020. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.9, 0) * CFrame.Angles(math.rad(180), 0, math.rad(10)), 0.4)
  1021. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1022. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1023. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1024. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  1025. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  1026. end
  1027. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1028. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1029. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(120), math.rad(0))
  1030. delay(0.1, function()
  1031. table.insert(partEffects, {
  1032. smp,
  1033. "Disappear",
  1034. 0.05
  1035. })
  1036. end)
  1037. sound(sounds[1][1], Character.Head, 1, 4, 1.5)
  1038. local hitb = hitbox.Touched:connect(function(hit)
  1039. if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
  1040. if hit.Parent:findFirstChild("Hit" .. Player.Name) then
  1041. return
  1042. end
  1043. local str = Instance.new("StringValue", hit.Parent)
  1044. str.Name = "Hit" .. Player.Name
  1045. game.Debris:AddItem(str, 0.3)
  1046. basicDamage(hit.Parent.Humanoid, math.random(9999999, 9999999), Color3.fromRGB(243, 242, 242))
  1047. end
  1048. end)
  1049. for i = 0, 1, 0.1 do
  1050. swait()
  1051. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.4)
  1052. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.4)
  1053. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(45), math.rad(-65), math.rad(5)), 0.4)
  1054. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1055. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1056. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1057. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1058. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1059. hitbox.Parent = weapon
  1060. hitbox.Size = Vector3.new(2, 5, 8)
  1061. if smp then
  1062. hitbox.CFrame = smp.CFrame
  1063. else
  1064. hitbox.Parent = nil
  1065. end
  1066. end
  1067. hitb:disconnect()
  1068. hitbox.Parent = nil
  1069. attacking = false
  1070. end
  1071. function attacktwo()
  1072. attacking = true
  1073. for i = 0, 1, 0.1 do
  1074. swait()
  1075. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
  1076. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.4)
  1077. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.4)
  1078. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1079. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1080. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1081. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  1082. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  1083. end
  1084. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1085. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1086. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(80), math.rad(0))
  1087. delay(0.1, function()
  1088. table.insert(partEffects, {
  1089. smp,
  1090. "Disappear",
  1091. 0.05
  1092. })
  1093. end)
  1094. sound(sounds[1][2], Character.Head, 1, 4, 1.5)
  1095. local hitb = hitbox.Touched:connect(function(hit)
  1096. if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
  1097. if hit.Parent:findFirstChild("Hit" .. Player.Name) then
  1098. return
  1099. end
  1100. local str = Instance.new("StringValue", hit.Parent)
  1101. str.Name = "Hit" .. Player.Name
  1102. game.Debris:AddItem(str, 0.3)
  1103. basicDamage(hit.Parent.Humanoid, math.random(9999999, 9999999), Color3.fromRGB(243, 242, 242))
  1104. end
  1105. end)
  1106. for i = 0, 1, 0.1 do
  1107. swait()
  1108. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1109. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
  1110. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
  1111. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  1112. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1113. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1114. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1115. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1116. hitbox.Parent = weapon
  1117. hitbox.Size = Vector3.new(2, 5, 8)
  1118. if smp then
  1119. hitbox.CFrame = smp.CFrame
  1120. else
  1121. hitbox.Parent = nil
  1122. end
  1123. end
  1124. hitb:disconnect()
  1125. hitbox.Parent = nil
  1126. attacking = false
  1127. end
  1128. function attackthree()
  1129. attacking = true
  1130. for i = 0, 1, 0.1 do
  1131. swait()
  1132. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
  1133. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(20), 0, math.rad(80)), 0.4)
  1134. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(-45)) * CFrame.Angles(math.rad(-25), 0, 0), 0.4)
  1135. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1136. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1137. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1138. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  1139. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  1140. end
  1141. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1142. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1143. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(-70), math.rad(0))
  1144. delay(0.1, function()
  1145. table.insert(partEffects, {
  1146. smp,
  1147. "Disappear",
  1148. 0.05
  1149. })
  1150. end)
  1151. sound(sounds[1][3], Character.Head, 1, 4, 1.5)
  1152. local hitb = hitbox.Touched:connect(function(hit)
  1153. if hit.Parent ~= Character and hit.Parent:findFirstChild("Humanoid") then
  1154. if hit.Parent:findFirstChild("Hit" .. Player.Name) then
  1155. return
  1156. end
  1157. local str = Instance.new("StringValue", hit.Parent)
  1158. str.Name = "Hit" .. Player.Name
  1159. game.Debris:AddItem(str, 0.3)
  1160. basicDamage(hit.Parent.Humanoid, math.random(9999999, 9999999), Color3.fromRGB(243, 242, 242))
  1161. end
  1162. end)
  1163. for i = 0, 1, 0.1 do
  1164. swait()
  1165. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1166. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.8, 0.4) * angles(math.rad(0), math.rad(-40), math.rad(120)), 0.4)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  1169. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1170. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1171. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1172. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1173. hitbox.Parent = weapon
  1174. hitbox.Size = Vector3.new(2, 5, 8)
  1175. if smp then
  1176. hitbox.CFrame = smp.CFrame
  1177. else
  1178. hitbox.Parent = nil
  1179. end
  1180. end
  1181. hitb:disconnect()
  1182. hitbox.Parent = nil
  1183. attacking = false
  1184. end
  1185. function rapidslash()
  1186. attacking = true
  1187. AttackHas[1] = 0
  1188. AttackCan[1] = false
  1189. for i = 1, 3 do
  1190. swait()
  1191. for i = 0, 1, 0.2 do
  1192. swait()
  1193. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(60)), 0.6)
  1194. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-60)), 0.6)
  1195. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.9, 0) * CFrame.Angles(math.rad(180), 0, math.rad(10)), 0.6)
  1196. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  1197. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1198. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1199. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
  1200. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
  1201. end
  1202. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  1203. do
  1204. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1205. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1206. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  1207. delay(0.1, function()
  1208. table.insert(partEffects, {
  1209. smp,
  1210. "Disappear",
  1211. 0.05
  1212. })
  1213. end)
  1214. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  1215. basicDamage(v, 6, c3(243, 242, 242))
  1216. end
  1217. for i = 0, 1, 0.2 do
  1218. swait()
  1219. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(80)), 0.6)
  1220. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.6)
  1221. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(45), math.rad(-65), math.rad(5)), 0.6)
  1222. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  1223. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1224. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1225. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.6)
  1226. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
  1227. end
  1228. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  1229. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1230. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1231. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  1232. delay(0.1, function()
  1233. table.insert(partEffects, {
  1234. smp,
  1235. "Disappear",
  1236. 0.05
  1237. })
  1238. end)
  1239. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  1240. basicDamage(v, 6, c3(243, 242, 242))
  1241. end
  1242. for i = 0, 1, 0.2 do
  1243. swait()
  1244. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.6)
  1245. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(20), 0, math.rad(80)), 0.6)
  1246. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(-45)) * CFrame.Angles(math.rad(-25), 0, 0), 1)
  1247. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  1248. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1249. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1250. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
  1251. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
  1252. end
  1253. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  1254. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1255. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1256. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  1257. delay(0.1, function()
  1258. table.insert(partEffects, {
  1259. smp,
  1260. "Disappear",
  1261. 0.05
  1262. })
  1263. end)
  1264. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  1265. basicDamage(v, 6, c3(243, 242, 242))
  1266. end
  1267. for i = 0, 1, 0.2 do
  1268. swait()
  1269. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.6)
  1270. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.6)
  1271. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.6)
  1272. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.6)
  1273. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.6)
  1274. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.6)
  1275. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.6)
  1276. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.6)
  1277. end
  1278. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  1279. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1280. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1281. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  1282. delay(0.1, function()
  1283. table.insert(partEffects, {
  1284. smp,
  1285. "Disappear",
  1286. 0.05
  1287. })
  1288. end)
  1289. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  1290. basicDamage(v, 6, c3(243, 242, 242))
  1291. end
  1292. for i = 0, 1, 0.2 do
  1293. swait()
  1294. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1295. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.6)
  1296. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.6)
  1297. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.6)
  1298. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1299. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 1)
  1300. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.6)
  1301. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
  1302. end
  1303. sound(sounds[1][1], Character.Head, 1, 7, 1.5)
  1304. local smp = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Slash")
  1305. mesh("SpecialMesh", smp, "FileMesh", meshes[3], Vector3.new(0, 0, 0), Vector3.new(0.002, 0.06, 0.06))
  1306. smp.CFrame = RootPart.CFrame * CFrame.new(0, 0, -3.5) * CFrame.Angles(math.rad(90), math.rad(math.random(-360, 360)), math.rad(0))
  1307. delay(0.1, function()
  1308. table.insert(partEffects, {
  1309. smp,
  1310. "Disappear",
  1311. 0.05
  1312. })
  1313. end)
  1314. for i, v in pairs(findCloseHumanoid(smp.Position, 5)) do
  1315. basicDamage(v, 6, c3(243, 242, 242))
  1316. end
  1317. end
  1318. end
  1319. AttackCan[1] = true
  1320. attacking = false
  1321. end
  1322. function powerslash()
  1323. attacking = true
  1324. AttackCan[2] = false
  1325. AttackHas[2] = AttackHas[2] - 0.2
  1326. local orbs = {}
  1327. if energyslashcounter == 1 then
  1328. energyslashcounter = 2
  1329. sound(367453005, Character.Head, 1, 4, 1)
  1330. do
  1331. local now = RootPart.CFrame * CFrame.new(0, 0, -10)
  1332. local bo = {
  1333. BrickColor.new("Bright orange"),
  1334. BrickColor.new("Toothpaste")
  1335. }
  1336. local bon = bo[math.random(1, 2)]
  1337. for i = 1, 5 do
  1338. local orb = newPart(Effects, bon, 0, true, false, Vector3.new(), "Orange", "SmoothPlastic", RootPart.CFrame * CFrame.new(0, 0, -15))
  1339. local omesh = mesh("SpecialMesh", orb, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  1340. orb.CFrame = now * CFrame.new((math.random() - 0.5) * 20, 0, (math.random() - 0.5) * 20)
  1341. table.insert(orbs, orb)
  1342. end
  1343. for i = 0, 1, 0.05 do
  1344. swait()
  1345. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.15)
  1346. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(80)), 0.15)
  1347. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  1348. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1349. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  1350. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  1351. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
  1352. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
  1353. end
  1354. for i = 1, #orbs do
  1355. do
  1356. local orb = orbs[i]
  1357. table.insert(partEffects, {
  1358. orb,
  1359. "Block2",
  1360. 0.05,
  1361. 10,
  1362. 10,
  1363. 10,
  1364. orb.Mesh
  1365. })
  1366. thread(function()
  1367. for i = 1, 3 do
  1368. swait(5)
  1369. for i, v in pairs(findCloseHumanoid(orb.Position, 10)) do
  1370. if bon == BrickColor.new("Bright orange") then
  1371. if (v.Parent.Torso.Velocity * Vector3.new(1, 1, 1)).magnitude < 2 then
  1372. basicDamage(v, 6, BrickColor.new("Bright orange").Color)
  1373. end
  1374. elseif bon == BrickColor.new("Toothpaste") and (v.Parent.Torso.Velocity * Vector3.new(1, 1, 1)).magnitude > 2 then
  1375. basicDamage(v, 6, BrickColor.new("Toothpaste").Color)
  1376. end
  1377. end
  1378. end
  1379. end)
  1380. end
  1381. end
  1382. sound(sounds[1][2], Character.Head, 1, 4, 0.8)
  1383. for i = 0, 1, 0.1 do
  1384. swait()
  1385. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1386. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(-5)), 0.4)
  1387. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
  1388. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  1389. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1390. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1391. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1392. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1393. end
  1394. end
  1395. elseif energyslashcounter == 2 then
  1396. energyslashcounter = 3
  1397. sound(306247749, Character.Head, 1, 4, 1)
  1398. local gparts = {}
  1399. for i = 1, 9 do
  1400. local gpart = newPart(Effects, BrickColor.new("Really red"), 0, true, false, Vector3.new(), "Violet", "SmoothPlastic")
  1401. local gmesh = mesh("CylinderMesh", gpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(50, 10, 50))
  1402. gpart.CFrame = RootPart.CFrame * CFrame.new(math.random(-20, 20), -3, -15 + math.random(-20, 20))
  1403. table.insert(gparts, gpart)
  1404. end
  1405. for i = 0, 1, 0.05 do
  1406. swait()
  1407. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(80)), 0.15)
  1408. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(-80)), 0.15)
  1409. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.4) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(15)) * CFrame.Angles(math.rad(0), 0, 0), 0.2)
  1410. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1411. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  1412. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  1413. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
  1414. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
  1415. end
  1416. for i = 1, #gparts do
  1417. local gpart = gparts[i]
  1418. table.insert(partEffects, {
  1419. gpart,
  1420. "Block2",
  1421. 0.05,
  1422. -1,
  1423. 50,
  1424. -1,
  1425. gpart.Mesh
  1426. })
  1427. for i, v in pairs(findCloseHumanoid(gpart.Position, 10)) do
  1428. basicDamage(v, 15, BrickColor.new("Dark blue").Color)
  1429. local bv = Instance.new("BodyVelocity", v.Parent.Torso)
  1430. game.Debris:AddItem(bv, 1)
  1431. bv.Velocity = Vector3.new(0, 40, 0)
  1432. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1433. end
  1434. end
  1435. sound(sounds[1][3], Character.Head, 1, 4, 0.8)
  1436. for i = 0, 1, 0.1 do
  1437. swait()
  1438. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.4)
  1439. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(80)), 0.4)
  1440. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * angles(math.rad(125), math.rad(-40), math.rad(60)), 0.4)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  1442. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1443. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1444. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1445. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1446. end
  1447. elseif energyslashcounter == 3 then
  1448. energyslashcounter = 1
  1449. for i = 0, 1, 0.05 do
  1450. swait()
  1451. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(80)), 0.15)
  1452. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), 0, math.rad(-80)), 0.15)
  1453. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  1454. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1455. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  1456. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.15)
  1457. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.15)
  1458. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.15)
  1459. end
  1460. sound(sounds[2][5], Character.Head, 1, 4, 0.8)
  1461. thread(function()
  1462. for i = 1, 6 do
  1463. swait()
  1464. sound(438149153, Character.Head, 1, 4, 0.8)
  1465. do
  1466. local prt = newPart(Effects, BrickColor.new("Bright yellow"), 0, false, false, Vector3.new(), "Yellow", "SmoothPlastic", RootPart.CFrame)
  1467. local mesh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 2.5))
  1468. prt.CFrame = RootPart.CFrame * CFrame.new(math.random(-3, 3), math.random(-1, 1), math.random(-3, 3))
  1469. local bv = Instance.new("BodyVelocity", prt)
  1470. bv.Velocity = RootPart.CFrame.lookVector * 150
  1471. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1472. game.Debris:AddItem(bv, 6)
  1473. local orlook = RootPart.CFrame.lookVector
  1474. thread(function()
  1475. while prt do
  1476. swait()
  1477. local hitpart, pospart = rayCast(prt.Position, orlook, 4, Character)
  1478. if hitpart and pospart then
  1479. prt:Destroy()
  1480. do
  1481. local ref = newPart(Effects, BrickColor.Black(), 1, true, false, Vector3.new(), "")
  1482. ref.CFrame = CFrame.new(pospart)
  1483. sound(142070127, ref, 1, 4, 1)
  1484. delay(4, function()
  1485. ref:Destroy()
  1486. end)
  1487. magic("Block", {
  1488. Effects,
  1489. BrickColor.new("Bright yellow"),
  1490. CFrame.new(pospart),
  1491. 0.2,
  1492. 0.2,
  1493. 0.2,
  1494. 0.9,
  1495. 0.9,
  1496. 0.9,
  1497. 0.05,
  1498. 1
  1499. })
  1500. magic("Block", {
  1501. Effects,
  1502. BrickColor.new("Bright yellow"),
  1503. CFrame.new(pospart),
  1504. 0.2,
  1505. 0.2,
  1506. 0.2,
  1507. 0.9,
  1508. 0.9,
  1509. 0.9,
  1510. 0.05,
  1511. 1
  1512. })
  1513. if hitpart.Parent:findFirstChild("Humanoid") then
  1514. basicDamage(hitpart.Parent.Humanoid, 12, BrickColor.new("Bright yellow").Color)
  1515. end
  1516. break
  1517. end
  1518. end
  1519. end
  1520. end)
  1521. end
  1522. end
  1523. end)
  1524. end
  1525. attacking = false
  1526. AttackCan[2] = true
  1527. end
  1528. function leftright()
  1529. attacking = true
  1530. AttackCan[3] = false
  1531. for i = 0, 1, 0.1 do
  1532. swait()
  1533. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), 0, math.rad(-80)), 0.4)
  1534. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), 0, math.rad(80)), 0.4)
  1535. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.4)
  1536. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-50)), 0.4)
  1537. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1538. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1539. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.4)
  1540. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.4)
  1541. end
  1542. thread(function()
  1543. local laser = newPart(nil, BrickColor.new("Really red"), 0.5, true, false, Vector3.new(), "Laser", "SmoothPlastic")
  1544. local lmsh = mesh("BlockMesh", nil, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  1545. local lasers = {}
  1546. local keypoints1, keypoints2, keypoints3, keypoints4, keypoints5, keypoints6 = {}, {}, {}, {}, {}, {}
  1547. local radius = 10
  1548. local num = 12
  1549. for i = 1, num do
  1550. table.insert(keypoints1, {
  1551. RootPart.CFrame.p,
  1552. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num) * i), 0, math.sin(math.rad(360 / num) * i))
  1553. })
  1554. table.insert(keypoints2, {
  1555. RootPart.CFrame.p,
  1556. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 45 * i) * i), 0, math.sin(math.rad(360 / num + 45 * i) * i))
  1557. })
  1558. table.insert(keypoints3, {
  1559. RootPart.CFrame.p,
  1560. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 90 * i) * i), 0, math.sin(math.rad(360 / num + 90 * i) * i))
  1561. })
  1562. table.insert(keypoints4, {
  1563. RootPart.CFrame.p,
  1564. RootPart.CFrame.lookVector + Vector3.new(math.cos(math.rad(360 / num + 135 * i) * i), 0, math.sin(math.rad(360 / num + 135 * i) * i))
  1565. })
  1566. end
  1567. local keypointstotal = {
  1568. keypoints1,
  1569. keypoints2,
  1570. keypoints3,
  1571. keypoints4
  1572. }
  1573. for ii = 1, #keypointstotal do
  1574. swait(5)
  1575. do
  1576. local currpoint = keypointstotal[ii]
  1577. for i = 1, #currpoint do
  1578. do
  1579. local start = currpoint[i][1]
  1580. local look = currpoint[i][2]
  1581. local laserc = laser:Clone()
  1582. local lmshc = lmsh:Clone()
  1583. local hit, pos = rayCast(start, look, 100000, Character)
  1584. laserc.CFrame = CFrame.new((start + pos) / 2, pos) * angles(math.rad(90), 0, 0)
  1585. local mag = (laserc.Position - pos).magnitude * 2
  1586. lmshc.Scale = Vector3.new(2, mag * 5, 2)
  1587. laserc.Parent = Effects
  1588. lmshc.Parent = laserc
  1589. thread(function()
  1590. table.insert(partEffects, {
  1591. laserc,
  1592. "Block2",
  1593. 0.025,
  1594. -0.1,
  1595. 0,
  1596. -0.1,
  1597. lmshc
  1598. })
  1599. local start = currpoint[i][1]
  1600. local look = currpoint[i][2]
  1601. look = CFrame.new(start, start + look).lookVector
  1602. local hit, pos = rayCast(start, look, 100000, Character)
  1603. repeat
  1604. swait()
  1605. until laserc.Parent == nil
  1606. local lpart = newPart(Effects, BrickColor.new("Black"), 0.5, true, false, Vector3.new(), "Cut", "SmoothPlastic")
  1607. sound(406913243, Head, 0.6, 4, 1)
  1608. local lpartm = mesh("BlockMesh", lpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5, mag * 5, 5))
  1609. lpart.CFrame = laserc.CFrame * CFrame.new(0, 0, 0)
  1610. table.insert(partEffects, {
  1611. lpart,
  1612. "Block2",
  1613. 0.05,
  1614. 1,
  1615. 0,
  1616. 1,
  1617. lpartm
  1618. })
  1619. local lpart = newPart(Effects, BrickColor.new("Lily white"), 0.5, true, false, Vector3.new(), "Cut", "SmoothPlastic")
  1620. local lpartm = mesh("BlockMesh", lpart, nil, nil, Vector3.new(0, 0, 0), Vector3.new(8, mag * 5, 8))
  1621. lpart.CFrame = laserc.CFrame * CFrame.new(0, 0, 0)
  1622. table.insert(partEffects, {
  1623. lpart,
  1624. "Block2",
  1625. 0.05,
  1626. 1,
  1627. 0,
  1628. 1,
  1629. lpartm
  1630. })
  1631. local hit, pos = rayCast(start, look, 100000, Character)
  1632. if hit ~= nil then
  1633. if hit.Parent.ClassName == "Accessory" or hit.Parent.ClassName == "Hat" then
  1634. if hit.Parent.Parent:findFirstChild("Humanoid") then
  1635. basicDamage(hit.Parent.Parent.Humanoid, 20, BrickColor.new("Bright red").Color)
  1636. end
  1637. elseif hit.Parent:findFirstChild("Humanoid") then
  1638. basicDamage(hit.Parent.Humanoid, 20, BrickColor.new("Bright red").Color)
  1639. end
  1640. end
  1641. end)
  1642. end
  1643. end
  1644. end
  1645. end
  1646. end)
  1647. for i = 0, 1, 0.1 do
  1648. swait()
  1649. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1650. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.4)
  1651. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(0), math.rad(-40), math.rad(60)), 0.4)
  1652. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45), 0, math.rad(-25)), 0.4)
  1653. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1654. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.4)
  1655. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1656. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1657. end
  1658. AttackCan[3] = true
  1659. attacking = false
  1660. end
  1661. function mouse1d()
  1662. if tool.Active == false then
  1663. return
  1664. end
  1665. if attacking == false and attackcounter == 1 then
  1666. attackcounter = 2
  1667. attackone()
  1668. elseif attacking == false and attackcounter == 2 then
  1669. attackcounter = 3
  1670. attacktwo()
  1671. elseif attacking == false and attackcounter == 3 then
  1672. attackcounter = 1
  1673. attackthree()
  1674. end
  1675. end
  1676. function key(k)
  1677. if tool.Active == false then
  1678. return
  1679. end
  1680. k = k:lower()
  1681. if attacking == false and k == "z" and AttackHas[1] >= AttackNeeded[1] then
  1682. rapidslash()
  1683. elseif attacking == false and k == "x" and AttackHas[2] >= 0.2 then
  1684. powerslash()
  1685. elseif attacking == false and k == "c" and AttackHas[3] >= AttackNeeded[3] then
  1686. leftright()
  1687. elseif attacking ~= false or k ~= "v" or AttackHas[4] >= AttackNeeded[4] then
  1688. end
  1689. end
  1690. asdasd = mouse.Button1Down:connect(mouse1d)
  1691. asdasdf = mouse.KeyDown:connect(key)
  1692. Humanoid.Died:connect(function()
  1693. asdasd:disconnect()
  1694. asdasdf:disconnect()
  1695. end)
  1696. thread(function()
  1697. while true do
  1698. swait()
  1699. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1700. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1701. sine = sine + 1
  1702. if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then
  1703. AttackHas[1] = AttackHas[1] + 0.005
  1704. end
  1705. if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then
  1706. AttackHas[2] = AttackHas[2] + 0.005
  1707. end
  1708. if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then
  1709. AttackHas[3] = AttackHas[3] + 0.005
  1710. end
  1711. if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then
  1712. AttackHas[4] = AttackHas[4] + 0.005
  1713. end
  1714. Reload[1]:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4)
  1715. Reload[2]:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4)
  1716. Reload[3]:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4)
  1717. Reload[4]:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4)
  1718. if 1 < RootPart.Velocity.y and hitfloor == nil then
  1719. if attacking == false then
  1720. Anim = "Jump"
  1721. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
  1722. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  1723. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1724. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  1725. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1726. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  1727. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
  1728. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
  1729. end
  1730. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  1731. if attacking == false then
  1732. Anim = "Fall"
  1733. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(23), 0, 0), 0.2)
  1734. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  1735. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  1736. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1737. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  1738. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1739. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2)
  1740. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2)
  1741. end
  1742. elseif torvel < 1 and hitfloor ~= nil then
  1743. if attacking == false then
  1744. Anim = "Idle"
  1745. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-5), 0, math.rad(15)), 0.1)
  1746. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.2 * math.cos(sine / 25)) * CFrame.Angles(math.rad(10), 0, math.rad(-15)), 0.1)
  1747. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(5), math.rad(-15), math.rad(10) + 0.1 * math.cos(sine / 25)), 0.2)
  1748. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-10) - 0.1 * math.cos(sine / 25)), 0.2)
  1749. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1750. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1751. RH.C0 = clerp(RH.C0, CFrame.new(1, -1.1 - 0.2 * math.cos(sine / 25), 0) * CFrame.Angles(math.rad(10), math.rad(105), math.rad(-5)) * CFrame.Angles(math.rad(-4), 0, math.rad(-5)), 0.2)
  1752. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 - 0.2 * math.cos(sine / 25), 0) * CFrame.Angles(math.rad(10), -math.rad(75), math.rad(-2)) * CFrame.Angles(math.rad(-13), 0, 0), 0.2)
  1753. end
  1754. elseif torvel > 2 and hitfloor ~= nil and attacking == false then
  1755. Anim = "Walk"
  1756. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-5), 0, math.rad(0)), 0.1)
  1757. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.2 * math.cos(sine / 25)) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.1)
  1758. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(5), math.rad(-15), math.rad(10) + 0.1 * math.cos(sine / 25)), 0.2)
  1759. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(-5), math.rad(15), math.rad(-10) - 0.1 * math.cos(sine / 25)), 0.2)
  1760. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1761. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1762. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(sine * 1.2 / 8), math.rad(90), 0), 0.3)
  1763. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(sine * 1.2 / 8), -math.rad(90), 0), 0.3)
  1764. end
  1765. if 0 < #partEffects then
  1766. for e = 1, #partEffects do
  1767. if partEffects[e] ~= nil then
  1768. local Thing = partEffects[e]
  1769. if Thing ~= nil then
  1770. local Part = Thing[1]
  1771. local Mode = Thing[2]
  1772. local Delay = Thing[3]
  1773. local IncX = Thing[4]
  1774. local IncY = Thing[5]
  1775. local IncZ = Thing[6]
  1776. if 1 >= Thing[1].Transparency then
  1777. if Thing[2] == "Block1" then
  1778. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1779. local Mesh = Thing[1].Mesh
  1780. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1781. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1782. elseif Thing[2] == "Block2" then
  1783. Thing[1].CFrame = Thing[1].CFrame
  1784. local Mesh = Thing[7]
  1785. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1786. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1787. elseif Thing[2] == "Cylinder" then
  1788. local Mesh = Thing[1].Mesh
  1789. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1790. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1791. elseif Thing[2] == "Blood" then
  1792. local Mesh = Thing[7]
  1793. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1794. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1795. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1796. elseif Thing[2] == "Elec" then
  1797. local Mesh = Thing[1].Mesh
  1798. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1799. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1800. elseif Thing[2] == "Disappear" then
  1801. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1802. elseif Thing[2] == "Shatter" then
  1803. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1804. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1805. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1806. Thing[6] = Thing[6] + Thing[5]
  1807. end
  1808. else
  1809. Part:Destroy()
  1810. table.remove(partEffects, e)
  1811. end
  1812. end
  1813. end
  1814. end
  1815. end
  1816. end
  1817. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement