Advertisement
Guest User

urmumgaelololololdoald

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