AngelShiloh

Riku

Mar 6th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.92 KB | None | 0 0
  1. name = "antuain2000"
  2. player = game.Players:WaitForChild(name)
  3. chara = player.Character
  4. debby = game:GetService("Debris")
  5. chara.Humanoid.MaxHealth = math.huge + math.huge
  6. chara.Humanoid.Health = math.huge + math.huge
  7. chara.Humanoid.WalkSpeed = 50
  8. chara.Humanoid.JumpPower = 100
  9.  
  10. local p = Instance.new("Part", chara)
  11. p.Name = "Ears"
  12. p.BrickColor = BrickColor.new("Really red")
  13. p.Size = Vector3.new(0, 0, 0)
  14. p.BottomSurface = 0
  15. p.TopSurface = 0
  16. p.Position = chara.Head.Position
  17. local pweld = Instance.new("Weld", p)
  18. pweld.Part0 = chara.Head
  19. pweld.Part1 = p
  20. pweld.C0 = CFrame.new(0, 0.7, 0)
  21. pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180))
  22. local earmesh = Instance.new("SpecialMesh", p)
  23. earmesh.MeshType = "FileMesh"
  24. earmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  25. earmesh.Scale = Vector3.new(1.1, 1.5, 3)
  26.  
  27. local fakehead = chara.Head:clone()
  28. fakehead.Name = "FakeHead"
  29. fakehead.Parent = chara
  30. fakehead.Position = chara.Head.Position
  31. fakehead.Transparency = 0
  32. fakehead.face.Texture = "http://www.roblox.com/asset/?id="
  33.  
  34. local hand1 = Instance.new("Part", chara)
  35. hand1.Name = "Hand1"
  36. hand1.Size = Vector3.new(0.8, 0.8, 0.8)
  37. hand1.Transparency = 1
  38. hand1.Position = chara["Left Arm"].Position
  39. local hand1weld = Instance.new("Weld", hand1)
  40. hand1weld.Part0 = chara["Left Arm"]
  41. hand1weld.Part1 = hand1
  42. hand1weld.C0 = CFrame.new(0, -1, 0)
  43. local hand2 = hand1:Clone()
  44. hand2.Name = "Hand2"
  45. hand2.Parent = chara
  46. hand2.Position = chara["Right Arm"].Position
  47. local hand2weld = Instance.new("Weld", hand2)
  48. hand2weld.Part0 = chara["Right Arm"]
  49. hand2weld.Part1 = hand2
  50. hand2weld.C0 = CFrame.new(0, -1, 0)
  51.  
  52. color3colour = {
  53. BrickColor.new("Really red").Color,
  54. BrickColor.new("Really red").Color,
  55. BrickColor.new("Really red").Color,
  56. BrickColor.new("Really red").Color,
  57. BrickColor.new("Really red").Color,
  58. BrickColor.new("Really red").Color
  59. }
  60. breekcolour = {
  61. BrickColor.new("Really red"),
  62. BrickColor.new("Really red"),
  63. BrickColor.new("Really red"),
  64. BrickColor.new("Really red"),
  65. BrickColor.new("Really red"),
  66. BrickColor.new("Really red")
  67. }
  68. firecolour = {
  69. ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
  70. ColorSequenceKeypoint.new(0.05, BrickColor.new("Really red").Color),
  71. ColorSequenceKeypoint.new(0.1, BrickColor.new("Really red").Color),
  72. ColorSequenceKeypoint.new(0.15, BrickColor.new("Really red").Color),
  73. ColorSequenceKeypoint.new(0.2, BrickColor.new("Really red").Color),
  74. ColorSequenceKeypoint.new(0.25, BrickColor.new("Really red").Color),
  75. ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color)
  76. }
  77. barcolour = {
  78. ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
  79. ColorSequenceKeypoint.new(0.2, BrickColor.new("Really red").Color),
  80. ColorSequenceKeypoint.new(0.4, BrickColor.new("Really red").Color),
  81. ColorSequenceKeypoint.new(0.6, BrickColor.new("Really red").Color),
  82. ColorSequenceKeypoint.new(0.8, BrickColor.new("Really red").Color),
  83. ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color)
  84. }
  85. normallife = {
  86. NumberSequenceKeypoint.new(0, 0),
  87. NumberSequenceKeypoint.new(1, 1)
  88. }
  89. extendlife = {
  90. NumberSequenceKeypoint.new(0, 0),
  91. NumberSequenceKeypoint.new(0.8, 0),
  92. NumberSequenceKeypoint.new(1, 1)
  93. }
  94. function createrainbow(color, part, texture, size, trans, life, face, speed, accel, velsp, lock, name)
  95. local fira = Instance.new("ParticleEmitter", part)
  96. fira.Name = name
  97. fira.Color = ColorSequence.new(color)
  98. fira.Size = size
  99. fira.Texture = texture
  100. fira.Transparency = trans
  101. fira.Lifetime = life
  102. fira.EmissionDirection = face
  103. fira.Rate = 100000000
  104. fira.RotSpeed = NumberRange.new(100)
  105. fira.Speed = speed
  106. fira.VelocitySpread = velsp
  107. fira.Acceleration = accel
  108. fira.LightEmission = 1
  109. fira.LockedToPart = lock
  110. end
  111. handfire1 = createrainbow(firecolour, hand1, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  112. NumberSequenceKeypoint.new(0, 0.4),
  113. NumberSequenceKeypoint.new(1, 0)
  114. }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  115. handfire2 = createrainbow(firecolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  116. NumberSequenceKeypoint.new(0, 0.4),
  117. NumberSequenceKeypoint.new(1, 0)
  118. }), NumberSequence.new(extendlife), NumberRange.new(1), "Right", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  119. createrainbow(barcolour, orbuur, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  120. NumberSequenceKeypoint.new(0, 1),
  121. NumberSequenceKeypoint.new(0.8, 1),
  122. NumberSequenceKeypoint.new(1, 0)
  123. }), NumberSequence.new(extendlife), NumberRange.new(1), "Front", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "OrbEffect")
  124. local spelleffect = Instance.new("ParticleEmitter", chara.Torso)
  125. spelleffect.Texture = "http://www.roblox.com/asset/?id=679657454"
  126. spelleffect.Speed = NumberRange.new(0)
  127. spelleffect.LightEmission = 1
  128. spelleffect.Transparency = NumberSequence.new(normallife)
  129. spelleffect.Size = NumberSequence.new({
  130. NumberSequenceKeypoint.new(0, 0),
  131. NumberSequenceKeypoint.new(1, 10)
  132. })
  133. spelleffect.Rate = 0.001
  134. spelleffect.Rotation = NumberRange.new(0, 359)
  135. spelleffect.RotSpeed = NumberRange.new(100)
  136. spelleffect.Lifetime = NumberRange.new(1)
  137. createrainbow(barcolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  138. NumberSequenceKeypoint.new(0, 1),
  139. NumberSequenceKeypoint.new(1, 0)
  140. }), NumberSequence.new(normallife), NumberRange.new(1), "Front", NumberRange.new(10), Vector3.new(0, 0, 0), 1000, true, "PowerEffect")
  141. powereffect = hand2.PowerEffect
  142. powereffect.Enabled = false
  143. local naeeym = Instance.new("BillboardGui", chara)
  144. naeeym.Size = UDim2.new(0, 100, 0, 40)
  145. naeeym.StudsOffset = Vector3.new(0, 2, 0)
  146. naeeym.Adornee = chara.Head
  147. local tecks = Instance.new("TextLabel", naeeym)
  148. tecks.BackgroundTransparency = 1
  149. tecks.BorderSizePixel = 0
  150. tecks.Text = ""
  151. tecks.Font = "Fantasy"
  152. tecks.FontSize = "Size24"
  153. tecks.TextStrokeTransparency = 0
  154. tecks.TextColor3 = Color3.new(1, 1, 1)
  155. tecks.TextStrokeColor3 = BrickColor.new("Really red").Color
  156. tecks.Size = UDim2.new(1, 0, 0.5, 0)
  157. Void = nil
  158. VoidParts = {}
  159. Equipped = false
  160. Counter = 1
  161. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  162. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  163. end
  164. Player = player
  165. Character = chara
  166. Humanoid = Character:FindFirstChild("Humanoid")
  167. Torso = Character:FindFirstChild("Torso")
  168. if not Player or not Humanoid or Humanoid.Health == 0 or not chara.Torso then
  169. return
  170. end
  171. Equipped = true
  172. Void = Instance.new("Model")
  173. Void.Name = "Void"
  174. Angle = 0
  175. for i = 1, 1 do
  176. local VoidPart = Instance.new("Part")
  177. VoidPart.Name = "VoidPart"
  178. VoidPart.Transparency = 1
  179. VoidPart.BrickColor = BrickColor.new("Really red")
  180. VoidPart.Material = Enum.Material.Plastic
  181. VoidPart.Shape = Enum.PartType.Block
  182. VoidPart.FormFactor = Enum.FormFactor.Custom
  183. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  184. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  185. VoidPart.Anchored = true
  186. VoidPart.CanCollide = false
  187. VoidPart.Locked = true
  188. VoidPart.Size = Vector3.new(10, 0.2, 10)
  189. fiyer = createrainbow(firecolour, VoidPart, "http://www.roblox.com/asset/?id=224413104", NumberSequence.new({
  190. NumberSequenceKeypoint.new(0, 0.4),
  191. NumberSequenceKeypoint.new(1, 0)
  192. }), NumberSequence.new({
  193. NumberSequenceKeypoint.new(0, 0),
  194. NumberSequenceKeypoint.new(0.99, 0),
  195. NumberSequenceKeypoint.new(1, 1)
  196. }), NumberRange.new(10), "Top", NumberRange.new(2), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  197. VoidPart.FireEffect.Rate = 10
  198. local BlockMesh = Instance.new("BlockMesh")
  199. BlockMesh.Scale = Vector3.new(5, 5, 5)
  200. BlockMesh.Parent = VoidPart
  201. VoidPart.Parent = Void
  202. local Star = Instance.new("Decal", VoidPart)
  203. Star.Texture = "http://www.roblox.com/asset/?id=418573228"
  204. Star.Face = "Top"
  205. local Light = Instance.new("PointLight", VoidPart)
  206. Light.Color = Color3.new(1, 0, 0)
  207. Light.Brightness = 10
  208. Light.Range = 10
  209. table.insert(VoidParts, VoidPart)
  210. end
  211. Spawn(function()
  212. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and chara do
  213. if Angle == 360 then
  214. Angle = 0
  215. end
  216. Angle = Angle + 0.05
  217. chara.Humanoid.MaxHealth = math.huge
  218. chara.Humanoid.Health = math.huge
  219. Counter = Counter + 1
  220. if Counter == 7 then
  221. Counter = 1
  222. end
  223. tecks.TextStrokeColor3 = color3colour[Counter]
  224. fakehead.face.Color3 = color3colour[Counter]
  225. Void.VoidPart.Decal.Color3 = color3colour[Counter]
  226. Void.VoidPart.PointLight.Color = color3colour[Counter]
  227. local parentPos = chara.Torso.CFrame
  228.  
  229. local Hit, EndPosition = RayCast(chara.Torso.Position, Vector3.new(0, -1, 0), chara.Torso.Size.Y * 6.5, {Character})
  230. if Hit then
  231. if not Void.Parent then
  232. Void.Parent = Character
  233. end
  234. for i, v in pairs(VoidParts) do
  235. v.CFrame = CFrame.new(chara.Torso.Position.X, EndPosition.Y, chara.Torso.Position.Z) * CFrame.Angles(0, Angle + i, 0)
  236. end
  237. else
  238. Void.Parent = nil
  239. end
  240. wait()
  241. end
  242. end)
  243. ------------------------------------------------------------
  244. Me = game.Players.LocalPlayer
  245. player = Me
  246. char = Me.Character
  247. chara = char
  248. larm = char["Left Arm"]
  249. rarm = char["Right Arm"]
  250. lleg = char["Left Leg"]
  251. rleg = char["Right Leg"]
  252. torso = char.Torso
  253. hed = char.Head
  254. mouse = player:GetMouse()
  255. lght = game.Lighting
  256. lichtact = false
  257. moosicact = false
  258. gotsagofest = true
  259. chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  260. chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  261.  
  262. hed.BrickColor = BrickColor.new("Really black")
  263. torso.BrickColor = BrickColor.new("Really black")
  264. larm.BrickColor = BrickColor.new("Really black")
  265. rarm.BrickColor = BrickColor.new("Really black")
  266. lleg.BrickColor = BrickColor.new("Really black")
  267. rleg.BrickColor = BrickColor.new("Really black")
  268.  
  269. hat=Instance.new("Part",chara)
  270.  
  271. hat.Size = Vector3.new(1, 1, 1)
  272.  
  273. hatm = Instance.new("SpecialMesh",hat)
  274.  
  275. hatm.MeshType = "FileMesh"
  276.  
  277. hatm.MeshId = "http://www.roblox.com/asset/?id=495214258"
  278.  
  279. hatm.TextureId = "http://www.roblox.com/asset/?id=412059413"
  280.  
  281. hatw = Instance.new("Weld",hat)
  282.  
  283. hatw.Part0 = hat
  284.  
  285. hatw.Part1 = chara.Head
  286.  
  287. New = function(Object, Parent, Name, Data)
  288. local Object = Instance.new(Object)
  289. for Index, Value in pairs(Data or {}) do
  290. Object[Index] = Value
  291. end
  292. Object.Parent = Parent
  293. Object.Name = Name
  294. return Object
  295. end
  296.  
  297. Mouse = player:GetMouse()
  298.  
  299. for i,v in pairs(chara:children()) do
  300. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  301. v:Destroy()
  302. end
  303. end
  304. char.Head.face:Destroy()
  305.  
  306. local Orbd = Instance.new("Part", char)
  307. Orbd.Name = "Orbd"
  308. Orbd.Shape = Enum.PartType.Ball
  309. Orbd.CanCollide = false
  310. Orbd.BrickColor = BrickColor.new("Really red")
  311. Orbd.Transparency = 0
  312. Orbd.Material = "Neon"
  313. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  314. Orbd.TopSurface = Enum.SurfaceType.Smooth
  315. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  316. local Weld = Instance.new("Weld", Orbd)
  317. Weld.Part0 = char.Head
  318. Weld.Part1 = Orbd
  319. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  320. local glov = Instance.new("PointLight", Orbd)
  321. glov.Brightness = 0.25
  322. glov.Range = 20
  323. glov.Color = Color3.new(255, 0, 0)
  324. local Orbvc = Instance.new("Part", char)
  325. Orbvc.Name = "Orbvc"
  326. Orbvc.Shape = Enum.PartType.Ball
  327. Orbvc.CanCollide = false
  328. Orbvc.BrickColor = BrickColor.new("Really red")
  329. Orbvc.Transparency = 0
  330. Orbvc.Material = "Neon"
  331. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  332. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  333. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  334. local Weld = Instance.new("Weld", Orbvc)
  335. Weld.Part0 = char.Head
  336. Weld.Part1 = Orbvc
  337. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  338. local glo = Instance.new("PointLight", Orbvc)
  339. glo.Brightness = 0.25
  340. glo.Range = 20
  341. glo.Color = Color3.new(255, 0, 0)
  342.  
  343. local IsFreeFalling = false
  344. local SpinPart = Instance.new('Part')
  345. SpinPart.Transparency = 1
  346. SpinPart.Size = Vector3.new(25,1,25)
  347. SpinPart.CanCollide = false
  348. SpinPart.FormFactor = 'Custom'
  349. local FX = Instance.new('ParticleEmitter',SpinPart)
  350. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",-0.1
  351. local FX = Instance.new('ParticleEmitter',SpinPart)
  352. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Black").Color, 0)}), NumberSequence.new(0.25), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://132883219",0.1
  353. do
  354. local tspin = Instance.new('BodyAngularVelocity')
  355. tspin.angularvelocity = Vector3.new(0,1,0)
  356. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  357. tspin.Parent = SpinPart
  358. end
  359. local SpinPos = Instance.new('BodyPosition')
  360. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  361. SpinPos.Parent = SpinPart
  362.  
  363. function Equipped()
  364. IsEquipped = true
  365. local MyTorso = char.Torso
  366. if MyTorso then
  367. spawn(function()
  368. local startTime = tick()
  369. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  370. SpinPart.Parent = MyTorso
  371. local fadeIn = true
  372. while IsEquipped do
  373. if not IsFreeFalling then
  374. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  375. end
  376. wait()
  377. end
  378. SpinPart.Parent = nil
  379.  
  380. end)
  381. end
  382. end
  383.  
  384.  
  385. wait(0.01)
  386. Equipped()
  387.  
  388.  
  389. function start()
  390. print("Darkness falls across the battlefield...")
  391. wait()
  392. print("----------------------------------------")
  393. wait()
  394. print(" - Ender booted up. -")
  395. wait()
  396. print("- Ender written by yeox769. -")
  397. i = 0
  398. while i<1 do
  399. wait()
  400. i = i + 0.01
  401. l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
  402. l.TintColor = Color3.new(1,1-i,1-i)
  403. end
  404. end
  405.  
  406. delay(0,start)
  407.  
  408. TC = chara.HumanoidRootPart.RootJoint
  409. HC = chara.Torso.Neck
  410. RAC = chara.Torso["Right Shoulder"]
  411. LAC = chara.Torso["Left Shoulder"]
  412. RLC = chara.Torso["Right Hip"]
  413. LLC = chara.Torso["Left Hip"]
  414. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  415. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  416. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  417. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  418. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  419. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  420. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  421. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  422. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  423. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  424. RW = Instance.new("Weld",HC.Parent)
  425. RW.Part1 = HC.Parent
  426. RW.Part0 = chara["Right Arm"]
  427. RW.C0 = RWF
  428. LW = Instance.new("Weld",HC.Parent)
  429. LW.Part1 = HC.Parent
  430. LW.Part0 = chara["Left Arm"]
  431. LW.C0 = LWF
  432. RLW = nil
  433. LLW = nil
  434.  
  435.  
  436. function clerp(a,b,c)
  437. return a:lerp(b,c)
  438. end
  439.  
  440. TC.C0 = TCF
  441. HC.C0 = HCF
  442. RW.C0 = RWF
  443. LW.C0 = LWF
  444.  
  445. --Idle Clerp--
  446. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
  447. IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
  448. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  449. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  450.  
  451. TC.C0 = ITCF
  452. HC.C0 = IHCF
  453. RW.C0 = IRWF
  454. LW.C0 = ILWF
  455.  
  456.  
  457.  
  458.  
  459.  
  460. New = function(Object, Parent, Name, Data)
  461. local Object = Instance.new(Object)
  462. for Index, Value in pairs(Data or {}) do
  463. Object[Index] = Value
  464. end
  465. Object.Parent = Parent
  466. Object.Name = Name
  467. return Object
  468. end
  469.  
  470. function BurningEff(part)
  471. local eff1 = Instance.new("ParticleEmitter",part)
  472. eff1.Size = NumberSequence.new(.1)
  473. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  474. eff1.LightEmission = 1
  475. eff1.Lifetime = NumberRange.new(1)
  476. eff1.Speed = NumberRange.new(0)
  477. eff1.Rate = 100
  478. eff1.Texture = "rbxassetid://347504241"
  479. eff1.Acceleration = Vector3.new(0,10,0)
  480. eff1.Color = ColorSequence.new(Color3.new(1,0,0))
  481. local eff2 = Instance.new("ParticleEmitter",part)
  482. eff2.Size = NumberSequence.new(.1)
  483. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  484. eff2.LightEmission = 1
  485. eff2.Lifetime = NumberRange.new(1)
  486. eff2.Speed = NumberRange.new(0)
  487. eff2.Rate = 100
  488. eff2.Texture = "rbxassetid://347504259"
  489. eff2.Acceleration = Vector3.new(0,10,0)
  490. eff2.Color = ColorSequence.new(Color3.new(1,0,0))
  491. local eff3 = Instance.new("ParticleEmitter",part)
  492. eff3.Size = NumberSequence.new(1)
  493. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  494. eff3.LightEmission = 1
  495. eff3.Lifetime = NumberRange.new(1)
  496. eff3.Speed = NumberRange.new(0)
  497. eff3.Rate = 100
  498. eff3.Texture = "rbxasset://textures/particles/fire_main.dds"
  499. eff3.Acceleration = Vector3.new(0,10,0)
  500. eff3.Color = ColorSequence.new(Color3.new(1,0,0))
  501. end
  502. -----------------------------------------------
  503. Me = game.Players.LocalPlayer
  504. player = Me
  505. char = Me.Character
  506. root = char.HumanoidRootPart
  507. chara = char
  508. larm = char["Left Arm"]
  509. rarm = char["Right Arm"]
  510. lleg = char["Left Leg"]
  511. rleg = char["Right Leg"]
  512. torso = char.Torso
  513. hed = char.Head
  514. mouse = player:GetMouse()
  515. lght = game.Lighting
  516. lichtact = false
  517. moosicact = false
  518. gotsagofest = true
  519. chara.Humanoid.MaxHealth = 999e+999
  520. chara.Humanoid.Health = 999e+999
  521. r = false
  522.  
  523. local shirt = Instance.new("Shirt",chara)
  524. shirt.ShirtTemplate = "rbxassetid://519769931"
  525. local pants = Instance.new("Pants",chara)
  526. pants.PantsTemplate = "rbxassetid://519770250"
  527.  
  528. local bg = Instance.new("BillboardGui",hed)
  529. bg.AlwaysOnTop = true
  530. local bgframe = Instance.new("Frame",bg)
  531. bgframe.BackgroundTransparency = 1
  532. bgframe.Size = UDim2.new(0,200,0,25)
  533. bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
  534. local bgtxt = Instance.new("TextLabel",bgframe)
  535. bgtxt.Size = UDim2.new(0,200,0,25)
  536. bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
  537. bgtxt.BackgroundTransparency = 1
  538. bgtxt.TextColor3 = BrickColor.new("Really red").Color
  539. bgtxt.Font = "SciFi"
  540. bgtxt.TextScaled = true
  541. spawn(function()
  542. local txt1 = "This is where I rule...You have fallen into your worst nightmare..."
  543. local txt2 = "Satan chose me... "
  544.  
  545. local txt3 = "Welcome to the end!"
  546. for i=1,#txt1 do
  547. bgtxt.Text = txt1:sub(1,i)
  548. wait()
  549. end
  550. wait()
  551. for i=#txt1,1,-1 do
  552. bgtxt.Text = txt1:sub(1,i)
  553. wait()
  554. end
  555. wait()
  556. for i=1,#txt2 do
  557. bgtxt.Text = txt2:sub(1,i)
  558. wait()
  559. end
  560. wait()
  561. for i=#txt2,1,-1 do
  562. bgtxt.Text = txt2:sub(1,i)
  563. wait()
  564. end
  565. wait()
  566. for i=1,#txt3 do
  567. bgtxt.Text = txt3:sub(1,i)
  568. wait()
  569. end
  570. wait(3)
  571. for i=0,1,0.1 do
  572. bgtxt.TextTransparency = i
  573. wait()
  574. end
  575. bg:Destroy()
  576. end)
  577.  
  578. wait(1)
  579.  
  580. New = function(Object, Parent, Name, Data)
  581. local Object = Instance.new(Object)
  582. for Index, Value in pairs(Data or {}) do
  583. Object[Index] = Value
  584. end
  585. Object.Parent = Parent
  586. Object.Name = Name
  587. return Object
  588. end
  589.  
  590. New("ForceField",char,"ForceField",{Visible = false})
  591.  
  592. local z1 = Instance.new("Sound",char)
  593. z1.Looped = false
  594. z1.SoundId = "rbxassetid://844632396"
  595. z1.Volume = 10
  596. local z2 = Instance.new("Sound",char)
  597. z2.Looped = true
  598. z2.SoundId = "rbxassetid://569026863"
  599. z2.Volume = 0.7
  600. z2.Pitch = 0.8
  601. wait(0.1)
  602.  
  603.  
  604.  
  605.  
  606. chara.Humanoid.WalkSpeed = 32
  607. chara.Humanoid.JumpPower = 75
  608. local naeeym = Instance.new("BillboardGui",chara)
  609. naeeym.Size = UDim2.new(0,100,0,40)
  610. naeeym.StudsOffset = Vector3.new(0,2,0)
  611. naeeym.Adornee = chara.Head
  612. local tecks = Instance.new("TextLabel",naeeym)
  613. tecks.BackgroundTransparency = 1
  614. tecks.BorderSizePixel = 0
  615. tecks.Text = "???"
  616. tecks.Font = "Fantasy"
  617. tecks.FontSize = "Size24"
  618. tecks.TextStrokeTransparency = 0
  619. tecks.TextColor3 = Color3.new(0,0,0)
  620. rrer = BrickColor.new("Really red")
  621. tecks.TextStrokeColor3 = rrer.Color
  622. tecks.Size = UDim2.new(1,0,0.5,0)
  623.  
  624. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  625. l.Contrast,l.Saturation,l.Brightness = 420,-1,-1
  626. l.TintColor = Color3.new(1,0,0)
  627. game.Lighting.GeographicLatitude = 20000
  628.  
  629. function music()
  630. z1:Play()
  631. chara.Humanoid.JumpPower = 0
  632. chara.Humanoid.WalkSpeed = 0
  633. wait(9.69)
  634. chara.Humanoid.JumpPower, chara.Humanoid.WalkSpeed = 75, 25
  635. l.Brightness, l.Contrast = 1, 1
  636. r = true
  637. tecks.Text = "Riku The OverLord"
  638. z2:Play()
  639. i = 0
  640. while i < 1 do
  641. wait()
  642. l.Brightness = l.Brightness - 0.01
  643. l.Contrast = l.Contrast + 0.03
  644. i = i + 0.02
  645. end
  646. end
  647. delay(0,music)
  648. ------------------------------
  649.  
  650. wait(1 / 60)
  651. Effects = { }
  652. local Player = game.Players.localPlayer
  653. local Character = Player.Character
  654. local Humanoid = Character.Humanoid
  655. local Mouse = Player:GetMouse()
  656. local LeftArm = Character["Left Arm"]
  657. local RightArm = Character["Right Arm"]
  658. local LeftLeg = Character["Left Leg"]
  659. local RightLeg = Character["Right Leg"]
  660. local Head = Character.Head
  661. local Torso = Character.Torso
  662. local Camera = game.Workspace.CurrentCamera
  663. local RootPart = Character.HumanoidRootPart
  664. local RootJoint = RootPart.RootJoint
  665. local attack = false
  666. local Anim = 'Idle'
  667. local attacktype = 1
  668. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  669. local velocity = RootPart.Velocity.y
  670. local sine = 0
  671. local change = 1
  672. local Create = LoadLibrary("RbxUtility").Create
  673. Humanoid.MaxHealth = math.huge
  674. local spooky = Instance.new("Sound",Character)
  675. spooky.SoundId = "rbxassetid://"
  676. spooky.Looped = true
  677. spooky.Pitch = 1
  678. spooky.Volume = 1.1
  679. spooky:Stop()
  680. local spooky2 = Instance.new("Sound",Character)
  681. spooky2.SoundId = "rbxassetid://"
  682. spooky2.Looped = false
  683. spooky2.Pitch = 1
  684. spooky2.Volume = 1.4
  685. spooky2:Play()
  686. local m = Create("Model"){
  687. Parent = Character,
  688. Name = "WeaponModel",
  689. }
  690.  
  691.  
  692.  
  693. local newMotor = function(part0, part1, c0, c1)
  694. local w = Create('Motor'){
  695. Parent = part0,
  696. Part0 = part0,
  697. Part1 = part1,
  698. C0 = c0,
  699. C1 = c1,
  700. }
  701. return w
  702. end
  703.  
  704. function clerp(a, b, t)
  705. return a:lerp(b, t)
  706. end
  707.  
  708. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  709. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  710.  
  711. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  712. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  713. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  714. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  715. RootJoint.C1 = CFrame.new(0, 0, 0)
  716. RootJoint.C0 = CFrame.new(0, 0, 0)
  717. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  718. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  719.  
  720. local rarmc1 = RW.C1
  721. local larmc1 = LW.C1
  722. local rlegc1 = RH.C1
  723. local llegc1 = LH.C1
  724.  
  725. local resetc1 = false
  726.  
  727. function PlayAnimationFromTable(table, speed, bool)
  728. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  729. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  730. RW.C0 = clerp(RW.C0, table[3], speed)
  731. LW.C0 = clerp(LW.C0, table[4], speed)
  732. RH.C0 = clerp(RH.C0, table[5], speed)
  733. LH.C0 = clerp(LH.C0, table[6], speed)
  734. if bool == true then
  735. if resetc1 == false then
  736. resetc1 = true
  737. RootJoint.C1 = RootJoint.C1
  738. Torso.Neck.C1 = Torso.Neck.C1
  739. RW.C1 = rarmc1
  740. LW.C1 = larmc1
  741. RH.C1 = rlegc1
  742. LH.C1 = llegc1
  743. end
  744. end
  745. end
  746.  
  747. ArtificialHB = Create("BindableEvent", script){
  748. Parent = script,
  749. Name = "Heartbeat",
  750. }
  751.  
  752. script:WaitForChild("Heartbeat")
  753.  
  754. frame = 1 / 30
  755. tf = 0
  756. allowframeloss = false
  757. tossremainder = false
  758. lastframe = tick()
  759. script.Heartbeat:Fire()
  760.  
  761. game:GetService("RunService").Heartbeat:connect(function(s, p)
  762. tf = tf + s
  763. if tf >= frame then
  764. if allowframeloss then
  765. script.Heartbeat:Fire()
  766. lastframe = tick()
  767. else
  768. for i = 1, math.floor(tf / frame) do
  769. script.Heartbeat:Fire()
  770. end
  771. lastframe = tick()
  772. end
  773. if tossremainder then
  774. tf = 0
  775. else
  776. tf = tf - frame * math.floor(tf / frame)
  777. end
  778. end
  779. end)
  780.  
  781. function swait(num)
  782. if num == 0 or num == nil then
  783. ArtificialHB.Event:wait()
  784. else
  785. for i = 0, num do
  786. ArtificialHB.Event:wait()
  787. end
  788. end
  789. end
  790.  
  791. function RemoveOutlines(part)
  792. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  793. end
  794.  
  795. CFuncs = {
  796. ["Part"] = {
  797. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  798. local Part = Create("Part"){
  799. Parent = Parent,
  800. Reflectance = Reflectance,
  801. Transparency = Transparency,
  802. CanCollide = false,
  803. Locked = true,
  804. BrickColor = BrickColor.new(tostring(BColor)),
  805. Name = Name,
  806. Size = Size,
  807. Material = Material,
  808. }
  809. RemoveOutlines(Part)
  810. return Part
  811. end;
  812. };
  813.  
  814. ["Mesh"] = {
  815. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  816. local Msh = Create(Mesh){
  817. Parent = Part,
  818. Offset = OffSet,
  819. Scale = Scale,
  820. }
  821. if Mesh == "SpecialMesh" then
  822. Msh.MeshType = MeshType
  823. Msh.MeshId = MeshId
  824. end
  825. return Msh
  826. end;
  827. };
  828.  
  829. ["Mesh"] = {
  830. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  831. local Msh = Create(Mesh){
  832. Parent = Part,
  833. Offset = OffSet,
  834. Scale = Scale,
  835. }
  836. if Mesh == "SpecialMesh" then
  837. Msh.MeshType = MeshType
  838. Msh.MeshId = MeshId
  839. end
  840. return Msh
  841. end;
  842. };
  843.  
  844. ["Weld"] = {
  845. Create = function(Parent, Part0, Part1, C0, C1)
  846. local Weld = Create("Weld"){
  847. Parent = Parent,
  848. Part0 = Part0,
  849. Part1 = Part1,
  850. C0 = C0,
  851. C1 = C1,
  852. }
  853. return Weld
  854. end;
  855. };
  856.  
  857. ["Sound"] = {
  858. Create = function(id, par, vol, pit)
  859. coroutine.resume(coroutine.create(function()
  860. local S = Create("Sound"){
  861. Volume = vol,
  862. Pitch = pit or 1,
  863. SoundId = id,
  864. Parent = par or workspace,
  865. }
  866. wait()
  867. S:play()
  868. game:GetService("Debris"):AddItem(S, 6)
  869. end))
  870. end;
  871. };
  872.  
  873. ["ParticleEmitter"] = {
  874. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  875. local fp = Create("ParticleEmitter"){
  876. Parent = Parent,
  877. Color = ColorSequence.new(Color1, Color2),
  878. LightEmission = LightEmission,
  879. Size = Size,
  880. Texture = Texture,
  881. Transparency = Transparency,
  882. ZOffset = ZOffset,
  883. Acceleration = Accel,
  884. Drag = Drag,
  885. LockedToPart = LockedToPart,
  886. VelocityInheritance = VelocityInheritance,
  887. EmissionDirection = EmissionDirection,
  888. Enabled = Enabled,
  889. Lifetime = LifeTime,
  890. Rate = Rate,
  891. Rotation = Rotation,
  892. RotSpeed = RotSpeed,
  893. Speed = Speed,
  894. VelocitySpread = VelocitySpread,
  895. }
  896. return fp
  897. end;
  898. };
  899.  
  900. CreateTemplate = {
  901.  
  902. };
  903. }
  904. New = function(Object, Parent, Name, Data)
  905. local Object = Instance.new(Object)
  906. for Index, Value in pairs(Data or {}) do
  907. Object[Index] = Value
  908. end
  909. Object.Parent = Parent
  910. Object.Name = Name
  911. return Object
  912. end
  913.  
  914. function rayCast(Position, Direction, Range, Ignore)
  915. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  916. end
  917.  
  918. FindNearestTorso = function(pos)
  919. local list = (game.Workspace:children())
  920. local torso = nil
  921. local dist = 1000
  922. local temp, human, temp2 = nil, nil, nil
  923. for x = 1, #list do
  924. temp2 = list[x]
  925. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  926. temp = temp2:findFirstChild("Torso")
  927. human = temp2:findFirstChild("Humanoid")
  928. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  929. local dohit = true
  930. if dohit == true then
  931. torso = temp
  932. dist = (temp.Position - pos).magnitude
  933. end
  934. end
  935. end
  936. end
  937. return torso, dist
  938. end
  939.  
  940. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  941. if hit.Parent == nil then
  942. return
  943. end
  944. local h = hit.Parent:FindFirstChild("Humanoid")
  945. for _, v in pairs(hit.Parent:children()) do
  946. if v:IsA("Humanoid") then
  947. h = v
  948. end
  949. end
  950. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  951. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  952. if hit.Parent.DebounceHit.Value == true then
  953. return
  954. end
  955. end
  956. local c = Create("ObjectValue"){
  957. Name = "creator",
  958. Value = game:service("Players").LocalPlayer,
  959. Parent = h,
  960. }
  961. game:GetService("Debris"):AddItem(c, .5)
  962. if HitSound ~= nil and HitPitch ~= nil then
  963. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  964. end
  965. local Damage = math.random(minim, maxim)
  966. local blocked = false
  967. local block = hit.Parent:findFirstChild("Block")
  968. if block ~= nil then
  969. if block.className == "IntValue" then
  970. if block.Value > 0 then
  971. blocked = true
  972. block.Value = block.Value - 1
  973. print(block.Value)
  974. end
  975. end
  976. end
  977. if blocked == false then
  978. h.Health = h.Health - Damage
  979. 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)
  980. else
  981. h.Health = h.Health - (Damage / 2)
  982. 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)
  983. end
  984. if Type == "Knockdown" then
  985. local hum = hit.Parent.Humanoid
  986. hum.PlatformStand = true
  987. coroutine.resume(coroutine.create(function(HHumanoid)
  988. swait(1)
  989. HHumanoid.PlatformStand = false
  990. end), hum)
  991. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  992. local bodvol = Create("BodyVelocity"){
  993. velocity = angle * knockback,
  994. P = 5000,
  995. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  996. Parent = hit,
  997. }
  998. local rl = Create("BodyAngularVelocity"){
  999. P = 3000,
  1000. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1001. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1002. Parent = hit,
  1003. }
  1004. game:GetService("Debris"):AddItem(bodvol, .5)
  1005. game:GetService("Debris"):AddItem(rl, .5)
  1006. elseif Type == "Normal" then
  1007. local vp = Create("BodyVelocity"){
  1008. P = 500,
  1009. maxForce = Vector3.new(math.huge, 0, math.huge),
  1010. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1011. }
  1012. if knockback > 0 then
  1013. vp.Parent = hit.Parent.Torso
  1014. end
  1015. game:GetService("Debris"):AddItem(vp, .5)
  1016. elseif Type == "Up" then
  1017. local bodyVelocity = Create("BodyVelocity"){
  1018. velocity = Vector3.new(0, 20, 0),
  1019. P = 5000,
  1020. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1021. Parent = hit,
  1022. }
  1023. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1024. elseif Type == "DarkUp" then
  1025. coroutine.resume(coroutine.create(function()
  1026. for i = 0, 1, 0.1 do
  1027. swait()
  1028. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1029. end
  1030. end))
  1031. local bodyVelocity = Create("BodyVelocity"){
  1032. velocity = Vector3.new(0, 20, 0),
  1033. P = 5000,
  1034. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1035. Parent = hit,
  1036. }
  1037. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1038. elseif Type == "Snare" then
  1039. local bp = Create("BodyPosition"){
  1040. P = 2000,
  1041. D = 100,
  1042. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1043. position = hit.Parent.Torso.Position,
  1044. Parent = hit.Parent.Torso,
  1045. }
  1046. game:GetService("Debris"):AddItem(bp, 1)
  1047. elseif Type == "Freeze" then
  1048. local BodPos = Create("BodyPosition"){
  1049. P = 50000,
  1050. D = 1000,
  1051. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1052. position = hit.Parent.Torso.Position,
  1053. Parent = hit.Parent.Torso,
  1054. }
  1055. local BodGy = Create("BodyGyro") {
  1056. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1057. P = 20e+003,
  1058. Parent = hit.Parent.Torso,
  1059. cframe = hit.Parent.Torso.CFrame,
  1060. }
  1061. hit.Parent.Torso.Anchored = true
  1062. coroutine.resume(coroutine.create(function(Part)
  1063. swait(1.5)
  1064. Part.Anchored = false
  1065. end), hit.Parent.Torso)
  1066. game:GetService("Debris"):AddItem(BodPos, 3)
  1067. game:GetService("Debris"):AddItem(BodGy, 3)
  1068. end
  1069. local debounce = Create("BoolValue"){
  1070. Name = "DebounceHit",
  1071. Parent = hit.Parent,
  1072. Value = true,
  1073. }
  1074. game:GetService("Debris"):AddItem(debounce, Delay)
  1075. c = Create("ObjectValue"){
  1076. Name = "creator",
  1077. Value = Player,
  1078. Parent = h,
  1079. }
  1080. game:GetService("Debris"):AddItem(c, .5)
  1081. end
  1082. end
  1083.  
  1084. function ShowDamage(Pos, Text, Time, Color)
  1085. local Rate = (1 / 30)
  1086. local Pos = (Pos or Vector3.new(0, 0, 0))
  1087. local Text = (Text or "")
  1088. local Time = (Time or 2)
  1089. local Color = (Color or Color3.new(1, 0, 1))
  1090. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1091. EffectPart.Anchored = true
  1092. local BillboardGui = Create("BillboardGui"){
  1093. Size = UDim2.new(3, 0, 3, 0),
  1094. Adornee = EffectPart,
  1095. Parent = EffectPart,
  1096. }
  1097. local TextLabel = Create("TextLabel"){
  1098. BackgroundTransparency = 1,
  1099. Size = UDim2.new(1, 0, 1, 0),
  1100. Text = Text,
  1101. Font = "SciFi",
  1102. TextColor3 = Color,
  1103. TextScaled = true,
  1104. Parent = BillboardGui,
  1105. }
  1106. game.Debris:AddItem(EffectPart, (Time))
  1107. EffectPart.Parent = game:GetService("Workspace")
  1108. delay(0, function()
  1109. local Frames = (Time / Rate)
  1110. for Frame = 1, Frames do
  1111. wait(Rate)
  1112. local Percent = (Frame / Frames)
  1113. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1114. TextLabel.TextTransparency = Percent
  1115. end
  1116. if EffectPart and EffectPart.Parent then
  1117. EffectPart:Destroy()
  1118. end
  1119. end)
  1120. end
  1121.  
  1122. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1123. for _, c in pairs(workspace:children()) do
  1124. local hum = c:findFirstChild("Humanoid")
  1125. if hum ~= nil then
  1126. local head = c:findFirstChild("Torso")
  1127. if head ~= nil then
  1128. local targ = head.Position - Part.Position
  1129. local mag = targ.magnitude
  1130. if mag <= Magnitude and c.Name ~= Player.Name then
  1131. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1132. end
  1133. end
  1134. end
  1135. end
  1136. end
  1137. function UltraMagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) -- kek
  1138. for _, c in pairs(workspace:children()) do
  1139. local hum = c:findFirstChild("Humanoid")
  1140. if hum ~= nil then
  1141. local head = c:findFirstChild("Torso")
  1142. if head ~= nil then
  1143. local targ = head.Position - Part.Position
  1144. local mag = targ.magnitude
  1145. if mag <= Magnitude and c.Name ~= Player.Name then
  1146. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1147. head.Size = head.Size + Vector3.new(0.01, 0.01, 0.01)
  1148. end
  1149. end
  1150. end
  1151. end
  1152. end
  1153. EffectModel = Create("Model"){
  1154. Parent = Character,
  1155. Name = "Effects",
  1156. }
  1157.  
  1158. Effects = {
  1159. Block = {
  1160. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1161. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1162. prt.Anchored = true
  1163. prt.CFrame = cframe
  1164. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1165. game:GetService("Debris"):AddItem(prt, 10)
  1166. if Type == 1 or Type == nil then
  1167. table.insert(Effects, {
  1168. prt,
  1169. "Block1",
  1170. delay,
  1171. x3,
  1172. y3,
  1173. z3,
  1174. msh
  1175. })
  1176. elseif Type == 2 then
  1177. table.insert(Effects, {
  1178. prt,
  1179. "Block2",
  1180. delay,
  1181. x3,
  1182. y3,
  1183. z3,
  1184. msh
  1185. })
  1186. end
  1187. end;
  1188. };
  1189.  
  1190. Cylinder = {
  1191. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1192. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1193. prt.Anchored = true
  1194. prt.CFrame = cframe
  1195. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1196. game:GetService("Debris"):AddItem(prt, 10)
  1197. table.insert(Effects, {
  1198. prt,
  1199. "Cylinder",
  1200. delay,
  1201. x3,
  1202. y3,
  1203. z3,
  1204. msh
  1205. })
  1206. end;
  1207. };
  1208. Head = {
  1209. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1210. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1211. prt.Anchored = true
  1212. prt.CFrame = cframe
  1213. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", 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.  
  1227. Sphere = {
  1228. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1229. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1230. prt.Anchored = true
  1231. prt.CFrame = cframe
  1232. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1233. game:GetService("Debris"):AddItem(prt, 10)
  1234. table.insert(Effects, {
  1235. prt,
  1236. "Cylinder",
  1237. delay,
  1238. x3,
  1239. y3,
  1240. z3,
  1241. msh
  1242. })
  1243. end;
  1244. };
  1245.  
  1246. Elect = {
  1247. Create = function(cff, x, y, z)
  1248. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  1249. prt.Anchored = true
  1250. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1251. prt.CFrame = CFrame.new(prt.Position)
  1252. game:GetService("Debris"):AddItem(prt, 2)
  1253. local xval = math.random() / 2
  1254. local yval = math.random() / 2
  1255. local zval = math.random() / 2
  1256. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1257. table.insert(Effects, {
  1258. prt,
  1259. "Elec",
  1260. 0.1,
  1261. x,
  1262. y,
  1263. z,
  1264. xval,
  1265. yval,
  1266. zval
  1267. })
  1268. end;
  1269.  
  1270. };
  1271.  
  1272. Ring = {
  1273. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1274. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1275. prt.Anchored = true
  1276. prt.CFrame = cframe
  1277. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1278. game:GetService("Debris"):AddItem(prt, 10)
  1279. table.insert(Effects, {
  1280. prt,
  1281. "Cylinder",
  1282. delay,
  1283. x3,
  1284. y3,
  1285. z3,
  1286. msh
  1287. })
  1288. end;
  1289. };
  1290.  
  1291.  
  1292. Wave = {
  1293. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1294. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1295. prt.Anchored = true
  1296. prt.CFrame = cframe
  1297. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1298. game:GetService("Debris"):AddItem(prt, 10)
  1299. table.insert(Effects, {
  1300. prt,
  1301. "Cylinder",
  1302. delay,
  1303. x3,
  1304. y3,
  1305. z3,
  1306. msh
  1307. })
  1308. end;
  1309. };
  1310.  
  1311. Break = {
  1312. Create = function(brickcolor, cframe, x1, y1, z1)
  1313. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1314. prt.Anchored = true
  1315. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1316. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1317. local num = math.random(10, 50) / 1000
  1318. game:GetService("Debris"):AddItem(prt, 10)
  1319. table.insert(Effects, {
  1320. prt,
  1321. "Shatter",
  1322. num,
  1323. prt.CFrame,
  1324. math.random() - math.random(),
  1325. 0,
  1326. math.random(50, 100) / 100
  1327. })
  1328. end;
  1329. };
  1330.  
  1331. Fire = {
  1332. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1333. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1334. prt.Anchored = true
  1335. prt.CFrame = cframe
  1336. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1337. game:GetService("Debris"):AddItem(prt, 10)
  1338. table.insert(Effects, {
  1339. prt,
  1340. "Fire",
  1341. delay,
  1342. 1,
  1343. 1,
  1344. 1,
  1345. msh
  1346. })
  1347. end;
  1348. };
  1349.  
  1350. FireWave = {
  1351. Create = function(brickcolor, cframe, x1, y1, z1)
  1352. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1353. prt.Anchored = true
  1354. prt.CFrame = cframe
  1355. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1356. local d = Create("Decal"){
  1357. Parent = prt,
  1358. Texture = "rbxassetid://26356434",
  1359. Face = "Top",
  1360. }
  1361. local d = Create("Decal"){
  1362. Parent = prt,
  1363. Texture = "rbxassetid://26356434",
  1364. Face = "Bottom",
  1365. }
  1366. game:GetService("Debris"):AddItem(prt, 10)
  1367. table.insert(Effects, {
  1368. prt,
  1369. "FireWave",
  1370. 1,
  1371. 30,
  1372. math.random(400, 600) / 100,
  1373. msh
  1374. })
  1375. end;
  1376. };
  1377.  
  1378. Lightning = {
  1379. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1380. local magz = (p0 - p1).magnitude
  1381. local curpos = p0
  1382. local trz = {
  1383. -ofs,
  1384. ofs
  1385. }
  1386. for i = 1, tym do
  1387. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1388. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1389. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1390. li.Material = "Neon"
  1391. if tym == i then
  1392. local magz2 = (curpos - p1).magnitude
  1393. li.Size = Vector3.new(th, th, magz2)
  1394. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1395. table.insert(Effects, {
  1396. li,
  1397. "Disappear",
  1398. last
  1399. })
  1400. else
  1401. do
  1402. do
  1403. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1404. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1405. game.Debris:AddItem(li, 10)
  1406. table.insert(Effects, {
  1407. li,
  1408. "Disappear",
  1409. last
  1410. })
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end
  1416. };
  1417.  
  1418. EffectTemplate = {
  1419.  
  1420. };
  1421. }
  1422. function hahahohoho(Part, Dmg)
  1423. sp = Part.Position
  1424. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  1425. local hit, pos = rayCast(sp, dirr.lookVector, 500, Character)
  1426. local las = Instance.new("Part", Character)
  1427. las.Anchored = true
  1428. las.Locked = true
  1429. las.CanCollide = false
  1430. las.TopSurface = 0
  1431. las.BottomSurface = 0
  1432. las.BrickColor = BrickColor.new("Really black")
  1433. las.Size = Vector3.new(1, 1, 1)
  1434. las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0)
  1435. local msh = Instance.new("SpecialMesh", las)
  1436. mag = (Part.Position - pos).magnitude
  1437. msh.Scale = Vector3.new(0.1, mag, 0.1)
  1438. coroutine.resume(coroutine.create(function(Part, Mesh)
  1439. for i = 0, 3, 0.1 do
  1440. wait()
  1441. Part.Transparency = Part.Transparency + 0.03
  1442. Mesh.Scale = Mesh.Scale + Vector3.new(0.5, 0.7, 0.5)
  1443. end
  1444. Part.Parent = nil
  1445. end), las, msh)
  1446. if pos ~= nil then
  1447. local las2 = Instance.new("Part", Character)
  1448. las2.Anchored = true
  1449. las2.Locked = true
  1450. las2.CanCollide = false
  1451. las2.TopSurface = 0
  1452. las2.BottomSurface = 0
  1453. las2.Transparency = 1
  1454. las2.BrickColor = BrickColor.new("Really black")
  1455. las2.Size = Vector3.new(1, 1, 1)
  1456. las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0)
  1457. local msh = Instance.new("SpecialMesh", las2)
  1458. msh.MeshType = "Sphere"
  1459. mag = (Part.Position - pos).magnitude
  1460. msh.Scale = Vector3.new(0.1, 0.1, 0.1)
  1461. Effects.Ring.Create(BrickColor.new("Really black"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 8, 8, 8, 2.5, 2.5, 2.5, 0.04)
  1462. Effects.Sphere.Create(BrickColor.new("Really black"), las2.CFrame, 6, 6, 6, 9, 9, 9, 0.04)
  1463. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.9)
  1464. UltraMagnitudeDamage(las2, 20, 100, 100, math.random(1, 5), "Normal", "http://www.roblox.com/asset/?id=228343252", 1)
  1465. coroutine.resume(coroutine.create(function(Part, Mesh)
  1466. for i = 0, 3, 0.1 do
  1467. wait()
  1468. Part.Transparency = Part.Transparency + 1
  1469. Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0)
  1470. end
  1471. Part.Parent = nil
  1472. end), las2, msh)
  1473. end
  1474. if hit ~= nil and pos ~= nil then
  1475. if hit.Parent.className == "Hat" then
  1476. hit:BreakJoints()
  1477. hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5))
  1478. end
  1479. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1480. hit.Parent.Humanoid:TakeDamage(Dmg)
  1481. end
  1482. end
  1483. end
  1484. function attackone()
  1485. attack = true
  1486. local ref = New("Part",Character,"ref",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-63.7534943, 0.396845818, -9.92230225, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1487. mot = New("Weld",ref,"mot",{Part0 = ref,Part1 = RootPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  1488.  
  1489. for i = 0, 1, 0.1 do
  1490. swait()
  1491. PlayAnimationFromTable({
  1492. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1493. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1494. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1495. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1496. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1497. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1498. }, .3, false)
  1499. end
  1500. hahahohoho(ref, 100)
  1501. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", Character, 1, .6)
  1502. attack = false
  1503. wait(1)
  1504. ref:Remove()
  1505. end
  1506. function spamrein()
  1507. attack = true
  1508. local ref1 = New("Part",EffectModel,"ref1",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1509. local ref2 = New("Part",EffectModel,"ref2",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1510. for i = 0, 1, 0.1 do
  1511. swait()
  1512. PlayAnimationFromTable({
  1513. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1514. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1515. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1516. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1517. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1518. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1519. }, .3, false)
  1520. end
  1521. for i = 0, 8 do
  1522. swait(3)
  1523. ref1.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25)))
  1524. hahahohoho(ref1, 100)
  1525. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref1, 1, .6)
  1526. wait(.05)
  1527. ref2.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25)))
  1528. hahahohoho(ref2, 100)
  1529. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref2, 1, .6)
  1530. wait(.05)
  1531. end
  1532. attack = false
  1533. end
  1534. function spamspin()
  1535. attack = true
  1536. local ref3 = New("Part",EffectModel,"ref3",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1537. local ref4 = New("Part",EffectModel,"ref4",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1538. moter1 = New("Motor",ref3,"mot",{Part0 = LeftArm,Part1 = ref3,})
  1539. moter2 = New("Motor",ref4,"mot",{Part0 = RightArm,Part1 = ref4,})
  1540. for i = 0, 1, 0.1 do
  1541. swait()
  1542. PlayAnimationFromTable({
  1543. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1544. CFrame.new(0, 1.49998045, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1545. CFrame.new(2.00000072, 0.500000775, 0, -6.33299351e-007, -1.00000048, 0, 1.00000048, -6.33299351e-007, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1546. CFrame.new(-1.99999726, 0.500000834, 0, -2.38418579e-007, 1.0000006, 0, -1.00000048, -3.7252903e-007, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1547. CFrame.new(0.5, -1.99999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1548. CFrame.new(-0.5, -1.99999619, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1549. }, .3, false)
  1550. end
  1551. coroutine.wrap(function()
  1552. for i = 0, 18 do
  1553. swait(2)
  1554. hahahohoho(ref3, 100)
  1555. hahahohoho(ref4, 100)
  1556. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", RootPart, 1, .6)
  1557. end
  1558. end)()
  1559. for i = 0, 7, 0.1 do
  1560. swait()
  1561. PlayAnimationFromTable({
  1562. CFrame.new(0, -0.500001013, 7.62939453e-006, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(sine * 25), 0),
  1563. CFrame.new(0, 1.4999733, -9.00030136e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1564. CFrame.new(2, 0.499996185, -1.40070915e-005, 0, -1, 0, 1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1565. CFrame.new(-1.99999237, 0.499996185, -1.40070915e-005, 0, 1, 0, -1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1566. CFrame.new(0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1567. CFrame.new(-0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1568. }, .3, false)
  1569. moter1.C0 = clerp(moter1.C0, CFrame.new(1.07955907e-006, -1.10001731, 0, 1.0000031, 3.13669534e-006, 0, -3.00258512e-006, 1.00000322, -0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1570. moter2.C0 = clerp(moter2.C0, CFrame.new(-2.22906492e-005, -1.10000086, 1.03585517e-005, -1.00000048, 4.00841191e-006, -1.0410066e-011, 4.00840509e-006, 1.00000215, -2.61515493e-006, 1.75116303e-014, -2.48104334e-006, -1.00000179) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1571. end
  1572. attack = false
  1573. end
  1574. function criufkinbastard()
  1575. Humanoid.WalkSpeed = 0
  1576. Humanoid.JumpPower = 0
  1577. coroutine.wrap(function()
  1578. attack = true
  1579. local txt = Instance.new("BillboardGui", Character)
  1580. txt.Adornee = game.Players.LocalPlayer.Character.Head
  1581. txt.Name = "_status"
  1582. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1583. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1584. local text = Instance.new("TextLabel", txt)
  1585. text.Size = UDim2.new(10, 0, 7, 0)
  1586. text.FontSize = "Size24"
  1587. text.TextScaled = true
  1588. text.TextTransparency = 1
  1589. text.BackgroundTransparency = 1
  1590. text.TextStrokeTransparency = 1
  1591. text.Font = "Garamond"
  1592. text.TextStrokeColor3 = Color3.new(1,0,0)
  1593. text.TextColor3 = Color3.new(0, 0, 0)
  1594. text.Text = "greetings...my friend..."
  1595.  
  1596. local text2 = Instance.new("TextLabel", txt)
  1597. text2.Size = UDim2.new(10, 0, 7, 0)
  1598. text2.FontSize = "Size24"
  1599. text2.TextScaled = true
  1600. text2.TextTransparency = 1
  1601. text2.BackgroundTransparency = 1
  1602. text2.TextStrokeTransparency = 1
  1603. text2.Font = "Garamond"
  1604. text2.TextStrokeColor3 = Color3.new(1,0,0)
  1605. text2.TextColor3 = Color3.new(0, 0, 0)
  1606. text2.Text = "I am the overlord!."
  1607.  
  1608. local text3 = Instance.new("TextLabel", txt)
  1609. text3.Size = UDim2.new(10, 0, 7, 0)
  1610. text3.FontSize = "Size24"
  1611. text3.TextScaled = true
  1612. text3.TextTransparency = 1
  1613. text3.BackgroundTransparency = 1
  1614. text3.TextStrokeTransparency = 1
  1615. text3.Font = "Garamond"
  1616. text3.TextStrokeColor3 = Color3.new(1,1,1)
  1617. text3.TextColor3 = Color3.new(1, 0, 0)
  1618. text3.Text = "and i...will kill you"
  1619.  
  1620. local text4 = Instance.new("TextLabel", txt)
  1621. text4.Size = UDim2.new(10, 0, 7, 0)
  1622. text4.FontSize = "Size24"
  1623. text4.TextScaled = true
  1624. text4.TextTransparency = 1
  1625. text4.BackgroundTransparency = 1
  1626. text4.TextStrokeTransparency = 1
  1627. text4.Font = "Garamond"
  1628. text4.TextStrokeColor3 = Color3.new(1,0,0)
  1629. text4.TextColor3 = Color3.new(0, 0, 0)
  1630. text4.Text = "If you have to run.....this is the moment."
  1631.  
  1632. local text5 = Instance.new("TextLabel", txt)
  1633. text5.Size = UDim2.new(10, 0, 7, 0)
  1634. text5.FontSize = "Size24"
  1635. text5.TextScaled = true
  1636. text5.TextTransparency = 1
  1637. text5.BackgroundTransparency = 1
  1638. text5.TextStrokeTransparency = 1
  1639. text5.Font = "Garamond"
  1640. text5.TextStrokeColor3 = Color3.new(1,0,0)
  1641. text5.TextColor3 = Color3.new(0, 0, 0)
  1642. text5.Text = "Run..."
  1643.  
  1644.  
  1645. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  1646. while wait() and text and text.TextTransparency >= 0 do
  1647. text.TextStrokeTransparency = text.TextStrokeTransparency - .05
  1648. text.TextTransparency = text.TextTransparency - .05
  1649.  
  1650. end
  1651. wait(10)
  1652. while wait() and text and text.TextTransparency <= 1 do
  1653. text.TextStrokeTransparency = text.TextStrokeTransparency + .05
  1654. text.TextTransparency = text.TextTransparency + .05
  1655. text.Position = text.Position - UDim2.new(0,0,0,1)
  1656. text.Rotation = text.Rotation - 1
  1657. text2.TextStrokeTransparency = text2.TextStrokeTransparency - .05
  1658. text2.TextTransparency = text2.TextTransparency - .05
  1659. end
  1660. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  1661. wait(5)
  1662. while wait() and text2 and text2.TextTransparency <= 1 do
  1663. text2.TextStrokeTransparency = text2.TextStrokeTransparency + .05
  1664. text2.TextTransparency = text2.TextTransparency + .05
  1665. text2.Position = text2.Position - UDim2.new(0,0,0,1)
  1666. text2.Rotation = text2.Rotation - 1
  1667. text3.TextStrokeTransparency = text3.TextStrokeTransparency - .05
  1668. text3.TextTransparency = text3.TextTransparency - .05
  1669. end
  1670. wait(5)
  1671. while wait() and text3 and text3.TextTransparency <= 1 do
  1672. text3.TextStrokeTransparency = text3.TextStrokeTransparency + .05
  1673. text3.TextTransparency = text3.TextTransparency + .05
  1674. text3.Position = text3.Position - UDim2.new(0,0,0,1)
  1675. text3.Rotation = text3.Rotation - 1
  1676. text4.TextStrokeTransparency = text4.TextStrokeTransparency - .05
  1677. text4.TextTransparency = text4.TextTransparency - .05
  1678. end
  1679. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  1680. wait(3)
  1681. while wait() and text4 and text4.TextTransparency <= 1 do
  1682. text4.TextStrokeTransparency = text4.TextStrokeTransparency + .05
  1683. text4.TextTransparency = text4.TextTransparency + .05
  1684. text4.Position = text4.Position - UDim2.new(0,0,0,1)
  1685. text4.Rotation = text4.Rotation - 1
  1686. text5.TextStrokeTransparency = text5.TextStrokeTransparency - .05
  1687. text5.TextTransparency = text5.TextTransparency - .05
  1688. end
  1689. wait(3)
  1690. while wait() and text5 and text5.TextTransparency <= 1 do
  1691. text5.TextStrokeTransparency = text5.TextStrokeTransparency + .05
  1692. text5.TextTransparency = text5.TextTransparency + .05
  1693. text5.Position = text5.Position - UDim2.new(math.random(-0.3,0.3),math.random(-5,5),math.random(-0.3,0.3),math.random(-5,5))
  1694. text5.Rotation = text5.Rotation - 1
  1695. spooky2.Volume = spooky2.Volume - 0.05
  1696. end
  1697. spooky:Play()
  1698. text:Remove()
  1699. text2:Remove()
  1700. text3:Remove()
  1701. text4:Remove()
  1702. text5:Remove()
  1703. end)()
  1704. for i = 0, 51, 0.1 do
  1705. swait()
  1706. PlayAnimationFromTable({
  1707. CFrame.new(-0, -2.01999879, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1708. CFrame.new(-0.100006104, 1.64000487, -3.69548798e-006, 1, 0, 0, 0, 0.891016304, 0.453991741, 0, -0.453991264, 0.891006649) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1709. CFrame.new(0.950131536, 1.02000284, -0.609929323, 0.838677049, 0.544629633, 1.82800829e-006, 0.280503511, -0.431945533, -0.857170463, -0.466839492, 0.718889475, -0.515032887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1710. CFrame.new(-1.01001573, 1.08999729, -0.649995506, 0.743156135, -0.669118106, 5.49372999e-006, -0.324383408, -0.360283762, -0.874626398, 0.585230291, 0.649981976, -0.484797955) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1711. CFrame.new(0.5, -0.169970214, -1.0898838, 1, 0, -0, 0, 0.681989849, -0.73136127, 0, 0.73136127, 0.681989849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1712. CFrame.new(-0.549926758, -0.149971083, -1.56995773, 1, 0, -0, 0, 0.1736864, -0.984801233, 0, 0.984801233, 0.1736864) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1713. }, .1, false)
  1714. end
  1715. for i = 0, 5, 0.1 do
  1716. swait()
  1717. PlayAnimationFromTable({
  1718. CFrame.new(-0.0981965065, -1.31277657, -0.54871279, 0.808166862, -0.196366429, -0.555253625, 0.575620949, 0.0638884008, 0.815217137, -0.124606982, -0.97844708, 0.164665088) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1719. CFrame.new(0.0582410395, 1.44129539, 0.0734805763, 0.934516311, 2.10106373e-006, 0.355920374, 0.121625632, 0.939799547, -0.319349885, -0.334494382, 0.34172672, 0.878257751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1720. CFrame.new(0.759254932, 0.609628737, -1.37132394, 0.887519658, 0.460769922, 5.49852848e-006, 0.0474366248, -0.0913589746, -0.994687736, -0.458321631, 0.882805049, -0.102940291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1721. CFrame.new(-1.522138, 1.1763432, -0.233797818, 0.654816628, 0.623950124, -0.426499099, 0.0684916377, -0.610978603, -0.788678765, -0.752677917, 0.487228334, -0.44281441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1722. CFrame.new(0.55273962, -1.8331666, -0.853646398, 0.994906187, -2.04518437e-006, 0.100805953, 0.0784842819, 0.627576351, -0.774589181, -0.0632617697, 0.778555214, 0.624379694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1723. CFrame.new(-0.663739324, -1.72484899, -0.279409111, 0.936938882, 0.336636096, -0.0939244553, -0.32966578, 0.762038469, -0.557331204, -0.116043702, 0.553148985, 0.824960768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1724. }, .05, false)
  1725. end
  1726. for i = 0, 5, 0.1 do
  1727. swait()
  1728. PlayAnimationFromTable({
  1729. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1730. CFrame.new(0, 1.446419, -0.149725705, 1, 0, 0, 0, 0.941553891, 0.336862653, 0, -0.336862624, 0.94155395) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1731. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1732. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1733. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1734. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1735. }, .05, false)
  1736. end
  1737. for i = 0, 2 do
  1738. for i = 0, 1, 0.1 do
  1739. swait()
  1740. PlayAnimationFromTable({
  1741. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1742. CFrame.new(5.51342964e-007, 1.44641995, -0.149724424, 0.782274365, -6.99407749e-008, -0.622934043, 0.209844083, 0.941553354, 0.263520032, 0.586525559, -0.336863965, 0.736553073) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1743. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1744. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1745. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1746. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1747. }, .3, false)
  1748. end
  1749. for i = 0, 1, 0.1 do
  1750. swait()
  1751. PlayAnimationFromTable({
  1752. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1753. CFrame.new(1.78813934e-007, 1.4464184, -0.149724573, 0.864948869, -2.57774872e-007, 0.501860023, -0.169061571, 0.941551089, 0.291375846, -0.472526848, -0.336870432, 0.81439352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1754. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1755. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1756. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1757. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1758. }, .3, false)
  1759. end
  1760. end
  1761. local Anim = false
  1762.  
  1763. Humanoid.WalkSpeed = 16
  1764. Humanoid.JumpPower = 50
  1765. attack = false
  1766. end
  1767. criufkinbastard()
  1768. Mouse.Button1Down:connect(function()
  1769. if attack == false and attacktype == 1 then
  1770. attackone()
  1771. end
  1772. end)
  1773.  
  1774. Mouse.KeyDown:connect(function(k)
  1775. k = k:lower()
  1776. if attack == false and k == 'z' then
  1777. spamrein()
  1778. elseif attack == false and k == 'x' then
  1779. spamspin()
  1780. end
  1781. end)
  1782.  
  1783. while true do
  1784. swait()
  1785. for i, v in pairs(Character:GetChildren()) do
  1786. if v:IsA("Part") then
  1787. v.Material = "SmoothPlastic"
  1788. elseif v:IsA("Accessory") then
  1789. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1790. end
  1791. end
  1792.  
  1793. player = game.Players.LocalPlayer
  1794. chara = player.Character
  1795. debby = game:GetService("Debris")
  1796.  
  1797. --Outfit--
  1798.  
  1799. New = function(Object, Parent, Name, Data)
  1800. local Object = Instance.new(Object)
  1801. for Index, Value in pairs(Data or {}) do
  1802. Object[Index] = Value
  1803. end
  1804. Object.Parent = Parent
  1805. Object.Name = Name
  1806. return Object
  1807. end
  1808.  
  1809. --Animations--
  1810. function LoadAnim(id)
  1811. local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id})
  1812. local realanim = chara.Humanoid:LoadAnimation(anim)
  1813. return realanim
  1814. end
  1815. HoldA = LoadAnim(69427262)
  1816. Swing1A = LoadAnim(186934658)
  1817. Swing2A = LoadAnim(94160738)
  1818. Swing3A = LoadAnim(186934910)
  1819. Swing4A = LoadAnim(74909528)
  1820. RaiseA = LoadAnim(83994319)
  1821. RiseA = LoadAnim(169638954)
  1822. HoldA:Play()
  1823. wait(2)
  1824. --Fly--
  1825. local truflyposy = chara.Torso.Position.Y+10
  1826. local flyposy = truflyposy
  1827. local bodfly = Instance.new("BodyPosition", chara.Torso)
  1828. bodfly.Name = "Fly"
  1829. bodfly.maxForce = Vector3.new(0,10000,0)
  1830. bodfly.Position = Vector3.new(0,flyposy,0)
  1831. --------------------------------------------------
  1832.  
  1833.  
  1834. if 0 < #Effects then
  1835. for e = 1, #Effects do
  1836. if Effects[e] ~= nil then
  1837. local Thing = Effects[e]
  1838. if Thing ~= nil then
  1839. local Part = Thing[1]
  1840. local Mode = Thing[2]
  1841. local Delay = Thing[3]
  1842. local IncX = Thing[4]
  1843. local IncY = Thing[5]
  1844. local IncZ = Thing[6]
  1845. if Thing[2] == "Shoot" then
  1846. local Look = Thing[1]
  1847. local move = 30
  1848. if Thing[8] == 3 then
  1849. move = 10
  1850. end
  1851. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1852. if Thing[10] ~= nil then
  1853. da = pos
  1854. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1855. cfa = CFrame.new(Thing[4], pos)
  1856. tehCF = cfa:lerp(cf2, 0.2)
  1857. Thing[1] = tehCF.lookVector
  1858. end
  1859. local mag = (Thing[4] - pos).magnitude
  1860. 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)
  1861. if Thing[8] == 2 then
  1862. 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)
  1863. end
  1864. Thing[4] = Thing[4] + Look * move
  1865. Thing[3] = Thing[3] - 1
  1866. if 2 < Thing[5] then
  1867. Thing[5] = Thing[5] - 0.3
  1868. Thing[6] = Thing[6] - 0.3
  1869. end
  1870. if hit ~= nil then
  1871. Thing[3] = 0
  1872. if Thing[8] == 1 or Thing[8] == 3 then
  1873. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1874. else
  1875. if Thing[8] == 2 then
  1876. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1877. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1878. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1879. ref.Anchored = true
  1880. ref.CFrame = CFrame.new(pos)
  1881. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1882. game:GetService("Debris"):AddItem(ref, 0.2)
  1883. 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)
  1884. 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)
  1885. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1886. end
  1887. end
  1888. end
  1889. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1890. ref.Anchored = true
  1891. ref.CFrame = CFrame.new(pos)
  1892. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1893. game:GetService("Debris"):AddItem(ref, 1)
  1894. end
  1895. if Thing[3] <= 0 then
  1896. table.remove(Effects, e)
  1897. end
  1898. end
  1899. do
  1900. do
  1901. if Thing[2] == "FireWave" then
  1902. if Thing[3] <= Thing[4] then
  1903. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1904. Thing[3] = Thing[3] + 1
  1905. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1906. else
  1907. Part.Parent = nil
  1908. table.remove(Effects, e)
  1909. end
  1910. end
  1911. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1912. if Thing[1].Transparency <= 1 then
  1913. if Thing[2] == "Block1" then
  1914. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1915. Mesh = Thing[7]
  1916. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1917. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1918. else
  1919. if Thing[2] == "Block2" then
  1920. Thing[1].CFrame = Thing[1].CFrame
  1921. Mesh = Thing[7]
  1922. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1923. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1924. else
  1925. if Thing[2] == "Fire" then
  1926. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1927. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1928. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1929. else
  1930. if Thing[2] == "Cylinder" then
  1931. Mesh = Thing[7]
  1932. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1933. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1934. else
  1935. if Thing[2] == "Blood" then
  1936. Mesh = Thing[7]
  1937. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1938. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1939. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1940. else
  1941. if Thing[2] == "Elec" then
  1942. Mesh = Thing[10]
  1943. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1944. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1945. else
  1946. if Thing[2] == "Disappear" then
  1947. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1948. end
  1949. end
  1950. end
  1951. end
  1952. end
  1953. end
  1954. end
  1955. else
  1956. Part.Parent = nil
  1957. table.remove(Effects, e)
  1958. end
  1959. end
  1960. end
  1961. end
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
Add Comment
Please, Sign In to add comment