Advertisement
Nawx

Untitled

Jan 17th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 123.11 KB | None | 0 0
  1. --[[Psychopath's waifu
  2. I think ck is going to send me in hell...
  3. Genocider by grgrgry21.
  4. Credit to spectacular2cell's 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 = 8
  39. local m = Create("Model"){
  40. Parent = Character,
  41. Name = "WeaponModel",
  42. }
  43. --//NameTag\\
  44. CV="Maroon"
  45. Player = game.Players.LocalPlayer
  46. char = Player.Character
  47. local txt = Instance.new("BillboardGui", char)
  48. txt.Adornee = Character .Head
  49. txt.Name = "_status"
  50. txt.Size = UDim2.new(2, 0, 1.2, 0)
  51. txt.StudsOffset = Vector3.new(-9, 8, 0)
  52. local text = Instance.new("TextLabel", txt)
  53. text.Size = UDim2.new(10, 0, 7, 0)
  54. text.FontSize = "Size24"
  55. text.TextScaled = true
  56. text.TextTransparency = 0
  57. text.BackgroundTransparency = 1
  58. text.TextTransparency = 0
  59. text.TextStrokeTransparency = 0
  60. text.Font = "Bodoni"
  61. text.TextStrokeColor3 = Color3.new(0,0,255)
  62.  
  63. v=Instance.new("Part")
  64. v.Name = "ColorBrick"
  65. v.Parent=Player.Character
  66. v.FormFactor="Symmetric"
  67. v.Anchored=true
  68. v.CanCollide=false
  69. v.BottomSurface="Smooth"
  70. v.TopSurface="Smooth"
  71. v.Size=Vector3.new(10,5,3)
  72. v.Transparency=1
  73. v.CFrame=Character.Torso.CFrame
  74. v.BrickColor=BrickColor.new(CV)
  75. v.Transparency=1
  76. text.TextColor3 = Color3.new(0,0,0)
  77. v.Shape="Block"
  78. text.Text = "Blue"
  79. --------------
  80.  
  81. Humanoid.Animator.Parent = nil
  82. Character.Animate.Parent = nil
  83.  
  84. local newMotor = function(part0, part1, c0, c1)
  85. local w = Create('Motor'){
  86. Parent = part0,
  87. Part0 = part0,
  88. Part1 = part1,
  89. C0 = c0,
  90. C1 = c1,
  91. }
  92. return w
  93. end
  94.  
  95. function clerp(a, b, t)
  96. return a:lerp(b, t)
  97. end
  98.  
  99. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  100. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  101.  
  102. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  103. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  104. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  105. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  106. RootJoint.C1 = CFrame.new(0, 0, 0)
  107. RootJoint.C0 = CFrame.new(0, 0, 0)
  108. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  109. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  110.  
  111. local rarmc1 = RW.C1
  112. local larmc1 = LW.C1
  113. local rlegc1 = RH.C1
  114. local llegc1 = LH.C1
  115.  
  116. local resetc1 = false
  117.  
  118. function PlayAnimationFromTable(table, speed, bool)
  119. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  120. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  121. RW.C0 = clerp(RW.C0, table[3], speed)
  122. LW.C0 = clerp(LW.C0, table[4], speed)
  123. RH.C0 = clerp(RH.C0, table[5], speed)
  124. LH.C0 = clerp(LH.C0, table[6], speed)
  125. if bool == true then
  126. if resetc1 == false then
  127. resetc1 = true
  128. RootJoint.C1 = RootJoint.C1
  129. Torso.Neck.C1 = Torso.Neck.C1
  130. RW.C1 = rarmc1
  131. LW.C1 = larmc1
  132. RH.C1 = rlegc1
  133. LH.C1 = llegc1
  134. end
  135. end
  136. end
  137.  
  138. ArtificialHB = Create("BindableEvent", script){
  139. Parent = script,
  140. Name = "Heartbeat",
  141. }
  142.  
  143. script:WaitForChild("Heartbeat")
  144.  
  145. frame = 1 / 30
  146. tf = 0
  147. allowframeloss = false
  148. tossremainder = false
  149. lastframe = tick()
  150. script.Heartbeat:Fire()
  151.  
  152. game:GetService("RunService").Heartbeat:connect(function(s, p)
  153. tf = tf + s
  154. if tf >= frame then
  155. if allowframeloss then
  156. script.Heartbeat:Fire()
  157. lastframe = tick()
  158. else
  159. for i = 1, math.floor(tf / frame) do
  160. script.Heartbeat:Fire()
  161. end
  162. lastframe = tick()
  163. end
  164. if tossremainder then
  165. tf = 0
  166. else
  167. tf = tf - frame * math.floor(tf / frame)
  168. end
  169. end
  170. end)
  171.  
  172. function swait(num)
  173. if num == 0 or num == nil then
  174. ArtificialHB.Event:wait()
  175. else
  176. for i = 0, num do
  177. ArtificialHB.Event:wait()
  178. end
  179. end
  180. end
  181.  
  182. function RemoveOutlines(part)
  183. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  184. end
  185.  
  186. CFuncs = {
  187. ["Part"] = {
  188. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  189. local Part = Create("Part"){
  190. Parent = Parent,
  191. Reflectance = Reflectance,
  192. Transparency = Transparency,
  193. CanCollide = false,
  194. Locked = true,
  195. BrickColor = BrickColor.new(tostring(BColor)),
  196. Name = Name,
  197. Size = Size,
  198. Material = Material,
  199. }
  200. RemoveOutlines(Part)
  201. return Part
  202. end;
  203. };
  204.  
  205. ["Mesh"] = {
  206. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  207. local Msh = Create(Mesh){
  208. Parent = Part,
  209. Offset = OffSet,
  210. Scale = Scale,
  211. }
  212. if Mesh == "SpecialMesh" then
  213. Msh.MeshType = MeshType
  214. Msh.MeshId = MeshId
  215. end
  216. return Msh
  217. end;
  218. };
  219.  
  220. ["Mesh"] = {
  221. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  222. local Msh = Create(Mesh){
  223. Parent = Part,
  224. Offset = OffSet,
  225. Scale = Scale,
  226. }
  227. if Mesh == "SpecialMesh" then
  228. Msh.MeshType = MeshType
  229. Msh.MeshId = MeshId
  230. end
  231. return Msh
  232. end;
  233. };
  234.  
  235. ["Weld"] = {
  236. Create = function(Parent, Part0, Part1, C0, C1)
  237. local Weld = Create("Weld"){
  238. Parent = Parent,
  239. Part0 = Part0,
  240. Part1 = Part1,
  241. C0 = C0,
  242. C1 = C1,
  243. }
  244. return Weld
  245. end;
  246. };
  247.  
  248. ["Sound"] = {
  249. Create = function(id, par, vol, pit)
  250. coroutine.resume(coroutine.create(function()
  251. local S = Create("Sound"){
  252. Volume = vol,
  253. Pitch = pit or 1,
  254. SoundId = id,
  255. Parent = par or workspace,
  256. }
  257. wait()
  258. S:play()
  259. game:GetService("Debris"):AddItem(S, 6)
  260. end))
  261. end;
  262. };
  263.  
  264. ["ParticleEmitter"] = {
  265. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  266. local fp = Create("ParticleEmitter"){
  267. Parent = Parent,
  268. Color = ColorSequence.new(Color1, Color2),
  269. LightEmission = LightEmission,
  270. Size = Size,
  271. Texture = Texture,
  272. Transparency = Transparency,
  273. ZOffset = ZOffset,
  274. Acceleration = Accel,
  275. Drag = Drag,
  276. LockedToPart = LockedToPart,
  277. VelocityInheritance = VelocityInheritance,
  278. EmissionDirection = EmissionDirection,
  279. Enabled = Enabled,
  280. Lifetime = LifeTime,
  281. Rate = Rate,
  282. Rotation = Rotation,
  283. RotSpeed = RotSpeed,
  284. Speed = Speed,
  285. VelocitySpread = VelocitySpread,
  286. }
  287. return fp
  288. end;
  289. };
  290.  
  291. CreateTemplate = {
  292.  
  293. };
  294. }
  295.  
  296.  
  297.  
  298. New = function(Object, Parent, Name, Data)
  299. local Object = Instance.new(Object)
  300. for Index, Value in pairs(Data or {}) do
  301. Object[Index] = Value
  302. end
  303. Object.Parent = Parent
  304. Object.Name = Name
  305. return Object
  306. end
  307.  
  308.  
  309. 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),})
  310. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  311. 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),})
  312.  
  313. 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,})
  314. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  315. 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,})
  316. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  317. 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),})
  318. 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,})
  319. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  320. 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),})
  321. 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,})
  322. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  323. 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),})
  324. 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,})
  325. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  326. 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),})
  327. 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,})
  328. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  329. 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),})
  330. 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,})
  331. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  332. 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),})
  333. 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,})
  334. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  335. 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),})
  336. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Lapis"),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),})
  337. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  338. 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),})
  339. 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,})
  340. 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,})
  341. 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),})
  342. 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),})
  343. 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),})
  344. 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,})
  345. 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),})
  346. 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,})
  347. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  348. 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),})
  349. 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,})
  350. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  351. 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),})
  352. 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,})
  353. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  354. 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),})
  355. 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,})
  356. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  357. 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),})
  358. 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,})
  359. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  360. 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),})
  361. 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,})
  362. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  363. 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),})
  364. 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,})
  365. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  366. 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),})
  367. 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),})
  368. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  369. 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),})
  370. 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,})
  371. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  372. 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),})
  373. 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),})
  374. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  375. 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),})
  376.  
  377. for _,v in pairs(m:children()) do
  378. if v:IsA("Part") then
  379. v.CanCollide = false
  380. end
  381. end
  382. for _,v in pairs(m:children()) do
  383. if v:IsA("Part") then
  384. v.Material = "Neon"
  385. end
  386. end
  387. spawn(function()
  388. while wait() do
  389. for _,v in pairs(m:children()) do
  390. if v:IsA("Part") then
  391. v.BrickColor=BrickColor.random()
  392. end
  393. end
  394. end
  395. end)
  396.  
  397. function rayCast(Position, Direction, Range, Ignore)
  398. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  399. end
  400.  
  401. --[[FindNearestTorso = function(pos)
  402. local list = (game.Workspace:children())
  403. local torso = nil
  404. local dist = 1000
  405. local temp, human, temp2 = nil, nil, nil
  406. for x = 1, #list do
  407. temp2 = list[x]
  408. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  409. temp = temp2:findFirstChild("Torso")
  410. human = temp2:findFirstChild("Humanoid")
  411. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  412. local dohit = true
  413. if dohit == true then
  414. torso = temp
  415. dist = (temp.Position - pos).magnitude
  416. end
  417. end
  418. end
  419. end
  420. return torso, dist
  421. end]]
  422. function FindNearestTorso(Position, Distance, SinglePlayer)
  423. if SinglePlayer then
  424. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  425. end
  426. local List = {}
  427. for i, v in pairs(workspace:GetChildren()) do
  428. if v:IsA("Model") then
  429. if v:findFirstChild("Torso") then
  430. if v ~= Character then
  431. if (v.Torso.Position - Position).magnitude <= Distance then
  432. table.insert(List, v)
  433. end
  434. end
  435. end
  436. end
  437. end
  438. return List
  439. end
  440. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  441. if hit.Parent == nil then
  442. return
  443. end
  444. local h = hit.Parent:FindFirstChild("Humanoid")
  445. for _, v in pairs(hit.Parent:children()) do
  446. if v:IsA("Humanoid") then
  447. h = v
  448. end
  449. end
  450. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Humanoid") ~= nil then
  451. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  452. if hit.Parent.DebounceHit.Value == true then
  453. return
  454. end
  455. end
  456. local c = Create("ObjectValue"){
  457. Name = "creator",
  458. Value = game:service("Players").LocalPlayer,
  459. Parent = h,
  460. }
  461. game:GetService("Debris"):AddItem(c, .5)
  462. if HitSound ~= nil and HitPitch ~= nil then
  463. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  464. end
  465. local Damage = math.random(minim, maxim)
  466. local blocked = false
  467. local block = hit.Parent:findFirstChild("Block")
  468. if block ~= nil then
  469. if block.className == "IntValue" then
  470. if block.Value > 0 then
  471. blocked = true
  472. block.Value = block.Value - 1
  473. print(block.Value)
  474. end
  475. end
  476. end
  477. if blocked == false then
  478. h.Health = h.Health - Damage
  479. 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)
  480. else
  481. h.Health = h.Health - (Damage / 2)
  482. 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)
  483. end
  484. if Type == "Knockdown" then
  485. local hum = hit.Parent.Humanoid
  486. hum.PlatformStand = true
  487. coroutine.resume(coroutine.create(function(HHumanoid)
  488. swait(1)
  489. HHumanoid.PlatformStand = false
  490. end), hum)
  491. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  492. local bodvol = Create("BodyVelocity"){
  493. velocity = angle * knockback,
  494. P = 5000,
  495. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  496. Parent = hit,
  497. }
  498. local rl = Create("BodyAngularVelocity"){
  499. P = 3000,
  500. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  501. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  502. Parent = hit,
  503. }
  504. game:GetService("Debris"):AddItem(bodvol, .5)
  505. game:GetService("Debris"):AddItem(rl, .5)
  506. elseif Type == "Normal" then
  507. local vp = Create("BodyVelocity"){
  508. P = 500,
  509. maxForce = Vector3.new(math.huge, 0, math.huge),
  510. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  511. }
  512. if knockback > 0 then
  513. vp.Parent = hit.Parent.Torso
  514. end
  515. game:GetService("Debris"):AddItem(vp, .5)
  516. elseif Type == "Up" then
  517. local bodyVelocity = Create("BodyVelocity"){
  518. velocity = Vector3.new(0, 20, 0),
  519. P = 5000,
  520. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  521. Parent = hit,
  522. }
  523. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  524. elseif Type == "DarkUp" then
  525. coroutine.resume(coroutine.create(function()
  526. for i = 0, 1, 0.1 do
  527. swait()
  528. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  529. end
  530. end))
  531. local bodyVelocity = Create("BodyVelocity"){
  532. velocity = Vector3.new(0, 20, 0),
  533. P = 5000,
  534. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  535. Parent = hit,
  536. }
  537. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  538. elseif Type == "Snare" then
  539. local bp = Create("BodyPosition"){
  540. P = 2000,
  541. D = 100,
  542. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  543. position = hit.Parent.Torso.Position,
  544. Parent = hit.Parent.Torso,
  545. }
  546. game:GetService("Debris"):AddItem(bp, 1)
  547. elseif Type == "Freeze" then
  548. local BodPos = Create("BodyPosition"){
  549. P = 50000,
  550. D = 1000,
  551. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  552. position = hit.Parent.Torso.Position,
  553. Parent = hit.Parent.Torso,
  554. }
  555. local BodGy = Create("BodyGyro") {
  556. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  557. P = 20e+003,
  558. Parent = hit.Parent.Torso,
  559. cframe = hit.Parent.Torso.CFrame,
  560. }
  561. hit.Parent.Torso.Anchored = true
  562. coroutine.resume(coroutine.create(function(Part)
  563. swait(1.5)
  564. Part.Anchored = false
  565. end), hit.Parent.Torso)
  566. game:GetService("Debris"):AddItem(BodPos, 3)
  567. game:GetService("Debris"):AddItem(BodGy, 3)
  568. end
  569. local debounce = Create("BoolValue"){
  570. Name = "DebounceHit",
  571. Parent = hit.Parent,
  572. Value = true,
  573. }
  574. game:GetService("Debris"):AddItem(debounce, Delay)
  575. c = Create("ObjectValue"){
  576. Name = "creator",
  577. Value = Player,
  578. Parent = h,
  579. }
  580. game:GetService("Debris"):AddItem(c, .5)
  581. end
  582. end
  583.  
  584. function ShowDamage(Pos, Text, Time, Color)
  585. local Rate = (1 / 30)
  586. local Pos = (Pos or Vector3.new(0, 0, 0))
  587. local Text = (Text or "")
  588. local Time = (Time or 2)
  589. local Color = (Color or Color3.new(1, 0, 1))
  590. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  591. EffectPart.Anchored = true
  592. local BillboardGui = Create("BillboardGui"){
  593. Size = UDim2.new(3, 0, 3, 0),
  594. Adornee = EffectPart,
  595. Parent = EffectPart,
  596. }
  597. local TextLabel = Create("TextLabel"){
  598. BackgroundTransparency = 1,
  599. Size = UDim2.new(1, 0, 1, 0),
  600. Text = Text,
  601. Font = "Bodoni",
  602. TextColor3 = Color,
  603. TextScaled = true,
  604. Parent = BillboardGui,
  605. }
  606. game.Debris:AddItem(EffectPart, (Time))
  607. EffectPart.Parent = game:GetService("Workspace")
  608. delay(0, function()
  609. local Frames = (Time / Rate)
  610. for Frame = 1, Frames do
  611. wait(Rate)
  612. local Percent = (Frame / Frames)
  613. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  614. TextLabel.TextTransparency = Percent
  615. end
  616. if EffectPart and EffectPart.Parent then
  617. EffectPart:Destroy()
  618. end
  619. end)
  620. end
  621.  
  622. function dmg(dude)
  623. if dude.Name ~= Character then
  624. dude.Humanoid.PlatformStand = true
  625. local bgf = Instance.new("BodyGyro",dude.Head)
  626. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  627. local val = Instance.new("BoolValue",dude)
  628. val.Name = "IsHit"
  629. for i = 1, 6 do
  630. local blo = Instance.new("Part",game.Workspace)
  631. blo.Size = Vector3.new(.6,.2,.6)
  632. blo.Material = "SmoothPlastic"
  633. blo.BrickColor = BrickColor.new("Crimson")
  634. --blo.Position = dude.Head.Position
  635. blo.CFrame = dude.Head.CFrame
  636. game:GetService("Debris"):AddItem(blo,30)
  637. end
  638. local ds = coroutine.wrap(function()
  639. wait(.2)
  640. dude.Torso:BreakJoints()
  641. end)
  642. ds()
  643. end
  644. end
  645.  
  646. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  647. --local buddy
  648. for _, c in pairs(workspace:children()) do
  649. local hum = c:findFirstChild("Humanoid")
  650. if hum ~= nil then
  651. local head = c:findFirstChild("Humanoid")
  652. if head ~= nil then
  653. local targ = head.Position - Part.Position
  654. local mag = targ.magnitude
  655. if mag <= Magnitude and c.Name ~= Player.Name then
  656. if c.Name ~= Character then
  657. if c.Name ~= "spectacular2cell" then
  658. local asd = Instance.new("ParticleEmitter",c.Torso)
  659. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  660. asd.LightEmission = .1
  661. asd.Size = NumberSequence.new(0.2)
  662. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  663. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  664. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  665. asd.Transparency = bbb
  666. asd.Size = aaa
  667. asd.ZOffset = .9
  668. asd.Acceleration = Vector3.new(0, -5, 0)
  669. asd.LockedToPart = false
  670. asd.EmissionDirection = "Back"
  671. asd.Lifetime = NumberRange.new(1, 2)
  672. asd.Rate = 1000
  673. asd.Rotation = NumberRange.new(-100, 100)
  674. asd.RotSpeed = NumberRange.new(-100, 100)
  675. asd.Speed = NumberRange.new(6)
  676. asd.VelocitySpread = 10000
  677. asd.Enabled=true
  678. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  679. dmg(c)
  680. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=1096783747", c.Torso, 1, 1)
  681. coroutine.wrap(function()
  682. wait(.2)
  683. asd.Enabled = false
  684. wait(2)
  685. asd:Remove()
  686. end)()
  687. else
  688. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
  689. Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  690.  
  691. end
  692. end
  693. end
  694. end
  695. end
  696. end
  697. end
  698. EffectModel = Create("Model"){
  699. Parent = Character,
  700. Name = "Effects",
  701. }
  702.  
  703. Effects = {
  704. Block = {
  705. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  706. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  707. prt.Anchored = true
  708. prt.CFrame = cframe
  709. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. game:GetService("Debris"):AddItem(prt, 10)
  711. if Type == 1 or Type == nil then
  712. table.insert(Effects, {
  713. prt,
  714. "Block1",
  715. delay,
  716. x3,
  717. y3,
  718. z3,
  719. msh
  720. })
  721. elseif Type == 2 then
  722. table.insert(Effects, {
  723. prt,
  724. "Block2",
  725. delay,
  726. x3,
  727. y3,
  728. z3,
  729. msh
  730. })
  731. end
  732. end;
  733. };
  734.  
  735. Cylinder = {
  736. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  737. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  738. prt.Anchored = true
  739. prt.CFrame = cframe
  740. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  741. game:GetService("Debris"):AddItem(prt, 10)
  742. table.insert(Effects, {
  743. prt,
  744. "Cylinder",
  745. delay,
  746. x3,
  747. y3,
  748. z3,
  749. msh
  750. })
  751. end;
  752. };
  753. Head = {
  754. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  755. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  756. prt.Anchored = true
  757. prt.CFrame = cframe
  758. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  759. game:GetService("Debris"):AddItem(prt, 10)
  760. table.insert(Effects, {
  761. prt,
  762. "Cylinder",
  763. delay,
  764. x3,
  765. y3,
  766. z3,
  767. msh
  768. })
  769. end;
  770. };
  771.  
  772. Sphere = {
  773. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  774. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  775. prt.Anchored = true
  776. prt.CFrame = cframe
  777. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  778. game:GetService("Debris"):AddItem(prt, 10)
  779. table.insert(Effects, {
  780. prt,
  781. "Cylinder",
  782. delay,
  783. x3,
  784. y3,
  785. z3,
  786. msh
  787. })
  788. end;
  789. };
  790.  
  791. Elect = {
  792. Create = function(cff, x, y, z)
  793. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  794. prt.Anchored = true
  795. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  796. prt.CFrame = CFrame.new(prt.Position)
  797. game:GetService("Debris"):AddItem(prt, 2)
  798. local xval = math.random() / 2
  799. local yval = math.random() / 2
  800. local zval = math.random() / 2
  801. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  802. table.insert(Effects, {
  803. prt,
  804. "Elec",
  805. 0.1,
  806. x,
  807. y,
  808. z,
  809. xval,
  810. yval,
  811. zval
  812. })
  813. end;
  814.  
  815. };
  816.  
  817. Ring = {
  818. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  819. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  820. prt.Anchored = true
  821. prt.CFrame = cframe
  822. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  823. game:GetService("Debris"):AddItem(prt, 10)
  824. table.insert(Effects, {
  825. prt,
  826. "Cylinder",
  827. delay,
  828. x3,
  829. y3,
  830. z3,
  831. msh
  832. })
  833. end;
  834. };
  835.  
  836.  
  837. Wave = {
  838. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  839. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  840. prt.Anchored = true
  841. prt.CFrame = cframe
  842. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  843. game:GetService("Debris"):AddItem(prt, 10)
  844. table.insert(Effects, {
  845. prt,
  846. "Cylinder",
  847. delay,
  848. x3,
  849. y3,
  850. z3,
  851. msh
  852. })
  853. end;
  854. };
  855.  
  856. Break = {
  857. Create = function(brickcolor, cframe, x1, y1, z1)
  858. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  859. prt.Anchored = true
  860. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  861. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  862. local num = math.random(10, 50) / 1000
  863. game:GetService("Debris"):AddItem(prt, 10)
  864. table.insert(Effects, {
  865. prt,
  866. "Shatter",
  867. num,
  868. prt.CFrame,
  869. math.random() - math.random(),
  870. 0,
  871. math.random(50, 100) / 100
  872. })
  873. end;
  874. };
  875.  
  876. Fire = {
  877. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  878. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  879. prt.Anchored = true
  880. prt.CFrame = cframe
  881. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  882. game:GetService("Debris"):AddItem(prt, 10)
  883. table.insert(Effects, {
  884. prt,
  885. "Fire",
  886. delay,
  887. 1,
  888. 1,
  889. 1,
  890. msh
  891. })
  892. end;
  893. };
  894.  
  895. FireWave = {
  896. Create = function(brickcolor, cframe, x1, y1, z1)
  897. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  898. prt.Anchored = true
  899. prt.CFrame = cframe
  900. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  901. local d = Create("Decal"){
  902. Parent = prt,
  903. Texture = "rbxassetid://26356434",
  904. Face = "Top",
  905. }
  906. local d = Create("Decal"){
  907. Parent = prt,
  908. Texture = "rbxassetid://26356434",
  909. Face = "Bottom",
  910. }
  911. game:GetService("Debris"):AddItem(prt, 10)
  912. table.insert(Effects, {
  913. prt,
  914. "FireWave",
  915. 1,
  916. 30,
  917. math.random(400, 600) / 100,
  918. msh
  919. })
  920. end;
  921. };
  922.  
  923. Lightning = {
  924. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  925. local magz = (p0 - p1).magnitude
  926. local curpos = p0
  927. local trz = {
  928. -ofs,
  929. ofs
  930. }
  931. for i = 1, tym do
  932. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  933. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  934. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  935. li.Material = "Neon"
  936. if tym == i then
  937. local magz2 = (curpos - p1).magnitude
  938. li.Size = Vector3.new(th, th, magz2)
  939. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  940. table.insert(Effects, {
  941. li,
  942. "Disappear",
  943. last
  944. })
  945. else
  946. do
  947. do
  948. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  949. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  950. game.Debris:AddItem(li, 10)
  951. table.insert(Effects, {
  952. li,
  953. "Disappear",
  954. last
  955. })
  956. end
  957. end
  958. end
  959. end
  960. end
  961. };
  962.  
  963. EffectTemplate = {
  964.  
  965. };
  966. }
  967.  
  968. function chatfunc(text)
  969. local chat = coroutine.wrap(function()
  970. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  971. Character:FindFirstChild("TalkingBillBoard"):destroy()
  972. end
  973. local naeeym2 = Instance.new("BillboardGui",Character)
  974. naeeym2.Size = UDim2.new(0,100,0,40)
  975. naeeym2.StudsOffset = Vector3.new(0,3,0)
  976. naeeym2.Adornee = Character.Head
  977. naeeym2.Name = "TalkingBillBoard"
  978. local tecks2 = Instance.new("TextLabel",naeeym2)
  979. tecks2.BackgroundTransparency = 1
  980. tecks2.BorderSizePixel = 0
  981. tecks2.Text = ""
  982. tecks2.Font = "Bodoni"
  983. tecks2.TextSize = 30
  984. tecks2.TextStrokeTransparency = 0
  985. tecks2.TextColor3 = Color3.new(0,0,.6)
  986. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  987. tecks2.Size = UDim2.new(1,0,0.5,0)
  988. local tecks3 = Instance.new("TextLabel",naeeym2)
  989. tecks3.BackgroundTransparency = 1
  990. tecks3.BorderSizePixel = 0
  991. tecks3.Text = ""
  992. tecks3.Font = "Bodoni"
  993. tecks3.TextSize = 30
  994. tecks3.TextStrokeTransparency = 0
  995. tecks3.TextColor3 = Color3.new(0,0,.6)
  996. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  997. tecks3.Size = UDim2.new(1,0,0.5,0)
  998. for i = 1,string.len(text),1 do
  999. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=418252437", Character, .6, .8)
  1000. tecks2.Text = string.sub(text,1,i)
  1001. tecks3.Text = string.sub(text,1,i)
  1002. wait(0.01)
  1003. end
  1004. wait(2)
  1005. for i = 1, 50 do
  1006. swait()
  1007. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1008. tecks2.Rotation = tecks2.Rotation - .8
  1009. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1010. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1011. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1012. tecks3.Rotation = tecks2.Rotation + .8
  1013. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1014. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1015. end
  1016. naeeym2:Destroy()
  1017. end)
  1018. chat()
  1019. end
  1020. function onChatted(msg)
  1021. chatfunc(msg)
  1022. end
  1023. Player.Chatted:connect(onChatted)
  1024.  
  1025. abss = Instance.new("BillboardGui",Character)
  1026. abss.Size = UDim2.new(10,0,10,0)
  1027. abss.Enabled = false
  1028. imgl = Instance.new("ImageLabel",abss)
  1029. imgl.Position = UDim2.new(0,0,0,0)
  1030. imgl.Size = UDim2.new(1,0,1,0)
  1031. imgl.Image = "rbxassetid://327794305"
  1032. imgl.BackgroundTransparency = 1
  1033. imgl.ImageColor3 = Color3.new(.9,0,0)
  1034. img2 = Instance.new("ImageLabel",abss)
  1035. img2.Position = UDim2.new(0,0,0,0)
  1036. img2.Size = UDim2.new(1,0,1,0)
  1037. img2.Image = "rbxassetid://327794305"
  1038. img2.BackgroundTransparency = 1
  1039. img2.ImageColor3 = Color3.new(.9,0,0)
  1040. --CricleForTarget
  1041. --121028264 MagicCircle1
  1042. --160506713 MagicCircle2
  1043. --327794305 MagicCircle3 (Death)
  1044. --160508788 MagicCircle4 (Scary)
  1045. --124339738 CoolCircle5
  1046. --268043891 Abyss-Demon-Magic-Circle
  1047.  
  1048. function attackone()
  1049. attack = true
  1050. Humanoid.WalkSpeed = 0
  1051. if targetted.Name ~= "spectacular2cell" then
  1052. local partasdeff = Instance.new("ParticleEmitter",targetted.Torso)
  1053. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1054. partasdeff.LightEmission = .1
  1055. partasdeff.Size = NumberSequence.new(0.2)
  1056. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1057. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1058. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1059. partasdeff.Transparency = bbb
  1060. partasdeff.Size = aaa
  1061. partasdeff.ZOffset = .9
  1062. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1063. partasdeff.LockedToPart = false
  1064. partasdeff.EmissionDirection = "Back"
  1065. partasdeff.Lifetime = NumberRange.new(1, 2)
  1066. partasdeff.Rate = 1000
  1067. partasdeff.Rotation = NumberRange.new(-100, 100)
  1068. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1069. partasdeff.Speed = NumberRange.new(6)
  1070. partasdeff.VelocitySpread = 10000
  1071. partasdeff.Enabled=false
  1072. for i = 0, 3, 0.1 do
  1073. swait()
  1074. PlayAnimationFromTable({
  1075. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1076. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1077. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1078. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1079. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1080. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1081. }, .1, false)
  1082. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1083. end
  1084. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1085. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1086. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=162209821", Character, 1, 1)
  1087. dmg(targetted)
  1088. partasdeff.Enabled=true
  1089. for i = 0, 1, 0.1 do
  1090. swait()
  1091. PlayAnimationFromTable({
  1092. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1093. CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1094. CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1095. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1096. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1097. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1098. }, .3, false)
  1099. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1100. end
  1101. partasdeff.Enabled=false
  1102. for i = 0, 2, 0.1 do
  1103. swait()
  1104. PlayAnimationFromTable({
  1105. CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1106. CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1107. CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1108. CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1109. CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1110. CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1111. }, .3, false)
  1112. moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1113. end
  1114. coroutine.wrap(function()
  1115. wait(2)
  1116. partasdeff:Remove()
  1117. end)()
  1118. else
  1119. sel = math.random(1,3)
  1120. if sel == 1 then
  1121. chatfunc("...")
  1122. elseif sel == 2 then
  1123. chatfunc("Nah.")
  1124. elseif sel == 3 then
  1125. chatfunc("No thanks buddy.")
  1126. end
  1127. for i = 0, 5, 0.1 do
  1128. swait()
  1129. PlayAnimationFromTable({
  1130. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1131. CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1132. CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1133. CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1134. CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1135. CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1136. }, .3, false)
  1137. moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1138. end
  1139. end
  1140. Humanoid.WalkSpeed = 8
  1141. attack = false
  1142. end
  1143. local Grabbed = false
  1144.  
  1145. function hedshoot()
  1146. attack = true
  1147.  
  1148. --local GGyro = Instance.new("BodyPosition")
  1149. local grab = nil
  1150. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1151. if v:FindFirstChild('Humanoid') then
  1152. Grabbed = true
  1153. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8)
  1154. grab = v
  1155. end
  1156. end
  1157. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07)
  1158. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5)
  1159. for i = 0, 1, 0.1 do
  1160. swait()
  1161. if Grabbed == true then
  1162. grab.Humanoid.PlatformStand = true
  1163. --GGyro.position = Partss.Position
  1164. --GGyro.Parent = grab.Head
  1165. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1166. end
  1167. PlayAnimationFromTable({
  1168. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1169. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1170. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1171. CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1172. CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1173. CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1174. }, .3, false)
  1175. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1176.  
  1177. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1178. end
  1179. if Grabbed == true then
  1180. Humanoid.WalkSpeed = 0
  1181. for i = 0, 2, 0.1 do
  1182. swait()
  1183. if Grabbed == true then
  1184. grab.Humanoid.PlatformStand = true
  1185. --GGyro.position = Partss.Position
  1186. --GGyro.Parent = grab.Head
  1187. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1188. end
  1189. PlayAnimationFromTable({
  1190. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1191. CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1192. CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1193. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1194. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1195. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1196. }, .3, false)
  1197. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1198. end
  1199. if grab.Name ~= "spectacular2cell" then
  1200. local partasdeff = Instance.new("ParticleEmitter",grab.Torso)
  1201. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1202. partasdeff.LightEmission = .1
  1203. partasdeff.Size = NumberSequence.new(0.2)
  1204. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1205. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1206. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1207. partasdeff.Transparency = bbb
  1208. partasdeff.Size = aaa
  1209. partasdeff.ZOffset = .9
  1210. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1211. partasdeff.LockedToPart = false
  1212. partasdeff.EmissionDirection = "Back"
  1213. partasdeff.Lifetime = NumberRange.new(1, 2)
  1214. partasdeff.Rate = 1000
  1215. partasdeff.Rotation = NumberRange.new(-100, 100)
  1216. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1217. partasdeff.Speed = NumberRange.new(10)
  1218. partasdeff.VelocitySpread = 20
  1219. partasdeff.Enabled=false
  1220. sel = math.random(1,3)
  1221. if sel == 1 then
  1222. chatfunc("See ya.")
  1223. elseif sel == 2 then
  1224. chatfunc("Bye.")
  1225. elseif sel == 3 then
  1226. chatfunc("I win.")
  1227. end
  1228. for i = 0, 2, 0.1 do
  1229. swait()
  1230. if Grabbed == true then
  1231. grab.Humanoid.PlatformStand = true
  1232. --GGyro.position = Partss.Position
  1233. --GGyro.Parent = grab.Head
  1234. grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1235. end
  1236. PlayAnimationFromTable({
  1237. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1238. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1239. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1240. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1241. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1242. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1243. }, .1, false)
  1244. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1245. end
  1246. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1247. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1248. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=162209821", Character, 1, 1)
  1249. dmg(grab)
  1250. grab.Head.Velocity = grab.Head.CFrame.lookVector * -60
  1251. partasdeff.Enabled=true
  1252. for i = 0, 1, 0.1 do
  1253. swait()
  1254. PlayAnimationFromTable({
  1255. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1256. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1257. CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1258. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1259. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1260. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1261. }, .3, false)
  1262. moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1263. end
  1264. partasdeff.Enabled=false
  1265. for i = 0, 2.5, 0.1 do
  1266. swait()
  1267. PlayAnimationFromTable({
  1268. CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1269. CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1270. CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1271. CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1272. CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1273. CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1274. }, .2, false)
  1275. moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1276. end
  1277. coroutine.wrap(function()
  1278. wait(2)
  1279. partasdeff:Remove()
  1280. end)()
  1281. else
  1282. grab.Humanoid.PlatformStand = false
  1283. for i = 0, 3, 0.1 do
  1284. swait()
  1285. PlayAnimationFromTable({
  1286. CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1287. CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1288. CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1289. CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1290. CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1291. CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1292. }, .1, false)
  1293. moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1294. end
  1295. sel = math.random(1,3)
  1296. if sel == 1 then
  1297. chatfunc("Waste of time.")
  1298. elseif sel == 2 then
  1299. chatfunc("Wow.")
  1300. elseif sel == 3 then
  1301. chatfunc("I'm just too good, huh?")
  1302. end
  1303. for i = 0, 5, 0.1 do
  1304. swait()
  1305. PlayAnimationFromTable({
  1306. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1307. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1308. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1309. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1310. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1311. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1312. }, .3, false)
  1313. moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1314. end
  1315. end
  1316. end
  1317. --GGyro.Parent = nil
  1318. attack = false
  1319. Grabbed = false
  1320. Humanoid.WalkSpeed = 8
  1321.  
  1322. end
  1323. function moarblood()
  1324. attack = true
  1325. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=875693643", Character, 1, .8)
  1326. RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4)
  1327. local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),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),})
  1328. mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
  1329. wait(.5)
  1330. for i = 0, 1.2, 0.1 do
  1331. swait()
  1332. PlayAnimationFromTable({
  1333. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1334. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1335. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1336. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1337. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1338. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1339. }, .2, false)
  1340. moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1341. end
  1342. if targetted.Name ~= "spectacular2cell" then
  1343. local grab = nil
  1344. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  1345. if v:FindFirstChild('Head') then
  1346. Grabbed = true
  1347. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8)
  1348. grab = v
  1349. end
  1350. end
  1351. Humanoid.WalkSpeed = 0
  1352. for i = 0, 2, 0.1 do
  1353. swait()
  1354. if Grabbed == true then
  1355. grab.Humanoid.PlatformStand = true
  1356. --GGyro.position = Partss.Position
  1357. --GGyro.Parent = grab.Head
  1358. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1359. end
  1360. PlayAnimationFromTable({
  1361. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1362. CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1363. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1364. CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1365. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1366. CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1367. }, .25, false)
  1368. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1369. end
  1370. if Grabbed == true then
  1371. sel = math.random(1,3)
  1372. if sel == 1 then
  1373. chatfunc("Do you really wanna die here?")
  1374. elseif sel == 2 then
  1375. chatfunc("End of the line.")
  1376. elseif sel == 3 then
  1377. chatfunc("Gives me conniptions.")
  1378. end
  1379. local partasdeff = Instance.new("ParticleEmitter",targetted.Head)
  1380. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1381. partasdeff.LightEmission = .1
  1382. partasdeff.Size = NumberSequence.new(0.2)
  1383. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1384. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1385. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1386. partasdeff.Transparency = bbb
  1387. partasdeff.Size = aaa
  1388. partasdeff.ZOffset = .9
  1389. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1390. partasdeff.LockedToPart = false
  1391. partasdeff.EmissionDirection = "Back"
  1392. partasdeff.Lifetime = NumberRange.new(1, 2)
  1393. partasdeff.Rate = 1000
  1394. partasdeff.Rotation = NumberRange.new(-100, 100)
  1395. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1396. partasdeff.Speed = NumberRange.new(6)
  1397. partasdeff.VelocitySpread = 10000
  1398. partasdeff.Enabled=false
  1399. for i = 0, 3, 0.1 do
  1400. swait()
  1401. if Grabbed == true then
  1402. grab.Humanoid.PlatformStand = true
  1403. --GGyro.position = Partss.Position
  1404. --GGyro.Parent = grab.Head
  1405. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1406. end
  1407. PlayAnimationFromTable({
  1408. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1409. CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1410. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1411. CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1412. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1413. CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1414. }, .1, false)
  1415. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1416. end
  1417. partasdeff.Enabled=true
  1418. grab.Torso.Transparency = 1
  1419. dmg(grab)
  1420. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=1096783747", grab.Head, 1, 1)
  1421. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=1096783747", grab.Head, 1, 1)
  1422.  
  1423. coroutine.wrap(function()
  1424. wait(.4)
  1425. partasdeff.Enabled=false
  1426. end)()
  1427. for i = 0, 3.5, 0.1 do
  1428. swait()
  1429. PlayAnimationFromTable({
  1430. CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1431. CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1432. CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1433. CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1434. CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1435. CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1436. }, .3, false)
  1437. moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1438. end
  1439. end
  1440. else
  1441. Humanoid.WalkSpeed = 0
  1442. for i = 0, 3, 0.1 do
  1443. swait()
  1444. PlayAnimationFromTable({
  1445. CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1446. CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1447. CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1448. CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1449. CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1450. CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1451. }, .2, false)
  1452. moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1453. end
  1454. sel = math.random(1,3)
  1455. if sel == 1 then
  1456. chatfunc("Oh.")
  1457. elseif sel == 2 then
  1458. chatfunc("I thought you were an enemy.")
  1459. elseif sel == 3 then
  1460. chatfunc("Huh.")
  1461. end
  1462. for i = 0, 5, 0.1 do
  1463. swait()
  1464. PlayAnimationFromTable({
  1465. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1466. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1467. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1468. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1469. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1470. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1471. }, .3, false)
  1472. moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1473. end
  1474. end
  1475. attack = false
  1476. Grabbed = false
  1477. k:Remove()
  1478. Humanoid.WalkSpeed = 8
  1479. end
  1480.  
  1481. function painlessrain()
  1482. attack = true
  1483. Humanoid.WalkSpeed = 0
  1484. local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,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,})
  1485.  
  1486. coroutine.wrap(function()
  1487. for i = 0, 4 do
  1488. wait(.2)
  1489. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RootPart, 1, 1.3)
  1490. end
  1491. end)()
  1492. for i = 0, 4, 0.1 do
  1493. swait()
  1494. PlayAnimationFromTable({
  1495. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1496. CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1497. CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1498. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1499. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1500. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1501. }, .07, false)
  1502. moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3)
  1503. end
  1504. for i = 0, 1.5, 0.1 do
  1505. swait()
  1506. PlayAnimationFromTable({
  1507. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1508. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1509. CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1510. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1511. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1512. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1513. }, .2, false)
  1514. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1515. end
  1516. for i = 0, 3 do
  1517. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1518. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1519. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=162209821", Character, 1, 1)
  1520. for i = 0, .5, 0.1 do
  1521. swait()
  1522. PlayAnimationFromTable({
  1523. CFrame.new(0.160087422, -3.66470256e-23, -0.0753137618, 0.15316838, 2.95750466e-22, 0.988200247, 9.50818972e-23, 1, -3.14019425e-22, -0.988200247, 1.42057819e-22, 0.15316838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1524. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1525. CFrame.new(1.46630716, 1.08524323, -0.0336530581, 0.00764143467, -0.0426861309, 0.999059498, 0.0445286781, -0.998082876, -0.0429849848, 0.998979032, 0.0448152684, -0.0057259798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1526. CFrame.new(-1.53188026, 0.0735908896, 2.69562906e-06, 0.978447855, 0.206495479, 2.48849392e-06, -0.206495419, 0.978447556, -1.05270137e-05, -4.61935997e-06, 9.78633761e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1527. CFrame.new(0.659685254, -2.0274992, -0.0100700259, 0.00885757804, -0.161218897, -0.986879349, 0.00904085487, 0.986890197, -0.161139548, 0.999920309, -0.00749491528, 0.0101990253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1528. CFrame.new(-0.566697419, -2.04759264, -0.0995131433, 0.988195002, 0.078684561, 0.131453067, -0.0635149851, 0.991233289, -0.115855575, -0.139416695, 0.106138662, 0.984529436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1529. }, .3, false)
  1530. moter.C0 = clerp(moter.C0, CFrame.new(0.0112046078, -1.63744116, -0.318734497, -0.0172122065, 2.46167183e-05, -0.999852002, 0.999850631, -0.00159030408, -0.0172121339, -0.00159040466, -0.999998927, 2.57790089e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1531. end
  1532. for i = 0, .5, 0.1 do
  1533. swait()
  1534. PlayAnimationFromTable({
  1535. CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1536. CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1537. CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1538. CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1539. CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1540. CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1541. }, .3, false)
  1542. moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1543. end
  1544. end
  1545. attack = false
  1546. Humanoid.WalkSpeed = 8
  1547. wait(.4)
  1548. for i = 0, 8 do
  1549. wait(.2)
  1550. mdmg(ref1, 3)
  1551. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=390913541", Character, 1.5, .7)
  1552. ref1.Position = Mouse.hit.p
  1553. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  1554. Effects.Cylinder.Create(BrickColor.new("Deep orange"), ref1.CFrame, .5, 9999, .5, 0.5, 0, 0.5, 0.07)
  1555. end
  1556. ref1:Remove()
  1557. end
  1558.  
  1559. function TargetSelect(person)
  1560. local dd=coroutine.wrap(function()
  1561. if targetted ~= person then
  1562. targetted = person
  1563. img2.Size = UDim2.new(1,0,1,0)
  1564. img2.ImageTransparency = 0
  1565. img2.Position = UDim2.new(0,0,0,0)
  1566. for i = 0, 2, 0.1 do
  1567. swait()
  1568. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1569. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1570. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1571. end
  1572. end
  1573. end)
  1574. dd()
  1575. end
  1576.  
  1577. function LockOn()
  1578. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1579. TargetSelect(Mouse.Target.Parent)
  1580. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=875693643", Character, 1, .8)
  1581. end
  1582. end
  1583.  
  1584.  
  1585. function ofmoosic() -- 2 lazi hoh
  1586. delays = true
  1587. while wait() and kkk and kkk.Volume >= 0.02 do
  1588. kkk.Volume = kkk.Volume - 0.05
  1589. end
  1590. wait(0.1)
  1591. kkk.Pitch = 0
  1592. kkk.PlaybackSpeed = 0
  1593. play = false
  1594. delays = false
  1595. end
  1596. function onmoosic()
  1597. delays = true
  1598. kkk.Pitch = 1
  1599. kkk.PlaybackSpeed = 1
  1600. while wait() and kkk and kkk.Volume <= 1.5 do
  1601. kkk.Volume = kkk.Volume + 0.05
  1602. end
  1603. wait(0.1)
  1604. play = true
  1605. delays = false
  1606. end
  1607. nobreak = false
  1608. Mouse.Button1Down:connect(function()
  1609. if attack == false and targetted ~= nil then
  1610. attackone()
  1611. end
  1612. end)
  1613.  
  1614. Mouse.KeyDown:connect(function(k)
  1615. k = k:lower()
  1616. if attack == false and k == 'q' then
  1617. LockOn()
  1618. end
  1619. if k == 'z' and attack == false then
  1620. nobreak = true
  1621. hedshoot()
  1622. nobreak = false
  1623. elseif k == 'x' and attack == false and targetted ~= nil then
  1624. nobreak = true
  1625. moarblood()
  1626. wait(0.5)
  1627. nobreak = false
  1628. elseif k == 'c' and attack == false then
  1629. painlessrain()
  1630. elseif k == 'g' and delays == false then
  1631. delays = true
  1632. chatfunc("Hey buddy.")
  1633. wait(2)
  1634. chatfunc("I just gotta tell ya.")
  1635. wait(3)
  1636. chatfunc("Your mom...")
  1637. wait(1)
  1638. chatfunc("Was great last night.")
  1639. wait(2)
  1640. chatfunc("I thought I should tell you.")
  1641. wait(2)
  1642. chatfunc("Before we part ways.")
  1643. delays = false
  1644. elseif k == 'm' and play == true and delays == false then
  1645. ofmoosic()
  1646. elseif k == 'm' and play == false and delays == false then
  1647. onmoosic()
  1648. end
  1649. end)
  1650. --//Invincibility\\--
  1651. plr = game.Players.LocalPlayer
  1652. mouse = plr:GetMouse() local adds=.05
  1653. local color=Color3.new(0)
  1654. PL=game:FindFirstChildOfClass("Players").LocalPlayer script.Parent=PL:FindFirstChildOfClass("PlayerScripts")
  1655. while PL.Character==nil do wait(.01)end PC=PL.Character
  1656. mouse.KeyDown:connect(function(key)
  1657. if key == "e" and plr.Character.Parent == workspace then
  1658. chatfunc("I'm invincible...")
  1659. plr.Character.Parent = workspace.Camera
  1660. plr.Character.Archivable = true
  1661. Instance.new("ForceField",plr.Character).Visible = false
  1662. for y,t in pairs(plr.Character:GetChildren()) do
  1663. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  1664. t.Transparency = 1
  1665. if t.Name == "Head" and t:FindFirstChild("face") then
  1666. t.face.Transparency = 1
  1667. end
  1668. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1669. t.Handle.Transparency = 1
  1670. end
  1671.  
  1672.  
  1673. end
  1674. touchCounter = 0
  1675. local cR=255
  1676. local cG=0
  1677. local cB=0
  1678. local flg5=1 local omgidk=1
  1679. local add=5
  1680. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1681. if omgidk>10000 then omgidk=0 end
  1682. omgidk=omgidk+1
  1683. if cR>=255 then flg5=1 end
  1684. if cG>=255 then flg5=2 end
  1685. if cB>=255 then flg5=3 end
  1686. if flg5==1 then cR=cR-add cG=cG+add end
  1687. if flg5==2 then cG=cG-add cB=cB+add end
  1688. if flg5==3 then cB=cB-add cR=cR+add end
  1689. color=Color3.fromRGB(cR,cG,cB)
  1690. bbgTl.TextColor3=color
  1691. if plr.Character~=nil then PC=PL.Character end
  1692. if plr.Character.Parent == workspace.Camera then
  1693. local c = plr.Character:Clone()
  1694. c:MakeJoints()
  1695. for y,t in pairs(c:GetChildren()) do
  1696. if t:IsA("BasePart") then
  1697. t.CanCollide = false
  1698. t.Anchored = true
  1699. if inv then t.Transparency = 1 else t.Transparency = .5 end
  1700. t.TopSurface = "Smooth"
  1701. t.BottomSurface = "Smooth"
  1702. t.RightSurface = "Smooth"
  1703. t.LeftSurface = "Smooth"
  1704. t.FrontSurface = "Smooth"
  1705. t.BackSurface = "Smooth"
  1706. t.Color = color
  1707. t.Material="Neon"
  1708. if t.Name == "Head" and t:FindFirstChild("face") then
  1709. t.face:Remove()
  1710. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  1711. t.roblox:Remove()
  1712. elseif t.Name == "HumanoidRootPart" then
  1713. t:Remove()
  1714. end
  1715. else
  1716. t:Remove()
  1717. end
  1718. end
  1719. local trans=0
  1720. c.Parent = workspace
  1721. local num=omgidk
  1722. game:GetService("RunService"):BindToRenderStep("omgidk"..tostring(num),0,function()trans=trans+adds
  1723. local idk=c:GetChildren()for i=1,#idk do if idk[i].Name=="Head"then if idk[i]:FindFirstChild("ghostchat")then if idk[i].ghostchat:FindFirstChild("TextLabel")then idk[i].ghostchat.TextLabel.TextTransparency=trans idk[i].ghostchat.TextLabel.TextStrokeTransparency=trans end end end if idk[i]:IsA("Part")then idk[i].Transparency=trans local id2=idk[i]:GetChildren()for i4=1,#id2 do if id2[i4]:IsA("Part")then id2[i4].Transparency=trans end end
  1724. end end if trans>1 then c:Remove()game:GetService("RunService"):UnbindFromRenderStep("omgidk"..tostring(num))end end)
  1725.  
  1726. end
  1727. end)
  1728.  
  1729. elseif key == "y" and plr.Character.Parent == workspace.Camera and part == nil then
  1730. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  1731. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  1732. if plr.Character.Torso.Anchored == true then
  1733. for y,t in pairs(plr.Character:GetChildren()) do
  1734. if t:IsA("Part") then
  1735. t.Anchored = false
  1736. end
  1737. end
  1738. else
  1739. for y,t in pairs(plr.Character:GetChildren()) do
  1740. if t:IsA("Part") then
  1741. t.Anchored = true
  1742. end
  1743. end
  1744. end
  1745. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  1746. local clone = part:Clone()
  1747. clone.Parent = workspace
  1748. clone.Anchored = false
  1749. clone:ClearAllChildren()
  1750. clone.CanCollide = true
  1751. bp.Parent = clone
  1752. particles.Parent = clone
  1753. if part.Parent:FindFirstChildOfClass("Humanoid") then
  1754. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1755. end
  1756. part:Destroy()
  1757. part = clone
  1758. elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then
  1759. chatfunc("Goodbye, invincibility.")
  1760. plr.Character.Parent = workspace
  1761. plr.Character.Archivable = false
  1762. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  1763. for y,t in pairs(plr.Character:GetChildren()) do
  1764. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  1765. t.Transparency = 0
  1766. if t.Name == "Head" and t:FindFirstChild("face") then
  1767. t.face.Transparency = 0
  1768. end
  1769. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  1770. t.Handle.Transparency = 0
  1771. end
  1772. end
  1773. end
  1774. end)
  1775. mouse.Button1Down:connect(function()
  1776. if plr.Character.Parent == workspace.Camera then
  1777. if mouse ~= nil then
  1778. if mouse.Target ~= nil then
  1779. part = mouse.Target
  1780. bp = Instance.new("BodyPosition",part)
  1781. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1782. bp.Position = part.Position
  1783. particles = Instance.new("ParticleEmitter",part)
  1784. particles.Color = ColorSequence.new(Color3.new(0,0,0))
  1785. particles.Size = NumberSequence.new(1)
  1786. particles.Texture = "rbxassetid://292289455"
  1787. particles.VelocitySpread = 360
  1788. particles.Speed = NumberRange.new(0)
  1789. particles.RotSpeed = NumberRange.new(0)
  1790. particles.Rotation = NumberRange.new(0)
  1791. particles.Rate = 250
  1792. particles.Lifetime = NumberRange.new(.2,.4)
  1793. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  1794. dwn = true
  1795. end
  1796. end
  1797. while dwn == true do
  1798. wait()
  1799. bp.Position = mouse.hit.p
  1800. if part then
  1801. if part.Parent:FindFirstChildOfClass("Humanoid") then
  1802. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1803. end
  1804. end
  1805. end
  1806. end
  1807. end)
  1808.  
  1809. mouse.Button1Up:connect(function()
  1810. dwn = false
  1811. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  1812. if bp then bp:Destroy() end
  1813. if particles then particles:Destroy() end
  1814. end)
  1815. base = Instance.new("ScreenGui",plr.PlayerGui)
  1816. bbg = Instance.new("BillboardGui",plr.Character.Head)
  1817. bbg.Size = UDim2.new(0,200,0,50)
  1818. bbg.StudsOffset = Vector3.new(0,3,0)
  1819. bbgTl = Instance.new("TextLabel",bbg)
  1820. bbgTl.BackgroundTransparency = 1
  1821. bbgTl.Size = UDim2.new(10,0,1,0)
  1822. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  1823. bbgTl.Font = "Code"
  1824. bbgTl.Text = " "
  1825. bbgTl.TextSize = 25
  1826. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  1827. bbgTl.TextColor3 = Color3.new(0,0,0)
  1828. bbgTl.TextStrokeTransparency = 0
  1829. bbgTl.TextWrapped = true
  1830. plr.Chatted:connect(function(msg)
  1831. bbgTl.Text = msg
  1832. wait(5)
  1833. if bbgTl.Text == msg then
  1834. bbgTl.Text = " "
  1835. end
  1836. end)
  1837. ------------------------------------------------------------
  1838.  
  1839. kkk = Instance.new("Sound",Character)
  1840. kkk.Volume = 1.5
  1841. kkk.SoundId = "http://www.roblox.com/asset/?id=321456240"
  1842. kkk:Play()
  1843. kkk.Name = "a"
  1844. kkk.Looped = true
  1845. --472006887 Doom-Choir
  1846. --154770315 Scary-Background-Music1
  1847. --148101943 Scary-Background-Music2
  1848. --255355232 Hide And Seek
  1849. coroutine.wrap(function()
  1850. chatfunc('Blue. A light edit of Genocider by blueten2000')
  1851. wait(5)
  1852. chatfunc('Original source credit goes to Salvo_Starly!')
  1853. while true do
  1854. swait()
  1855. for i, v in pairs(Character.WeaponModel:GetChildren()) do
  1856. if v:IsA("Part") then
  1857. v.Anchored = false
  1858. end
  1859. end
  1860. for i, v in pairs(Character:GetChildren()) do
  1861. if v:IsA("Part") then
  1862. v.Anchored = false
  1863. elseif v:IsA("Accessory") then
  1864. v.Handle.Anchored = false
  1865. end
  1866. end
  1867. end
  1868. end)()
  1869. coroutine.wrap(function()
  1870. while 1 do
  1871. swait()
  1872. if doe <= 360 then
  1873. doe = doe + 2
  1874. else
  1875. doe = 0
  1876. end
  1877. end
  1878. end)()
  1879. while true do
  1880. swait()
  1881. for i, v in pairs(Character:GetChildren()) do
  1882. if v:IsA("Part") then
  1883. v.Material = "SmoothPlastic"
  1884. elseif v:IsA("Accessory") then
  1885. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1886. end
  1887. end
  1888. while true do
  1889. swait()
  1890. imgl.Rotation = imgl.Rotation + 3
  1891. img2.Rotation = img2.Rotation + 3
  1892. if targetted ~= nil then
  1893. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1894. abss.Enabled = true
  1895. elseif targetted == nil then
  1896. abss.Adornee = nil
  1897. abss.Enabled = false
  1898. end
  1899.  
  1900. while true and imgl.Rotation >= 360 do
  1901. imgl.Rotation = 0
  1902. img2.Rotation = 0
  1903. end
  1904. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1905. velocity = RootPart.Velocity.y
  1906. sine = sine + change
  1907. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1908. if RootPart.Velocity.y > 1 and hit == nil then
  1909. Anim = "Jump"
  1910. if attack == false then
  1911. PlayAnimationFromTable({
  1912. 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),
  1913. 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),
  1914. 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),
  1915. 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),
  1916. 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),
  1917. 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),
  1918. }, .3, false)
  1919. 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)
  1920. end
  1921. elseif RootPart.Velocity.y < -1 and hit == nil then
  1922. Anim = "Fall"
  1923. if attack == false then
  1924. PlayAnimationFromTable({
  1925. 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),
  1926. 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),
  1927. 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),
  1928. 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),
  1929. 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),
  1930. 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),
  1931. }, .3, false)
  1932. 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)
  1933. end
  1934. elseif Torsovelocity < 1 and hit ~= nil then
  1935. Anim = "Idle"
  1936. if attack == false then
  1937. change = 1
  1938. PlayAnimationFromTable({
  1939. 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),
  1940. 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),
  1941. 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)),
  1942. 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)),
  1943. 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),
  1944. 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),
  1945. }, .3, false)
  1946. 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)
  1947. end
  1948. elseif Torsovelocity > 2 and hit ~= nil then
  1949. Anim = "Walk"
  1950. if attack == false then
  1951. PlayAnimationFromTable({
  1952. 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),
  1953. 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),
  1954. 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),
  1955. 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),
  1956. 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),
  1957. 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),
  1958. }, .3, false)
  1959. 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)
  1960. end
  1961. end
  1962. if 0 < #Effects then
  1963. for e = 1, #Effects do
  1964. if Effects[e] ~= nil then
  1965. local Thing = Effects[e]
  1966. if Thing ~= nil then
  1967. local Part = Thing[1]
  1968. local Mode = Thing[2]
  1969. local Delay = Thing[3]
  1970. local IncX = Thing[4]
  1971. local IncY = Thing[5]
  1972. local IncZ = Thing[6]
  1973. if Thing[2] == "Shoot" then
  1974. local Look = Thing[1]
  1975. local move = 30
  1976. if Thing[8] == 3 then
  1977. move = 10
  1978. end
  1979. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1980. if Thing[10] ~= nil then
  1981. da = pos
  1982. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1983. cfa = CFrame.new(Thing[4], pos)
  1984. tehCF = cfa:lerp(cf2, 0.2)
  1985. Thing[1] = tehCF.lookVector
  1986. end
  1987. local mag = (Thing[4] - pos).magnitude
  1988. 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)
  1989. if Thing[8] == 2 then
  1990. 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)
  1991. end
  1992. Thing[4] = Thing[4] + Look * move
  1993. Thing[3] = Thing[3] - 1
  1994. if 2 < Thing[5] then
  1995. Thing[5] = Thing[5] - 0.3
  1996. Thing[6] = Thing[6] - 0.3
  1997. end
  1998. if hit ~= nil then
  1999. Thing[3] = 0
  2000. if Thing[8] == 1 or Thing[8] == 3 then
  2001. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2002. else
  2003. if Thing[8] == 2 then
  2004. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2005. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  2006. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2007. ref.Anchored = true
  2008. ref.CFrame = CFrame.new(pos)
  2009. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  2010. game:GetService("Debris"):AddItem(ref, 0.2)
  2011. 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)
  2012. 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)
  2013. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2014. end
  2015. end
  2016. end
  2017. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2018. ref.Anchored = true
  2019. ref.CFrame = CFrame.new(pos)
  2020. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2021. game:GetService("Debris"):AddItem(ref, 1)
  2022. end
  2023. if Thing[3] <= 0 then
  2024. table.remove(Effects, e)
  2025. end
  2026. end
  2027. do
  2028. do
  2029. if Thing[2] == "FireWave" then
  2030. if Thing[3] <= Thing[4] then
  2031. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2032. Thing[3] = Thing[3] + 1
  2033. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2034. else
  2035. Part.Parent = nil
  2036. table.remove(Effects, e)
  2037. end
  2038. end
  2039. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2040. if Thing[1].Transparency <= 1 then
  2041. if Thing[2] == "Block1" then
  2042. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2043. Mesh = Thing[7]
  2044. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2045. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2046. else
  2047. if Thing[2] == "Block2" then
  2048. Thing[1].CFrame = Thing[1].CFrame
  2049. Mesh = Thing[7]
  2050. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2051. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2052. else
  2053. if Thing[2] == "Fire" then
  2054. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2055. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2056. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2057. else
  2058. if Thing[2] == "Cylinder" then
  2059. Mesh = Thing[7]
  2060. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2061. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2062. else
  2063. if Thing[2] == "Blood" then
  2064. Mesh = Thing[7]
  2065. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2066. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2067. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2068. else
  2069. if Thing[2] == "Elec" then
  2070. Mesh = Thing[10]
  2071. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2072. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2073. else
  2074. if Thing[2] == "Disappear" then
  2075. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2076. else
  2077. if Thing[2] == "Shatter" then
  2078. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2079. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2080. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2081. Thing[6] = Thing[6] + Thing[5]
  2082. end
  2083.  
  2084. end
  2085. end
  2086. end
  2087. end
  2088. end
  2089. end
  2090. end
  2091. else
  2092. Part.Parent = nil
  2093. table.remove(Effects, e)
  2094. end
  2095. end
  2096. end
  2097. end
  2098. end
  2099. end
  2100. end
  2101. end
  2102. end
  2103. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement