DontAskme

suicide

Sep 13th, 2017
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.37 KB | None | 0 0
  1. --[[Psychopath's waifu
  2. I think ck is going to send me in hell...
  3. Suicider by Minty_Latios.
  4. Credit to CKbackup's and grgrgry21 and idk..
  5. B
  6. U R
  7. N I N H
  8. E L
  9. L
  10. ]]--
  11. wait(1 / 60)
  12. Effects = { }
  13. local Player = game.Players.localPlayer
  14. local Character = Player.Character
  15. local Humanoid = Character.Humanoid
  16. local Mouse = Player:GetMouse()
  17. local LeftArm = Character["Left Arm"]
  18. local RightArm = Character["Right Arm"]
  19. local LeftLeg = Character["Left Leg"]
  20. local RightLeg = Character["Right Leg"]
  21. local Head = Character.Head
  22. local Torso = Character.Torso
  23. local Camera = game.Workspace.CurrentCamera
  24. local RootPart = Character.HumanoidRootPart
  25. local RootJoint = RootPart.RootJoint
  26. local attack = false
  27. local Anim = 'Idle'
  28. local attacktype = 1
  29. local delays = false
  30. local play = true
  31. local targetted = nil
  32. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  33. local velocity = RootPart.Velocity.y
  34. local sine = 0
  35. local change = 1
  36. local doe = 0
  37. local Create = LoadLibrary("RbxUtility").Create
  38. Humanoid.WalkSpeed = 12
  39. local m = Create("Model"){
  40. Parent = Character,
  41. Name = "WeaponModel",
  42. }
  43.  
  44. Humanoid.Animator.Parent = nil
  45. Character.Animate.Parent = nil
  46.  
  47. local newMotor = function(part0, part1, c0, c1)
  48. local w = Create('Motor'){
  49. Parent = part0,
  50. Part0 = part0,
  51. Part1 = part1,
  52. C0 = c0,
  53. C1 = c1,
  54. }
  55. return w
  56. end
  57.  
  58. function clerp(a, b, t)
  59. return a:lerp(b, t)
  60. end
  61.  
  62. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  63. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  64.  
  65. local orig
  66. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  67. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  68. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  69. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  70. RootJoint.C1 = CFrame.new(0, 0, 0)
  71. RootJoint.C0 = CFrame.new(0, 0, 0)
  72. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  73. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  74.  
  75. local rarmc1 = RW.C1
  76. local larmc1 = LW.C1
  77. local rlegc1 = RH.C1
  78. local llegc1 = LH.C1
  79.  
  80. local resetc1 = false
  81.  
  82. function PlayAnimationFromTable(table, speed, bool)
  83. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  84. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  85. RW.C0 = clerp(RW.C0, table[3], speed)
  86. LW.C0 = clerp(LW.C0, table[4], speed)
  87. RH.C0 = clerp(RH.C0, table[5], speed)
  88. LH.C0 = clerp(LH.C0, table[6], speed)
  89. if bool == true then
  90. if resetc1 == false then
  91. resetc1 = true
  92. RootJoint.C1 = RootJoint.C1
  93. Torso.Neck.C1 = Torso.Neck.C1
  94. RW.C1 = rarmc1
  95. LW.C1 = larmc1
  96. RH.C1 = rlegc1
  97. LH.C1 = llegc1
  98. end
  99. end
  100. end
  101.  
  102. ArtificialHB = Create("BindableEvent", script){
  103. Parent = script,
  104. Name = "Heartbeat",
  105. }
  106.  
  107. script:WaitForChild("Heartbeat")
  108.  
  109. frame = 1 / 30
  110. tf = 0
  111. allowframeloss = false
  112. tossremainder = false
  113. lastframe = tick()
  114. script.Heartbeat:Fire()
  115.  
  116. game:GetService("RunService").Heartbeat:connect(function(s, p)
  117. tf = tf + s
  118. if tf >= frame then
  119. if allowframeloss then
  120. script.Heartbeat:Fire()
  121. lastframe = tick()
  122. else
  123. for i = 1, math.floor(tf / frame) do
  124. script.Heartbeat:Fire()
  125. end
  126. lastframe = tick()
  127. end
  128. if tossremainder then
  129. tf = 0
  130. else
  131. tf = tf - frame * math.floor(tf / frame)
  132. end
  133. end
  134. end)
  135.  
  136. function swait(num)
  137. if num == 0 or num == nil then
  138. ArtificialHB.Event:wait()
  139. else
  140. for i = 0, num do
  141. ArtificialHB.Event:wait()
  142. end
  143. end
  144. end
  145.  
  146. function RemoveOutlines(part)
  147. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  148. end
  149.  
  150. CFuncs = {
  151. ["Part"] = {
  152. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  153. local Part = Create("Part"){
  154. Parent = Parent,
  155. Reflectance = Reflectance,
  156. Transparency = Transparency,
  157. CanCollide = false,
  158. Locked = true,
  159. BrickColor = BrickColor.new(tostring(BColor)),
  160. Name = Name,
  161. Size = Size,
  162. Material = Material,
  163. }
  164. RemoveOutlines(Part)
  165. return Part
  166. end;
  167. };
  168.  
  169. ["Mesh"] = {
  170. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  171. local Msh = Create(Mesh){
  172. Parent = Part,
  173. Offset = OffSet,
  174. Scale = Scale,
  175. }
  176. if Mesh == "SpecialMesh" then
  177. Msh.MeshType = MeshType
  178. Msh.MeshId = MeshId
  179. end
  180. return Msh
  181. end;
  182. };
  183.  
  184. ["Mesh"] = {
  185. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  186. local Msh = Create(Mesh){
  187. Parent = Part,
  188. Offset = OffSet,
  189. Scale = Scale,
  190. }
  191. if Mesh == "SpecialMesh" then
  192. Msh.MeshType = MeshType
  193. Msh.MeshId = MeshId
  194. end
  195. return Msh
  196. end;
  197. };
  198.  
  199. ["Weld"] = {
  200. Create = function(Parent, Part0, Part1, C0, C1)
  201. local Weld = Create("Weld"){
  202. Parent = Parent,
  203. Part0 = Part0,
  204. Part1 = Part1,
  205. C0 = C0,
  206. C1 = C1,
  207. }
  208. return Weld
  209. end;
  210. };
  211.  
  212. ["Sound"] = {
  213. Create = function(id, par, vol, pit)
  214. coroutine.resume(coroutine.create(function()
  215. local S = Create("Sound"){
  216. Volume = vol,
  217. Pitch = pit or 1,
  218. SoundId = id,
  219. Parent = par or workspace,
  220. }
  221. wait()
  222. S:play()
  223. game:GetService("Debris"):AddItem(S, 6)
  224. end))
  225. end;
  226. };
  227.  
  228. ["ParticleEmitter"] = {
  229. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  230. local fp = Create("ParticleEmitter"){
  231. Parent = Parent,
  232. Color = ColorSequence.new(Color1, Color2),
  233. LightEmission = LightEmission,
  234. Size = Size,
  235. Texture = Texture,
  236. Transparency = Transparency,
  237. ZOffset = ZOffset,
  238. Acceleration = Accel,
  239. Drag = Drag,
  240. LockedToPart = LockedToPart,
  241. VelocityInheritance = VelocityInheritance,
  242. EmissionDirection = EmissionDirection,
  243. Enabled = Enabled,
  244. Lifetime = LifeTime,
  245. Rate = Rate,
  246. Rotation = Rotation,
  247. RotSpeed = RotSpeed,
  248. Speed = Speed,
  249. VelocitySpread = VelocitySpread,
  250. }
  251. return fp
  252. end;
  253. };
  254.  
  255. CreateTemplate = {
  256.  
  257. };
  258. }
  259.  
  260.  
  261.  
  262. New = function(Object, Parent, Name, Data)
  263. local Object = Instance.new(Object)
  264. for Index, Value in pairs(Data or {}) do
  265. Object[Index] = Value
  266. end
  267. Object.Parent = Parent
  268. Object.Name = Name
  269. return Object
  270. end
  271.  
  272.  
  273. 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),})
  274. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  275. 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),})
  276.  
  277. 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,})
  278. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  279. 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,})
  280. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  281. 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),})
  282. 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,})
  283. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  284. 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),})
  285. 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,})
  286. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  287. 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),})
  288. 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,})
  289. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  290. 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),})
  291. 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,})
  292. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  293. 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),})
  294. 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,})
  295. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  296. 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),})
  297. 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,})
  298. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  299. 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),})
  300. 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),})
  301. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  302. 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),})
  303. 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,})
  304. 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,})
  305. 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),})
  306. 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),})
  307. 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),})
  308. 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,})
  309. 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),})
  310. 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,})
  311. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  312. 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),})
  313. 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,})
  314. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  315. 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),})
  316. 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,})
  317. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  318. 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),})
  319. 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,})
  320. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  321. 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),})
  322. 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,})
  323. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  324. 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),})
  325. 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,})
  326. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  327. 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),})
  328. 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,})
  329. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  330. 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),})
  331. 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),})
  332. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  333. 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),})
  334. 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,})
  335. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  336. 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),})
  337. 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),})
  338. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  339. 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),})
  340.  
  341. for _,v in pairs(m:children()) do
  342. if v:IsA("Part") then
  343. v.CanCollide = false
  344. end
  345. end
  346. if Character.Name == "grgrgry21" or Character.Name == "Player1" then
  347. for _,v in pairs(Character:children()) do
  348. if v:IsA("Accessory") then
  349. v:Remove()
  350. end
  351. end
  352. Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  353. Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  354. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",})
  355. mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  356. Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  357. Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,})
  358. mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),})
  359. end
  360.  
  361.  
  362. function rayCast(Position, Direction, Range, Ignore)
  363. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  364. end
  365.  
  366. --[[FindNearestTorso = function(pos)
  367. local list = (game.Workspace:children())
  368. local torso = nil
  369. local dist = 1000
  370. local temp, human, temp2 = nil, nil, nil
  371. for x = 1, #list do
  372. temp2 = list[x]
  373. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  374. temp = temp2:findFirstChild("Torso")
  375. human = temp2:findFirstChild("Humanoid")
  376. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  377. local dohit = true
  378. if dohit == true then
  379. torso = temp
  380. dist = (temp.Position - pos).magnitude
  381. end
  382. end
  383. end
  384. end
  385. return torso, dist
  386. end]]
  387. function FindNearestTorso(Position, Distance, SinglePlayer)
  388. if SinglePlayer then
  389. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  390. end
  391. local List = {}
  392. for i, v in pairs(workspace:GetChildren()) do
  393. if v:IsA("Model") then
  394. if v:findFirstChild("Torso") then
  395. if v ~= Character then
  396. if (v.Torso.Position - Position).magnitude <= Distance then
  397. table.insert(List, v)
  398. end
  399. end
  400. end
  401. end
  402. end
  403. return List
  404. end
  405. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  406. if hit.Parent == nil then
  407. return
  408. end
  409. local h = hit.Parent:FindFirstChild("Humanoid")
  410. for _, v in pairs(hit.Parent:children()) do
  411. if v:IsA("Humanoid") then
  412. h = v
  413. end
  414. end
  415. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  416. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  417. if hit.Parent.DebounceHit.Value == true then
  418. return
  419. end
  420. end
  421. local c = Create("ObjectValue"){
  422. Name = "creator",
  423. Value = game:service("Players").LocalPlayer,
  424. Parent = h,
  425. }
  426. game:GetService("Debris"):AddItem(c, .5)
  427. if HitSound ~= nil and HitPitch ~= nil then
  428. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  429. end
  430. local Damage = math.random(minim, maxim)
  431. local blocked = false
  432. local block = hit.Parent:findFirstChild("Block")
  433. if block ~= nil then
  434. if block.className == "IntValue" then
  435. if block.Value > 0 then
  436. blocked = true
  437. block.Value = block.Value - 1
  438. print(block.Value)
  439. end
  440. end
  441. end
  442. if blocked == false then
  443. h.Health = h.Health - Damage
  444. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  445. else
  446. h.Health = h.Health - (Damage / 2)
  447. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  448. end
  449. if Type == "Knockdown" then
  450. local hum = hit.Parent.Humanoid
  451. hum.PlatformStand = true
  452. coroutine.resume(coroutine.create(function(HHumanoid)
  453. swait(1)
  454. HHumanoid.PlatformStand = false
  455. end), hum)
  456. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  457. local bodvol = Create("BodyVelocity"){
  458. velocity = angle * knockback,
  459. P = 5000,
  460. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  461. Parent = hit,
  462. }
  463. local rl = Create("BodyAngularVelocity"){
  464. P = 3000,
  465. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  466. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  467. Parent = hit,
  468. }
  469. game:GetService("Debris"):AddItem(bodvol, .5)
  470. game:GetService("Debris"):AddItem(rl, .5)
  471. elseif Type == "Normal" then
  472. local vp = Create("BodyVelocity"){
  473. P = 500,
  474. maxForce = Vector3.new(math.huge, 0, math.huge),
  475. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  476. }
  477. if knockback > 0 then
  478. vp.Parent = hit.Parent.Torso
  479. end
  480. game:GetService("Debris"):AddItem(vp, .5)
  481. elseif Type == "Up" then
  482. local bodyVelocity = Create("BodyVelocity"){
  483. velocity = Vector3.new(0, 20, 0),
  484. P = 5000,
  485. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  486. Parent = hit,
  487. }
  488. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  489. elseif Type == "DarkUp" then
  490. coroutine.resume(coroutine.create(function()
  491. for i = 0, 1, 0.1 do
  492. swait()
  493. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  494. end
  495. end))
  496. local bodyVelocity = Create("BodyVelocity"){
  497. velocity = Vector3.new(0, 20, 0),
  498. P = 5000,
  499. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  500. Parent = hit,
  501. }
  502. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  503. elseif Type == "Snare" then
  504. local bp = Create("BodyPosition"){
  505. P = 2000,
  506. D = 100,
  507. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  508. position = hit.Parent.Torso.Position,
  509. Parent = hit.Parent.Torso,
  510. }
  511. game:GetService("Debris"):AddItem(bp, 1)
  512. elseif Type == "Freeze" then
  513. local BodPos = Create("BodyPosition"){
  514. P = 50000,
  515. D = 1000,
  516. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  517. position = hit.Parent.Torso.Position,
  518. Parent = hit.Parent.Torso,
  519. }
  520. local BodGy = Create("BodyGyro") {
  521. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  522. P = 20e+003,
  523. Parent = hit.Parent.Torso,
  524. cframe = hit.Parent.Torso.CFrame,
  525. }
  526. hit.Parent.Torso.Anchored = true
  527. coroutine.resume(coroutine.create(function(Part)
  528. swait(1.5)
  529. Part.Anchored = false
  530. end), hit.Parent.Torso)
  531. game:GetService("Debris"):AddItem(BodPos, 3)
  532. game:GetService("Debris"):AddItem(BodGy, 3)
  533. end
  534. local debounce = Create("BoolValue"){
  535. Name = "DebounceHit",
  536. Parent = hit.Parent,
  537. Value = true,
  538. }
  539. game:GetService("Debris"):AddItem(debounce, Delay)
  540. c = Create("ObjectValue"){
  541. Name = "creator",
  542. Value = Player,
  543. Parent = h,
  544. }
  545. game:GetService("Debris"):AddItem(c, .5)
  546. end
  547. end
  548.  
  549. function ShowDamage(Pos, Text, Time, Color)
  550. local Rate = (1 / 30)
  551. local Pos = (Pos or Vector3.new(0, 0, 0))
  552. local Text = (Text or "")
  553. local Time = (Time or 2)
  554. local Color = (Color or Color3.new(1, 0, 1))
  555. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  556. EffectPart.Anchored = true
  557. local BillboardGui = Create("BillboardGui"){
  558. Size = UDim2.new(3, 0, 3, 0),
  559. Adornee = EffectPart,
  560. Parent = EffectPart,
  561. }
  562. local TextLabel = Create("TextLabel"){
  563. BackgroundTransparency = 1,
  564. Size = UDim2.new(1, 0, 1, 0),
  565. Text = Text,
  566. Font = "SciFi",
  567. TextColor3 = Color,
  568. TextScaled = true,
  569. Parent = BillboardGui,
  570. }
  571. game.Debris:AddItem(EffectPart, (Time))
  572. EffectPart.Parent = game:GetService("Workspace")
  573. delay(0, function()
  574. local Frames = (Time / Rate)
  575. for Frame = 1, Frames do
  576. wait(Rate)
  577. local Percent = (Frame / Frames)
  578. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  579. TextLabel.TextTransparency = Percent
  580. end
  581. if EffectPart and EffectPart.Parent then
  582. EffectPart:Destroy()
  583. end
  584. end)
  585. end
  586.  
  587. function dmg(dude)
  588. if dude.Name ~= Character then
  589. dude.Humanoid.PlatformStand = true
  590. local bgf = Instance.new("BodyGyro",dude.Head)
  591. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  592. local val = Instance.new("BoolValue",dude)
  593. val.Name = "IsHit"
  594. for i = 1, 6 do
  595. local blo = Instance.new("Part",game.Workspace)
  596. blo.Size = Vector3.new(.6,.2,.6)
  597. blo.Material = "SmoothPlastic"
  598. blo.BrickColor = BrickColor.new("Crimson")
  599. --blo.Position = dude.Head.Position
  600. blo.CFrame = dude.Head.CFrame
  601. game:GetService("Debris"):AddItem(blo,30)
  602. end
  603. local ds = coroutine.wrap(function()
  604. wait(.2)
  605. dude.Torso:BreakJoints()
  606. end)
  607. ds()
  608. end
  609. end
  610.  
  611. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  612. --local buddy
  613. for _, c in pairs(workspace:children()) do
  614. local hum = c:findFirstChild("Humanoid")
  615. if hum ~= nil then
  616. local head = c:findFirstChild("Torso")
  617. if head ~= nil then
  618. local targ = head.Position - Part.Position
  619. local mag = targ.magnitude
  620. if mag <= Magnitude and c.Name ~= Player.Name then
  621. if c.Name ~= Character then
  622. if c.Name ~= "CKbackup" then
  623. local asd = Instance.new("ParticleEmitter",c.Torso)
  624. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  625. asd.LightEmission = .1
  626. asd.Size = NumberSequence.new(0.2)
  627. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  628. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  629. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  630. asd.Transparency = bbb
  631. asd.Size = aaa
  632. asd.ZOffset = .9
  633. asd.Acceleration = Vector3.new(0, -5, 0)
  634. asd.LockedToPart = false
  635. asd.EmissionDirection = "Back"
  636. asd.Lifetime = NumberRange.new(1, 2)
  637. asd.Rate = 1000
  638. asd.Rotation = NumberRange.new(-100, 100)
  639. asd.RotSpeed = NumberRange.new(-100, 100)
  640. asd.Speed = NumberRange.new(6)
  641. asd.VelocitySpread = 10000
  642. asd.Enabled=true
  643. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  644. dmg(c)
  645. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  646. coroutine.wrap(function()
  647. wait(.2)
  648. asd.Enabled = false
  649. wait(2)
  650. asd:Remove()
  651. end)()
  652. else
  653. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
  654. Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  655.  
  656. end
  657. end
  658. end
  659. end
  660. end
  661. end
  662. end
  663. EffectModel = Create("Model"){
  664. Parent = Character,
  665. Name = "Effects",
  666. }
  667.  
  668. Effects = {
  669. Block = {
  670. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  671. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  672. prt.Anchored = true
  673. prt.CFrame = cframe
  674. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  675. game:GetService("Debris"):AddItem(prt, 10)
  676. if Type == 1 or Type == nil then
  677. table.insert(Effects, {
  678. prt,
  679. "Block1",
  680. delay,
  681. x3,
  682. y3,
  683. z3,
  684. msh
  685. })
  686. elseif Type == 2 then
  687. table.insert(Effects, {
  688. prt,
  689. "Block2",
  690. delay,
  691. x3,
  692. y3,
  693. z3,
  694. msh
  695. })
  696. end
  697. end;
  698. };
  699.  
  700. Cylinder = {
  701. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  702. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  703. prt.Anchored = true
  704. prt.CFrame = cframe
  705. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  706. game:GetService("Debris"):AddItem(prt, 10)
  707. table.insert(Effects, {
  708. prt,
  709. "Cylinder",
  710. delay,
  711. x3,
  712. y3,
  713. z3,
  714. msh
  715. })
  716. end;
  717. };
  718. Head = {
  719. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  720. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  721. prt.Anchored = true
  722. prt.CFrame = cframe
  723. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  724. game:GetService("Debris"):AddItem(prt, 10)
  725. table.insert(Effects, {
  726. prt,
  727. "Cylinder",
  728. delay,
  729. x3,
  730. y3,
  731. z3,
  732. msh
  733. })
  734. end;
  735. };
  736.  
  737. Sphere = {
  738. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  739. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  740. prt.Anchored = true
  741. prt.CFrame = cframe
  742. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  743. game:GetService("Debris"):AddItem(prt, 10)
  744. table.insert(Effects, {
  745. prt,
  746. "Cylinder",
  747. delay,
  748. x3,
  749. y3,
  750. z3,
  751. msh
  752. })
  753. end;
  754. };
  755.  
  756. Elect = {
  757. Create = function(cff, x, y, z)
  758. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  759. prt.Anchored = true
  760. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  761. prt.CFrame = CFrame.new(prt.Position)
  762. game:GetService("Debris"):AddItem(prt, 2)
  763. local xval = math.random() / 2
  764. local yval = math.random() / 2
  765. local zval = math.random() / 2
  766. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  767. table.insert(Effects, {
  768. prt,
  769. "Elec",
  770. 0.1,
  771. x,
  772. y,
  773. z,
  774. xval,
  775. yval,
  776. zval
  777. })
  778. end;
  779.  
  780. };
  781.  
  782. Ring = {
  783. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  784. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  785. prt.Anchored = true
  786. prt.CFrame = cframe
  787. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  788. game:GetService("Debris"):AddItem(prt, 10)
  789. table.insert(Effects, {
  790. prt,
  791. "Cylinder",
  792. delay,
  793. x3,
  794. y3,
  795. z3,
  796. msh
  797. })
  798. end;
  799. };
  800.  
  801.  
  802. Wave = {
  803. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  804. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  805. prt.Anchored = true
  806. prt.CFrame = cframe
  807. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. game:GetService("Debris"):AddItem(prt, 10)
  809. table.insert(Effects, {
  810. prt,
  811. "Cylinder",
  812. delay,
  813. x3,
  814. y3,
  815. z3,
  816. msh
  817. })
  818. end;
  819. };
  820.  
  821. Break = {
  822. Create = function(brickcolor, cframe, x1, y1, z1)
  823. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  824. prt.Anchored = true
  825. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  826. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  827. local num = math.random(10, 50) / 1000
  828. game:GetService("Debris"):AddItem(prt, 10)
  829. table.insert(Effects, {
  830. prt,
  831. "Shatter",
  832. num,
  833. prt.CFrame,
  834. math.random() - math.random(),
  835. 0,
  836. math.random(50, 100) / 100
  837. })
  838. end;
  839. };
  840.  
  841. Fire = {
  842. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  843. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  844. prt.Anchored = true
  845. prt.CFrame = cframe
  846. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "Fire",
  851. delay,
  852. 1,
  853. 1,
  854. 1,
  855. msh
  856. })
  857. end;
  858. };
  859.  
  860. FireWave = {
  861. Create = function(brickcolor, cframe, x1, y1, z1)
  862. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  863. prt.Anchored = true
  864. prt.CFrame = cframe
  865. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  866. local d = Create("Decal"){
  867. Parent = prt,
  868. Texture = "rbxassetid://26356434",
  869. Face = "Top",
  870. }
  871. local d = Create("Decal"){
  872. Parent = prt,
  873. Texture = "rbxassetid://26356434",
  874. Face = "Bottom",
  875. }
  876. game:GetService("Debris"):AddItem(prt, 10)
  877. table.insert(Effects, {
  878. prt,
  879. "FireWave",
  880. 1,
  881. 30,
  882. math.random(400, 600) / 100,
  883. msh
  884. })
  885. end;
  886. };
  887.  
  888. Lightning = {
  889. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  890. local magz = (p0 - p1).magnitude
  891. local curpos = p0
  892. local trz = {
  893. -ofs,
  894. ofs
  895. }
  896. for i = 1, tym do
  897. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  898. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  899. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  900. li.Material = "Neon"
  901. if tym == i then
  902. local magz2 = (curpos - p1).magnitude
  903. li.Size = Vector3.new(th, th, magz2)
  904. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  905. table.insert(Effects, {
  906. li,
  907. "Disappear",
  908. last
  909. })
  910. else
  911. do
  912. do
  913. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  914. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  915. game.Debris:AddItem(li, 10)
  916. table.insert(Effects, {
  917. li,
  918. "Disappear",
  919. last
  920. })
  921. end
  922. end
  923. end
  924. end
  925. end
  926. };
  927.  
  928. EffectTemplate = {
  929.  
  930. };
  931. }
  932.  
  933. function chatfunc(text)
  934. local chat = coroutine.wrap(function()
  935. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  936. Character:FindFirstChild("TalkingBillBoard"):destroy()
  937. end
  938. local naeeym2 = Instance.new("BillboardGui",Character)
  939. naeeym2.Size = UDim2.new(0,100,0,40)
  940. naeeym2.StudsOffset = Vector3.new(0,3,0)
  941. naeeym2.Adornee = Character.Head
  942. naeeym2.Name = "TalkingBillBoard"
  943. local tecks2 = Instance.new("TextLabel",naeeym2)
  944. tecks2.BackgroundTransparency = 1
  945. tecks2.BorderSizePixel = 0
  946. tecks2.Text = ""
  947. tecks2.Font = "Fantasy"
  948. tecks2.TextSize = 30
  949. tecks2.TextStrokeTransparency = 0
  950. tecks2.TextColor3 = Color3.new(.6,0,0)
  951. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  952. tecks2.Size = UDim2.new(1,0,0.5,0)
  953. local tecks3 = Instance.new("TextLabel",naeeym2)
  954. tecks3.BackgroundTransparency = 1
  955. tecks3.BorderSizePixel = 0
  956. tecks3.Text = ""
  957. tecks3.Font = "Fantasy"
  958. tecks3.TextSize = 30
  959. tecks3.TextStrokeTransparency = 0
  960. tecks3.TextColor3 = Color3.new(.6,0,0)
  961. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  962. tecks3.Size = UDim2.new(1,0,0.5,0)
  963. for i = 1,string.len(text),1 do
  964. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
  965. tecks2.Text = string.sub(text,1,i)
  966. tecks3.Text = string.sub(text,1,i)
  967. wait(0.01)
  968. end
  969. wait(2)
  970. for i = 1, 50 do
  971. swait()
  972. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  973. tecks2.Rotation = tecks2.Rotation - .8
  974. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  975. tecks2.TextTransparency = tecks2.TextTransparency + .04
  976. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  977. tecks3.Rotation = tecks2.Rotation + .8
  978. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  979. tecks3.TextTransparency = tecks2.TextTransparency + .04
  980. end
  981. naeeym2:Destroy()
  982. end)
  983. if Character:FindFirstChild"Head" then chat() end
  984. end
  985. function onChatted(msg)
  986. chatfunc(msg)
  987. end
  988. Player.Chatted:connect(onChatted)
  989.  
  990. abss = Instance.new("BillboardGui",Character)
  991. abss.Size = UDim2.new(10,0,10,0)
  992. abss.Enabled = false
  993. imgl = Instance.new("ImageLabel",abss)
  994. imgl.Position = UDim2.new(0,0,0,0)
  995. imgl.Size = UDim2.new(1,0,1,0)
  996. imgl.Image = "rbxassetid://711463989"
  997. imgl.BackgroundTransparency = 1
  998. imgl.ImageColor3 = Color3.new(.9,0,0)
  999. img2 = Instance.new("ImageLabel",abss)
  1000. img2.Position = UDim2.new(0,0,0,0)
  1001. img2.Size = UDim2.new(1,0,1,0)
  1002. img2.Image = "rbxassetid://711463989"
  1003. img2.BackgroundTransparency = 1
  1004. img2.ImageColor3 = Color3.new(.9,0,0)
  1005.  
  1006.  
  1007.  
  1008.  
  1009. function ragdoll()
  1010. game.Players.LocalPlayer.Character.Archivable = true
  1011. clone = game.Players.LocalPlayer.Character:Clone()
  1012. clone.Parent = workspace
  1013. for i,v in pairs(clone:GetChildren()) do
  1014. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  1015. v:destroy()
  1016. end
  1017. for i,p in pairs(v:GetChildren()) do
  1018. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  1019. p:destroy()
  1020. end
  1021. end
  1022. end
  1023. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1024. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  1025. t:destroy()
  1026. end
  1027. end
  1028. vel = Instance.new("BodyVelocity", clone.Torso)
  1029. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  1030. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1031. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  1032. using = false
  1033. hit = Instance.new("Sound", clone.Torso)
  1034. hit.SoundId = "rbxassetid://260430060"
  1035. hit.Volume = 5
  1036. hit1 = Instance.new("Sound", clone.Torso)
  1037. hit1.SoundId = "rbxassetid://138087186"
  1038. hit1.Volume = 5
  1039. hit2 = Instance.new("Sound", clone.Torso)
  1040. hit2.SoundId = "rbxassetid://131237241"
  1041. hit2.Volume = 5
  1042. hit3 = Instance.new("Sound", clone.Torso)
  1043. hit3.SoundId = "rbxassetid://278062209"
  1044. hit3.Volume = 5
  1045. hit3.TimePosition = 0.33
  1046. ded = Instance.new("Sound", clone.Torso)
  1047. ded.SoundId = "rbxassetid://418892870"
  1048. ded.Volume = 0
  1049. local leftarm = clone:findFirstChild("Left Arm")
  1050. local rightrm = clone:findFirstChild("Right Arm")
  1051. local leftleg = clone:findFirstChild("Left Leg")
  1052. local rightleg = clone:findFirstChild("Right Leg")
  1053. local head = clone:findFirstChild("Head")
  1054. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1055. if g.ClassName == "Part" then
  1056. g:destroy()
  1057. end
  1058. end
  1059. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  1060. if h.ClassName == "Accesory" then
  1061. h:destroy()
  1062. end
  1063. end
  1064. game.Workspace.CurrentCamera.CameraSubject = head
  1065. if head ~= nil then
  1066. local glue13 = Instance.new("Glue", clone.Torso)
  1067. glue13.Part0 = clone.Torso
  1068. glue13.Part1 = head
  1069. glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1070. glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1071. local collider13 = Instance.new("Part", head)
  1072. collider13.Position = Vector3.new(0,999,0)
  1073. collider13.Size = Vector3.new(0.5, 0.9, 0.9)
  1074. collider13.Shape = "Cylinder"
  1075. collider13.Transparency = 1
  1076. local weld = Instance.new("Weld", collider13)
  1077. weld.Part0 = head
  1078. weld.Part1 = collider13
  1079. weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80)
  1080. collider13.TopSurface = "Smooth"
  1081. collider13.BottomSurface = "Smooth"
  1082. collider13.formFactor = "Symmetric"
  1083. end
  1084. if leftleg ~= nil then
  1085. local glue = Instance.new("Glue", clone.Torso)
  1086. glue.Part0 = clone.Torso
  1087. glue.Part1 = leftleg
  1088. glue.Name = "Left leg"
  1089. local collider = Instance.new("Part", leftleg)
  1090. collider.Position = Vector3.new(0,999,0)
  1091. collider.Size = Vector3.new(1.7, 1, 1)
  1092. collider.Shape = "Cylinder"
  1093. local weld = Instance.new("Weld", collider)
  1094. weld.Part0 = leftleg
  1095. weld.Part1 = collider
  1096. weld.C0 = CFrame.Angles(0, 0, 80)
  1097. collider.TopSurface = "Smooth"
  1098. collider.BottomSurface = "Smooth"
  1099. collider.formFactor = "Symmetric"
  1100. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1101. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1102. collider.Transparency = 1
  1103. end
  1104. ------------
  1105. if rightleg ~= nil then
  1106. local glue1 = Instance.new("Glue", clone.Torso)
  1107. glue1.Part0 = clone.Torso
  1108. glue1.Part1 = rightleg
  1109. glue1.Name = "Right leg"
  1110. local collider1 = Instance.new("Part", rightleg)
  1111. collider1.Position = Vector3.new(0,999,0)
  1112. collider1.Size = Vector3.new(1.7, 1, 1)
  1113. collider1.Shape = "Cylinder"
  1114. local weld1 = Instance.new("Weld", collider1)
  1115. weld1.Part0 = rightleg
  1116. weld1.Part1 = collider1
  1117. weld1.C0 = CFrame.Angles(0, 0, 80)
  1118. collider1.TopSurface = "Smooth"
  1119. collider1.BottomSurface = "Smooth"
  1120. collider1.formFactor = "Symmetric"
  1121. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1122. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1123. collider1.Transparency = 1
  1124. end
  1125. ------------
  1126. if rightrm ~= nil then
  1127. local glue11 = Instance.new("Glue", clone.Torso)
  1128. glue11.Part0 = clone.Torso
  1129. glue11.Part1 = rightrm
  1130. glue11.Name = "Right shoulder"
  1131. local collider11 = Instance.new("Part", rightrm)
  1132. collider11.Position = Vector3.new(0,9999,0)
  1133. collider11.Size = Vector3.new(1.8,1,1)
  1134. collider11.Shape = "Cylinder"
  1135. local weld11 = Instance.new("Weld", collider11)
  1136. weld11.Part0 = rightrm
  1137. weld11.Part1 = collider11
  1138. weld11.C0 = CFrame.Angles(0, 0, 80)
  1139. collider11.TopSurface = "Smooth"
  1140. collider11.BottomSurface = "Smooth"
  1141. collider11.formFactor = "Symmetric"
  1142. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1143. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1144. collider11.Transparency = 1
  1145. end
  1146. ------------
  1147. if leftarm ~= nil then
  1148. local glue111 = Instance.new("Glue", clone.Torso)
  1149. glue111.Part0 = clone.Torso
  1150. glue111.Part1 = leftarm
  1151. glue111.Name = "Left shoulder"
  1152. local collider111 = Instance.new("Part", leftarm)
  1153. collider111.Position = Vector3.new(0,9999,0)
  1154. collider111.Size = Vector3.new(1.8,1,1)
  1155. collider111.Shape = "Cylinder"
  1156. local weld111 = Instance.new("Weld", collider111)
  1157. weld111.Part0 = leftarm
  1158. weld111.Part1 = collider111
  1159. weld111.C0 = CFrame.Angles(0, 0, 80)
  1160. collider111.TopSurface = "Smooth"
  1161. collider111.BottomSurface = "Smooth"
  1162. collider111.formFactor = "Symmetric"
  1163. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1164. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1165. collider111.Transparency = 1
  1166. ----------------
  1167. sensoring = Instance.new("Part", clone.Torso)
  1168. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  1169. sensoring.CanCollide = false
  1170. sensoring.Position = clone.Torso.Position
  1171. local welder = Instance.new("Weld", sensoring)
  1172. welder.Part0 = clone.Torso
  1173. welder.Part1 = sensoring
  1174. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  1175. sensoring.Transparency = 1
  1176. -----------------
  1177. sensoring1 = Instance.new("Part", clone.Torso)
  1178. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  1179. sensoring1.CanCollide = false
  1180. sensoring1.Position = clone.Torso.Position
  1181. local welder1 = Instance.new("Weld", sensoring)
  1182. welder1.Part0 = clone.Torso
  1183. welder1.Part1 = sensoring1
  1184. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  1185. sensoring1.Transparency = 1
  1186. end
  1187. clone.Name = game.Players.LocalPlayer.Character.Name.." (Committed suicide)"
  1188. ded:Play()
  1189. vel:destroy()
  1190. wait(0.5)
  1191. local function touch()
  1192. if not using then
  1193. using = true
  1194. local Math = math.random(1,4)
  1195. if Math == 1 then
  1196. hit:Play()
  1197. end
  1198. if Math == 2 then
  1199. hit1:Play()
  1200. end
  1201. if Math == 3 then
  1202. hit2:Play()
  1203. end
  1204. if Math == 4 then
  1205. hit3:Play()
  1206. end
  1207. wait(0.1)
  1208. using = false
  1209. end
  1210. end
  1211. sensoring.Touched:connect(touch)
  1212. sensoring1.Touched:connect(touch)
  1213. wait(4.47)
  1214. hit1.Volume = 0
  1215. hit2.Volume = 0
  1216. hit3.Volume = 0
  1217. hit.Volume = 0
  1218. end
  1219.  
  1220. function ofmoosic() -- 2 lazi hoh
  1221. delays = true
  1222. while wait() and kkk and kkk.Volume >= 0.02 do
  1223. kkk.Volume = kkk.Volume - 0.05
  1224. end
  1225. wait(0.1)
  1226. kkk.Pitch = 0
  1227. kkk.PlaybackSpeed = 0
  1228. play = false
  1229. delays = false
  1230. end
  1231. function onmoosic()
  1232. delays = true
  1233. kkk.Pitch = .6
  1234. kkk.PlaybackSpeed = .6
  1235. while wait() and kkk and kkk.Volume <= 1.5 do
  1236. kkk.Volume = kkk.Volume + 0.05
  1237. end
  1238. wait(0.1)
  1239. play = true
  1240. delays = false
  1241. end
  1242. function attackone()
  1243. attack = true
  1244. Humanoid.WalkSpeed = 0
  1245. chatfunc("Life isn't worth living...")
  1246. for i = 0, 1, 0.1 do
  1247. swait()
  1248. PlayAnimationFromTable({
  1249. CFrame.new(0, -0, 0, 1.00000024, 0, -0, 0, 1.00000024, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1250. CFrame.new(7.62939635e-06, 1.49997163, 0, 1.00000024, 0, -0, 0, 1.00000024, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1251. CFrame.new(0.957365155, 0.473913312, -0.436159939, 0.839621305, 0.451239794, 0.302355915, 0.366206169, -0.059150584, -0.928652048, -0.401160091, 0.890440345, -0.21491085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1252. CFrame.new(-1.49999273, 3.87430276e-07, 0, 1.00000024, 0, -0, 0, 1.00000024, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1253. CFrame.new(0.499987125, -1.99996996, 0, 0.997888982, -0.0649460182, -0, 0.0649460182, 0.997888982, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1254. CFrame.new(-0.499989778, -1.99997127, 0, 0.998181164, 0.0602900162, -0, -0.0602900162, 0.998181164, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1255. }, .3, false)
  1256. moter.C0 = clerp(moter.C0, CFrame.new(-0.382800102, -0.626367509, -0.547955096, 0.192451894, 0.293820173, 0.936286569, -0.901372194, -0.32425499, 0.287031353, 0.387930989, -0.89918226, 0.202437893) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1257. end
  1258. wait(1.5)
  1259. chatfunc("Goodbye cruel world...")
  1260. wait(1.5)
  1261. local partasdeff = Instance.new("ParticleEmitter",Character.Head)
  1262. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1263. partasdeff.LightEmission = .1
  1264. partasdeff.Size = NumberSequence.new(0.2)
  1265. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1266. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1267. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1268. partasdeff.Transparency = bbb
  1269. partasdeff.Size = aaa
  1270. partasdeff.ZOffset = .9
  1271. partasdeff.Acceleration = Vector3.new(0, -15, 0)
  1272. partasdeff.LockedToPart = false
  1273. partasdeff.EmissionDirection = "Back"
  1274. partasdeff.Lifetime = NumberRange.new(1, 4)
  1275. partasdeff.Rate = 1000
  1276. partasdeff.Rotation = NumberRange.new(-100, 100)
  1277. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1278. partasdeff.Speed = NumberRange.new(15)
  1279. partasdeff.VelocitySpread = 15
  1280. partasdeff.Enabled=true
  1281. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1282. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1283. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5)
  1284. dmg(Character)
  1285. Character.Head.Velocity = Character.Head.CFrame.lookVector * -30
  1286. ragdoll()
  1287. end
  1288. Mouse.Button1Down:connect(function()
  1289. if attack == false then
  1290. attackone()
  1291. end
  1292. end)
  1293.  
  1294.  
  1295. kkk = Instance.new("Sound",Character)
  1296. kkk.Volume = 1.5
  1297. kkk.PlaybackSpeed = 1
  1298. kkk.Pitch = .6
  1299. kkk.SoundId = "rbxassetid://257187456"
  1300. kkk:Play()
  1301. kkk.Name = "a"
  1302. kkk.Looped = true
  1303.  
  1304.  
  1305. coroutine.wrap(function()
  1306. while true do
  1307. swait()
  1308. for i, v in pairs(Character.WeaponModel:GetChildren()) do
  1309. if v:IsA("Part") then
  1310. v.Anchored = false
  1311. end
  1312. end
  1313. for i, v in pairs(Character:GetChildren()) do
  1314. if v:IsA("Part") then
  1315. v.Anchored = false
  1316. elseif v:IsA("Accessory") then
  1317. v.Handle.Anchored = false
  1318. end
  1319. end
  1320. end
  1321. end)()
  1322. coroutine.wrap(function()
  1323. while 1 do
  1324. swait()
  1325. if doe <= 360 then
  1326. doe = doe + 2
  1327. else
  1328. doe = 0
  1329. end
  1330. end
  1331. end)()
  1332. while true do
  1333. swait()
  1334. for i, v in pairs(Character:GetChildren()) do
  1335. if v:IsA("Part") then
  1336. v.Material = "SmoothPlastic"
  1337. elseif v:IsA("Accessory") then
  1338. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1339. end
  1340. end
  1341. while true do
  1342. swait()
  1343. Character.Humanoid.MaxHealth = math.huge
  1344. Character.Humanoid.Health = math.huge
  1345. imgl.Rotation = imgl.Rotation + 3
  1346. img2.Rotation = img2.Rotation + 3
  1347. if targetted ~= nil then
  1348. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1349. abss.Enabled = true
  1350. elseif targetted == nil then
  1351. abss.Adornee = nil
  1352. abss.Enabled = false
  1353. end
  1354.  
  1355. while true and imgl.Rotation >= 360 do
  1356. imgl.Rotation = 0
  1357. img2.Rotation = 0
  1358. end
  1359. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1360. velocity = RootPart.Velocity.y
  1361. sine = sine + change
  1362. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1363. if RootPart.Velocity.y > 1 and hit == nil then
  1364. Anim = "Jump"
  1365. if attack == false then
  1366. PlayAnimationFromTable({
  1367. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1368. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1369. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1370. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1371. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1372. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1373. }, .3, false)
  1374. moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1375. end
  1376. elseif RootPart.Velocity.y < -1 and hit == nil then
  1377. Anim = "Fall"
  1378. if attack == false then
  1379. PlayAnimationFromTable({
  1380. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1381. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1382. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1383. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1384. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1385. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1386. }, .3, false)
  1387. moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1388. end
  1389. elseif Torsovelocity < 1 and hit ~= nil then
  1390. Anim = "Idle"
  1391. if attack == false then
  1392. change = 1
  1393. PlayAnimationFromTable({
  1394. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1395. CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0),
  1396. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)),
  1397. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)),
  1398. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1399. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1400. }, .3, false)
  1401. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1402. end
  1403. elseif Torsovelocity > 2 and hit ~= nil then
  1404. Anim = "Walk"
  1405. if attack == false then
  1406. PlayAnimationFromTable({
  1407. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  1408. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1409. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1410. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1411. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1412. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1413. }, .3, false)
  1414. moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1415. end
  1416. end
  1417. if 0 < #Effects then
  1418. for e = 1, #Effects do
  1419. if Effects[e] ~= nil then
  1420. local Thing = Effects[e]
  1421. if Thing ~= nil then
  1422. local Part = Thing[1]
  1423. local Mode = Thing[2]
  1424. local Delay = Thing[3]
  1425. local IncX = Thing[4]
  1426. local IncY = Thing[5]
  1427. local IncZ = Thing[6]
  1428. if Thing[2] == "Shoot" then
  1429. local Look = Thing[1]
  1430. local move = 30
  1431. if Thing[8] == 3 then
  1432. move = 10
  1433. end
  1434. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1435. if Thing[10] ~= nil then
  1436. da = pos
  1437. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1438. cfa = CFrame.new(Thing[4], pos)
  1439. tehCF = cfa:lerp(cf2, 0.2)
  1440. Thing[1] = tehCF.lookVector
  1441. end
  1442. local mag = (Thing[4] - pos).magnitude
  1443. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1444. if Thing[8] == 2 then
  1445. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1446. end
  1447. Thing[4] = Thing[4] + Look * move
  1448. Thing[3] = Thing[3] - 1
  1449. if 2 < Thing[5] then
  1450. Thing[5] = Thing[5] - 0.3
  1451. Thing[6] = Thing[6] - 0.3
  1452. end
  1453. if hit ~= nil then
  1454. Thing[3] = 0
  1455. if Thing[8] == 1 or Thing[8] == 3 then
  1456. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1457. else
  1458. if Thing[8] == 2 then
  1459. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1460. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1461. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1462. ref.Anchored = true
  1463. ref.CFrame = CFrame.new(pos)
  1464. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1465. game:GetService("Debris"):AddItem(ref, 0.2)
  1466. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1467. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1468. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1469. end
  1470. end
  1471. end
  1472. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1473. ref.Anchored = true
  1474. ref.CFrame = CFrame.new(pos)
  1475. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1476. game:GetService("Debris"):AddItem(ref, 1)
  1477. end
  1478. if Thing[3] <= 0 then
  1479. table.remove(Effects, e)
  1480. end
  1481. end
  1482. do
  1483. do
  1484. if Thing[2] == "FireWave" then
  1485. if Thing[3] <= Thing[4] then
  1486. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1487. Thing[3] = Thing[3] + 1
  1488. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1489. else
  1490. Part.Parent = nil
  1491. table.remove(Effects, e)
  1492. end
  1493. end
  1494. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1495. if Thing[1].Transparency <= 1 then
  1496. if Thing[2] == "Block1" then
  1497. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1498. Mesh = Thing[7]
  1499. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1500. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1501. else
  1502. if Thing[2] == "Block2" then
  1503. Thing[1].CFrame = Thing[1].CFrame
  1504. Mesh = Thing[7]
  1505. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1506. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1507. else
  1508. if Thing[2] == "Fire" then
  1509. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1510. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1511. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1512. else
  1513. if Thing[2] == "Cylinder" then
  1514. Mesh = Thing[7]
  1515. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517. else
  1518. if Thing[2] == "Blood" then
  1519. Mesh = Thing[7]
  1520. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1521. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1522. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1523. else
  1524. if Thing[2] == "Elec" then
  1525. Mesh = Thing[10]
  1526. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1527. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1528. else
  1529. if Thing[2] == "Disappear" then
  1530. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1531. else
  1532. if Thing[2] == "Shatter" then
  1533. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1534. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1535. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1536. Thing[6] = Thing[6] + Thing[5]
  1537. end
  1538. end
  1539. end
  1540. end
  1541. end
  1542. end
  1543. end
  1544. end
  1545. else
  1546. Part.Parent = nil
  1547. table.remove(Effects, e)
  1548. end
  1549. end
  1550. end
  1551. end
  1552. end
  1553. end
  1554. end
  1555. end
  1556. end
  1557. end
Add Comment
Please, Sign In to add comment