Advertisement
MaxNutellaOML

lost geust

Jun 13th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 209.91 KB | None | 0 0
  1. local s = Instance.new("Sound")
  2.  
  3. s.Name = "Arrived"
  4. s.SoundId = "http://www.roblox.com/asset/?id=1963047976"
  5. s.Volume = 100
  6. s.Looped = false
  7. s.archivable = false
  8.  
  9. s.Parent = game.Workspace
  10.  
  11. wait(20)
  12.  
  13. s:play()
  14. Player=game:GetService("Players").LocalPlayer
  15. Character=Player.Character
  16. PlayerGui=Player.PlayerGui
  17. Backpack=Player.Backpack
  18. Torso=Character.Torso
  19. Head=Character.Head
  20. Humanoid=Character.Humanoid
  21. m=Instance.new('Model',Character)
  22. LeftArm=Character["Left Arm"]
  23. LeftLeg=Character["Left Leg"]
  24. RightArm=Character["Right Arm"]
  25. RightLeg=Character["Right Leg"]
  26. LS=Torso["Left Shoulder"]
  27. LH=Torso["Left Hip"]
  28. RS=Torso["Right Shoulder"]
  29. RH=Torso["Right Hip"]
  30. Face = Head.face
  31. Neck=Torso.Neck
  32. it=Instance.new
  33. attacktype=1
  34. vt=Vector3.new
  35. cf=CFrame.new
  36. euler=CFrame.fromEulerAnglesXYZ
  37. angles=CFrame.Angles
  38. cloaked=false
  39. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  40. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  41. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  42. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  43. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  44. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  45. RootPart=Character.HumanoidRootPart
  46. RootJoint=RootPart.RootJoint
  47. RootCF=euler(-1.57,0,3.14)
  48. attack = false
  49. wait(2)
  50. function clerp(a,b,t)
  51. local qa = {QuaternionFromCFrame(a)}
  52. local qb = {QuaternionFromCFrame(b)}
  53. local ax, ay, az = a.x, a.y, a.z
  54. local bx, by, bz = b.x, b.y, b.z
  55. local _t = 1-t
  56. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  57. end
  58. local l = game.Lighting
  59. local sky = Instance.new("Sky",l)
  60. sky.CelestialBodiesShown = false
  61. sky.SkyboxBk = "http://www.roblox.com/asset/?id=196110875"
  62. sky.SkyboxDn = "http://www.roblox.com/asset/?id=196110875"
  63. sky.SkyboxFt = "http://www.roblox.com/asset/?id=196110875"
  64. sky.SkyboxLf = "http://www.roblox.com/asset/?id=196110875"
  65. sky.SkyboxRt = "http://www.roblox.com/asset/?id=196110875"
  66. sky.SkyboxUp = "http://www.roblox.com/asset/?id=196110875"
  67. sky.StarCount = 3000
  68. sky.Name = "GreenSpace"
  69. CV="Maroon"
  70. Player = game.Players.LocalPlayer
  71. char = Player.Character
  72. local txt = Instance.new("BillboardGui", Character)
  73. txt.Adornee = Character .Head
  74. txt.Name = "_status"
  75. txt.Size = UDim2.new(2, 0, 1.2, 0)
  76. txt.StudsOffset = Vector3.new(-9, 8, 0)
  77. local text = Instance.new("TextLabel", txt)
  78. text.Size = UDim2.new(10, 0, 7, 0)
  79. text.FontSize = "Size24"
  80. text.TextScaled = true
  81. text.TextTransparency = 0
  82. text.BackgroundTransparency = 1
  83. text.TextTransparency = 0
  84. text.TextStrokeTransparency = 0
  85. text.Font = "Bodoni"
  86. text.TextStrokeColor3 = Color3.new(70,0,0)
  87.  
  88. v=Instance.new("Part")
  89. v.Name = "ColorBrick"
  90. v.Parent=Player.Character
  91. v.FormFactor="Symmetric"
  92. v.Anchored=true
  93. v.CanCollide=false
  94. v.BottomSurface="Smooth"
  95. v.TopSurface="Smooth"
  96. v.Size=Vector3.new(10,5,3)
  97. v.Transparency=1
  98. v.CFrame=Character.Torso.CFrame
  99. v.BrickColor=BrickColor.new(CV)
  100. v.Transparency=1
  101. text.TextColor3 = Color3.new(0,0,0)
  102. v.Shape="Block"
  103. text.Text = ""
  104. -----------------------------------------
  105. -------------------Shirt And Pants---------------------
  106. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=607785311"
  107. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=451216658"
  108. -------------------------------------------------------
  109. function QuaternionFromCFrame(cf)
  110. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  111. local trace = m00 + m11 + m22
  112. if trace > 0 then
  113. local s = math.sqrt(1 + trace)
  114. local recip = 0.5/s
  115. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  116. else
  117. local i = 0
  118. if m11 > m00 then
  119. i = 1
  120. end
  121. if m22 > (i == 0 and m00 or m11) then
  122. i = 2
  123. end
  124. if i == 0 then
  125. local s = math.sqrt(m00-m11-m22+1)
  126. local recip = 0.5/s
  127. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  128. elseif i == 1 then
  129. local s = math.sqrt(m11-m22-m00+1)
  130. local recip = 0.5/s
  131. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  132. elseif i == 2 then
  133. local s = math.sqrt(m22-m00-m11+1)
  134. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  135. end
  136. end
  137. end
  138. spawn (function()
  139. wait(1 / 60)
  140. Effects = { }music=false
  141. local Player = game:GetService("Players").localPlayer
  142. local Character = Player.Character
  143. local Humanoid = Character:FindFirstChildOfClass("Humanoid")
  144. local Mouse = Player:GetMouse()
  145. local LeftArm = Character["Left Arm"]
  146. local RightArm = Character["Right Arm"]
  147. local LeftLeg = Character["Left Leg"]
  148. local RightLeg = Character["Right Leg"]
  149. local Head = Character.Head
  150. local Torso = Character.Torso
  151. local Camera = workspace.CurrentCamera
  152. local RootPart = Character.HumanoidRootPart
  153. local RootJoint = RootPart.RootJoint
  154. local attack = false
  155. local Anim = 'Idle'
  156. local attacktype = 1
  157. local delays = false
  158. local play = true
  159. local targetted = nil
  160. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  161. local velocity = RootPart.Velocity.y
  162. local sine = 0
  163. local change = 1
  164. local doe = 0
  165. local Create = LoadLibrary("RbxUtility").Create
  166. Humanoid.WalkSpeed = 35
  167. local m = Create("Model"){
  168. Parent = Character,
  169. Name = "WeaponModel",
  170. }
  171. local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=Player.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=Player.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end if humanoid==Humanoid then humanoid=nil end return humanoid end
  172. Humanoid.Animator.Parent = nil
  173. Character.Animate.Parent = nil
  174. if Character:FindFirstChild("Health")then Character.Health.Parent = nil end
  175. function CreateBeam(Parent,isReversed)local p=Instance.new("Beam",Parent)local a0=Instance.new("Attachment",Parent)local a1=Instance.new("Attachment",Parent)if isReversed then p.Attachment0=a1 p.Attachment1=a0 else p.Attachment0=a0 p.Attachment1=a1 end return a0,a1,p end
  176. function CTE(Part)Part.Size=Vector3.new()Part.Transparency=1 Part.CanCollide=false Part.Anchored=true local j=Instance.new("BodyVelocity",Part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end
  177. function RingE(pos,siz,tim,dsiz,seg,wid,z,col,w)local IDK=.7
  178. local p=Instance.new("Part",workspace)if col==nil then col=ColorSequence.new(Color3.new())end if z==nil then z=0 end
  179. CTE(p)p.CFrame=pos
  180. local a0,a1,b=CreateBeam(p)a0.Position=Vector3.new(0,0,-dsiz)a1.Position=-a0.Position b.Texture="rbxassetid://1251856844"b.Color=col
  181. local b2=Instance.new("Beam",b.Parent)b2.Attachment0=a1 b2.Attachment1=a0 b2.Texture="rbxassetid://1251856844"b2.Color=col
  182. b.CurveSize0=math.abs(a0.Position.Z)*2 *IDK b.CurveSize1=math.abs(a0.Position.Z)*2 *IDK b2.CurveSize0=-math.abs(a0.Position.Z)*2 *IDK b2.CurveSize1=math.abs(a0.Position.Z)*2 *IDK
  183. b.Segments=seg b2.Segments=seg b.ZOffset=z b2.ZOffset=z b.Width0=wid b.Width1=wid b2.Width0=wid b2.Width1=wid spawn(function()
  184. for i=1,tim do if p.Parent then
  185. a0.Position=a0.Position-Vector3.new(0,0,siz)a1.Position=a1.Position+Vector3.new(0,0,siz)b.CurveSize0=(a1.Position.Z*2)*IDK b.CurveSize1=-(a1.Position.Z*2)*IDK
  186. b2.CurveSize0=-(a1.Position.Z*2)*IDK b2.CurveSize1=(a1.Position.Z*2)*IDK
  187. if w~=nil then b.Width0=b.Width0+w b.Width1=b.Width0 b2.Width0=b.Width0 b2.Width1=b.Width0 end b.Transparency=NumberSequence.new(i/tim)b2.Transparency=NumberSequence.new(i/tim)swait()
  188. end end p:Destroy()
  189. end)
  190. end
  191. --Script made by Pedrorb03
  192. growingList = {}
  193. degrowingList = {}
  194.  
  195. torso = Instance.new("Part") torso.Size = Vector3.new(0,0,0) torso.CanCollide = false
  196. torso.Anchored = true
  197. local mesh = Instance.new("SpecialMesh",torso) mesh.MeshId = "rbxassetid://1198391230" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.01,0.01,0.01)
  198.  
  199. arm = Instance.new("Part") arm.Size = Vector3.new(0,0,0) arm.CanCollide = false
  200. arm.Anchored = true
  201. local mesh = Instance.new("SpecialMesh",arm) mesh.MeshId = "rbxassetid://1198392540" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.02,0.02,0.02)
  202.  
  203. leg1 = Instance.new("Part") leg1.Size = Vector3.new(0,0,0) leg1.CanCollide = false
  204. leg1.Anchored = true
  205. local mesh = Instance.new("SpecialMesh",leg1) mesh.MeshId = "rbxassetid://1198394446" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.01,0.01,0.01)
  206.  
  207. leg2 = Instance.new("Part") leg2.Size = Vector3.new(0,0,0) leg2.CanCollide = false
  208. leg2.Anchored = true
  209. local mesh = Instance.new("SpecialMesh",leg2) mesh.MeshId = "rbxassetid://1198393506" mesh.TextureId = "rbxassetid://681973439" mesh.Scale = Vector3.new(0.02,0.02,0.02)
  210.  
  211. headd = Instance.new("Part") headd.Size = Vector3.new(1,1,1) headd.CanCollide = false
  212. local mesh = Instance.new("SpecialMesh",headd) mesh.Scale = Vector3.new(1.25,1.25,1.25) mesh.MeshType = Enum.MeshType.Head
  213. headd.BrickColor = BrickColor.new("White")
  214.  
  215. game:GetService("RunService").RenderStepped:connect(function()
  216. for _,grow in pairs(growingList) do
  217. local cframe = grow.CFrame
  218. grow.Size = grow.Size+Vector3.new(1,1,1)
  219. grow.Transparency = grow.Transparency+0.04
  220. end
  221. for _,degrow in pairs(degrowingList) do
  222. local cframe = degrow.CFrame
  223. degrow.Size = degrow.Size-Vector3.new(1,1,1)
  224. degrow.Transparency = degrow.Transparency+0.04
  225. end
  226. end)
  227.  
  228.  
  229.  
  230.  
  231. Basesong = Instance.new("Sound")
  232.  
  233. hair = Instance.new("Part",game.Players.LocalPlayer.Character) hair.Size = Vector3.new(1,1,1) hair.CanCollide = false
  234.  
  235. beforesong = Basesong:Clone()
  236. beforesong.Parent = game.Players.LocalPlayer.Character
  237. beforesong.Looped = false
  238. beforesong.Volume = 3
  239. beforesong.SoundId = "rbxassetid://"
  240. beforesong:Play()
  241.  
  242. if game.Players.LocalPlayer.Character:FindFirstChild("Body Colors") then
  243. game.Players.LocalPlayer.Character["Body Colors"]:remove()
  244. end
  245. if game.Players.LocalPlayer.Character:FindFirstChild("Shirt Graphic") then
  246. game.Players.LocalPlayer.Character["Shirt Graphic"]:remove()
  247. end
  248. if game.Players.LocalPlayer.Character:FindFirstChild("Shirt") then
  249. game.Players.LocalPlayer.Character["Shirt"]:remove()
  250. end
  251. if game.Players.LocalPlayer.Character:FindFirstChild("Pants") then
  252. game.Players.LocalPlayer.Character["Pants"]:remove()
  253. end
  254. for i=1,5 do
  255. wait()
  256. for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  257. if hat.ClassName == "" then
  258. hat:remove()
  259. end
  260. if hat:IsA("BasePart") then
  261. hat.BrickColor = BrickColor.new("White")
  262. end
  263. end
  264. end
  265. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  266. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  267.  
  268.  
  269. Basepart = Instance.new("Part")
  270.  
  271.  
  272. Baseparticle = Instance.new("ParticleEmitter")
  273. Basemesh = Instance.new("SpecialMesh")
  274. local mesh = Basemesh:Clone()
  275. mesh.Parent = hair
  276. mesh.MeshId = "rbxassetid://188004660"
  277. mesh.TextureId = "rbxassetid://451217406"
  278. Baseweld = Instance.new("Weld")
  279. local weld = Baseweld:Clone()
  280. weld.Part0 = hair
  281. weld.Part1 = game.Players.LocalPlayer.Character.Head
  282. hair.Color = Color3.fromRGB(0,0,127)
  283. weld.C0 = CFrame.new(0,-0.44,0)*CFrame.Angles(0,math.rad(0),0)
  284. weld.Parent = hair
  285.  
  286. shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character)
  287. shirt.ShirtTemplate = "rbxassetid://607785311"
  288. pants = Instance.new("Pants",game.Players.LocalPlayer.Character)
  289. pants.PantsTemplate = "rbxassetid://451216658"
  290.  
  291. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=339242973"
  292.  
  293. local colorlist = {ColorSequenceKeypoint.new(0,Color3.fromRGB(0,255,255)),
  294. ColorSequenceKeypoint.new(0.148,Color3.fromRGB(0,255,255)),
  295. ColorSequenceKeypoint.new(0.193,Color3.fromRGB(72,0,255)),
  296. ColorSequenceKeypoint.new(0.366,Color3.fromRGB(72,0,255)),
  297. ColorSequenceKeypoint.new(0.4,Color3.fromRGB(0,255,255)),
  298. ColorSequenceKeypoint.new(0.63,Color3.fromRGB(0,255,255)),
  299. ColorSequenceKeypoint.new(0.8,Color3.fromRGB(72,0,255)),
  300. ColorSequenceKeypoint.new(1,Color3.fromRGB(0,0,255))
  301. }
  302. local uiParticle = Baseparticle:Clone()
  303. uiParticle.Color = ColorSequence.new(colorlist)
  304. uiParticle.LightEmission = 1
  305. uiParticle.Size = NumberSequence.new(0.8)
  306. uiParticle.LockedToPart = true
  307. uiParticle.Texture = "rbxassetid://"
  308. local transparencylist = { NumberSequenceKeypoint.new(0,1),
  309. NumberSequenceKeypoint.new(0.5,0.67),
  310. NumberSequenceKeypoint.new(1,1)
  311. }
  312.  
  313. uiParticle.Transparency = NumberSequence.new(transparencylist)
  314. uiParticle.ZOffset = -1
  315. uiParticle.LockedToPart = true
  316. uiParticle.Lifetime = NumberRange.new(0.05,0.05)
  317. uiParticle.Speed = NumberRange.new(0,0)
  318. uiParticle.Rate = math.huge
  319.  
  320. for _,hat in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  321.  
  322. if hat:IsA("BasePart") then
  323. if hat.Name ~= "Head" and hat.Name ~= "HumanoidRootPart" then
  324. uiParticle:Clone().Parent = hat
  325. end
  326. end
  327. end
  328.  
  329.  
  330.  
  331. beforesong:Stop()
  332. mainsong = Basesong:Clone()
  333. mainsong.Parent = game.Workspace
  334. mainsong.Looped = true
  335. mainsong.Volume = 10
  336. mainsong.Pitch = 0.7
  337. mainsong.SoundId = "rbxassetid://1971479406"
  338. mainsong:Play()
  339.  
  340. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  341. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  342. game.Players.LocalPlayer.Character.Humanoid.Name = "LolFakeHumanoid"
  343.  
  344. afterimages = {}
  345.  
  346. game.Players.LocalPlayer.Character.Head.face:Clone().Parent = headd
  347.  
  348. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  349.  
  350. end)
  351. amcounter = 0
  352.  
  353. local PhysicsService = game:GetService("PhysicsService")
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362. game:GetService("RunService").RenderStepped:connect(function()
  363. for _,image in pairs(afterimages) do
  364. for _,part in pairs(image:GetChildren()) do
  365. if part:IsA("BasePart") then
  366. part.Transparency = part.Transparency+0.1
  367. if part:FindFirstChild("face") then
  368. part.face.Transparency = part.face.Transparency+0.3
  369. end
  370. if part.Transparency > 1 then
  371. image:remove()
  372. end
  373. end
  374. end
  375. end
  376.  
  377. local image = Instance.new("Model",game.Workspace)
  378. image.Name = "AfterImage"
  379.  
  380. local head = headd:Clone()
  381. head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  382. local hairc = hair:Clone()
  383. head.Anchored = true
  384. head.Transparency = 0
  385. head.face.Transparency = 0
  386. hairc.Transparency = 0
  387. hairc.Anchored = true
  388. hairc.Weld:remove()
  389. head.Parent = image
  390. hairc.Parent = image
  391. local torsoc = torso:Clone()
  392. torsoc.Parent = image
  393. torsoc.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.Angles(0,math.rad(-180),0)
  394. local armc = arm:Clone()
  395. armc.Parent = image
  396. armc.CFrame = game.Players.LocalPlayer.Character["Right Arm"].CFrame*CFrame.Angles(0,math.rad(180),0)
  397. local armc = arm:Clone()
  398. armc.Parent = image
  399. armc.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.Angles(0,math.rad(180),0)
  400. local legc = leg1:Clone()
  401. legc.Parent = image
  402. legc.CFrame = game.Players.LocalPlayer.Character["Left Leg"].CFrame*CFrame.Angles(0,math.rad(-180),0)
  403. local legc = leg2:Clone()
  404. legc.Parent = image
  405. legc.CFrame = game.Players.LocalPlayer.Character["Right Leg"].CFrame*CFrame.Angles(0,math.rad(-180),0)
  406.  
  407. table.insert(afterimages,image)
  408.  
  409. end)
  410. --[[function HyperSpread(Part)
  411.  
  412. for i=1,math.random(1,20)+19 do
  413. rayCast()
  414. end
  415. end
  416. ]]
  417. local newMotor = function(part0, part1, c0, c1)
  418. local w = Create('Motor'){
  419. Parent = part0,
  420. Part0 = part0,
  421. Part1 = part1,
  422. C0 = c0,
  423. C1 = c1,
  424. }
  425. return w
  426. end
  427.  
  428. function clerp(a, b, t)
  429. return a:lerp(b, t)
  430. end
  431. local Words="English"
  432. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  433. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  434.  
  435. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  436. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  437. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  438. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  439. RootJoint.C1 = CFrame.new(0, 0, 0)
  440. RootJoint.C0 = CFrame.new(0, 0, 0)
  441. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  442. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  443.  
  444. local rarmc1 = RW.C1
  445. local larmc1 = LW.C1
  446. local rlegc1 = RH.C1
  447. local llegc1 = LH.C1
  448.  
  449. local resetc1 = false
  450.  
  451. function PlayAnimationFromTable(table, speed, bool)
  452. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  453. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  454. RW.C0 = clerp(RW.C0, table[3], speed)
  455. LW.C0 = clerp(LW.C0, table[4], speed)
  456. RH.C0 = clerp(RH.C0, table[5], speed)
  457. LH.C0 = clerp(LH.C0, table[6], speed)
  458. if bool == true then
  459. if resetc1 == false then
  460. resetc1 = true
  461. RootJoint.C1 = RootJoint.C1
  462. Torso.Neck.C1 = Torso.Neck.C1
  463. RW.C1 = rarmc1
  464. LW.C1 = larmc1
  465. RH.C1 = rlegc1
  466. LH.C1 = llegc1
  467. end
  468. end
  469. end
  470.  
  471. ArtificialHB = Create("BindableEvent", script){
  472. Parent = script,
  473. Name = "Heartbeat",
  474. }
  475.  
  476. script:WaitForChild("Heartbeat")
  477.  
  478. frame = 1 / 30
  479. tf = 0
  480. allowframeloss = false
  481. tossremainder = false
  482. lastframe = tick()
  483. script.Heartbeat:Fire()
  484.  
  485. game:GetService("RunService").Heartbeat:connect(function(s, p)
  486. tf = tf + s
  487. if tf >= frame then
  488. if allowframeloss then
  489. script.Heartbeat:Fire()
  490. lastframe = tick()
  491. else
  492. for i = 1, math.floor(tf / frame) do
  493. script.Heartbeat:Fire()
  494. end
  495. lastframe = tick()
  496. end
  497. if tossremainder then
  498. tf = 0
  499. else
  500. tf = tf - frame * math.floor(tf / frame)
  501. end
  502. end
  503. end)
  504.  
  505. function swait(num)
  506. if num == 0 or num == nil then
  507. ArtificialHB.Event:wait()
  508. else
  509. for i = 0, num do
  510. ArtificialHB.Event:wait()
  511. end
  512. end return true
  513. end
  514.  
  515. function RemoveOutlines(part)
  516. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  517. end
  518.  
  519. CFuncs = {
  520. ["Part"] = {
  521. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  522. local Part = Create("Part"){
  523. Parent = Parent,
  524. Reflectance = Reflectance,
  525. Transparency = Transparency,
  526. CanCollide = false,
  527. Locked = true,
  528. BrickColor = BrickColor.new(tostring(BColor)),
  529. Name = Name,
  530. Size = Size,
  531. Material = Material,
  532. }
  533. RemoveOutlines(Part)
  534. return Part
  535. end;
  536. };
  537.  
  538. ["Mesh"] = {
  539. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  540. local Msh = Create(Mesh){
  541. Parent = Part,
  542. Offset = OffSet,
  543. Scale = Scale,
  544. }
  545. if Mesh == "SpecialMesh" then
  546. Msh.MeshType = MeshType
  547. Msh.MeshId = MeshId
  548. end
  549. return Msh
  550. end;
  551. };
  552.  
  553. ["Mesh"] = {
  554. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  555. local Msh = Create(Mesh){
  556. Parent = Part,
  557. Offset = OffSet,
  558. Scale = Scale,
  559. }
  560. if Mesh == "SpecialMesh" then
  561. Msh.MeshType = MeshType
  562. Msh.MeshId = MeshId
  563. end
  564. return Msh
  565. end;
  566. };
  567.  
  568. ["Weld"] = {
  569. Create = function(Parent, Part0, Part1, C0, C1)
  570. local Weld = Create("Weld"){
  571. Parent = Parent,
  572. Part0 = Part0,
  573. Part1 = Part1,
  574. C0 = C0,
  575. C1 = C1,
  576. }
  577. return Weld
  578. end;
  579. };
  580.  
  581. ["Sound"] = {
  582. Create = function(id, par, vol, pit)
  583. coroutine.resume(coroutine.create(function()
  584. local S = Create("Sound"){
  585. Volume = vol,
  586. Pitch = pit or 1,
  587. SoundId = id,
  588. Parent = game.Workspace,
  589. }
  590. wait()
  591. S:play()
  592. game:GetService("Debris"):AddItem(S, 6)
  593. end))
  594. end;
  595. };
  596.  
  597. ["ParticleEmitter"] = {
  598. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  599. local fp = Create("ParticleEmitter"){
  600. Parent = Parent,
  601. Color = ColorSequence.new(Color1, Color2),
  602. LightEmission = LightEmission,
  603. Size = Size,
  604. Texture = Texture,
  605. Transparency = Transparency,
  606. ZOffset = ZOffset,
  607. Acceleration = Accel,
  608. Drag = Drag,
  609. LockedToPart = LockedToPart,
  610. VelocityInheritance = VelocityInheritance,
  611. EmissionDirection = EmissionDirection,
  612. Enabled = Enabled,
  613. Lifetime = LifeTime,
  614. Rate = Rate,
  615. Rotation = Rotation,
  616. RotSpeed = RotSpeed,
  617. Speed = Speed,
  618. VelocitySpread = VelocitySpread,
  619. }
  620. return fp
  621. end;
  622. };
  623.  
  624. CreateTemplate = {
  625.  
  626. };
  627. }
  628.  
  629.  
  630.  
  631. New = function(Object, Parent, Name, Data)
  632. local Object = Instance.new(Object)
  633. for Index, Value in pairs(Data or {}) do
  634. Object[Index] = Value
  635. end
  636. Object.Parent = Parent
  637. Object.Name = Name
  638. return Object
  639. end
  640.  
  641. local function ToMesh(Part)
  642. local Mesh=Instance.new("SpecialMesh",Part)
  643. if Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
  644. Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
  645. return Mesh
  646. end
  647. local function GHK(char)
  648. local Players=game:service("Players")
  649. local soidk=Players:FindFirstChild(tostring(char))
  650. if soidk~=nil then if soidk.Character and soidk~=Player and tostring(soidk)~="CKBackup"then-- print("hit : "..tostring(soidk))
  651. soidk.Character.Parent=workspace soidk.Character:BreakJoints()--soidk.Character:Destroy()
  652. if soidk.Character:FindFirstChild("HumanoidRootPart")then
  653. local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
  654. p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.05 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,25,25)p.Transparency=i swait()end end p:Destroy()end)
  655. for i=1,3 do local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
  656. p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.01 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,-1,-1)p.Transparency=i swait()end end p:Destroy()end)
  657. end
  658. end spawn(function()swait(20)soidk.Character:Destroy()end)
  659. end
  660. end return soidk end
  661. --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),})
  662. --Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  663. --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),})
  664.  
  665. 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,})
  666. moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
  667. 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,})
  668. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
  669. 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),})
  670. 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,})
  671. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  672. 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),})
  673. 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,})
  674. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),})
  675. 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),})
  676. 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,})
  677. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),})
  678. 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),})
  679. 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,})
  680. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  681. 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),})
  682. 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,})
  683. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),})
  684. 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),})
  685. 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,})
  686. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),})
  687. 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),})
  688. Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  689. Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  690. 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),})
  691. 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,})
  692. 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,})
  693. 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),})
  694. 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),})
  695. 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),})
  696. 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,})
  697. 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),})
  698. 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,})
  699. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,})
  700. 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),})
  701. 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,})
  702. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,})
  703. 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),})
  704. 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,})
  705. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  706. 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),})
  707. 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,})
  708. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,})
  709. 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),})
  710. 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,})
  711. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  712. 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),})
  713. 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,})
  714. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  715. 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),})
  716. 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,})
  717. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,})
  718. 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),})
  719. 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),})
  720. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  721. 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),})
  722. 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,})
  723. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,})
  724. 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),})
  725. 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),})
  726. Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,})
  727. 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),})
  728.  
  729. for _,v in pairs(m:children()) do
  730. if v:IsA("Part") then
  731. v.CanCollide = false
  732. end
  733. end
  734.  
  735. if game.Players.LocalPlayer.Character or Character.Name == "Player1" then
  736. for _,v in pairs(Character:children()) do
  737. if v:IsA("Accessory") then
  738. v:Remove()
  739. end
  740. end
  741.  
  742. end
  743.  
  744. function rayCast(Position, Direction, Range, Ignore)
  745. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  746. end
  747.  
  748. --[[FindNearestTorso = function(pos)
  749. local list = (game.Workspace:children())
  750. local torso = nil
  751. local dist = 1000
  752. local temp, human, temp2 = nil, nil, nil
  753. for x = 1, #list do
  754. temp2 = list[x]
  755. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  756. temp = temp2:findFirstChild("Torso")
  757. human = temp2:FindFirstChildOfClass("Humanoid")
  758. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  759. local dohit = true
  760. if dohit == true then
  761. torso = temp
  762. dist = (temp.Position - pos).magnitude
  763. end
  764. end
  765. end
  766. end
  767. return torso, dist
  768. end]]
  769. function FindNearestTorso(Position, Distance, SinglePlayer)
  770. if SinglePlayer then
  771. return (SinglePlayer.HumanoidRootPart.CFrame.p - Position).magnitude < Distance
  772. end
  773. local List = {}
  774. for i, v in pairs(workspace:GetChildren()) do
  775. if v:IsA("Model") then
  776. if v:findFirstChild("HumanoidRootPart") then
  777. if v ~= Character then
  778. if (v.HumanoidRootPart.Position - Position).magnitude <= Distance then
  779. table.insert(List, v)
  780. end
  781. end
  782. end
  783. end
  784. end
  785. return List
  786. end
  787.  
  788. local function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  789. local Part = Create("Part")({
  790. Parent = Parent,
  791. Reflectance = Reflectance,
  792. Transparency = Transparency,
  793. CanCollide = false,
  794. Locked = true,
  795. BrickColor = BrickColor.new(tostring(BColor)),
  796. Name = Name,
  797. Size = Size,
  798. Material = Material
  799. })
  800. RemoveOutlines(Part)
  801. return Part
  802. end
  803. local function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  804. local Msh = Create(Mesh)({
  805. Parent = Part,
  806. Offset = OffSet,
  807. Scale = Scale
  808. })
  809. if Mesh == "SpecialMesh" then
  810. Msh.MeshType = MeshType
  811. Msh.MeshId = MeshId
  812. end
  813. return Msh
  814. end
  815. local function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  816. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  817. prt.Anchored = true
  818. prt.CFrame = cframe
  819. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  820. game:GetService("Debris"):AddItem(prt, 10)
  821. if Type == 1 or Type == nil then
  822. table.insert(Effects, {
  823. prt,
  824. "Block1",
  825. delay,
  826. x3,
  827. y3,
  828. z3,
  829. msh
  830. })
  831. elseif Type == 2 then
  832. table.insert(Effects, {
  833. prt,
  834. "Block2",
  835. delay,
  836. x3,
  837. y3,
  838. z3,
  839. msh
  840. })
  841. elseif Type == 3 then
  842. table.insert(Effects, {
  843. prt,
  844. "Block3",
  845. delay,
  846. x3,
  847. y3,
  848. z3,
  849. msh
  850. })
  851. end
  852. end
  853. local function Lightning(Part0, Part1, Times, Offset, Color, Thickness, Trans, SizeAdd)
  854. local magz = (Part0 - Part1).magnitude
  855. local curpos = Part0
  856. local trz = {
  857. -Offset,
  858. Offset
  859. }
  860. for i = 1, Times do
  861. local li = Instance.new("Part", Torso)
  862. li.Name = "Lightning"
  863. li.TopSurface = 0
  864. li.Material = "Neon"
  865. li.BottomSurface = 0
  866. li.Anchored = true
  867. li.Locked = true
  868. li.Transparency = 0
  869. li.BrickColor = Color
  870. li.formFactor = "Custom"
  871. li.CanCollide = false
  872. li.Size = Vector3.new(Thickness, Thickness, magz / Times)
  873. local Offzet = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  874. local trolpos = CFrame.new(curpos, Part1) * CFrame.new(0, 0, magz / Times).p + Offzet
  875. if Times == i then
  876. local magz2 = (curpos - Part1).magnitude
  877. li.Size = Vector3.new(Thickness, Thickness, magz2)
  878. li.CFrame = CFrame.new(curpos, Part1) * CFrame.new(0, 0, -magz2 / 2)
  879. else
  880. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / Times / 2)
  881. end
  882. curpos = li.CFrame * CFrame.new(0, 0, magz / Times / 2).p
  883. game.Debris:AddItem(li, 0.01)
  884. BlockEffect(Color, li.CFrame, li.Size.X * 20, li.Size.Y * 20, li.Size.Z * 20, SizeAdd, SizeAdd, 0, 0.07, 2)
  885. end
  886. end
  887. spawn(function()wait(1)while swait(5)do Lightning(Partss.CFrame.p,Partss.CFrame*CFrame.new(1,0,0).p,10,7,BrickColor.new("Crimson"),.1,0,-.1)end end)
  888. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  889. if hit.Parent == nil then
  890. return
  891. end
  892. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  893. for _, v in pairs(hit.Parent:children()) do
  894. if v:IsA("Humanoid") then
  895. h = v
  896. end
  897. end
  898. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  899. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  900. if hit.Parent.DebounceHit.Value == true then
  901. return
  902. end
  903. end
  904. local c = Create("ObjectValue"){
  905. Name = "creator",
  906. Value = game:service("Players").LocalPlayer,
  907. Parent = h,
  908. }
  909. game:GetService("Debris"):AddItem(c, .5)
  910. if HitSound ~= nil and HitPitch ~= nil then
  911. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  912. end
  913. local Damage = math.random(minim, maxim)
  914. local blocked = false
  915. local block = hit.Parent:findFirstChild("Block")
  916. if block ~= nil then
  917. if block.className == "IntValue" then
  918. if block.Value > 0 then
  919. blocked = true
  920. block.Value = block.Value - 1
  921. print(block.Value)
  922. end
  923. end
  924. end
  925. if blocked == false then
  926. h.Health = h.Health - Damage
  927. 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)
  928. else
  929. h.Health = h.Health - (Damage / 2)
  930. 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)
  931. end
  932. if Type == "Knockdown" then
  933. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  934. hum.PlatformStand = true
  935. coroutine.resume(coroutine.create(function(HHumanoid)
  936. swait(1)
  937. HHumanoid.PlatformStand = false
  938. end), hum)
  939. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  940. local bodvol = Create("BodyVelocity"){
  941. velocity = angle * knockback,
  942. P = 5000,
  943. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  944. Parent = hit,
  945. }
  946. local rl = Create("BodyAngularVelocity"){
  947. P = 3000,
  948. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  949. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  950. Parent = hit,
  951. }
  952. game:GetService("Debris"):AddItem(bodvol, .5)
  953. game:GetService("Debris"):AddItem(rl, .5)
  954. elseif Type == "Normal" then
  955. local vp = Create("BodyVelocity"){
  956. P = 500,
  957. maxForce = Vector3.new(math.huge, 0, math.huge),
  958. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  959. }
  960. if knockback > 0 then
  961. vp.Parent = hit.Parent.HumanoidRootPart
  962. end
  963. game:GetService("Debris"):AddItem(vp, .5)
  964. elseif Type == "Up" then
  965. local bodyVelocity = Create("BodyVelocity"){
  966. velocity = Vector3.new(0, 20, 0),
  967. P = 5000,
  968. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  969. Parent = hit,
  970. }
  971. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  972. elseif Type == "DarkUp" then
  973. coroutine.resume(coroutine.create(function()
  974. for i = 0, 1, 0.1 do
  975. swait()
  976. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.HumanoidRootPart.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  977. end
  978. end))
  979. local bodyVelocity = Create("BodyVelocity"){
  980. velocity = Vector3.new(0, 20, 0),
  981. P = 5000,
  982. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  983. Parent = hit,
  984. }
  985. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  986. elseif Type == "Snare" then
  987. local bp = Create("BodyPosition"){
  988. P = 2000,
  989. D = 100,
  990. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  991. position = hit.Parent.HumanoidRootPart.Position,
  992. Parent = hit.Parent.HumanoidRootPart,
  993. }
  994. game:GetService("Debris"):AddItem(bp, 1)
  995. elseif Type == "Freeze" then
  996. local BodPos = Create("BodyPosition"){
  997. P = 50000,
  998. D = 1000,
  999. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1000. position = hit.Parent.HumanoidRootPart.Position,
  1001. Parent = hit.Parent.HumanoidRootPart,
  1002. }
  1003. local BodGy = Create("BodyGyro") {
  1004. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1005. P = 20e+003,
  1006. Parent = hit.Parent.HumanoidRootPart,
  1007. cframe = hit.Parent.HumanoidRootPart.CFrame,
  1008. }
  1009. hit.Parent.HumanoidRootPart.Anchored = true
  1010. coroutine.resume(coroutine.create(function(Part)
  1011. swait(1.5)
  1012. Part.Anchored = false
  1013. end), hit.Parent.HumanoidRootPart)
  1014. game:GetService("Debris"):AddItem(BodPos, 3)
  1015. game:GetService("Debris"):AddItem(BodGy, 3)
  1016. end
  1017. local debounce = Create("BoolValue"){
  1018. Name = "DebounceHit",
  1019. Parent = hit.Parent,
  1020. Value = true,
  1021. }
  1022. game:GetService("Debris"):AddItem(debounce, Delay)
  1023. c = Create("ObjectValue"){
  1024. Name = "creator",
  1025. Value = Player,
  1026. Parent = h,
  1027. }
  1028. game:GetService("Debris"):AddItem(c, .5)
  1029. end
  1030. end
  1031.  
  1032. function ShowDamage(Pos, Text, Time, Color)
  1033. local Rate = (1 / 30)
  1034. local Pos = (Pos or Vector3.new(0, 0, 0))
  1035. local Text = (Text or "")
  1036. local Time = (Time or 2)
  1037. local Color = (Color or Color3.new(1, 0, 1))
  1038. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1039. EffectPart.Anchored = true
  1040. local BillboardGui = Create("BillboardGui"){
  1041. Size = UDim2.new(3, 0, 3, 0),
  1042. Adornee = EffectPart,
  1043. Parent = EffectPart,
  1044. }
  1045. local TextLabel = Create("TextLabel"){
  1046. BackgroundTransparency = 1,
  1047. Size = UDim2.new(1, 0, 1, 0),
  1048. Text = Text,
  1049. Font = "SciFi",
  1050. TextColor3 = Color,
  1051. TextScaled = true,
  1052. Parent = BillboardGui,
  1053. }
  1054. game.Debris:AddItem(EffectPart, (Time))
  1055. EffectPart.Parent = game:GetService("Workspace")
  1056. delay(0, function()
  1057. local Frames = (Time / Rate)
  1058. for Frame = 1, Frames do
  1059. wait(Rate)
  1060. local Percent = (Frame / Frames)
  1061. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1062. TextLabel.TextTransparency = Percent
  1063. end
  1064. if EffectPart and EffectPart.Parent then
  1065. EffectPart:Destroy()
  1066. end
  1067. end)
  1068. end
  1069.  
  1070. function dmg(dude,bloods,isfal)--(Position, Direction, Range, Ignore)
  1071. if dude.Name ~= Character then
  1072. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1073. if dude:FindFirstChild("Head")then local bgf = Instance.new("BodyGyro",dude.Head)
  1074. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)end
  1075. local val = Instance.new("BoolValue",dude)
  1076. val.Name = "IsHit"local spd=20 local spr=math.random(20,30)if not isfal then GHK(dude)end
  1077. if dude:FindFirstChild("Head")then
  1078. if bloods~=nil then spr=bloods end
  1079. for i = 1, spr do
  1080. --[[local blo = Instance.new("Part",workspace) --classic
  1081. blo.Size = Vector3.new(.6,.2,.6)
  1082. blo.Material = "SmoothPlastic"
  1083. blo.BrickColor = BrickColor.new("Crimson")
  1084. --blo.Position = dude.Head.Position
  1085. blo.CFrame = dude.Head.CFrame
  1086. game:GetService("Debris"):AddItem(blo,30)]]
  1087. local bs=Instance.new("Part")bs.CFrame=dude.Head.CFrame bs.Size=Vector3.new()bs.CanCollide=false bs.Shape="Ball"bs.BrickColor=BrickColor.new("Crimson")
  1088. local m=Instance.new("SpecialMesh",bs)m.MeshType="Sphere"m.Scale=Vector3.new(.5,.5,.5)*20
  1089. bs.Velocity=Vector3.new(math.random(-spd,spd),math.random(30,50),math.random(-spd,spd))bs.Parent=workspace
  1090. spawn(function()swait(3)local hit=nil bs.Name="Blood"
  1091. for i=1,100 do
  1092. if hit==nil then
  1093. swait()local h,p =workspace:FindPartOnRayWithIgnoreList(Ray.new(bs.CFrame.p,(bs.CFrame.p-bs.CFrame*CFrame.new(0,0,1).p).unit*2),{Character,dude,bs},false,true) --rayCast(bs.CFrame.p,bs.CFrame.lookVector,3,bs)
  1094. if h~=nil then hit=p end
  1095. end
  1096. end
  1097. if hit==nil then hit=bs.Position end
  1098. bs:Destroy()local bl=Instance.new("Part",workspace)bl.Anchored=true bl.CanCollide=false bl.CFrame=CFrame.new(hit)bl.Color=bs.Color bl.Material="Neon"
  1099. bl.Size=Vector3.new(1,.1,1)local sm=Instance.new("SpecialMesh",bl)sm.MeshType="Sphere"swait(250)for i=0,1,.05 do if bl.Parent then bl.Transparency=i swait()end end bl:Destroy()
  1100. end)
  1101. end
  1102. end
  1103. local ds = coroutine.wrap(function()
  1104. wait(.2)
  1105. if dude:FindFirstChild("Torso")then dude.Torso:BreakJoints()end dude:BreakJoints()
  1106. end)
  1107. ds()
  1108. end
  1109. end
  1110.  
  1111. function mdmg(Part, Magnitude,Spread)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1112. --local buddy
  1113. for _, c in pairs(workspace:children()) do
  1114. local hum = c:FindFirstChildOfClass("Humanoid")
  1115. if hum ~= nil then
  1116. local head = c:findFirstChild("HumanoidRootPart")
  1117. if head ~= nil then
  1118. local targ = head.Position - Part.Position
  1119. local mag = targ.magnitude
  1120. if mag <= Magnitude and c.Name ~= Player.Name then
  1121. if c.Name ~= Character then
  1122. if c.Name ~= "tomonaoboys" then
  1123. local asd = Instance.new("ParticleEmitter",c.HumanoidRootPart)
  1124. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1125. asd.LightEmission = .1
  1126. asd.Size = NumberSequence.new(0.2)
  1127. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1128. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1129. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1130. asd.Transparency = bbb
  1131. asd.Size = aaa
  1132. asd.ZOffset = .9
  1133. asd.Acceleration = Vector3.new(0, -5, 0)
  1134. asd.LockedToPart = false
  1135. asd.EmissionDirection = "Back"
  1136. asd.Lifetime = NumberRange.new(1, 2)
  1137. asd.Rate = 1000
  1138. asd.Rotation = NumberRange.new(-10000, 10000)
  1139. asd.RotSpeed = NumberRange.new(-100, 100)
  1140. asd.Speed = NumberRange.new(6)
  1141. asd.VelocitySpread = 1000000
  1142. asd.Enabled=true
  1143. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1144. if Spread==nil then Spread=1 end
  1145. dmg(c,Spread)
  1146. CFuncs["Sound"].Create("rbxassetid://429400881", c.HumanoidRootPart, 4, .7)
  1147. coroutine.wrap(function()
  1148. wait(.2)
  1149. asd.Enabled = false
  1150. wait(2)
  1151. asd:Remove()
  1152. end)()
  1153. else
  1154. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", c.HumanoidRootPart, 1.5, math.random(1,1.3))
  1155. Effects.Sphere.Create(BrickColor.new("Bright red"), c.HumanoidRootPart.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1156.  
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end
  1162. if c:FindFirstChild("Torso")then
  1163. if (Part.Position-c.Torso.Position).magnitude<=Magnitude then
  1164. GHK(c)
  1165. end
  1166. end
  1167. end
  1168. end
  1169. EffectModel = Create("Model"){
  1170. Parent = Character,
  1171. Name = "Effects",
  1172. }
  1173.  
  1174. Effects = {
  1175. Block = {
  1176. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type,material)
  1177. local mat="SmoothPlastic"if material~=nil then mat=material end
  1178. local prt = CFuncs.Part.Create(EffectModel, mat, 0, 0, brickcolor, "Effect", Vector3.new())
  1179. prt.Anchored = true
  1180. prt.CFrame = cframe
  1181. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1182. game:GetService("Debris"):AddItem(prt, 10)
  1183. if Type == 1 or Type == nil then
  1184. table.insert(Effects, {
  1185. prt,
  1186. "Block1",
  1187. delay,
  1188. x3,
  1189. y3,
  1190. z3,
  1191. msh
  1192. })
  1193. elseif Type == 2 then
  1194. table.insert(Effects, {
  1195. prt,
  1196. "Block2",
  1197. delay,
  1198. x3,
  1199. y3,
  1200. z3,
  1201. msh
  1202. })
  1203. end
  1204. end;
  1205. };
  1206.  
  1207. Cylinder = {
  1208. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay,material)
  1209. local mat="SmoothPlastic"if material~=nil then mat=material end
  1210. local prt = CFuncs.Part.Create(EffectModel, mat, 0, 0, brickcolor, "Effect", Vector3.new())
  1211. prt.Anchored = true
  1212. prt.CFrame = cframe
  1213. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1214. game:GetService("Debris"):AddItem(prt, 10)
  1215. table.insert(Effects, {
  1216. prt,
  1217. "Cylinder",
  1218. delay,
  1219. x3,
  1220. y3,
  1221. z3,
  1222. msh
  1223. })
  1224. end;
  1225. };
  1226. Head = {
  1227. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1228. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1229. prt.Anchored = true
  1230. prt.CFrame = cframe
  1231. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1232. game:GetService("Debris"):AddItem(prt, 10)
  1233. table.insert(Effects, {
  1234. prt,
  1235. "Cylinder",
  1236. delay,
  1237. x3,
  1238. y3,
  1239. z3,
  1240. msh
  1241. })
  1242. end;
  1243. };
  1244.  
  1245. Sphere = {
  1246. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1247. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1248. prt.Anchored = true
  1249. prt.CFrame = cframe
  1250. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1251. game:GetService("Debris"):AddItem(prt, 10)
  1252. table.insert(Effects, {
  1253. prt,
  1254. "Cylinder",
  1255. delay,
  1256. x3,
  1257. y3,
  1258. z3,
  1259. msh
  1260. })
  1261. end;
  1262. };
  1263.  
  1264. Elect = {
  1265. Create = function(cff, x, y, z)
  1266. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  1267. prt.Anchored = true
  1268. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1269. prt.CFrame = CFrame.new(prt.Position)
  1270. game:GetService("Debris"):AddItem(prt, 2)
  1271. local xval = math.random() / 2
  1272. local yval = math.random() / 2
  1273. local zval = math.random() / 2
  1274. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1275. table.insert(Effects, {
  1276. prt,
  1277. "Elec",
  1278. 0.1,
  1279. x,
  1280. y,
  1281. z,
  1282. xval,
  1283. yval,
  1284. zval
  1285. })
  1286. end;
  1287.  
  1288. };
  1289.  
  1290. Ring = {
  1291. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1292. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1293. prt.Anchored = true
  1294. prt.CFrame = cframe
  1295. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1296. game:GetService("Debris"):AddItem(prt, 10)
  1297. table.insert(Effects, {
  1298. prt,
  1299. "Cylinder",
  1300. delay,
  1301. x3,
  1302. y3,
  1303. z3,
  1304. msh
  1305. })
  1306. end;
  1307. };
  1308.  
  1309.  
  1310. Wave = {
  1311. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1312. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1313. prt.Anchored = true
  1314. prt.CFrame = cframe
  1315. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1316. game:GetService("Debris"):AddItem(prt, 10)
  1317. table.insert(Effects, {
  1318. prt,
  1319. "Cylinder",
  1320. delay,
  1321. x3,
  1322. y3,
  1323. z3,
  1324. msh
  1325. })
  1326. end;
  1327. };
  1328.  
  1329. Break = {
  1330. Create = function(brickcolor, cframe, x1, y1, z1)
  1331. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1332. prt.Anchored = true
  1333. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1334. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1335. local num = math.random(10, 50) / 1000
  1336. game:GetService("Debris"):AddItem(prt, 10)
  1337. table.insert(Effects, {
  1338. prt,
  1339. "Shatter",
  1340. num,
  1341. prt.CFrame,
  1342. math.random() - math.random(),
  1343. 0,
  1344. math.random(50, 100) / 100
  1345. })
  1346. end;
  1347. };
  1348.  
  1349. Fire = {
  1350. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1351. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1352. prt.Anchored = true
  1353. prt.CFrame = cframe
  1354. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1355. game:GetService("Debris"):AddItem(prt, 10)
  1356. table.insert(Effects, {
  1357. prt,
  1358. "Fire",
  1359. delay,
  1360. 1,
  1361. 1,
  1362. 1,
  1363. msh
  1364. })
  1365. end;
  1366. };
  1367.  
  1368. FireWave = {
  1369. Create = function(brickcolor, cframe, x1, y1, z1)
  1370. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1371. prt.Anchored = true
  1372. prt.CFrame = cframe
  1373. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1374. local d = Create("Decal"){
  1375. Parent = prt,
  1376. Texture = "rbxassetid://26356434",
  1377. Face = "Top",
  1378. }
  1379. local d = Create("Decal"){
  1380. Parent = prt,
  1381. Texture = "rbxassetid://26356434",
  1382. Face = "Bottom",
  1383. }
  1384. game:GetService("Debris"):AddItem(prt, 10)
  1385. table.insert(Effects, {
  1386. prt,
  1387. "FireWave",
  1388. 1,
  1389. 30,
  1390. math.random(400, 600) / 100,
  1391. msh
  1392. })
  1393. end;
  1394. };
  1395.  
  1396. Lightning = {
  1397. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1398. local magz = (p0 - p1).magnitude
  1399. local curpos = p0
  1400. local trz = {
  1401. -ofs,
  1402. ofs
  1403. }
  1404. for i = 1, tym do
  1405. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1406. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1407. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1408. li.Material = "Neon"
  1409. if tym == i then
  1410. local magz2 = (curpos - p1).magnitude
  1411. li.Size = Vector3.new(th, th, magz2)
  1412. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1413. table.insert(Effects, {
  1414. li,
  1415. "Disappear",
  1416. last
  1417. })
  1418. else
  1419. do
  1420. do
  1421. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1422. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1423. game.Debris:AddItem(li, 10)
  1424. table.insert(Effects, {
  1425. li,
  1426. "Disappear",
  1427. last
  1428. })
  1429. end
  1430. end
  1431. end
  1432. end
  1433. end
  1434. };
  1435.  
  1436. EffectTemplate = {
  1437.  
  1438. };
  1439. }
  1440.  
  1441. function chatfunc(text)
  1442. local chat = coroutine.wrap(function()
  1443. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1444. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1445. end
  1446. local naeeym2 = Instance.new("BillboardGui",Character)
  1447. naeeym2.Size = UDim2.new(0,100,0,40)
  1448. naeeym2.StudsOffset = Vector3.new(0,3.5,0)
  1449. naeeym2.Adornee = RootPart
  1450. naeeym2.Name = "TalkingBillBoard"
  1451. local tecks2 = Instance.new("TextLabel",naeeym2)
  1452. tecks2.BackgroundTransparency = 1
  1453. tecks2.BorderSizePixel = 0
  1454. tecks2.Text = ""
  1455. tecks2.Font = "Fantasy"
  1456. tecks2.TextSize = 30
  1457. tecks2.TextStrokeTransparency = 0
  1458. tecks2.TextColor3 = Color3.new(.6,0,0)
  1459. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1460. tecks2.Size = UDim2.new(1,0,0.5,0)
  1461. local tecks3 = Instance.new("TextLabel",naeeym2)
  1462. tecks3.BackgroundTransparency = 1
  1463. tecks3.BorderSizePixel = 0
  1464. tecks3.Text = ""
  1465. tecks3.Font = "Fantasy"
  1466. tecks3.TextSize = 30
  1467. tecks3.TextStrokeTransparency = 0
  1468. tecks3.TextColor3 = Color3.new(.6,0,0)
  1469. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1470. tecks3.Size = UDim2.new(1,0,0.5,0)
  1471. for i = 1,string.len(text),1 do
  1472. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=", Character, 10, 5)
  1473. tecks2.Text = string.sub(text,1,i)
  1474. tecks3.Text = string.sub(text,1,i)
  1475. wait(0.01)
  1476. end
  1477. wait(2)
  1478. for i = 1, 50 do
  1479. swait()
  1480. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1481. tecks2.Rotation = tecks2.Rotation - .8
  1482. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1483. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1484. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1485. tecks3.Rotation = tecks2.Rotation + .8
  1486. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1487. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1488. end
  1489. naeeym2:Destroy()
  1490. end)
  1491. chat()
  1492. end
  1493. function onChatted(msg)
  1494. chatfunc(msg)
  1495. end
  1496. Player.Chatted:connect(function(msg)
  1497. if msg=="Words:jp"then Words="Japanese"end
  1498. if msg=="Words:en"then Words="English"end
  1499. end)
  1500.  
  1501. abss = Instance.new("BillboardGui",Character)
  1502. abss.Size = UDim2.new(10,0,10,0)
  1503. abss.Enabled = false
  1504. imgl = Instance.new("ImageLabel",abss)
  1505. imgl.Position = UDim2.new(0,0,0,0)
  1506. imgl.Size = UDim2.new(1,0,1,0)
  1507. imgl.Image = "rbxassetid://342199418"
  1508. imgl.BackgroundTransparency = 1
  1509. imgl.ImageColor3 = Color3.new(.9,0,0)
  1510. img2 = Instance.new("ImageLabel",abss)
  1511. img2.Position = UDim2.new(0,0,0,0)
  1512. img2.Size = UDim2.new(1,0,1,0)
  1513. img2.Image = "rbxassetid://342199418"
  1514. img2.BackgroundTransparency = 1
  1515. img2.ImageColor3 = Color3.new(.9,0,0)
  1516.  
  1517.  
  1518. function attackone(target)
  1519. attack = true
  1520. Humanoid.WalkSpeed = 0
  1521. if target then
  1522. if targetted.Name ~= "hithere1025" then
  1523. local partasdeff = Instance.new("ParticleEmitter",targetted.HumanoidRootPart)
  1524. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1525. partasdeff.LightEmission = .1
  1526. partasdeff.Size = NumberSequence.new(0.2)
  1527. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1528. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1529. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1530. partasdeff.Transparency = bbb
  1531. partasdeff.Size = aaa
  1532. partasdeff.ZOffset = .9
  1533. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1534. partasdeff.LockedToPart = false
  1535. partasdeff.EmissionDirection = "Back"
  1536. partasdeff.Lifetime = NumberRange.new(1, 2)
  1537. partasdeff.Rate = 1000
  1538. partasdeff.Rotation = NumberRange.new(-100, 100)
  1539. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1540. partasdeff.Speed = NumberRange.new(6)
  1541. partasdeff.VelocitySpread = 10000
  1542. partasdeff.Enabled=false
  1543. for i = 0, 3, 0.4 do
  1544. swait()
  1545. PlayAnimationFromTable({
  1546. CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  1547. CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1548. CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
  1549. CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
  1550. CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1551. CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1552. }, .3, false)
  1553. 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)
  1554. end
  1555. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1556. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1557. CFuncs["Sound"].Create("rbxassetid://333430981", Character, 1, .5)
  1558. if targetted:FindFirstChild("Head")then Lightning(Partss.CFrame.p,targetted.Head.CFrame.p,10,.3,BrickColor.new("Crimson"),.1,0,-.1)Lightning(Partss.CFrame.p,targetted.Head.CFrame.p,10,.3,BrickColor.new("Really black"),.1,0,-.1)end
  1559. dmg(targetted)
  1560. partasdeff.Enabled=true
  1561. for i = 0, 6, 1 do
  1562. swait()
  1563. PlayAnimationFromTable({
  1564. CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  1565. CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1566. CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
  1567. CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
  1568. CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1569. CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1570. }, .3, false)
  1571. 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)
  1572. end
  1573. partasdeff.Enabled=false
  1574. for i = 1, 3, 1 do
  1575. swait()
  1576. PlayAnimationFromTable({
  1577. CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  1578. CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1579. CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
  1580. CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
  1581. CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  1582. CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1583. }, .3, false)
  1584. 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)
  1585. end
  1586. coroutine.wrap(function()
  1587. wait(2)
  1588. partasdeff:Remove()
  1589. end)()
  1590. else
  1591. sel = math.random(1,6)
  1592. if Words=="English"then
  1593. if sel == 1 then
  1594. chatfunc("No no...i cant")
  1595. elseif sel == 2 then
  1596. chatfunc("i don't wanna hurt him")
  1597. elseif sel == 3 then
  1598. chatfunc("HEY!! Im not doing that")
  1599. elseif sel == 4 then
  1600. chatfunc("You are suppose to kill everyone but not him...")
  1601. elseif sel == 5 then
  1602. chatfunc("he's a good guy")
  1603. elseif sel == 6 then
  1604. chatfunc("killing him is not the way.")
  1605. end
  1606. else
  1607. if sel == 1 then
  1608. chatfunc("...")
  1609. elseif sel == 2 then
  1610. chatfunc("???···")
  1611. elseif sel == 3 then
  1612. chatfunc("??????????···")
  1613. end
  1614. end
  1615. for i = 0, 5, 0.1 do
  1616. swait()
  1617. PlayAnimationFromTable({
  1618. 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),
  1619. 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),
  1620. 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),
  1621. 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),
  1622. 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),
  1623. 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),
  1624. }, .3, false)
  1625. 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)
  1626. end
  1627. end
  1628. else
  1629. for i = 0, 3, 0.3 do
  1630. swait()
  1631. PlayAnimationFromTable({
  1632. 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),
  1633. 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),
  1634. 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),
  1635. 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),
  1636. 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),
  1637. 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),
  1638. }, .2, false)
  1639. 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)
  1640. end
  1641. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1642. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1643. CFuncs["Sound"].Create("rbxassetid://1669280377", Character, 20, .3)
  1644. local TP=Instance.new("Part")TP.CFrame=Mouse.Hit
  1645. Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Crimson"),.3,0,-.3)Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Really black"),.5,0,-.5)
  1646. mdmg(TP, 5 ,10)
  1647. for i=0,3 do RingE(TP.CFrame*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360))),.1+math.random(40)/100,30+math.random(70),0,30,3,0,ColorSequence.new(Color3.fromRGB(1,1,0)),-.05)end
  1648. Effects.Block.Create(BrickColor.new("Bright red"), TP.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1649. Effects.Block.Create(BrickColor.new("Deep orange"), TP.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1650. for i = 0, 1, 0.3333 do
  1651. swait()
  1652. PlayAnimationFromTable({
  1653. 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),
  1654. 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),
  1655. 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),
  1656. 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),
  1657. 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),
  1658. 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),
  1659. }, .2, false)
  1660. 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)
  1661. end
  1662. for i = 0, 2, 0.3 do
  1663. swait()
  1664. PlayAnimationFromTable({
  1665. 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),
  1666. 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),
  1667. 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),
  1668. 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),
  1669. 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),
  1670. 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),
  1671. }, .2, false)
  1672. 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)
  1673. end
  1674. end
  1675. Humanoid.WalkSpeed = 35
  1676. attack = false
  1677. end
  1678.  
  1679. function attacktwo()
  1680. attack = true
  1681. Humanoid.WalkSpeed = 0
  1682. for i = 0, 3, 0.8 do
  1683. swait()
  1684. PlayAnimationFromTable({
  1685. 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),
  1686. 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),
  1687. 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),
  1688. 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),
  1689. 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),
  1690. 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),
  1691. }, .2, false)
  1692. 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)
  1693. end
  1694. for i=1, 122 do
  1695. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1696. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1697. CFuncs["Sound"].Create("rbxassetid://1669280377", Character, 10, .5)
  1698. local TP=Instance.new("Part")TP.CFrame=Mouse.Hit
  1699. Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Crimson"),.3,0,-.3)Lightning(Partss.CFrame.p,TP.CFrame.p,10,.3,BrickColor.new("Really black"),.5,0,-.5)
  1700. mdmg(TP, 5 ,10)
  1701. for i=0,3 do RingE(TP.CFrame*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360))),.1+math.random(40)/100,30+math.random(70),0,30,3,0,ColorSequence.new(Color3.fromRGB(1,1,0)),-.05)end
  1702. Effects.Block.Create(BrickColor.new("Bright red"), TP.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1703. Effects.Block.Create(BrickColor.new("Deep orange"), TP.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1704. for i = 0, 1, 2.4 do
  1705. swait()
  1706. PlayAnimationFromTable({
  1707. 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),
  1708. 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),
  1709. 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),
  1710. 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),
  1711. 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),
  1712. 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),
  1713. }, .5, false)
  1714. 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)
  1715. end
  1716. for i = 0, 2, 1.7 do
  1717. swait()
  1718. PlayAnimationFromTable({
  1719. 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),
  1720. 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),
  1721. 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),
  1722. 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),
  1723. 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),
  1724. 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),
  1725. }, .5, false)
  1726. 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)
  1727. end
  1728. end
  1729. Humanoid.WalkSpeed = 35
  1730. attack = false
  1731. end
  1732.  
  1733. local Grabbed = false
  1734.  
  1735. function hedshoot()
  1736. attack = true
  1737. local grab = nil
  1738. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do
  1739. if v:FindFirstChild('HumanoidRootPart')and v:FindFirstChild("Head")then
  1740. Grabbed = true
  1741. --CFuncs["Sound"].Create("rbxassetid://492961938", v.HumanoidRootPart, 1, .8)
  1742. grab = v
  1743. end
  1744. end
  1745. 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)
  1746. --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=721590903", RootPart, 1.5, .5)
  1747. for i = 0, 1, 0.1 do
  1748. swait()
  1749. if Grabbed == true then
  1750. grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1751. --GGyro.position = Partss.Position
  1752. --GGyro.Parent = grab.Head
  1753. grab.HumanoidRootPart.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1754. end
  1755. PlayAnimationFromTable({
  1756. CFrame.new(0, 0.014960058, -0.00263785874, 0, 0, -1, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, 0),
  1757. CFrame.new(0.0756459087, 1.47367561, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0),
  1758. CFrame.new(1.61953926, 0.256342351, 0, 0.939692676, -0.342020601, 0, 0.342020601, 0.939692676, 0, 0, 0, 1),
  1759. CFrame.new(-1.41317761, 0.492402643, 0.500001907, 0, 0.984807849, -0.173647985, 0, -0.173647985, -0.984807849, -1, 0, 0),
  1760. CFrame.new(0.696965218, -2.03472972, 1.90734863e-06, 0.984807849, -0.173648134, 0, 0.173648164, 0.984807849, 0, 0, 0, 1),
  1761. CFrame.new(-0.303041309, -2.03472829, -1.90734863e-06, 0.965925813, -0.258818924, 0, 0.258818924, 0.965925813, 0, 0, 0, 1),
  1762. }, .3, false)
  1763. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1764.  
  1765. 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)
  1766. end
  1767. if Grabbed == true then
  1768. Humanoid.WalkSpeed = 0
  1769. for i = 0, 2, 0.1 do
  1770. swait()
  1771. if Grabbed == true then
  1772. grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1773. --GGyro.position = Partss.Position
  1774. --GGyro.Parent = grab.Head
  1775. grab.HumanoidRootPart.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1776. end
  1777. PlayAnimationFromTable({
  1778. CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1779. CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0),
  1780. CFrame.new(0.177449316, 0.626879215, -0.79883039, -0.163171932, 0.896216869, -0.412516981, -0.0593889691, -0.426284939, -0.902637362, -0.984808505, -0.122786134, 0.122783162),
  1781. CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07),
  1782. CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1),
  1783. CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1),
  1784. }, .1, false)
  1785. 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)
  1786. end
  1787. if grab.Name ~= "MikeSchmidt90" then
  1788. local partasdeff = Instance.new("ParticleEmitter",grab.HumanoidRootPart)
  1789. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1790. partasdeff.LightEmission = .1
  1791. partasdeff.Size = NumberSequence.new(0.2)
  1792. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1793. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1794. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1795. partasdeff.Transparency = bbb
  1796. partasdeff.Size = aaa
  1797. partasdeff.ZOffset = .9
  1798. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1799. partasdeff.LockedToPart = false
  1800. partasdeff.EmissionDirection = "Back"
  1801. partasdeff.Lifetime = NumberRange.new(1, 2)
  1802. partasdeff.Rate = 1000
  1803. partasdeff.Rotation = NumberRange.new(-100, 100)
  1804. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1805. partasdeff.Speed = NumberRange.new(10)
  1806. partasdeff.VelocitySpread = 20
  1807. partasdeff.Enabled=false
  1808. sel = math.random(1,4)
  1809. if Words=="English"then
  1810. if sel == 1 then
  1811. chatfunc("Deep inside where nothing's fine,I've lost my mind..")
  1812. elseif sel == 2 then
  1813. chatfunc("...")
  1814. elseif sel == 3 then
  1815. chatfunc("It sucks doesn't it feeling like you're not good enough.")
  1816. elseif sel==4 then
  1817. chatfunc("....")
  1818. end
  1819. else
  1820. if sel == 1 then
  1821. chatfunc("????????C:")
  1822. elseif sel == 2 then
  1823. chatfunc("????????????")
  1824. elseif sel == 3 then
  1825. chatfunc("?????????????????????")
  1826. elseif sel==4 then
  1827. chatfunc("???????????????")
  1828. end
  1829. end
  1830. for i = 0, 2, 0.1 do
  1831. swait()
  1832. if Grabbed == true then
  1833. grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1834. --GGyro.position = Partss.Position
  1835. --GGyro.Parent = grab.Head
  1836. grab.HumanoidRootPart.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1837. end
  1838. PlayAnimationFromTable({
  1839. CFrame.new(0, 0.00631189346, 0.102432251, 0, 0, -1, 0, 1, 0, 1, 0, 0),
  1840. CFrame.new(0.0756477267, 1.47367513, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985, -1, 0, 0),
  1841. CFrame.new(0.177449316, 0.626879215, -0.79883039, -0.163171932, 0.896216869, -0.412516981, -0.0593889691, -0.426284939, -0.902637362, -0.984808505, -0.122786134, 0.122783162),
  1842. CFrame.new(-1.33671415, 0.478919148, 0.210226327, 0.254886955, 0.951251388, -0.173647881, -0.0449429974, -0.167731076, -0.984807849, -0.965925872, 0.258818924, -3.7422879e-07),
  1843. CFrame.new(0.696966887, -2.03472996, 1.90734863e-06, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1),
  1844. CFrame.new(-0.696959853, -1.96527123, -1.90734863e-06, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1),
  1845. }, .1, false)
  1846. 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)
  1847. end
  1848. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  1849. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  1850. CFuncs["Sound"].Create("rbxassetid://429400881", Character, 100, .3)
  1851. dmg(grab)
  1852. grab.Head.Velocity = grab.Head.CFrame.lookVector * -60
  1853. partasdeff.Enabled=true
  1854. for i = 0, 1, 0.1 do
  1855. swait()
  1856. PlayAnimationFromTable({
  1857. 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),
  1858. 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),
  1859. 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),
  1860. 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),
  1861. 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),
  1862. 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),
  1863. }, .3, false)
  1864. 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)
  1865. end
  1866. partasdeff.Enabled=false
  1867. for i = 0, 2.5, 0.1 do
  1868. swait()
  1869. PlayAnimationFromTable({
  1870. 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),
  1871. 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),
  1872. 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),
  1873. 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),
  1874. 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),
  1875. 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),
  1876. }, .2, false)
  1877. 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)
  1878. end
  1879. coroutine.wrap(function()
  1880. wait(2)
  1881. partasdeff:Remove()
  1882. end)()
  1883. else
  1884. grab:FindFirstChildOfClass("Humanoid").PlatformStand = false
  1885. for i = 0, 3, 0.1 do
  1886. swait()
  1887. PlayAnimationFromTable({
  1888. 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),
  1889. 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),
  1890. 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),
  1891. 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),
  1892. 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),
  1893. 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),
  1894. }, .1, false)
  1895. 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)
  1896. end
  1897. sel = math.random(1,3)
  1898. if Words=="English"then
  1899. if sel == 1 then
  1900. chatfunc(". . . ")
  1901. elseif sel == 2 then
  1902. chatfunc("What am I doing...?")
  1903. elseif sel == 3 then
  1904. chatfunc("I can't...")
  1905. end
  1906. else
  1907. if sel == 1 then
  1908. chatfunc(". . . ")
  1909. elseif sel == 2 then
  1910. chatfunc("????????????···?")
  1911. elseif sel == 3 then
  1912. chatfunc("????...")
  1913. end
  1914. end
  1915. for i = 0, 5, 0.1 do
  1916. swait()
  1917. PlayAnimationFromTable({
  1918. 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),
  1919. 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),
  1920. 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),
  1921. 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),
  1922. 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),
  1923. 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),
  1924. }, .3, false)
  1925. 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)
  1926. end
  1927. end
  1928. end
  1929. --GGyro.Parent = nil
  1930. attack = false
  1931. Grabbed = false
  1932. Humanoid.WalkSpeed = 35
  1933. end
  1934. function moarblood()
  1935. attack = true
  1936. CFuncs["Sound"].Create("rbxassetid://1896865789", Character, 9, .8)
  1937. RootPart.CFrame = targetted.HumanoidRootPart.CFrame * CFrame.new(0,0,4)
  1938. 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),})
  1939. 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),})
  1940. wait(.5)
  1941. for i = 0, 1.2, 0.1 do
  1942. swait()
  1943. PlayAnimationFromTable({
  1944. CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
  1945. CFrame.new(0, 1.52556372, -0.222143173, 1, 0, 0, 0, 0.939692795, 0.342019618, 0, -0.342019618, 0.939692795),
  1946. CFrame.new(1.49999928, -1.34110451e-07, 1.58933972e-07, 0.99619478, -0.0871556178, -1.0595604e-07, 0.0871556178, 0.99619472, -3.35276127e-07, 1.35041773e-07, 3.27825546e-07, 1),
  1947. CFrame.new(-1.50000119, 2.68220901e-07, 1.58934313e-07, 0.99619478, 0.0871556178, 1.0595604e-07, -0.0871556178, 0.99619472, -3.35276127e-07, -1.35041773e-07, 3.27825546e-07, 1),
  1948. CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
  1949. CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326),
  1950. }, 1, false)
  1951. 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)
  1952. end
  1953. if targetted.Name ~= "hithere1025" then
  1954. local grab = nil
  1955. for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do
  1956. if v:FindFirstChild('Head') then
  1957. Grabbed = true
  1958. --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", v.Head, 1, .8)
  1959. grab = v
  1960. end
  1961. end
  1962. Humanoid.WalkSpeed = 0
  1963. for i = 0, 2, 0.1 do
  1964. swait()
  1965. if Grabbed == true then
  1966. grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1967. --GGyro.position = Partss.Position
  1968. --GGyro.Parent = grab.Head
  1969. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  1970. end
  1971. PlayAnimationFromTable({
  1972. CFrame.new(0, 0.00182705373, -0.0581560358, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661),
  1973. CFrame.new(0, 1.49941719, 0.0767186508, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661),
  1974. CFrame.new(1.1733681, 1.00347483, -0.438556999, 0.834721148, 0.546610475, 0.0667646676, 0.395648003, -0.510977745, -0.763128042, -0.383018494, 0.663414538, -0.642789304),
  1975. CFrame.new(-1.19234979, 1.02193367, -0.467352033, 0.879184604, -0.471780479, -0.0667649657, -0.349608243, -0.543515444, -0.763128519, 0.323741287, 0.694272459, -0.642788768),
  1976. CFrame.new(0.499997675, -1.9992758, -0.116536342, 0.965925872, 0, -0.258818984, -0.02255762, 0.996194661, -0.0841862038, 0.257834077, 0.087155968, 0.962250173),
  1977. CFrame.new(-0.50000006, -1.99927592, -0.116537228, 0.984807849, 0, 0.173647985, 0.0151344584, 0.996194661, -0.0858318806, -0.172987193, 0.087155968, 0.981060326),
  1978. }, .3, false)
  1979. 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)
  1980. end
  1981. if Grabbed == true then
  1982. sel = math.random(1,3)
  1983. if Words=="English"then
  1984. if sel == 1 then
  1985. chatfunc("No heavens here.")
  1986. elseif sel == 2 then
  1987. chatfunc("Get out from this world...")
  1988. elseif sel == 3 then
  1989. chatfunc("Now , what did you thought?")
  1990. end
  1991. else
  1992. if sel == 1 then
  1993. chatfunc("????????????")
  1994. elseif sel == 2 then
  1995. chatfunc("????????")
  1996. elseif sel == 3 then
  1997. chatfunc("???????????")
  1998. end
  1999. end --if targetted:FindFirstChild("Head")then
  2000. if targetted:FindFirstChild("Head")then local partasdeff = Instance.new("ParticleEmitter",targetted.Head)
  2001. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2002. partasdeff.LightEmission = .1
  2003. partasdeff.Size = NumberSequence.new(0.2)
  2004. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  2005. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2006. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2007. partasdeff.Transparency = bbb
  2008. partasdeff.Size = aaa
  2009. partasdeff.ZOffset = .9
  2010. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  2011. partasdeff.LockedToPart = false
  2012. partasdeff.EmissionDirection = "Back"
  2013. partasdeff.Lifetime = NumberRange.new(1, 2)
  2014. partasdeff.Rate = 1000
  2015. partasdeff.Rotation = NumberRange.new(-100, 100)
  2016. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  2017. partasdeff.Speed = NumberRange.new(6)
  2018. partasdeff.VelocitySpread = 10000 partasdeff.Enabled=true
  2019. partasdeff.Enabled=false spawn(function()swait(10)partasdeff.Enabled=false end)end
  2020. for i = 0, 3, 0.1 do
  2021. swait()
  2022. if Grabbed == true then
  2023. grab:FindFirstChildOfClass("Humanoid").PlatformStand = true
  2024. --GGyro.position = Partss.Position
  2025. --GGyro.Parent = grab.Head
  2026. grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0)
  2027. end
  2028. PlayAnimationFromTable({
  2029. 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),
  2030. 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),
  2031. 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),
  2032. 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),
  2033. 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),
  2034. 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),
  2035. }, .3, false)
  2036. 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)
  2037. end
  2038. grab.HumanoidRootPart.Transparency = 1
  2039. dmg(grab)
  2040. CFuncs["Sound"].Create("rbxassetid://429400881", grab.Head, 100, .4)
  2041. --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", grab.Head, 1, .7)
  2042.  
  2043. coroutine.wrap(function()
  2044. wait(.4)
  2045. --partasdeff.Enabled=false
  2046. end)()
  2047. for i = 0, 3.5, 0.1 do
  2048. swait()
  2049. PlayAnimationFromTable({
  2050. 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),
  2051. 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),
  2052. 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),
  2053. 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),
  2054. 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),
  2055. 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),
  2056. }, .3, false)
  2057. 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)
  2058. end
  2059. end
  2060. else
  2061. Humanoid.WalkSpeed = 0
  2062. for i = 0, 3, 0.1 do
  2063. swait()
  2064. PlayAnimationFromTable({
  2065. 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),
  2066. 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),
  2067. 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),
  2068. 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),
  2069. 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),
  2070. 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),
  2071. }, .2, false)
  2072. 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)
  2073. end
  2074. sel = math.random(1,3)
  2075. if sel == 1 then
  2076. chatfunc("Aahhh...")
  2077. elseif sel == 2 then
  2078. chatfunc("Oh man, I thought you're enemy...")
  2079. elseif sel == 3 then
  2080. chatfunc("Sigh...")
  2081. end
  2082. for i = 0, 5, 0.1 do
  2083. swait()
  2084. PlayAnimationFromTable({
  2085. 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),
  2086. 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),
  2087. 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),
  2088. 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),
  2089. 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),
  2090. 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),
  2091. }, .3, false)
  2092. 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)
  2093. end
  2094. end
  2095. attack = false
  2096. Grabbed = false
  2097. k:Remove()
  2098. Humanoid.WalkSpeed = 35
  2099. end
  2100.  
  2101. function painlessrain()
  2102. attack = true
  2103. sel = math.random(1,3)
  2104. if Words=="English"then
  2105. if sel == 1 then
  2106. chatfunc("It's not the bullet that kills you,It's the whole..")
  2107. elseif sel == 2 then
  2108. chatfunc("Talk into my bullet hole..Tell me i'm fine.")
  2109. elseif sel == 3 then
  2110. chatfunc("Your Dead.")
  2111. end
  2112. else
  2113. if sel == 1 then
  2114. chatfunc("????????????????")
  2115. elseif sel == 2 then
  2116. chatfunc("????????????????????")
  2117. elseif sel == 3 then
  2118. chatfunc("??????????")
  2119. end
  2120. end
  2121.  
  2122. Humanoid.WalkSpeed = 0
  2123. 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,})
  2124.  
  2125. coroutine.wrap(function()
  2126. for i = 0, 1 do
  2127. wait(.2)
  2128. --CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=160718677", RootPart, 1, 1.3)
  2129. end
  2130. end)()
  2131. for i = 0, 4, 0.1 do
  2132. swait()
  2133. PlayAnimationFromTable({
  2134. CFrame.new(-0.013760807, 0, 0.00454730028, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
  2135. CFrame.new(0.010819382, 1.49999833, 0.00964166038, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238),
  2136. CFrame.new(1.54018927, 0.669616818, -3.72918021e-06, 0.499999791, -0.866025686, 1.75833702e-06, 0.866025567, 0.499999732, -1.27693363e-06, 2.38418579e-07, 2.14576721e-06, 1.00000012),
  2137. CFrame.new(-1.52901936, 0.888710737, 2.4381518e-06, 0.984807968, 0.173648, 4.17232513e-07, 0.173648, -0.984807789, 3.45977355e-06, 1.01327896e-06, -3.33786011e-06, -1.00000012),
  2138. CFrame.new(0.500000119, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  2139. CFrame.new(-0.68507731, -1.96527267, 0.0673612207, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
  2140. }, .2, false)
  2141. 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)
  2142. end
  2143. for i = 0, 1.5, 0.1 do
  2144. swait()
  2145. PlayAnimationFromTable({
  2146. CFrame.new(-0.013760807, 0, 0.00454730028, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238),
  2147. CFrame.new(0.010819382, 1.49999833, 0.00964166038, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238),
  2148. CFrame.new(1.54018927, 0.669616818, -3.72918021e-06, 0.499999791, -0.866025686, 1.75833702e-06, 0.866025567, 0.499999732, -1.27693363e-06, 2.38418579e-07, 2.14576721e-06, 1.00000012),
  2149. CFrame.new(-1.52901936, 0.888710737, 2.4381518e-06, 0.984807968, 0.173648, 4.17232513e-07, 0.173648, -0.984807789, 3.45977355e-06, 1.01327896e-06, -3.33786011e-06, -1.00000012),
  2150. CFrame.new(0.500000119, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  2151. CFrame.new(-0.68507731, -1.96527267, 0.0673612207, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
  2152. }, .2, false)
  2153. 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)
  2154. end
  2155. for i = 0, 0 do
  2156. Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05)
  2157. Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05)
  2158. for i=0,15 do RingE(Partss.CFrame*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360))),.1+math.random(40)/100,30+math.random(70),0,30,3,0,ColorSequence.new(Color3.fromRGB(255, 255, 0)),-.025)end
  2159. CFuncs["Sound"].Create("rbxassetid://1669280377", Character, 20, .2)
  2160. for i = 0, .5, 0.1 do
  2161. swait()
  2162. PlayAnimationFromTable({
  2163. CFrame.new(0.033490371, -4.76837158e-07, -0.0274436511, -0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, -0.500000238),
  2164. CFrame.new(-0.0390504077, 1.52660453, -0.19198662, 0.934456527, -0.171009883, 0.312324822, 0.0593909845, 0.939692736, 0.336823851, -0.351089597, -0.296197981, 0.888258457),
  2165. CFrame.new(1.54018593, 0.669616103, -3.75895024e-06, 0.499999344, -0.866025925, 1.75833702e-06, 0.866025805, 0.499999285, -1.27693352e-06, 2.38418579e-07, 2.17556953e-06, 1.00000012),
  2166. CFrame.new(-0.661082923, 0.549146414, -0.783065915, 0.264424562, -0.610265017, -0.746764064, -0.609933972, 0.493972659, -0.619654536, 0.74703449, 0.619328618, -0.241602808),
  2167. CFrame.new(0.500003934, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  2168. CFrame.new(-0.685080409, -1.96527231, 0.0673582703, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
  2169. }, .4, false)
  2170. 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)
  2171. end
  2172. for i = 0, .5, 0.1 do
  2173. swait()
  2174. PlayAnimationFromTable({
  2175. CFrame.new(0.033490371, -4.76837158e-07, -0.0274436511, -0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, -0.500000238),
  2176. CFrame.new(-0.0390504077, 1.52660453, -0.19198662, 0.934456527, -0.171009883, 0.312324822, 0.0593909845, 0.939692736, 0.336823851, -0.351089597, -0.296197981, 0.888258457),
  2177. CFrame.new(1.54018593, 0.669616103, -3.75895024e-06, 0.499999344, -0.866025925, 1.75833702e-06, 0.866025805, 0.499999285, -1.27693352e-06, 2.38418579e-07, 2.17556953e-06, 1.00000012),
  2178. CFrame.new(-0.661082923, 0.549146414, -0.783065915, 0.264424562, -0.610265017, -0.746764064, -0.609933972, 0.493972659, -0.619654536, 0.74703449, 0.619328618, -0.241602808),
  2179. CFrame.new(0.500003934, -2.00000095, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024),
  2180. CFrame.new(-0.685080409, -1.96527231, 0.0673582703, 0.925416648, 0.163175583, 0.342020541, -0.173648059, 0.984807849, 6.55481983e-07, -0.336824358, -0.059391804, 0.939692676),
  2181. }, .4, false)
  2182. 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)
  2183. end
  2184. end
  2185. attack = false
  2186. Humanoid.WalkSpeed = 35
  2187. wait(.4)
  2188. for i = 0, 150 do
  2189. swait(0.5)
  2190. mdmg(ref1, 3)
  2191. CFuncs["Sound"].Create("rbxassetid://", Character, .120, 5)
  2192. ref1.Position = Mouse.hit.p+Vector3.new(math.random(-100,100)/100,0,math.random(-100,100)/100)
  2193. ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5))
  2194. Effects.Cylinder.Create(BrickColor.new("Really black"), ref1.CFrame, 4, 9999, 4, -0.2, 0, -0.2, 0.05,"Neon")
  2195. Effects.Cylinder.Create(BrickColor.new("Bright red"), ref1.CFrame, 8, 9999, 8, -0.4, 0, -0.4, 0.1,"Neon")
  2196. end
  2197. ref1:Remove()
  2198. end
  2199.  
  2200. function TargetSelect(person)
  2201. local dd=coroutine.wrap(function()
  2202. if targetted ~= person then
  2203. targetted = person
  2204. img2.Size = UDim2.new(1,0,1,0)
  2205. img2.ImageTransparency = 0
  2206. img2.Position = UDim2.new(0,0,0,0)
  2207. for i = 0, 2, 0.1 do
  2208. swait()
  2209. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  2210. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  2211. img2.ImageTransparency = img2.ImageTransparency + 0.05
  2212. end
  2213. end
  2214. end)
  2215. dd()
  2216. end
  2217.  
  2218. function LockOn()
  2219. local hum=FindHumanoid(Mouse.Target)
  2220. if hum then
  2221. if hum.Parent:FindFirstChild("Head")and hum.Parent:FindFirstChild("HumanoidRootPart")then
  2222. TargetSelect(hum.Parent)
  2223. CFuncs["Sound"].Create("rbxassetid://", Character, 1, .8)
  2224. end
  2225. end
  2226. end
  2227.  
  2228.  
  2229. function ofmoosic() -- 2 lazi hoh
  2230. delays = true
  2231. while wait() and kkk and kkk.Volume >= 0.02 do
  2232. kkk.Volume = kkk.Volume - 0.05
  2233. end
  2234. wait(0.1)
  2235. kkk.Pitch = 0
  2236. kkk.PlaybackSpeed = 0
  2237. play = false
  2238. delays = false
  2239. end
  2240. function onmoosic()
  2241. delays = true
  2242. kkk.Pitch = 1
  2243. kkk.PlaybackSpeed = 1
  2244. while wait() and kkk and kkk.Volume <= 1.5 do
  2245. kkk.Volume = kkk.Volume + 0.05
  2246. end
  2247. wait(0.1)
  2248. play = true
  2249. delays = false
  2250. end
  2251.  
  2252. Mouse.Button1Down:connect(function()
  2253. if attack == false then
  2254. attackone(targetted)
  2255. end
  2256. end)
  2257.  
  2258. Mouse.KeyDown:connect(function(k)
  2259. k = k:lower()
  2260. if attack == false and k == 'q' then
  2261. LockOn()
  2262. end
  2263. if k == 'z' and attack == false then
  2264. hedshoot()
  2265. elseif k == 'x' and attack == false and targetted ~= nil then
  2266. moarblood()
  2267. elseif k == 'g' and delays == false then
  2268. delays = true
  2269. chatfunc("Why...Why am i doing this.")
  2270. delays = false
  2271. elseif k == 'c' and attack == false then
  2272. painlessrain()delays = false
  2273. elseif k == 'v' and attack == false then
  2274. attacktwo()
  2275. elseif k == 'm' and play == true and delays == false then
  2276. ofmoosic()
  2277. elseif k == 'm' and play == false and delays == false then
  2278. onmoosic()
  2279. elseif k=="e"and attack == false then
  2280. targetted=nil
  2281. end
  2282. end)
  2283. kkk = Instance.new("Sound",Character)
  2284. kkk.Volume = 100
  2285. kkk.PlaybackSpeed = 1
  2286. kkk.Pitch = 1
  2287. kkk.SoundId = "rbxassetid://"
  2288. kkk:Play()
  2289. kkk.Name = "Arrived"
  2290. kkk.Looped = false
  2291. spawn(function()
  2292. while swait()do
  2293. if targetted~=nil then if targetted:FindFirstChild("HumanoidRootPart")==nil or targetted.Parent==nil then targetted=nil end end
  2294. Humanoid.Name=""Humanoid.MaxHealth=1/0 Humanoid.Health=0/0 Humanoid.PlatformStand=false
  2295. if Character:FindFirstChildOfClass("ForceField")then Character:FindFirstChildOfClass("ForceField").Visible=false else Instance.new("ForceField",Character).Name=""end
  2296. end
  2297. end)
  2298. spawn(function()
  2299. local bb=Instance.new("BillboardGui", Head )bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,4.5,0)
  2300. local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text="Lost Guest"t.TextColor3=Color3.new(255,0,0)t.TextStrokeTransparency=.5
  2301. t.BackgroundTransparency=1 t.TextSize=30 t.Font="Garamond"
  2302. while swait()do
  2303. bb.StudsOffset=Vector3.new(math.random(-5,5)/50,4.5+ math.random(-5,5)/50,math.random(-5,130)/50)
  2304. end
  2305. end)
  2306.  
  2307. coroutine.wrap(function()
  2308. while true do
  2309. swait()
  2310. for i, v in pairs(Character.WeaponModel:GetChildren()) do
  2311. if v:IsA("Part") then
  2312. v.Anchored = false
  2313. end
  2314. end
  2315. for i, v in pairs(Character:GetChildren()) do
  2316. if v:IsA("Part") then
  2317. v.Anchored = false
  2318. elseif v:IsA("Accessory") then
  2319. v.Handle.Anchored = false
  2320. end
  2321. end
  2322. end
  2323. end)()
  2324. coroutine.wrap(function()
  2325. while 1 do
  2326. swait()
  2327. if doe <= 360 then
  2328. doe = doe + 2
  2329. else
  2330. doe = 0
  2331. end
  2332. end
  2333. end)()
  2334. while true do
  2335. swait()
  2336. for i, v in pairs(Character:GetChildren()) do
  2337. if v:IsA("Part") then
  2338. v.Material = "SmoothPlastic"
  2339. elseif v:IsA("Accessory") then
  2340. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2341. end
  2342. end
  2343. while true do
  2344. swait()
  2345. Character:FindFirstChildOfClass("Humanoid").MaxHealth = math.huge
  2346. Character:FindFirstChildOfClass("Humanoid").Health = math.huge
  2347. imgl.Rotation = imgl.Rotation + 3
  2348. img2.Rotation = img2.Rotation + 3
  2349. if targetted ~= nil then
  2350. abss.Adornee = targetted:FindFirstChild("HumanoidRootPart") or targetted:FindFirstChild("UpperTorso")
  2351. abss.Enabled = true
  2352. elseif targetted == nil then
  2353. abss.Adornee = nil
  2354. abss.Enabled = false
  2355. end
  2356.  
  2357. while true and imgl.Rotation >= 360 do
  2358. imgl.Rotation = 0
  2359. img2.Rotation = 0
  2360. end
  2361. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2362. velocity = RootPart.Velocity.y
  2363. sine = sine + change
  2364. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2365. if RootPart.Velocity.y > 1 and hit == nil then
  2366. Anim = "Jump"
  2367. if attack == false then
  2368. PlayAnimationFromTable({
  2369. 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),
  2370. 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),
  2371. 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),
  2372. 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),
  2373. 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),
  2374. 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),
  2375. }, .3, false)
  2376. 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)
  2377. end
  2378. elseif RootPart.Velocity.y < -1 and hit == nil then
  2379. Anim = "Fall"
  2380. if attack == false then
  2381. PlayAnimationFromTable({
  2382. CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  2383. CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  2384. CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
  2385. CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
  2386. CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  2387. CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  2388. }, .3, false)
  2389. end
  2390. elseif Torsovelocity < 1 and hit ~= nil then
  2391. Anim = "Idle"
  2392. if attack == false then
  2393. change = 1
  2394. PlayAnimationFromTable({
  2395. 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),
  2396. 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),
  2397. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -.5, -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)),
  2398. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, .5, -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)),
  2399. 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),
  2400. 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),
  2401. }, .3, false)
  2402. 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)
  2403. end
  2404. elseif Torsovelocity > 2 and hit ~= nil then
  2405. Anim = "Walk"
  2406. if attack == false then
  2407. PlayAnimationFromTable({
  2408. 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) / 100), 0) * CFrame.Angles(0, 0, 0),
  2409. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -.7, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2410. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0, -.5, -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),
  2411. 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),
  2412. 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),
  2413. 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),
  2414. }, .3, false)
  2415. 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)
  2416. end
  2417. end
  2418. if 0 < #Effects then
  2419. for e = 1, #Effects do
  2420. if Effects[e] ~= nil then
  2421. local Thing = Effects[e]
  2422. if Thing ~= nil then
  2423. local Part = Thing[1]
  2424. local Mode = Thing[2]
  2425. local Delay = Thing[3]
  2426. local IncX = Thing[4]
  2427. local IncY = Thing[5]
  2428. local IncZ = Thing[6]
  2429. if Thing[2] == "Shoot" then
  2430. local Look = Thing[1]
  2431. local move = 30
  2432. if Thing[8] == 3 then
  2433. move = 10
  2434. end
  2435. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2436. if Thing[10] ~= nil then
  2437. da = pos
  2438. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2439. cfa = CFrame.new(Thing[4], pos)
  2440. tehCF = cfa:lerp(cf2, 0.2)
  2441. Thing[1] = tehCF.lookVector
  2442. end
  2443. local mag = (Thing[4] - pos).magnitude
  2444. 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)
  2445. if Thing[8] == 2 then
  2446. 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)
  2447. end
  2448. Thing[4] = Thing[4] + Look * move
  2449. Thing[3] = Thing[3] - 1
  2450. if 2 < Thing[5] then
  2451. Thing[5] = Thing[5] - 0.3
  2452. Thing[6] = Thing[6] - 0.3
  2453. end
  2454. if hit ~= nil then
  2455. Thing[3] = 0
  2456. if Thing[8] == 1 or Thing[8] == 3 then
  2457. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2458. else
  2459. if Thing[8] == 2 then
  2460. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2461. if (hit.Parent:FindFirstChildOfClass("Humanoid")) ~= nil or (hit.Parent.Parent:FindFirstChildOfClass("Humanoid")) ~= nil then
  2462. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2463. ref.Anchored = true
  2464. ref.CFrame = CFrame.new(pos)
  2465. CFuncs["Sound"].Create("1669280377", ref, 1, 1.2)
  2466. game:GetService("Debris"):AddItem(ref, 0.2)
  2467. 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)
  2468. 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)
  2469. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2470. end
  2471. end
  2472. end
  2473. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2474. ref.Anchored = true
  2475. ref.CFrame = CFrame.new(pos)
  2476. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2477. game:GetService("Debris"):AddItem(ref, 1)
  2478. end
  2479. if Thing[3] <= 0 then
  2480. table.remove(Effects, e)
  2481. end
  2482. end
  2483. do
  2484. do
  2485. if Thing[2] == "FireWave" then
  2486. if Thing[3] <= Thing[4] then
  2487. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2488. Thing[3] = Thing[3] + 1
  2489. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2490. else
  2491. Part.Parent = nil
  2492. table.remove(Effects, e)
  2493. end
  2494. end
  2495. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2496. if Thing[1].Transparency <= 1 then
  2497. if Thing[2] == "Block1" then
  2498. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2499. Mesh = Thing[7]
  2500. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2501. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2502. else
  2503. if Thing[2] == "Block2" then
  2504. Thing[1].CFrame = Thing[1].CFrame
  2505. Mesh = Thing[7]
  2506. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2507. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2508. else
  2509. if Thing[2] == "Fire" then
  2510. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2511. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2512. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2513. else
  2514. if Thing[2] == "Cylinder" then
  2515. Mesh = Thing[7]
  2516. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2517. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2518. else
  2519. if Thing[2] == "Blood" then
  2520. Mesh = Thing[7]
  2521. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2522. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2523. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2524. else
  2525. if Thing[2] == "Elec" then
  2526. Mesh = Thing[10]
  2527. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2528. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2529. else
  2530. if Thing[2] == "Disappear" then
  2531. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2532. else
  2533. if Thing[2] == "Shatter" then
  2534. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2535. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2536. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2537. Thing[6] = Thing[6] + Thing[5]
  2538. end
  2539. end
  2540. end
  2541. end
  2542. end
  2543. end
  2544. end
  2545. end
  2546. else
  2547. Part.Parent = nil
  2548. table.remove(Effects, e)
  2549. end
  2550. end
  2551. end
  2552. end
  2553. end
  2554. end
  2555. end
  2556. end
  2557. end
  2558. end
  2559. end)
  2560. wait(.04)
  2561.  
  2562. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  2563.  
  2564. sunRays.Intensity = .25
  2565. sunRays.Spread = 1
  2566.  
  2567. local bloom = Instance.new("BloomEffect",game.Lighting)
  2568. bloom.Intensity = .86
  2569. bloom.Size = 74.67
  2570. bloom.Threshold = .94
  2571.  
  2572. --Converted with ttyyuu12345's model to script plugin v4
  2573. function sandbox(var,func)
  2574. local env = getfenv(func)
  2575. local newenv = setmetatable({},{
  2576. __index = function(self,k)
  2577. if k=="script" then
  2578. return var
  2579. else
  2580. return env[k]
  2581. end
  2582. end,
  2583. })
  2584. setfenv(func,newenv)
  2585. return func
  2586. end
  2587. cors = {}
  2588. mas = Instance.new("Model",game:GetService("Lighting"))
  2589. Tool0 = Instance.new("Tool")
  2590. LocalScript1 = Instance.new("LocalScript")
  2591. Script2 = Instance.new("Script")
  2592. Script3 = Instance.new("Script")
  2593. Animation4 = Instance.new("Animation")
  2594. Animation5 = Instance.new("Animation")
  2595. LocalScript6 = Instance.new("LocalScript")
  2596. UnionOperation7 = Instance.new("UnionOperation")
  2597. Script8 = Instance.new("Script")
  2598. Script9 = Instance.new("Script")
  2599. Script10 = Instance.new("Script")
  2600. SpecialMesh11 = Instance.new("SpecialMesh")
  2601. SpecialMesh12 = Instance.new("SpecialMesh")
  2602. Script13 = Instance.new("Script")
  2603. Script14 = Instance.new("Script")
  2604. Sound15 = Instance.new("Sound")
  2605. Sound16 = Instance.new("Sound")
  2606. Sound17 = Instance.new("Sound")
  2607. Sound18 = Instance.new("Sound")
  2608. Sound19 = Instance.new("Sound")
  2609. Sound20 = Instance.new("Sound")
  2610. Sound21 = Instance.new("Sound")
  2611. Sound22 = Instance.new("Sound")
  2612. Sound23 = Instance.new("Sound")
  2613. Sound24 = Instance.new("Sound")
  2614. Sound25 = Instance.new("Sound")
  2615. Sound26 = Instance.new("Sound")
  2616. Sound27 = Instance.new("Sound")
  2617. Sound28 = Instance.new("Sound")
  2618. Sound29 = Instance.new("Sound")
  2619. Sound30 = Instance.new("Sound")
  2620. Sound31 = Instance.new("Sound")
  2621. Sound32 = Instance.new("Sound")
  2622. SpecialMesh33 = Instance.new("SpecialMesh")
  2623. SpecialMesh34 = Instance.new("SpecialMesh")
  2624. SpecialMesh35 = Instance.new("SpecialMesh")
  2625. SpecialMesh36 = Instance.new("SpecialMesh")
  2626. ParticleEmitter37 = Instance.new("ParticleEmitter")
  2627. Script38 = Instance.new("Script")
  2628. Script39 = Instance.new("Script")
  2629. Vector3Value40 = Instance.new("Vector3Value")
  2630. Sound41 = Instance.new("Sound")
  2631. BillboardGui42 = Instance.new("BillboardGui")
  2632. ImageLabel43 = Instance.new("ImageLabel")
  2633. Script44 = Instance.new("Script")
  2634. BodyForce45 = Instance.new("BodyForce")
  2635. LocalScript46 = Instance.new("LocalScript")
  2636. Script47 = Instance.new("Script")
  2637. Script48 = Instance.new("Script")
  2638. Vector3Value49 = Instance.new("Vector3Value")
  2639. Script50 = Instance.new("Script")
  2640. LocalScript51 = Instance.new("LocalScript")
  2641. BlurEffect52 = Instance.new("BlurEffect")
  2642. Sound53 = Instance.new("Sound")
  2643. DistortionSoundEffect54 = Instance.new("DistortionSoundEffect")
  2644. UnionOperation55 = Instance.new("UnionOperation")
  2645. Sound56 = Instance.new("Sound")
  2646. Sound57 = Instance.new("Sound")
  2647. ParticleEmitter58 = Instance.new("ParticleEmitter")
  2648. ParticleEmitter59 = Instance.new("ParticleEmitter")
  2649. ParticleEmitter60 = Instance.new("ParticleEmitter")
  2650. ParticleEmitter61 = Instance.new("ParticleEmitter")
  2651. Sound62 = Instance.new("Sound")
  2652. ParticleEmitter63 = Instance.new("ParticleEmitter")
  2653. ParticleEmitter64 = Instance.new("ParticleEmitter")
  2654. ParticleEmitter65 = Instance.new("ParticleEmitter")
  2655. ParticleEmitter66 = Instance.new("ParticleEmitter")
  2656. ParticleEmitter67 = Instance.new("ParticleEmitter")
  2657. ParticleEmitter68 = Instance.new("ParticleEmitter")
  2658. Tool0.Name = "ShrekNade"
  2659. Tool0.Parent = mas
  2660. Tool0.ToolTip = "The most holiest grenade"
  2661. LocalScript1.Name = "Local Gui"
  2662. LocalScript1.Parent = Tool0
  2663. table.insert(cors,sandbox(LocalScript1,function()
  2664. local Tool = script.Parent;
  2665.  
  2666. enabled = true
  2667. function onButton1Down(mouse)
  2668. if not enabled then
  2669. return
  2670. end
  2671.  
  2672. enabled = false
  2673. mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
  2674.  
  2675. wait(3)
  2676. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2677. enabled = true
  2678.  
  2679. end
  2680.  
  2681. function onEquippedLocal(mouse)
  2682.  
  2683. if mouse == nil then
  2684. print("Mouse not found")
  2685. return
  2686. end
  2687.  
  2688. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  2689. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  2690. end
  2691.  
  2692.  
  2693.  
  2694. Tool.Equipped:connect(onEquippedLocal)
  2695.  
  2696. end))
  2697. Script2.Name = "Welding"
  2698. Script2.Parent = Tool0
  2699. table.insert(cors,sandbox(Script2,function()
  2700. function Weld(x,y)
  2701. local W = Instance.new("Weld")
  2702. W.Part0 = x
  2703. W.Part1 = y
  2704. local CJ = CFrame.new(x.Position)
  2705. local C0 = x.CFrame:inverse()*CJ
  2706. local C1 = y.CFrame:inverse()*CJ
  2707. W.C0 = C0
  2708. W.C1 = C1
  2709. W.Parent = x
  2710. end
  2711.  
  2712. function Get(A)
  2713. if A.className == "Part" then
  2714. Weld(script.Parent.Handle, A)
  2715. A.Anchored = false
  2716. else
  2717. local C = A:GetChildren()
  2718. for i=1, #C do
  2719. Get(C[i])
  2720. end
  2721. end
  2722. end
  2723.  
  2724. function Finale()
  2725. Get(script.Parent)
  2726. end
  2727.  
  2728. script.Parent.Equipped:connect(Finale)
  2729. script.Parent.Unequipped:connect(Finale)
  2730. Finale()
  2731. end))
  2732. Script2.Disabled = true
  2733. Script3.Name = "Weld"
  2734. Script3.Parent = Tool0
  2735. table.insert(cors,sandbox(Script3,function()
  2736. local prev
  2737. local parts = script.Parent:GetChildren()
  2738. for i = 1,#parts do
  2739. --remove any of the following parts that say "(parts[i].className == [className])" if you want to exclude that particular className type from the Weld
  2740. if ((parts[i].className == "Part") or (parts[i].Name == "Handle") or (parts[i].className == "TrussPart") or (parts[i].className == "VehicleSeat") or (parts[i].className == "SkateboardPlatform")) then
  2741. if (prev ~= nil) then
  2742. local weld = Instance.new("Weld")
  2743. weld.Part0 = prev
  2744. weld.Part1 = parts[i]
  2745. weld.C0 = prev.CFrame:inverse()
  2746. weld.C1 = parts[i].CFrame:inverse()
  2747. weld.Parent = prev
  2748. parts[i].Anchored = false
  2749. end
  2750. prev = parts[i]
  2751. end
  2752. end
  2753. wait(3)
  2754.  
  2755. end))
  2756. Script3.Disabled = true
  2757. Animation4.Name = "PullPin"
  2758. Animation4.Parent = Tool0
  2759. Animation4.AnimationId = "http://www.roblox.com/asset/?id=88743592"
  2760. Animation5.Name = "Throwing"
  2761. Animation5.Parent = Tool0
  2762. Animation5.AnimationId = "http://www.roblox.com/asset/?id=88743566"
  2763. LocalScript6.Name = "Launcher"
  2764. LocalScript6.Parent = Tool0
  2765. table.insert(cors,sandbox(LocalScript6,function()
  2766. print 'Hello world!'
  2767. Tool = script.Parent
  2768. thrown = true
  2769. VELOCITY = 150
  2770. local Pull_Pin
  2771. local Pull_Pin
  2772. function Nade()
  2773. local model = Instance.new("Model")
  2774. model.Name = "Nade"
  2775. babacaca=Tool.Weld:clone()
  2776. model.Parent = game.Workspace
  2777. nade = Tool.Handle:clone()
  2778. -- nade1 = Tool.Handle1:clone()
  2779. -- nade2 = Tool.Handle2:clone()
  2780. -- nade3 = Tool.Handle3:clone()
  2781. -- nade4 = Tool.Handle4:clone()
  2782. nade.Parent = model
  2783. -- nade1.Parent = model
  2784. -- nade2.Parent = model
  2785. -- nade3.Parent = model
  2786. -- nade4.Parent= model
  2787. nade.CanCollide = true
  2788. --nade1.CanCollide = true
  2789. --nade2.CanCollide = true
  2790. --nade3.CanCollide = true
  2791. --nade4.CanCollide= true
  2792. -- nade1.Transparency=1
  2793. --nade2.Transparency=1
  2794. -- nade4.Transparency=1
  2795. babacaca.Parent=model
  2796. babacaca.Disabled=false
  2797. local script = Tool.NadeScript:clone()
  2798. script.Disabled = false
  2799. script.Parent = nade
  2800. return model
  2801. end
  2802.  
  2803. function lob(mousepos)
  2804.  
  2805.  
  2806. local vCharacter = Tool.Parent
  2807. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  2808. local head = Tool:findFirstChild("Handle")
  2809. if head == nil then return end
  2810. local dir = mousepos - head.Position
  2811. dir = computeDirection(dir)
  2812. local launch = head.Position + 1 * dir
  2813. local delta = mousepos - launch
  2814. local dy = delta.y
  2815. local new_delta = Vector3.new(delta.x, 0, delta.z)
  2816. delta = new_delta
  2817. local dx = delta.magnitude
  2818. local unit_delta = delta.unit
  2819. local g = (-9.81 * 5)
  2820. local theta = computeLaunchAngle(dx, dy, g)
  2821. local vy = math.sin(theta)
  2822. local xz = math.cos(theta)
  2823. local vx = unit_delta.x * xz
  2824. local vz = unit_delta.z * xz
  2825. local missile = Nade()
  2826. missile.Handle.Position = launch
  2827. missile.Handle.Velocity = Vector3.new(vx, vy, vz) * VELOCITY
  2828. local creator_tag = Instance.new("ObjectValue")
  2829. creator_tag.Value = vPlayer
  2830. creator_tag.Name = "creator"
  2831. creator_tag.Parent = missile.Handle
  2832. script.Parent.Handle.Throw:play()
  2833.  
  2834.  
  2835. script.Parent.Handle.Transparency=1
  2836. script.Parent.Part.Transparency=1
  2837. --script.Parent.Handle1.Transparency=1
  2838. --script.Parent.Handle2.Transparency=1
  2839. --script.Parent.Handle3.Transparency=1
  2840. --script.Parent.Handle4.Transparency=1
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847. end
  2848.  
  2849.  
  2850. function computeLaunchAngle(dx, dy, grav)
  2851.  
  2852.  
  2853. -- http://en.wikipedia.org/wiki/Trajectory_of_a_projectile
  2854. local g = math.abs(grav)
  2855. local inRoot = (VELOCITY*VELOCITY*VELOCITY*VELOCITY) - (g * ((g*dx*dx) + (2*dy*VELOCITY*VELOCITY)))
  2856. if inRoot <= 0 then
  2857. return .25 * math.pi
  2858. end
  2859. local root = math.sqrt(inRoot)
  2860. local inATan1 = ((VELOCITY*VELOCITY) + root) / (g*dx)
  2861. local inATan2 = ((VELOCITY*VELOCITY) - root) / (g*dx)
  2862. local answer1 = math.atan(inATan1)
  2863. local answer2 = math.atan(inATan2)
  2864. if answer1 < answer2 then return answer1 end
  2865. return answer2
  2866. end
  2867.  
  2868. function computeDirection(vec)
  2869. local lenSquared = vec.magnitude * vec.magnitude
  2870. local invSqrt = 1 / math.sqrt(lenSquared)
  2871. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  2872. end
  2873.  
  2874.  
  2875.  
  2876. function onThrow()
  2877. if thrown == true then return end
  2878. thrown = true
  2879. local character = Tool.Parent
  2880. local humanoid = character.Humanoid
  2881. if humanoid == nil then return end
  2882. local targetPos = humanoid.TargetPoint
  2883. Pull_Pin:Play()
  2884. wait(.15)
  2885. --Pull_pin() -- Pin will be pulled at the same time the anim shows the "pulling the pin" part.
  2886. wait(.35)
  2887. Throwing:Play()
  2888. --Make_Nade()
  2889.  
  2890.  
  2891.  
  2892. lob(targetPos)
  2893. --wait(0)
  2894. wait(.1)
  2895. Throwing:Stop()
  2896. Pull_Pin:Stop()
  2897.  
  2898.  
  2899.  
  2900.  
  2901. wait(1)
  2902. script.Parent.Handle.Transparency=0
  2903.  
  2904. script.Parent.Part.Transparency=0
  2905. thrown = false
  2906.  
  2907.  
  2908. --script.Parent:Remove()
  2909. end
  2910.  
  2911. function onEquipped()
  2912.  
  2913. local Pull = script.Parent.PullPin -- PULL PIN & THROW + ANIMATIONS!
  2914. local Throw = script.Parent.Throwing
  2915.  
  2916. Pull_Pin = script.Parent.Parent.Humanoid:LoadAnimation(Pull)
  2917. Throwing = script.Parent.Parent.Humanoid:LoadAnimation(Throw)
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923.  
  2924. end
  2925.  
  2926. function onUnequipped()
  2927.  
  2928. end
  2929.  
  2930. thrown = false
  2931.  
  2932. Tool.Equipped:connect(onEquipped)
  2933. Tool.Unequipped:connect(onUnequipped)
  2934. Tool.Activated:connect(onThrow)
  2935.  
  2936. end))
  2937. UnionOperation7.Name = "Part"
  2938. UnionOperation7.Parent = Tool0
  2939. UnionOperation7.CFrame = CFrame.new(12.4100122, 1.19206595, 5.03996515, -0.0450061709, 0.998986602, 8.43462402e-08, 1.11329854e-07, -7.94161821e-08, 0.999999881, 0.998986423, 0.0450062901, -1.07642805e-07)
  2940. UnionOperation7.Orientation = Vector3.new(-89.9700012, 141.919998, 125.5)
  2941. UnionOperation7.Position = Vector3.new(12.4100122, 1.19206595, 5.03996515)
  2942. UnionOperation7.Rotation = Vector3.new(-90, 0, -92.5799942)
  2943. UnionOperation7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  2944. UnionOperation7.Size = Vector3.new(0.312499881, 0.049999997, 0.312499851)
  2945. UnionOperation7.Anchored = true
  2946. UnionOperation7.BrickColor = BrickColor.new("Dark stone grey")
  2947. UnionOperation7.CanCollide = false
  2948. UnionOperation7.Material = Enum.Material.SmoothPlastic
  2949. UnionOperation7.brickColor = BrickColor.new("Dark stone grey")
  2950. Script8.Name = "WELD"
  2951. Script8.Parent = Tool0
  2952. table.insert(cors,sandbox(Script8,function()
  2953. -- Created by Quenty (@Quenty, follow me on twitter).
  2954. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  2955. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  2956.  
  2957. --[[ INSTRUCTIONS
  2958. - Place in the model
  2959. - Make sure model is anchored
  2960. - That's it. It will weld the model and all children.
  2961.  
  2962. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2963. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2964. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2965. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2966. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2967. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2968. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2969. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  2970.  
  2971. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  2972. ]]
  2973.  
  2974. --[[ DOCUMENTATION
  2975. - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again.
  2976. - Will work in PBS servers
  2977. - Will work as long as it starts out with the part anchored
  2978. - Stores the relative CFrame as a CFrame value
  2979. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  2980. - Utilizes a recursive algorith to find all parts in the model
  2981. - Will reweld on script reparent if the script is initially parented to a tool.
  2982. - Welds as fast as possible
  2983. ]]
  2984.  
  2985. -- qPerfectionWeld.lua
  2986. -- Created 10/6/2014
  2987. -- Author: Quenty
  2988. -- Version 1.0.3
  2989.  
  2990. -- Updated 10/14/2014 - Updated to 1.0.1
  2991. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  2992.  
  2993. -- Updated 10/14/2014 - Updated to 1.0.2
  2994. --- Fixed bug fix.
  2995.  
  2996. -- Updated 10/14/2014 - Updated to 1.0.3
  2997. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  2998.  
  2999. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  3000.  
  3001.  
  3002. local function CallOnChildren(Instance, FunctionToCall)
  3003. -- Calls a function on each of the children of a certain object, using recursion.
  3004.  
  3005. FunctionToCall(Instance)
  3006.  
  3007. for _, Child in next, Instance:GetChildren() do
  3008. CallOnChildren(Child, FunctionToCall)
  3009. end
  3010. end
  3011.  
  3012. local function GetNearestParent(Instance, ClassName)
  3013. -- Returns the nearest parent of a certain class, or returns nil
  3014.  
  3015. local Ancestor = Instance
  3016. repeat
  3017. Ancestor = Ancestor.Parent
  3018. if Ancestor == nil then
  3019. return nil
  3020. end
  3021. until Ancestor:IsA(ClassName)
  3022.  
  3023. return Ancestor
  3024. end
  3025.  
  3026. local function GetBricks(StartInstance)
  3027. local List = {}
  3028.  
  3029. -- if StartInstance:IsA("BasePart") then
  3030. -- List[#List+1] = StartInstance
  3031. -- end
  3032.  
  3033. CallOnChildren(StartInstance, function(Item)
  3034. if Item:IsA("BasePart") then
  3035. List[#List+1] = Item;
  3036. end
  3037. end)
  3038.  
  3039. return List
  3040. end
  3041.  
  3042. local function Modify(Instance, Values)
  3043. -- Modifies an Instance by using a table.
  3044.  
  3045. assert(type(Values) == "table", "Values is not a table");
  3046.  
  3047. for Index, Value in next, Values do
  3048. if type(Index) == "number" then
  3049. Value.Parent = Instance
  3050. else
  3051. Instance[Index] = Value
  3052. end
  3053. end
  3054. return Instance
  3055. end
  3056.  
  3057. local function Make(ClassType, Properties)
  3058. -- Using a syntax hack to create a nice way to Make new items.
  3059.  
  3060. return Modify(Instance.new(ClassType), Properties)
  3061. end
  3062.  
  3063. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  3064. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  3065.  
  3066. local function HasWheelJoint(Part)
  3067. for _, SurfaceName in pairs(Surfaces) do
  3068. for _, HingSurfaceName in pairs(HingSurfaces) do
  3069. if Part[SurfaceName].Name == HingSurfaceName then
  3070. return true
  3071. end
  3072. end
  3073. end
  3074.  
  3075. return false
  3076. end
  3077.  
  3078. local function ShouldBreakJoints(Part)
  3079. --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  3080. -- definitely some edge cases.
  3081.  
  3082. if NEVER_BREAK_JOINTS then
  3083. return false
  3084. end
  3085.  
  3086. if HasWheelJoint(Part) then
  3087. return false
  3088. end
  3089.  
  3090. local Connected = Part:GetConnectedParts()
  3091.  
  3092. if #Connected == 1 then
  3093. return false
  3094. end
  3095.  
  3096. for _, Item in pairs(Connected) do
  3097. if HasWheelJoint(Item) then
  3098. return false
  3099. elseif not Item:IsDescendantOf(script.Parent) then
  3100. return false
  3101. end
  3102. end
  3103.  
  3104. return true
  3105. end
  3106.  
  3107. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  3108. --- Weld's 2 parts together
  3109. -- @param Part0 The first part
  3110. -- @param Part1 The second part (Dependent part most of the time).
  3111. -- @param [JointType] The type of joint. Defaults to weld.
  3112. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  3113. -- @return The weld created.
  3114.  
  3115. JointType = JointType or "Weld"
  3116. local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  3117.  
  3118. local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  3119. Modify(NewWeld, {
  3120. Name = "qCFrameWeldThingy";
  3121. Part0 = Part0;
  3122. Part1 = Part1;
  3123. C0 = CFrame.new();--Part0.CFrame:inverse();
  3124. C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  3125. Parent = Part1;
  3126. })
  3127.  
  3128. if not RelativeValue then
  3129. RelativeValue = Make("CFrameValue", {
  3130. Parent = Part1;
  3131. Name = "qRelativeCFrameWeldValue";
  3132. Archivable = true;
  3133. Value = NewWeld.C1;
  3134. })
  3135. end
  3136.  
  3137. return NewWeld
  3138. end
  3139.  
  3140. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  3141. -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  3142. -- @param MainPart The part to weld the model to (can be in the model).
  3143. -- @param [JointType] The type of joint. Defaults to weld.
  3144. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  3145.  
  3146. for _, Part in pairs(Parts) do
  3147. if ShouldBreakJoints(Part) then
  3148. Part:BreakJoints()
  3149. end
  3150. end
  3151.  
  3152. for _, Part in pairs(Parts) do
  3153. if Part ~= MainPart then
  3154. WeldTogether(MainPart, Part, JointType, MainPart)
  3155. end
  3156. end
  3157.  
  3158. if not DoNotUnanchor then
  3159. for _, Part in pairs(Parts) do
  3160. Part.Anchored = false
  3161. end
  3162. MainPart.Anchored = false
  3163. end
  3164. end
  3165.  
  3166. local function PerfectionWeld()
  3167. local Tool = GetNearestParent(script, "Tool")
  3168.  
  3169. local Parts = GetBricks(script.Parent)
  3170. local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  3171.  
  3172. if PrimaryPart then
  3173. WeldParts(Parts, PrimaryPart, "Weld", false)
  3174. else
  3175. warn("qWeld - Unable to weld part")
  3176. end
  3177.  
  3178. return Tool
  3179. end
  3180.  
  3181. local Tool = PerfectionWeld()
  3182.  
  3183.  
  3184. if Tool and script.ClassName == "Script" then
  3185. --- Don't bother with local scripts
  3186.  
  3187. script.Parent.AncestryChanged:connect(function()
  3188. PerfectionWeld()
  3189. end)
  3190. end
  3191.  
  3192. -- Created by Quenty (@Quenty, follow me on twitter).
  3193.  
  3194. end))
  3195. Script9.Name = "NadeScript"
  3196. Script9.Parent = Tool0
  3197. table.insert(cors,sandbox(Script9,function()
  3198. script.Parent.ParticleEmitter.Enabled=true
  3199.  
  3200. wait(3)
  3201. local dud = math.random(1,10)
  3202. if dud == 10 then
  3203. script.Parent.ParticleEmitter.Enabled=false
  3204. script.Parent.Activate2.Enabled=false
  3205. script.Parent.Activate.Enabled=false
  3206. script.Parent.dud.Enabled=true
  3207. script.Parent.Glow2.Enabled=false
  3208. script.Parent.dudsound:play()
  3209. wait(10)
  3210. script.Parent.dud.Enabled=false
  3211. wait(5)
  3212. script.Parent:Remove()
  3213. end
  3214. script.Parent.Activate.Enabled=true
  3215. script.LAAAAA:Play()
  3216. script.Parent.zap.Enabled=true
  3217. script.Parent.Glow2.Enabled=true
  3218.  
  3219. wait(2)
  3220. script.Parent.ParticleEmitter.Enabled=false
  3221. script.Parent.Activate2.Enabled=true
  3222. script.Parent.Activate.Enabled=false
  3223. script.Parent.Anchored=true
  3224. script.Parent.Transparency=1
  3225. --script.LAAAAA:Stop()
  3226. script.Shrek:Play()
  3227. --IM FIRIN MA LASEOR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3228. a=script:GetChildren()
  3229. for i=1,#a do
  3230. if a[i].ClassName=="Sound" and a[i].Name~="LAAAAA" and a[i].Name~="Blam" and a[i].Name ~= "Shrek" then
  3231. a[i]:Play()
  3232. end
  3233. end
  3234. --big radius
  3235. a=script.attract:Clone()
  3236. a.Parent=script.Parent
  3237. a.Disabled=false
  3238. caca=script.magic:clone()
  3239. caca.Parent=script.Parent
  3240. caca.Enabled=true
  3241. bc=Instance.new("Part")
  3242. bc.TopSurface=0
  3243. bc.BottomSurface=0
  3244. bc.Anchored=false
  3245. bc.CanCollide=false
  3246. bc.formFactor="Custom"
  3247. bc.Size=Vector3.new(1,1,1)
  3248.  
  3249. bc.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3250. bc.Name="poop"
  3251. bc.BrickColor=BrickColor.new "White"
  3252. ac=script.MAMAMesh:clone()
  3253. ac.Parent = bc
  3254. bc.Parent=game.Workspace
  3255.  
  3256. --end radius thing
  3257.  
  3258. --baca
  3259.  
  3260.  
  3261. --bacamaca
  3262.  
  3263. ba=Instance.new("Part")
  3264. ba.TopSurface=0
  3265. ba.BottomSurface=0
  3266. ba.Anchored=false
  3267. ba.CanCollide=false
  3268. ba.formFactor="Custom"
  3269. ba.Size=Vector3.new(1,0.1,1)
  3270. ba.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3271. ba.Name="Effect"
  3272. ba.BrickColor=BrickColor.new "White"
  3273. ao=script.RingMesh:clone()
  3274. ao.Parent = ba
  3275. ba.Parent=game.Workspace
  3276.  
  3277. fo=Instance.new("BodyPosition")
  3278. fo.maxForce= Vector3.new (99999999999999999,99999999999999999,99999999999999999)
  3279. fo.position = ba.Position
  3280. fo.Parent = ba
  3281. aa=Instance.new("BodyAngularVelocity")
  3282. aa.P=3000
  3283. aa.maxTorque=aa.maxTorque*30
  3284. aa.angularvelocity=Vector3.new(math.random(-70,70)/3,math.random(-70,70)/3,math.random(-70,70)/5)*100
  3285. aa.Parent=ba
  3286.  
  3287.  
  3288.  
  3289.  
  3290. -- spinning thing
  3291.  
  3292. baa=Instance.new("Part")
  3293. baa.TopSurface=0
  3294. baa.BottomSurface=0
  3295. baa.Anchored=false
  3296. baa.CanCollide=false
  3297. baa.formFactor="Custom"
  3298. baa.Size=Vector3.new(1,0.1,1)
  3299. baa.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3300. baa.Name="Effect"
  3301. baa.BrickColor=BrickColor.new "White"
  3302. aao=script.RingMesh:clone()
  3303. aao.Parent = baa
  3304. baa.Parent=game.Workspace
  3305.  
  3306. foo=Instance.new("BodyPosition")
  3307. foo.maxForce= Vector3.new (99999999999999999,99999999999999999,99999999999999999)
  3308. foo.position = baa.Position
  3309. foo.Parent = baa
  3310. aaa=Instance.new("BodyAngularVelocity")
  3311. aaa.P=3000
  3312. aaa.maxTorque=aaa.maxTorque*30
  3313. aaa.angularvelocity=Vector3.new(math.random(-70,70)/3,math.random(-70,70)/3,math.random(-70,70)/5)*100
  3314. aaa.Parent=baa
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326. --spinning thing 2
  3327.  
  3328. baaa=Instance.new("Part")
  3329. baaa.TopSurface=0
  3330. baaa.BottomSurface=0
  3331. baaa.Anchored=false
  3332. baaa.CanCollide=false
  3333. baaa.formFactor="Custom"
  3334. baaa.Size=Vector3.new(1,0.1,1)
  3335. baaa.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3336. baaa.Name="Effect"
  3337. baaa.BrickColor=BrickColor.new "White"
  3338. aaao=script.RingMesh:clone()
  3339. aaao.Parent = baaa
  3340. baaa.Parent=game.Workspace
  3341.  
  3342. fooo=Instance.new("BodyPosition")
  3343. fooo.maxForce= Vector3.new (99999999999999999,99999999999999999,99999999999999999)
  3344. fooo.position = baaa.Position
  3345. fooo.Parent = baaa
  3346. aaaa=Instance.new("BodyAngularVelocity")
  3347. aaaa.P=3000
  3348. aaaa.maxTorque=aaaa.maxTorque*30
  3349. aaaa.angularvelocity=Vector3.new(math.random(-70,70)/3,math.random(-70,70)/3,math.random(-70,70)/5)*100
  3350. aaaa.Parent=baaa
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358. --spinning thing 3
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.  
  3365.  
  3366.  
  3367. c=Instance.new("Part")
  3368. c.TopSurface=0
  3369. c.BottomSurface=0
  3370. c.Anchored=true
  3371. c.CanCollide=false
  3372. c.formFactor="Symmetric"
  3373. c.Size=Vector3.new(1,1,1)
  3374. c.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3375. c.Name="Effect"
  3376. c.BrickColor=BrickColor.new "Lime green"
  3377. o=script.MAMAMesh:clone()
  3378. o.Parent = c
  3379. c.Parent=game.Workspace
  3380.  
  3381.  
  3382.  
  3383. q=Instance.new("Part")
  3384. q.TopSurface=0
  3385. q.BottomSurface=0
  3386. q.Anchored=true
  3387. q.CanCollide=false
  3388. q.formFactor="Symmetric"
  3389. q.Size=Vector3.new(1,1,1)
  3390. q.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3391. q.Name="Effect2"
  3392. q.BrickColor=BrickColor.new "Lime green"
  3393. b=script.MAMAMesh:clone()
  3394. b.Parent = q
  3395. q.Parent=game.Workspace
  3396.  
  3397.  
  3398.  
  3399.  
  3400. no =Instance.new ("PointLight")
  3401. no.Range=60
  3402. no.Brightness=9999999999999999999
  3403. no.Parent=q
  3404.  
  3405.  
  3406. e=Instance.new("Part")
  3407. e.TopSurface=0
  3408. e.BottomSurface=0
  3409. e.Anchored=true
  3410. e.CanCollide=false
  3411. e.formFactor="Plate"
  3412. e.Size=Vector3.new(20,.4,20)
  3413. e.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3414. e.Name="Effect die!!!"
  3415. e.BrickColor=BrickColor.new "White"
  3416. r=script.RingMesh:clone()
  3417. r.Parent=e
  3418. e.Parent=game.Workspace
  3419.  
  3420. coroutine.resume(coroutine.create(function(mesh) for l=1, 180 do aaao.Parent.Transparency=l/180 aaao.Scale=aaao.Scale+Vector3.new(20/l,20/l,0.1) wait() end aaao.Parent.Parent=nil end),aaao)
  3421. coroutine.resume(coroutine.create(function(mesh) for l=1, 180 do aao.Parent.Transparency=l/180 aao.Scale=aao.Scale+Vector3.new(20/l,20/l,0.1) wait() end aao.Parent.Parent=nil end),aao)
  3422. coroutine.resume(coroutine.create(function(mesh) for l=1, 180 do ao.Parent.Transparency=l/180 ao.Scale=ao.Scale+Vector3.new(20/l,20/l,0.1) wait() end ao.Parent.Parent=nil end),ao)
  3423. coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/90 o.Scale=o.Scale+Vector3.new(20/l,20/l,1000) wait() end end),o)
  3424. coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do b.Parent.Transparency=l/50 b.Scale=b.Scale+Vector3.new(80/l,80/l,10) wait() end b.Parent.Parent=nil end),b)
  3425. coroutine.resume(coroutine.create(function(mesh) for l=1, 60 do r.Parent.Transparency=l/60 r.Scale=r.Scale+Vector3.new(60/l,60/l,.02) wait() end r.Parent.Parent=nil end),r)
  3426. coroutine.resume(coroutine.create(function(mesh) for l=1, 60 do ac.Parent.Transparency=l/20 ac.Scale=ac.Scale+Vector3.new(200/l,200/l,50) wait() end ac.Parent.Parent=nil end),ac)
  3427.  
  3428. wait(1.4)
  3429. coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/50 o.Scale=o.Scale+Vector3.new(-20/l,-20/l,30) wait() end o.Parent.Parent=nil end),o)
  3430. spawn(function()
  3431. script.Parent.IMFIRINMYLAZER.Enabled=true
  3432. for i = 1,80 do
  3433. script.Parent.IMFIRINMYLAZER.Size=NumberSequence.new(81-i)
  3434. wait(0.1)
  3435. end
  3436. end)
  3437. wait(3)
  3438.  
  3439. wait(4)
  3440. script.Parent.bigglow.Enabled=true
  3441. wait(2)
  3442. script.Parent.attract.Disabled=true
  3443. script.Parent.superglow.Enabled=true
  3444. script.Parent.holysmoke:Emit(20)
  3445. for i=1,4 do
  3446. a=script.Blam:Clone()
  3447. a.Parent=script
  3448. a:play()
  3449. game:GetService("Debris"):AddItem(a,15)
  3450. end
  3451. for i = 1,55 do
  3452. local puff = Instance.new("Part")
  3453. script.Parent.Anchored=true
  3454. script.ya:clone().Parent=puff
  3455. puff.CanCollide = false
  3456. puff.Anchored = false
  3457. puff.Name = "smoke"
  3458. puff.Transparency = 1
  3459. puff.BrickColor = BrickColor.new("New Yeller")
  3460. puff.formFactor = "Custom"
  3461. puff.TopSurface = 0
  3462. puff.BottomSurface = 0
  3463. puff.Size = Vector3.new(4,4,4)
  3464. game:GetService("Debris"):AddItem(puff,5)
  3465. --[[ local erasee = script.smoke:clone()
  3466. erasee.Parent = puff
  3467. erasee.Enabled = true]]--
  3468. local erase = script.Fade:clone()
  3469. erase.Parent = puff
  3470. erase.Disabled = false
  3471. puff.Parent = game.Workspace
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479. --puff.Velocity= Vector3.new(math.random(0,800),math.random(-800,800),math.random(-800,800))
  3480. puff.CFrame = script.Parent.CFrame + Vector3.new((math.random(-1,1)),(math.random(-1,1)),(math.random(-1,1)))
  3481.  
  3482. local a = puff.Position
  3483. local b = script.Parent.Position
  3484.  
  3485. local dir = (a - b).unit
  3486.  
  3487. puff.Velocity = dir * 50
  3488. puff.Velocity = puff.Velocity+Vector3.new(0,math.random(20,150),0)
  3489.  
  3490.  
  3491. end
  3492.  
  3493.  
  3494. for i = 1,35 do
  3495. local puff = Instance.new("Part")
  3496. script.Parent.Anchored=true
  3497. script.ya:clone().Parent=puff
  3498. puff.CanCollide = false
  3499. puff.Anchored = false
  3500. puff.Name = "smoke2"
  3501. puff.Transparency = 1
  3502. puff.BrickColor = BrickColor.new("New Yeller")
  3503. puff.formFactor = "Custom"
  3504. puff.TopSurface = 0
  3505. puff.BottomSurface = 0
  3506. puff.Size = Vector3.new(4,4,4)
  3507. game:GetService("Debris"):AddItem(puff,5)
  3508. --[[ local erasee = script.smoke:clone()
  3509. erasee.Parent = puff
  3510. erasee.Enabled = true]]--
  3511. local erase = script.Fade:clone()
  3512. erase.Parent = puff
  3513. erase.Disabled = false
  3514. puff.Parent = game.Workspace
  3515. --puff.Velocity= Vector3.new(math.random(-800,800),math.random(-800,800),math.random(-800,800))
  3516. puff.CFrame = script.Parent.CFrame + Vector3.new((math.random(-1,1)),(math.random(-1,1)),(math.random(-1,1)))
  3517.  
  3518.  
  3519.  
  3520. local a = puff.Position
  3521. local b = script.Parent.Position
  3522.  
  3523. local dir = (a - b).unit
  3524.  
  3525. puff.Velocity = dir*0
  3526. puff.Velocity = puff.Velocity+Vector3.new(math.random(-250,250),0,math.random(-250,250))
  3527.  
  3528.  
  3529. end
  3530.  
  3531.  
  3532. --[[for i = 1,25 do
  3533.  
  3534. local puffa = Instance.new("Part")
  3535. script.Parent.Anchored=true
  3536. --script.ya:clone().Parent=puff
  3537. puffa.CanCollide = false
  3538. puffa.Anchored = false
  3539. puffa.Name = "debris"
  3540. puffa.Transparency = 0
  3541. puffa.BrickColor = BrickColor.new("Brown")
  3542. puffa.formFactor = "Custom"
  3543. puffa.TopSurface = 0
  3544. puffa.BottomSurface = 0
  3545. puffa.Size = Vector3.new(math.random(0.6,3),math.random(0.6,3),math.random(0.6,3))
  3546. game:GetService("Debris"):AddItem(puffa,5)
  3547. puffa.Parent=game.Workspace
  3548. puffa.CFrame = script.Parent.CFrame + Vector3.new((math.random(-1,1)),(math.random(-1,1)),(math.random(-1,1)))
  3549.  
  3550.  
  3551. puffa.Velocity = puffa.Velocity+Vector3.new(math.random(-50,50),math.random(100,200),math.random(-50,50))
  3552. puffa.RotVelocity = puffa.RotVelocity+Vector3.new(math.random(-50,50),math.random(100,200),math.random(-50,50))
  3553.  
  3554.  
  3555. end]]--
  3556. function onPlayerBlownUp2(part)
  3557. local force = part:findFirstChild("BlackHole Influence")
  3558. if force ~= nil then
  3559. force:remove()
  3560. end
  3561. local force = part:findFirstChild("gotopos")
  3562. if force ~= nil then
  3563. force:remove()
  3564. end
  3565. if part.Anchored==false then
  3566. local f = Instance.new("Fire")
  3567. f.Parent = part
  3568. f.Size = part:getMass()
  3569. f.Heat = part:getMass()
  3570. a=script.fireableno:Clone()
  3571. a.Parent=f
  3572. a.Disabled=false
  3573. game:GetService("Debris"):AddItem(f,15)
  3574.  
  3575. end
  3576. end
  3577. function onPlayerBlownUp3(part)
  3578. local force = part:findFirstChild("BlackHole Influence")
  3579. if force ~= nil then
  3580. force:remove()
  3581. end
  3582. local force = part:findFirstChild("gotopos")
  3583. if force ~= nil then
  3584. force:remove()
  3585. end
  3586.  
  3587. end
  3588. -- force removal
  3589. local exp = Instance.new("Explosion")
  3590. exp.BlastRadius = 180
  3591. exp.BlastPressure = 000000
  3592. exp.Position = script.Parent.Position
  3593. exp.Parent = game.Workspace
  3594. exp.Hit:connect(function(part) onPlayerBlownUp3(part) end)
  3595.  
  3596. --
  3597. script.Parent.Glow2.Enabled=false
  3598. wait()
  3599. script.DBExplode:Stop()
  3600. script.Shrek:Stop()
  3601. script.LAAAAA:Stop()
  3602. script.Parent.Anchored=true
  3603. script.Parent.Transparency=1
  3604. local exp = Instance.new("Explosion")
  3605. exp.BlastRadius = 180 --super wussy units
  3606. exp.BlastPressure = 3500000 -- final bam
  3607. exp.Position = script.Parent.Position
  3608. exp.Parent = game.Workspace
  3609. script.Parent.Anchored=true
  3610. script.Parent.Transparency=1
  3611. script.Parent.magic.Enabled=false
  3612. exp.Hit:connect(function(part) onPlayerBlownUp2(part) end)
  3613. script.Parent.Activate2.Enabled=false
  3614.  
  3615. c=Instance.new("Part")
  3616. c.TopSurface=0
  3617. c.BottomSurface=0
  3618. c.Anchored=true
  3619. c.CanCollide=false
  3620. c.formFactor="Symmetric"
  3621. c.Size=Vector3.new(1,1,1)
  3622. c.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3623. c.Name="Effect"
  3624. c.BrickColor=BrickColor.new "Lime green"
  3625. o=script.MAMAMesh:clone()
  3626. o.Parent = c
  3627. c.Parent=game.Workspace
  3628.  
  3629.  
  3630. e=Instance.new("Part")
  3631. e.TopSurface=0
  3632. e.BottomSurface=0
  3633. e.Anchored=true
  3634. e.CanCollide=false
  3635. e.formFactor="Plate"
  3636. e.Size=Vector3.new(20,.4,20)
  3637. e.CFrame=CFrame.new(script.Parent.CFrame.p)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
  3638. e.Name="Effect die!!!"
  3639. e.BrickColor=BrickColor.new "White"
  3640. r=script.RingMesh:clone()
  3641. r.Parent=e
  3642. e.Parent=game.Workspace
  3643.  
  3644.  
  3645. function onPlayerBlownUp(part)
  3646. local force = part:findFirstChild("gotopos")
  3647. if force ~= nil then
  3648. force:remove()
  3649. end
  3650. if part.Anchored==false then
  3651. local force = part:findFirstChild("BlackHole Influence")
  3652. if force ~= nil then
  3653. force:remove()
  3654. end
  3655. local b = part.Parent:findFirstChild("Humanoid")
  3656.  
  3657. if b ~= nil then
  3658. local a = game.Players:GetPlayerFromCharacter(b.Parent)
  3659. if a~= nil then
  3660. local lol = a.PlayerGui:findFirstChild("shake")
  3661. if lol == nil then
  3662. local ad = script.shake:Clone()
  3663. ad.Parent=a.PlayerGui
  3664. ad.Disabled=false
  3665.  
  3666. local ad = script.Blur:Clone()
  3667. ad.Disabled=false
  3668. ad.Parent=a.PlayerGui
  3669.  
  3670.  
  3671. end
  3672. end
  3673. end
  3674. end
  3675. end
  3676. coroutine.resume(coroutine.create(function(mesh) for l=1, 60 do r.Parent.Transparency=l/60 r.Scale=r.Scale+Vector3.new(60/l,60/l,.02) wait() end r.Parent.Parent=nil end),r)
  3677.  
  3678. coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/90 o.Scale=o.Scale+Vector3.new(20/l,20/l,1000) wait() end end),o)
  3679.  
  3680. script.Parent.zap.Enabled=false
  3681. local a = Instance.new("Explosion")
  3682. a.Position=script.Parent.Position
  3683. a.Parent=game.Workspace
  3684. a.BlastPressure=0
  3685. a.BlastRadius=1000
  3686.  
  3687. script.light.Disabled=false
  3688. a.Hit:connect(function(part) onPlayerBlownUp(part) end)
  3689. script.Parent.Activate2.Enabled=false
  3690. local i = 0
  3691. local x = script.Parent.Position.x
  3692. local y = script.Parent.Position.y
  3693. local z = script.Parent.Position.z
  3694. for i = 1, 30,1 do
  3695. local ex = Instance.new("Explosion")
  3696. ex.Parent = script.Parent
  3697. ex.Name = "Brick"
  3698. ex.BlastPressure = 250000
  3699. ex.BlastRadius = 900
  3700. ex.DestroyJointRadiusPercent = 0.2
  3701. ex.Position=Vector3.new(100*math.cos(math.rad(i*12)) + x, y, 100*math.sin(math.rad(i*12)) + z)
  3702. ex.Hit:connect(function(part) onPlayerBlownUp(part) end)
  3703.  
  3704. --wait()
  3705. end
  3706. wait(1.4)
  3707. script.Parent.bigglow.Enabled=false
  3708. script.Parent.superglow.Enabled=false
  3709. coroutine.resume(coroutine.create(function(mesh) for l=1, 50 do o.Parent.Transparency=l/50 o.Scale=o.Scale+Vector3.new(-20/l,-20/l,1000) wait() end o.Parent.Parent=nil end),o)
  3710.  
  3711.  
  3712.  
  3713.  
  3714.  
  3715.  
  3716.  
  3717.  
  3718.  
  3719. wait(20)
  3720. script.Parent.Parent:Remove()
  3721.  
  3722. end))
  3723. Script9.Disabled = true
  3724. Script10.Name = "Fade"
  3725. Script10.Parent = Script9
  3726. table.insert(cors,sandbox(Script10,function()
  3727.  
  3728.  
  3729. wait(3)
  3730. a=script.Parent:FindFirstChild("Fire")
  3731. if a ~= nil then
  3732. a.Enabled=false
  3733. end
  3734. wait(2)
  3735. script.Parent.Parent:remove()
  3736. end))
  3737. Script10.Disabled = true
  3738. SpecialMesh11.Name = "TMesh"
  3739. SpecialMesh11.Parent = Script9
  3740. SpecialMesh11.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3741. SpecialMesh11.Scale = Vector3.new(12, 9, 12)
  3742. SpecialMesh11.MeshType = Enum.MeshType.FileMesh
  3743. SpecialMesh12.Name = "SpikeMesh"
  3744. SpecialMesh12.Parent = Script9
  3745. SpecialMesh12.MeshId = "http://www.roblox.com/asset/?id=1033714"
  3746. SpecialMesh12.Scale = Vector3.new(7, 16, 7)
  3747. SpecialMesh12.MeshType = Enum.MeshType.FileMesh
  3748. Script13.Name = "Fade0"
  3749. Script13.Parent = Script9
  3750. table.insert(cors,sandbox(Script13,function()
  3751. wait()
  3752. script.Parent.BrickColor = BrickColor.new("New Yeller")
  3753. script.Parent.Transparency = script.Parent.Transparency + 0.05
  3754. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.92,0.92,0)
  3755. wait(.01)
  3756. script.Parent.BrickColor = BrickColor.new("New Yeller")
  3757. script.Parent.Transparency = script.Parent.Transparency + 0.0
  3758. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.92,0.92,0.)
  3759. wait(.01)
  3760. script.Parent.BrickColor = BrickColor.new("Deep orange")
  3761. script.Parent.Transparency = script.Parent.Transparency + 0.0
  3762. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.92,0.92,0)
  3763. wait(.1)
  3764. script.Parent.BrickColor = BrickColor.new("Deep orange")
  3765. script.Parent.Transparency = script.Parent.Transparency + 0.0
  3766. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.94,0.942,0.)
  3767. wait(.1)
  3768.  
  3769. wait(.01)
  3770. script.Parent.BrickColor = BrickColor.new("Deep orange")
  3771. script.Parent.Transparency = script.Parent.Transparency + 0.05
  3772. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
  3773. wait(.01)
  3774. script.Parent.BrickColor = BrickColor.new("Deep orange")
  3775. script.Parent.Transparency = script.Parent.Transparency + 0.0
  3776. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
  3777. wait(.01)
  3778.  
  3779.  
  3780.  
  3781. script.Parent.BrickColor = BrickColor.new("White")
  3782. script.Parent.Transparency = script.Parent.Transparency + 0.0
  3783. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
  3784. wait(.1)
  3785. script.Parent.BrickColor = BrickColor.new("White")
  3786. script.Parent.Transparency = script.Parent.Transparency + 0.00
  3787. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
  3788.  
  3789.  
  3790.  
  3791. wait(.1)
  3792. script.Parent.BrickColor = BrickColor.new("White")
  3793. script.Parent.Transparency = script.Parent.Transparency + 0.08
  3794. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.943,0.943,0.)
  3795. wait(.1)
  3796. for i = 1,150 do
  3797. script.Parent.Transparency = script.Parent.Transparency + 0.005
  3798. script.Parent.Mesh0.Scale = script.Parent.Mesh0.Scale + Vector3.new(0.641,0.641,0.1)
  3799. wait()
  3800. end
  3801. wait(1)
  3802. script.Parent:remove()
  3803. end))
  3804. Script13.Disabled = true
  3805. Script14.Name = "light"
  3806. Script14.Parent = Script9
  3807. table.insert(cors,sandbox(Script14,function()
  3808. print 'Hello world!'
  3809. g=game.Lighting.Ambient.g
  3810. b=game.Lighting.Ambient.b
  3811. r=game.Lighting.Ambient.r
  3812. local a = 1000/255
  3813. game.Lighting.Ambient=Color3.new(r+a,g+a,b+a)
  3814.  
  3815. wait(1)
  3816. for i=1,100 do
  3817. local a =10/255
  3818. g=game.Lighting.Ambient.g
  3819. b=game.Lighting.Ambient.b
  3820. r=game.Lighting.Ambient.r
  3821. game.Lighting.Ambient=Color3.new(r-a,g-a,b-a)
  3822.  
  3823. wait(0.05)
  3824. end
  3825. end))
  3826. Script14.Disabled = true
  3827. Sound15.Name = "Abscond"
  3828. Sound15.Parent = Script9
  3829. Sound15.EmitterSize = 0
  3830. Sound15.MinDistance = 0
  3831. Sound15.SoundId = "http://www.roblox.com/asset/?id=2767090"
  3832. Sound15.Volume = 1
  3833. Sound16.Name = "Berserk"
  3834. Sound16.Parent = Script9
  3835. Sound16.EmitterSize = 0
  3836. Sound16.MinDistance = 0
  3837. Sound16.Pitch = 0.10000000149012
  3838. Sound16.PlaybackSpeed = 0.10000000149012
  3839. Sound16.SoundId = "http://www.roblox.com/asset/?id=2101137"
  3840. Sound16.Volume = 1
  3841. Sound17.Name = "Break"
  3842. Sound17.Parent = Script9
  3843. Sound17.EmitterSize = 0
  3844. Sound17.MinDistance = 0
  3845. Sound17.Pitch = 0.75
  3846. Sound17.PlaybackSpeed = 0.75
  3847. Sound17.SoundId = "http://www.roblox.com/asset/?id=3264793"
  3848. Sound17.Volume = 1
  3849. Sound18.Name = "Curse"
  3850. Sound18.Parent = Script9
  3851. Sound18.EmitterSize = 0
  3852. Sound18.MinDistance = 0
  3853. Sound18.Pitch = 0.40000000596046
  3854. Sound18.PlaybackSpeed = 0.40000000596046
  3855. Sound18.SoundId = "http://www.roblox.com/asset/?id=13775494"
  3856. Sound18.Volume = 1
  3857. Sound19.Name = "DBC"
  3858. Sound19.Parent = Script9
  3859. Sound19.EmitterSize = 0
  3860. Sound19.MinDistance = 0
  3861. Sound19.Pitch = 0.55000001192093
  3862. Sound19.PlaybackSpeed = 0.55000001192093
  3863. Sound19.SoundId = "http://www.roblox.com/asset/?id=2101137"
  3864. Sound19.Volume = 1
  3865. Sound20.Name = "DBCha"
  3866. Sound20.Parent = Script9
  3867. Sound20.EmitterSize = 0
  3868. Sound20.MinDistance = 0
  3869. Sound20.Pitch = 0.30000001192093
  3870. Sound20.PlaybackSpeed = 0.30000001192093
  3871. Sound20.SoundId = "http://www.roblox.com/asset/?id=2101137"
  3872. Sound20.Volume = 1
  3873. Sound21.Name = "DBExplode"
  3874. Sound21.Parent = Script9
  3875. Sound21.Pitch = 0.40000000596046
  3876. Sound21.PlaybackSpeed = 0.40000000596046
  3877. Sound21.SoundId = "rbxassetid://449865271"
  3878. Sound21.Volume = 10
  3879. Sound22.Name = "DCHHIT"
  3880. Sound22.Parent = Script9
  3881. Sound22.EmitterSize = 0
  3882. Sound22.MinDistance = 0
  3883. Sound22.Pitch = 0.5
  3884. Sound22.PlaybackSpeed = 0.5
  3885. Sound22.SoundId = "http://www.roblox.com/asset/?id=2801263"
  3886. Sound22.Volume = 1
  3887. Sound23.Name = "DS"
  3888. Sound23.Parent = Script9
  3889. Sound23.EmitterSize = 0
  3890. Sound23.MinDistance = 0
  3891. Sound23.Pitch = 0.69999998807907
  3892. Sound23.PlaybackSpeed = 0.69999998807907
  3893. Sound23.SoundId = "http://www.roblox.com/asset/?id=2691586"
  3894. Sound23.Volume = 1
  3895. Sound24.Name = "DSHit"
  3896. Sound24.Parent = Script9
  3897. Sound24.EmitterSize = 0
  3898. Sound24.MinDistance = 0
  3899. Sound24.Pitch = 1.5
  3900. Sound24.PlaybackSpeed = 1.5
  3901. Sound24.SoundId = "http://www.roblox.com/asset/?id=2101148"
  3902. Sound24.Volume = 1
  3903. Sound25.Name = "Defile"
  3904. Sound25.Parent = Script9
  3905. Sound25.EmitterSize = 0
  3906. Sound25.MinDistance = 0
  3907. Sound25.Pitch = 1.125
  3908. Sound25.PlaybackSpeed = 1.125
  3909. Sound25.SoundId = "http://www.roblox.com/asset/?id=3264923"
  3910. Sound25.Volume = 1
  3911. Sound26.Name = "Elec"
  3912. Sound26.Parent = Script9
  3913. Sound26.EmitterSize = 0
  3914. Sound26.MinDistance = 0
  3915. Sound26.Pitch = 0.69999998807907
  3916. Sound26.PlaybackSpeed = 0.69999998807907
  3917. Sound26.SoundId = "http://www.roblox.com/asset/?id=2800815"
  3918. Sound26.Volume = 1
  3919. Sound27.Name = "GB1"
  3920. Sound27.Parent = Script9
  3921. Sound27.EmitterSize = 0
  3922. Sound27.MinDistance = 0
  3923. Sound27.Pitch = 0.69999998807907
  3924. Sound27.PlaybackSpeed = 0.69999998807907
  3925. Sound27.SoundId = "http://www.roblox.com/asset?id=1369158"
  3926. Sound27.Volume = 1
  3927. Sound28.Name = "GB2"
  3928. Sound28.Parent = Script9
  3929. Sound28.EmitterSize = 0
  3930. Sound28.MinDistance = 0
  3931. Sound28.Pitch = 0.80000001192093
  3932. Sound28.PlaybackSpeed = 0.80000001192093
  3933. Sound28.SoundId = "http://www.roblox.com/asset/?id=2974000"
  3934. Sound28.Volume = 1
  3935. Sound29.Name = "GB3"
  3936. Sound29.Parent = Script9
  3937. Sound29.EmitterSize = 0
  3938. Sound29.MinDistance = 0
  3939. Sound29.Pitch = 0.20000000298023
  3940. Sound29.PlaybackSpeed = 0.20000000298023
  3941. Sound29.SoundId = "http://www.roblox.com/asset/?id=12222124"
  3942. Sound29.Volume = 1
  3943. Sound30.Name = "GB4"
  3944. Sound30.Parent = Script9
  3945. Sound30.EmitterSize = 0
  3946. Sound30.MinDistance = 0
  3947. Sound30.Pitch = 0.64999997615814
  3948. Sound30.PlaybackSpeed = 0.64999997615814
  3949. Sound30.SoundId = "http://www.roblox.com/asset/?id=2974249"
  3950. Sound30.Volume = 1
  3951. Sound31.Name = "Imbue"
  3952. Sound31.Parent = Script9
  3953. Sound31.EmitterSize = 0
  3954. Sound31.MinDistance = 0
  3955. Sound31.SoundId = "http://www.roblox.com/asset/?id=2785493"
  3956. Sound31.Volume = 1
  3957. Sound32.Name = "LAAAAA"
  3958. Sound32.Parent = Script9
  3959. Sound32.EmitterSize = 0
  3960. Sound32.MinDistance = 0
  3961. Sound32.SoundId = "rbxassetid://449865271"
  3962. Sound32.Volume = 2
  3963. SpecialMesh33.Name = "BlastMesh"
  3964. SpecialMesh33.Parent = Script9
  3965. SpecialMesh33.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3966. SpecialMesh33.Scale = Vector3.new(1, 0.100000001, 1)
  3967. SpecialMesh33.MeshType = Enum.MeshType.FileMesh
  3968. SpecialMesh34.Name = "CYMesh"
  3969. SpecialMesh34.Parent = Script9
  3970. SpecialMesh34.Scale = Vector3.new(12, 9, 12)
  3971. SpecialMesh34.MeshType = Enum.MeshType.Cylinder
  3972. SpecialMesh35.Name = "MAMAMesh"
  3973. SpecialMesh35.Parent = Script9
  3974. SpecialMesh35.MeshType = Enum.MeshType.Sphere
  3975. SpecialMesh36.Name = "RingMesh"
  3976. SpecialMesh36.Parent = Script9
  3977. SpecialMesh36.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3978. SpecialMesh36.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  3979. SpecialMesh36.MeshType = Enum.MeshType.FileMesh
  3980. ParticleEmitter37.Name = "magic"
  3981. ParticleEmitter37.Parent = Script9
  3982. ParticleEmitter37.Speed = NumberRange.new(0, 0)
  3983. ParticleEmitter37.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(1, 1, 1))
  3984. ParticleEmitter37.Enabled = false
  3985. ParticleEmitter37.LightEmission = 10000
  3986. ParticleEmitter37.Texture = "http://www.roblox.com/asset/?id=241650934"
  3987. ParticleEmitter37.ZOffset = 3
  3988. ParticleEmitter37.Size = NumberSequence.new(10,2.6875,0)
  3989. ParticleEmitter37.Lifetime = NumberRange.new(0.5, 2)
  3990. ParticleEmitter37.Rate = 10000000000
  3991. ParticleEmitter37.RotSpeed = NumberRange.new(-280, 280)
  3992. ParticleEmitter37.SpreadAngle = Vector2.new(360, 360)
  3993. ParticleEmitter37.VelocitySpread = 360
  3994. Script38.Name = "attractO"
  3995. Script38.Parent = Script9
  3996. table.insert(cors,sandbox(Script38,function()
  3997. function onPlayerBlownUp(part, distance, creator)
  3998.  
  3999. if part.Anchored==false then
  4000.  
  4001. aa= script.gotopos:Clone()
  4002. aa.Disabled=false
  4003. aa.Value.Value=script.Parent.Position
  4004. aa.Parent=part
  4005. game:GetService("Debris"):AddItem(aa,10)
  4006. local b = part.Parent:findFirstChild("Humanoid")
  4007. local c = part.Parent:findFirstChild("Humanoid")
  4008. if b == nil and c == nil then
  4009. local a = math.random(1,7)
  4010. if a == 1 then
  4011. part:BreakJoints()
  4012. end
  4013. end
  4014. end
  4015. end
  4016. local a = Instance.new("Explosion")
  4017. a.Position=script.Parent.Position
  4018. a.Parent=game.Workspace
  4019. a.BlastPressure=0
  4020. a.BlastRadius=200
  4021. a.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance) end)
  4022.  
  4023.  
  4024. end))
  4025. Script39.Name = "gotopos"
  4026. Script39.Parent = Script38
  4027. table.insert(cors,sandbox(Script39,function()
  4028. print 'Hello world!'
  4029. local b = script.Value.Value
  4030. while true do
  4031. wait(0.1)
  4032.  
  4033. local a = script.Parent.Position
  4034.  
  4035. local dir = (a - b).unit
  4036. dir=dir*-1
  4037. script.Parent.Velocity = dir*30
  4038. end
  4039. end))
  4040. Script39.Disabled = true
  4041. Vector3Value40.Parent = Script39
  4042. Sound41.Name = "Blam"
  4043. Sound41.Parent = Script9
  4044. Sound41.EmitterSize = 0
  4045. Sound41.MinDistance = 0
  4046. Sound41.Pitch = 0.20000000298023
  4047. Sound41.PlaybackSpeed = 0.20000000298023
  4048. Sound41.SoundId = "http://www.roblox.com/asset?id=2248511"
  4049. Sound41.Volume = 1
  4050. BillboardGui42.Name = "smoke"
  4051. BillboardGui42.Parent = Script9
  4052. BillboardGui42.Enabled = false
  4053. BillboardGui42.Size = UDim2.new(7.5, 0, 7.5, 0)
  4054. ImageLabel43.Parent = BillboardGui42
  4055. ImageLabel43.Position = UDim2.new(-3.5, 0, -3.5, 0)
  4056. ImageLabel43.Size = UDim2.new(8, 0, 8, 0)
  4057. ImageLabel43.BackgroundColor = BrickColor.new("Institutional white")
  4058. ImageLabel43.BackgroundColor3 = Color3.new(1, 1, 1)
  4059. ImageLabel43.BackgroundTransparency = 1
  4060. ImageLabel43.BorderSizePixel = 0
  4061. ImageLabel43.Image = "http://www.roblox.com/asset/?id=31727915"
  4062. Script44.Parent = ImageLabel43
  4063. table.insert(cors,sandbox(Script44,function()
  4064. while true do
  4065. script.Parent.Rotation = script.Parent.Rotation+1
  4066. wait(0.1)
  4067. end
  4068. end))
  4069. BodyForce45.Name = "ya"
  4070. BodyForce45.Parent = Script9
  4071. BodyForce45.Force = Vector3.new(0, 8790, 0)
  4072. BodyForce45.force = Vector3.new(0, 8790, 0)
  4073. LocalScript46.Name = "shake"
  4074. LocalScript46.Parent = Script9
  4075. table.insert(cors,sandbox(LocalScript46,function()
  4076. local cam = game.Workspace.CurrentCamera
  4077. for i=1,10 do
  4078. wait()
  4079.  
  4080. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4081. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4082.  
  4083. local x=math.random(-10, 10)/40
  4084. local y = math.random(-10, 10)/40
  4085. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4086. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4087. wait()
  4088. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4089. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4090.  
  4091. local xx=x*-1
  4092. local yy = y*-1
  4093. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4094. local p= cam_scroll*-1
  4095. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4096.  
  4097.  
  4098.  
  4099.  
  4100. end
  4101. for i=1,10 do
  4102. wait()
  4103.  
  4104. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4105. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4106.  
  4107. local x=math.random(-7, 7)/40
  4108. local y = math.random(-7, 7)/40
  4109. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4110. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4111. wait()
  4112. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4113. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4114.  
  4115. local xx=x*-1
  4116. local yy = y*-1
  4117. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4118. local p= cam_scroll*-1
  4119. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4120.  
  4121.  
  4122.  
  4123.  
  4124. end
  4125. for i=1,10 do
  4126. wait()
  4127.  
  4128. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4129. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4130.  
  4131. local x=math.random(-5, 5)/40
  4132. local y = math.random(-5, 5)/40
  4133. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4134. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4135. wait()
  4136. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4137. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4138.  
  4139. local xx=x*-1
  4140. local yy = y*-1
  4141. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4142. local p= cam_scroll*-1
  4143. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4144.  
  4145.  
  4146.  
  4147.  
  4148. end
  4149. for i=1,10 do
  4150. wait()
  4151.  
  4152. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4153. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4154.  
  4155. local x=math.random(-3, 3)/40
  4156. local y = math.random(-3, 3)/40
  4157. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4158. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4159. wait()
  4160. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4161. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4162.  
  4163. local xx=x*-1
  4164. local yy = y*-1
  4165. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4166. local p= cam_scroll*-1
  4167. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4168.  
  4169.  
  4170.  
  4171.  
  4172. end
  4173. for i=1,10 do
  4174. wait()
  4175.  
  4176. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4177. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4178.  
  4179. local x=math.random(-2, 2)/40
  4180. local y = math.random(-2, 2)/40
  4181. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4182. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4183. wait()
  4184. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4185. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4186.  
  4187. local xx=x*-1
  4188. local yy = y*-1
  4189. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4190. local p= cam_scroll*-1
  4191. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4192.  
  4193.  
  4194.  
  4195.  
  4196. end
  4197. for i=1,10 do
  4198. wait()
  4199.  
  4200. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4201. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4202.  
  4203. local x=math.random(-1, 1)/40
  4204. local y = math.random(-1, 1)/40
  4205. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4206. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4207. wait()
  4208. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4209. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4210.  
  4211. local xx=x*-1
  4212. local yy = y*-1
  4213. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4214. local p= cam_scroll*-1
  4215. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4216.  
  4217.  
  4218.  
  4219.  
  4220. end
  4221. for i=1,10 do
  4222. wait()
  4223.  
  4224. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4225. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4226.  
  4227. local x=math.random(-0.5, 0.5)/40
  4228. local y = math.random(-0.5, 0.5)/40
  4229. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4230. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4231. wait()
  4232. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4233. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4234.  
  4235. local xx=x*-1
  4236. local yy = y*-1
  4237. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4238. local p= cam_scroll*-1
  4239. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4240.  
  4241.  
  4242.  
  4243.  
  4244. end
  4245. for i=1,10 do
  4246. wait()
  4247.  
  4248. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4249. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4250.  
  4251. local x=math.random(-0.1, 0.1)/40
  4252. local y = math.random(-0.1, 0.1)/40
  4253. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4254. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4255. wait()
  4256. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4257. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4258.  
  4259. local xx=x*-1
  4260. local yy = y*-1
  4261. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4262. local p= cam_scroll*-1
  4263. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4264.  
  4265.  
  4266.  
  4267.  
  4268. end
  4269. for i=1,10 do
  4270. wait()
  4271.  
  4272. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4273. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4274.  
  4275. local x=math.random(-0.01, 0.01)/40
  4276. local y = math.random(-0.01, 0.01)/40
  4277. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4278. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4279. wait()
  4280. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4281. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4282.  
  4283. local xx=x*-1
  4284. local yy = y*-1
  4285. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4286. local p= cam_scroll*-1
  4287. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4288.  
  4289.  
  4290.  
  4291.  
  4292. end
  4293. for i=1,10 do
  4294. wait()
  4295.  
  4296. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4297. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4298.  
  4299. local x=math.random(-0.0025, 0.0025)/40
  4300. local y = math.random(-0.0025, 0.0025)/40
  4301. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(x,y , 0)
  4302. cam.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
  4303. wait()
  4304. local cam_rot = cam.CoordinateFrame - cam.CoordinateFrame.p --* CFrame.fromEulerAnglesXYZ(math.random(-5, 5)/10, math.random(-5, 5)/5, 0)
  4305. local cam_scroll = (cam.CoordinateFrame.p - cam.Focus.p).magnitude
  4306.  
  4307. local xx=x*-1
  4308. local yy = y*-1
  4309. local ncf = CFrame.new(cam.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(xx,yy , 0)
  4310. local p= cam_scroll*-1
  4311. cam.CoordinateFrame = ncf*CFrame.new(0, 0, p)
  4312.  
  4313.  
  4314.  
  4315.  
  4316. end
  4317. script:remove()
  4318. --script:remove()
  4319.  
  4320. end))
  4321. LocalScript46.Disabled = true
  4322. Script47.Name = "attract"
  4323. Script47.Parent = Script9
  4324. table.insert(cors,sandbox(Script47,function()
  4325. local hole = script.Parent
  4326. local childList = {}
  4327.  
  4328. local massConstant = 5.8 -- Generally a good value
  4329.  
  4330. local mass = 40000 * massConstant
  4331.  
  4332. -- This is basically a function that finds all unanchored parts and adds them to childList.
  4333. -- Note: This should only be run once for each object
  4334. function checkObject(obj)
  4335. if (obj ~= hole) and (obj.className == "Part") then
  4336. if (obj.Anchored == false) then
  4337. table.insert(childList, 1, obj)
  4338. end
  4339. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  4340. local child = obj:GetChildren()
  4341. for x = 1, #child do
  4342. checkObject(child[x])
  4343. end
  4344. obj.ChildAdded:connect(checkObject)
  4345. end
  4346. end
  4347.  
  4348. checkObject(workspace)
  4349.  
  4350. print("Black Hole script loaded.")
  4351.  
  4352. local n = 0
  4353. while true do
  4354. if n < #childList then
  4355. n = n + 1
  4356. if n % 800 == 0 then
  4357. wait(0.5)
  4358. end
  4359. else
  4360. n = 1
  4361. wait(0.5)
  4362. end
  4363.  
  4364. local child = childList[n]
  4365. if (child ~= hole) and (child.className == "Part") and (child.Anchored == false) then
  4366. local relPos = hole.Position - child.Position
  4367. local motivator = child:FindFirstChild("BlackHole Influence")
  4368. if relPos.magnitude * 350 * massConstant < mass then
  4369.  
  4370. local a = math.random(1,4)
  4371. if a == 1 and child.Parent:findFirstChild("Humanoid") == nil then
  4372. child:BreakJoints()
  4373.  
  4374.  
  4375. end
  4376.  
  4377. if (relPos.magnitude * 320 * massConstant < mass) and (child.Size.z + hole.Size.x > relPos.magnitude * 2 - 4) then
  4378. mass = mass + child:GetMass()
  4379. -- child:Remove()
  4380. table.remove(childList, n)
  4381. n = n - 1 -- This is the reason I need a counter of my own design
  4382. else
  4383. -- child.CanCollide = false -- I Can assume that things won't escape the black hole.
  4384. if motivator == nil then
  4385. motivator = Instance.new("BodyPosition")
  4386. motivator.Parent = child
  4387. --game:GetService("Debris"):AddItem(motivator,0.4)
  4388. motivator.Name = "BlackHole Influence"
  4389. end
  4390. if child.Parent:findFirstChild("Humanoid") ~= nil then
  4391. motivator.position = hole.Position
  4392. motivator.maxForce = Vector3.new(1000, 1000, 1000) * mass * child:GetMass() / (relPos.magnitude * massConstant)
  4393. motivator:remove()
  4394. local posfind = child.Parent:findFirstChild("Torso")
  4395. if posfind ~= nil then
  4396. local posfind2 = posfind:findFirstChild("gotopos")
  4397. if posfind2== nil then
  4398. aa= script.gotopos:Clone()
  4399. aa.Disabled=false
  4400. game:GetService("Debris"):AddItem(aa,10)
  4401. aa.Value.Value=script.Parent.Position
  4402. aa.Parent=child.Parent.Torso
  4403. end
  4404. end
  4405. else
  4406. motivator.position = hole.Position
  4407. motivator.maxForce = Vector3.new(1500, 1500, 1500) * mass * child:GetMass() / (relPos.magnitude * massConstant)
  4408.  
  4409. end
  4410.  
  4411. end
  4412. elseif motivator ~= nil then
  4413. motivator:Remove()
  4414. end
  4415. end
  4416. end
  4417. end))
  4418. Script48.Name = "gotopos"
  4419. Script48.Parent = Script47
  4420. table.insert(cors,sandbox(Script48,function()
  4421. print 'Hello world!'
  4422. local b = script.Value.Value
  4423. while true do
  4424. wait(0.1)
  4425.  
  4426. local a = script.Parent.Position
  4427.  
  4428. local dir = (a - b).unit
  4429. dir=dir*-1
  4430. script.Parent.Velocity = dir*30
  4431. end
  4432. end))
  4433. Script48.Disabled = true
  4434. Vector3Value49.Parent = Script48
  4435. Script50.Name = "fireableno"
  4436. Script50.Parent = Script9
  4437. table.insert(cors,sandbox(Script50,function()
  4438. print 'Hello world!'
  4439. wait(10)
  4440. script.Parent.Enabled=false
  4441. end))
  4442. Script50.Disabled = true
  4443. LocalScript51.Name = "Blur"
  4444. LocalScript51.Parent = Script9
  4445. table.insert(cors,sandbox(LocalScript51,function()
  4446. bass=script.Blur
  4447. script.Blur.Parent=game.Workspace.CurrentCamera
  4448. local rs=game:GetService("RunService").RenderStepped
  4449. for i = 1,75 do
  4450. rs:wait()
  4451. bass.Size=bass.Size-0.2
  4452. end
  4453. bass:Remove()
  4454. script:Remove()
  4455. end))
  4456. LocalScript51.Disabled = true
  4457. BlurEffect52.Parent = LocalScript51
  4458. BlurEffect52.Size = 15
  4459. Sound53.Name = "Shrek"
  4460. Sound53.Parent = Script9
  4461. Sound53.SoundId = "rbxassetid://132603176"
  4462. Sound53.Volume = 3
  4463. DistortionSoundEffect54.Parent = Sound53
  4464. DistortionSoundEffect54.Level = 1
  4465. UnionOperation55.Name = "Handle"
  4466. UnionOperation55.Parent = Tool0
  4467. UnionOperation55.CFrame = CFrame.new(12.4100122, 0.604996979, 5.15998316, 1.32348898e-23, -3.30872245e-24, -1, 0, 1, 3.30872245e-24, 1, 0, -1.32348898e-23)
  4468. UnionOperation55.Orientation = Vector3.new(0, -90, 0)
  4469. UnionOperation55.Position = Vector3.new(12.4100122, 0.604996979, 5.15998316)
  4470. UnionOperation55.Rotation = Vector3.new(0, -90, 0)
  4471. UnionOperation55.Color = Color3.new(0.388235, 0.372549, 0.384314)
  4472. UnionOperation55.Size = Vector3.new(1.02999878, 1.189991, 1.02999878)
  4473. UnionOperation55.Anchored = true
  4474. UnionOperation55.BrickColor = BrickColor.new("Dark stone grey")
  4475. UnionOperation55.Material = Enum.Material.SmoothPlastic
  4476. UnionOperation55.Reflectance = 0.10000000149012
  4477. UnionOperation55.brickColor = BrickColor.new("Dark stone grey")
  4478. Sound56.Name = "Blam"
  4479. Sound56.Parent = UnionOperation55
  4480. Sound56.Pitch = 0.89999997615814
  4481. Sound56.PlaybackSpeed = 0.89999997615814
  4482. Sound56.SoundId = "rbxassetid://164012897"
  4483. Sound56.Volume = 1
  4484. Sound57.Name = "Throw"
  4485. Sound57.Parent = UnionOperation55
  4486. Sound57.EmitterSize = 20
  4487. Sound57.MinDistance = 20
  4488. Sound57.SoundId = "rbxassetid://130767645"
  4489. Sound57.Volume = 1
  4490. ParticleEmitter58.Parent = UnionOperation55
  4491. ParticleEmitter58.Speed = NumberRange.new(0, 0)
  4492. ParticleEmitter58.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4493. ParticleEmitter58.Enabled = false
  4494. ParticleEmitter58.LightEmission = 1
  4495. ParticleEmitter58.Texture = "http://www.roblox.com/asset/?id=241650934"
  4496. ParticleEmitter58.Size = NumberSequence.new(1.9999998807907,0.18750011920929,0)
  4497. ParticleEmitter58.Lifetime = NumberRange.new(0.20000000298023, 0.60000002384186)
  4498. ParticleEmitter58.Rate = 100000
  4499. ParticleEmitter59.Name = "Activate"
  4500. ParticleEmitter59.Parent = UnionOperation55
  4501. ParticleEmitter59.Speed = NumberRange.new(10, 10)
  4502. ParticleEmitter59.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4503. ParticleEmitter59.Enabled = false
  4504. ParticleEmitter59.LightEmission = 1
  4505. ParticleEmitter59.Texture = "http://www.roblox.com/asset/?id=241650934"
  4506. ParticleEmitter59.Size = NumberSequence.new(1.9999998807907,0.18750011920929,0)
  4507. ParticleEmitter59.Lifetime = NumberRange.new(0.20000000298023, 0.60000002384186)
  4508. ParticleEmitter59.Rate = 100000
  4509. ParticleEmitter59.SpreadAngle = Vector2.new(360, 360)
  4510. ParticleEmitter59.VelocitySpread = 360
  4511. ParticleEmitter60.Name = "Activate2"
  4512. ParticleEmitter60.Parent = UnionOperation55
  4513. ParticleEmitter60.Speed = NumberRange.new(10, 10)
  4514. ParticleEmitter60.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4515. ParticleEmitter60.Enabled = false
  4516. ParticleEmitter60.LightEmission = 1
  4517. ParticleEmitter60.Texture = "http://www.roblox.com/asset/?id=241650934"
  4518. ParticleEmitter60.Size = NumberSequence.new(1.9999998807907,0.18750011920929,0.062499642372131,10)
  4519. ParticleEmitter60.Lifetime = NumberRange.new(3, 3)
  4520. ParticleEmitter60.Rate = 100000
  4521. ParticleEmitter60.SpreadAngle = Vector2.new(360, 360)
  4522. ParticleEmitter60.VelocitySpread = 360
  4523. ParticleEmitter61.Name = "dud"
  4524. ParticleEmitter61.Parent = UnionOperation55
  4525. ParticleEmitter61.Speed = NumberRange.new(0, 0)
  4526. ParticleEmitter61.Color = ColorSequence.new(Color3.new(0.639216, 0.635294, 0.647059),Color3.new(0.639216, 0.635294, 0.647059))
  4527. ParticleEmitter61.Enabled = false
  4528. ParticleEmitter61.Texture = "rbxasset://textures/particles/smoke_main.dds"
  4529. ParticleEmitter61.Transparency = NumberSequence.new(0,0.98750001192093)
  4530. ParticleEmitter61.Size = NumberSequence.new(0,3.875,4.9375,7.3125)
  4531. ParticleEmitter61.Acceleration = Vector3.new(0, 1, 0)
  4532. ParticleEmitter61.Lifetime = NumberRange.new(5, 5)
  4533. ParticleEmitter61.Rate = 10
  4534. ParticleEmitter61.RotSpeed = NumberRange.new(0, 10)
  4535. ParticleEmitter61.SpreadAngle = Vector2.new(10, 10)
  4536. ParticleEmitter61.VelocitySpread = 10
  4537. Sound62.Name = "dudsound"
  4538. Sound62.Parent = UnionOperation55
  4539. Sound62.SoundId = "rbxassetid://148635119"
  4540. Sound62.Volume = 1
  4541. ParticleEmitter63.Name = "zap"
  4542. ParticleEmitter63.Parent = UnionOperation55
  4543. ParticleEmitter63.Speed = NumberRange.new(0, 0)
  4544. ParticleEmitter63.Rotation = NumberRange.new(-360, 360)
  4545. ParticleEmitter63.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4546. ParticleEmitter63.Enabled = false
  4547. ParticleEmitter63.LightEmission = 1
  4548. ParticleEmitter63.Texture = "http://www.roblox.com/asset/?id=243098098"
  4549. ParticleEmitter63.Transparency = NumberSequence.new(0.89999997615814,0.89999997615814)
  4550. ParticleEmitter63.Size = NumberSequence.new(1.0429447889328,8.9375,0,8.875,0,8.9375,0,8.875,0.030674934387207,9.0625,0,8.875,0,9,0,8.375)
  4551. ParticleEmitter63.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023)
  4552. ParticleEmitter63.LockedToPart = true
  4553. ParticleEmitter63.Rate = 250
  4554. ParticleEmitter64.Name = "Glow2"
  4555. ParticleEmitter64.Parent = UnionOperation55
  4556. ParticleEmitter64.Speed = NumberRange.new(0, 0)
  4557. ParticleEmitter64.Rotation = NumberRange.new(0, 360)
  4558. ParticleEmitter64.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4559. ParticleEmitter64.Enabled = false
  4560. ParticleEmitter64.LightEmission = 2
  4561. ParticleEmitter64.Texture = "http://www.roblox.com/asset/?id=243660364"
  4562. ParticleEmitter64.Transparency = NumberSequence.new(1,0.74374997615814,1)
  4563. ParticleEmitter64.Size = NumberSequence.new(10,10)
  4564. ParticleEmitter64.Lifetime = NumberRange.new(1, 1)
  4565. ParticleEmitter64.LockedToPart = true
  4566. ParticleEmitter64.Rate = 10
  4567. ParticleEmitter64.SpreadAngle = Vector2.new(360, 360)
  4568. ParticleEmitter64.VelocitySpread = 360
  4569. ParticleEmitter65.Name = "bigglow"
  4570. ParticleEmitter65.Parent = UnionOperation55
  4571. ParticleEmitter65.Speed = NumberRange.new(0, 0)
  4572. ParticleEmitter65.Rotation = NumberRange.new(0, 360)
  4573. ParticleEmitter65.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4574. ParticleEmitter65.Enabled = false
  4575. ParticleEmitter65.LightEmission = 100
  4576. ParticleEmitter65.Texture = "http://www.roblox.com/asset/?id=243660364"
  4577. ParticleEmitter65.Transparency = NumberSequence.new(1,0.62790697813034,0.30813956260681,1)
  4578. ParticleEmitter65.Size = NumberSequence.new(150,150)
  4579. ParticleEmitter65.Lifetime = NumberRange.new(2, 2)
  4580. ParticleEmitter65.LockedToPart = true
  4581. ParticleEmitter65.Rate = 5
  4582. ParticleEmitter65.SpreadAngle = Vector2.new(360, 360)
  4583. ParticleEmitter65.VelocitySpread = 360
  4584. ParticleEmitter66.Name = "superglow"
  4585. ParticleEmitter66.Parent = UnionOperation55
  4586. ParticleEmitter66.Speed = NumberRange.new(0, 0)
  4587. ParticleEmitter66.Rotation = NumberRange.new(0, 360)
  4588. ParticleEmitter66.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4589. ParticleEmitter66.Enabled = false
  4590. ParticleEmitter66.LightEmission = 100
  4591. ParticleEmitter66.Texture = "http://www.roblox.com/asset/?id=243660364"
  4592. ParticleEmitter66.Transparency = NumberSequence.new(1,0.62790697813034,0.30813956260681,1)
  4593. ParticleEmitter66.Size = NumberSequence.new(1000,1000)
  4594. ParticleEmitter66.Lifetime = NumberRange.new(2, 2)
  4595. ParticleEmitter66.LockedToPart = true
  4596. ParticleEmitter66.Rate = 10
  4597. ParticleEmitter66.SpreadAngle = Vector2.new(360, 360)
  4598. ParticleEmitter66.VelocitySpread = 360
  4599. ParticleEmitter67.Name = "holysmoke"
  4600. ParticleEmitter67.Parent = UnionOperation55
  4601. ParticleEmitter67.Speed = NumberRange.new(0, 200)
  4602. ParticleEmitter67.Rotation = NumberRange.new(-360, 360)
  4603. ParticleEmitter67.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4604. ParticleEmitter67.Enabled = false
  4605. ParticleEmitter67.LightEmission = 100
  4606. ParticleEmitter67.Texture = "rbxasset://textures/particles/fire_main.dds"
  4607. ParticleEmitter67.Transparency = NumberSequence.new(0.41279071569443,0.39534884691238,1)
  4608. ParticleEmitter67.Size = NumberSequence.new(600,600)
  4609. ParticleEmitter67.Lifetime = NumberRange.new(2, 3)
  4610. ParticleEmitter67.RotSpeed = NumberRange.new(-50, 50)
  4611. ParticleEmitter67.SpreadAngle = Vector2.new(360, 360)
  4612. ParticleEmitter67.VelocitySpread = 360
  4613. ParticleEmitter68.Name = "IMFIRINMYLAZER"
  4614. ParticleEmitter68.Parent = UnionOperation55
  4615. ParticleEmitter68.Speed = NumberRange.new(10, 10)
  4616. ParticleEmitter68.Color = ColorSequence.new(Color3.new(0, 1, 0),Color3.new(0, 1, 0))
  4617. ParticleEmitter68.Enabled = false
  4618. ParticleEmitter68.LightEmission = 1
  4619. ParticleEmitter68.Texture = "http://www.roblox.com/asset/?id=241650934"
  4620. ParticleEmitter68.Transparency = NumberSequence.new(0.89999997615814,1)
  4621. ParticleEmitter68.Size = NumberSequence.new(40,40)
  4622. ParticleEmitter68.Lifetime = NumberRange.new(0.5, 0.60000002384186)
  4623. ParticleEmitter68.Rate = 30
  4624. ParticleEmitter68.SpreadAngle = Vector2.new(360, 360)
  4625. ParticleEmitter68.VelocitySpread = 360
  4626. for i,v in pairs(mas:GetChildren()) do
  4627. v.Parent = workspace
  4628. pcall(function() v:MakeJoints() end)
  4629. end
  4630. mas:Destroy()
  4631. for i,v in pairs(cors) do
  4632. spawn(function()
  4633. pcall(v)
  4634. end)
  4635. end
  4636. local s = Instance.new("Sound")
  4637.  
  4638. s.Name = "Arrived"
  4639. s.SoundId = "http://www.roblox.com/asset/?id=2052346526"
  4640. s.Volume = 100
  4641. s.Looped = true
  4642. s.archivable = false
  4643.  
  4644. s.Parent = game.Workspace
  4645.  
  4646. wait(5)
  4647.  
  4648. s:play()
  4649.  
  4650. --Converted with ttyyuu12345's model to script plugin v4
  4651. function sandbox(var,func)
  4652. local env = getfenv(func)
  4653. local newenv = setmetatable({},{
  4654. __index = function(self,k)
  4655. if k=="script" then
  4656. return var
  4657. else
  4658. return env[k]
  4659. end
  4660. end,
  4661. })
  4662. setfenv(func,newenv)
  4663. return func
  4664. end
  4665. cors = {}
  4666. mas = Instance.new("Model",game:GetService("Lighting"))
  4667. Part0 = Instance.new("Part")
  4668. ParticleEmitter1 = Instance.new("ParticleEmitter")
  4669. Part0.Parent = mas
  4670. Part0.CFrame = CFrame.new(1.79990387, -7.70483398, -0.120056152, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  4671. Part0.Position = Vector3.new(1.79990387, -7.70483398, -0.120056152)
  4672. Part0.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  4673. Part0.Transparency = 1
  4674. Part0.Size = Vector3.new(517.740051, 1, 517.119995)
  4675. Part0.Anchored = true
  4676. Part0.BottomSurface = Enum.SurfaceType.Smooth
  4677. Part0.BrickColor = BrickColor.new("Really black")
  4678. Part0.CanCollide = false
  4679. Part0.Locked = true
  4680. Part0.TopSurface = Enum.SurfaceType.Smooth
  4681. Part0.brickColor = BrickColor.new("Really black")
  4682. ParticleEmitter1.Parent = Part0
  4683. ParticleEmitter1.Speed = NumberRange.new(8, 8)
  4684. ParticleEmitter1.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
  4685. ParticleEmitter1.LightInfluence = 1
  4686. ParticleEmitter1.Texture = "rbxassetid://267871019"
  4687. ParticleEmitter1.Size = NumberSequence.new(0.10000000149012,0.10000000149012)
  4688. ParticleEmitter1.Rate = 10000000000
  4689. for i,v in pairs(mas:GetChildren()) do
  4690. v.Parent = workspace
  4691. pcall(function() v:MakeJoints() end)
  4692. end
  4693. mas:Destroy()
  4694. for i,v in pairs(cors) do
  4695. spawn(function()
  4696. pcall(v)
  4697. end)
  4698. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement