Advertisement
OofNoob

darkseed the fallen back up

Mar 24th, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.97 KB | None | 0 0
  1. warn'Danmaku V1.6 by NoobyGames12'
  2. warn'Edit by OblivionCreature and d_ull'
  3. warn'Do not leak it! or else...'
  4. plr = game.Players.LocalPlayer
  5. char = plr.Character
  6. hum = char.Humanoid
  7.  
  8. Player = game:GetService("Players").LocalPlayer
  9. local cam = game.Workspace.CurrentCamera
  10. t = char.Torso
  11. h = char.Head
  12. ra = char["Right Arm"]
  13. la = char["Left Arm"]
  14. rl = char["Right Leg"]
  15. ll = char["Left Leg"]
  16. tors = char.Torso
  17. lleg = char["Left Leg"]
  18. root = char.HumanoidRootPart
  19. hed = char.Head
  20. rleg = char["Right Leg"]
  21. rarm = char["Right Arm"]
  22. larm = char["Left Arm"]
  23. vt = Vector3.new
  24. bc = BrickColor.new
  25. br = BrickColor.random
  26. it = Instance.new
  27. cf = CFrame.new
  28.  
  29. h.Transparency = 1
  30.  
  31. for i,v in pairs(char:children()) do
  32. if v:IsA("Hat") then
  33. v:Destroy()
  34. end
  35. end
  36. for i,v in pairs(char:children()) do
  37. if v:IsA("Accessory") then
  38. v:Destroy()
  39. end
  40. end
  41. for i,v in pairs(char:children()) do
  42. if v:IsA("Hair") then
  43. v:Destroy()
  44. end
  45. end
  46.  
  47. local ss = Instance.new("Sound",char)
  48. ss.Volume = 0.5
  49. ss.Looped = true
  50. ss.Pitch = 1
  51. ss.SoundId = "rbxassetid://844360237"
  52. ss:Play()
  53.  
  54. Me = game.Players.LocalPlayer
  55. player = Me
  56. char = Me.Character
  57. chara = char
  58. larm = char["Left Arm"]
  59. rarm = char["Right Arm"]
  60. lleg = char["Left Leg"]
  61. rleg = char["Right Leg"]
  62. torso = char.Torso
  63. hed = char.Head
  64.  
  65.  
  66. local IsFreeFalling = false
  67. local SpinPart = Instance.new('Part')
  68. SpinPart.Transparency = 1
  69. SpinPart.Size = Vector3.new(25,1,25)
  70. SpinPart.CanCollide = false
  71. SpinPart.FormFactor = 'Custom'
  72. local FX = Instance.new('ParticleEmitter',SpinPart)
  73. 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, "http://www.roblox.com/asset/?id=569507725",-0.1
  74. local FX = Instance.new('ParticleEmitter',SpinPart)
  75. 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, "http://www.roblox.com/asset/?id=569507725",0.1
  76. do
  77. local tspin = Instance.new('BodyAngularVelocity')
  78. tspin.angularvelocity = Vector3.new(0,1,0)
  79. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  80. tspin.Parent = SpinPart
  81. end
  82. local SpinPos = Instance.new('BodyPosition')
  83. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  84. SpinPos.Parent = SpinPart
  85.  
  86. function Equipped()
  87. IsEquipped = true
  88. local MyTorso = char.Torso
  89. if MyTorso then
  90. spawn(function()
  91. local startTime = tick()
  92. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  93. SpinPart.Parent = MyTorso
  94. local fadeIn = true
  95. while IsEquipped do
  96. if not IsFreeFalling then
  97. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  98. end
  99. wait()
  100. end
  101. SpinPart.Parent = nil
  102.  
  103. end)
  104. end
  105. end
  106.  
  107.  
  108. wait(0.01)
  109. Equipped()
  110.  
  111. p = game.Players.LocalPlayer
  112. char = p.Character
  113. local char = p.Character
  114. torso = char.Torso
  115. neck = char.Torso.Neck
  116. hum = char.Humanoid
  117.  
  118. CV="Really red"
  119.  
  120. local txt = Instance.new("BillboardGui", char)
  121. txt.Adornee = char .Head
  122. txt.Name = "_status"
  123. txt.Size = UDim2.new(2, 0, 1.2, 0)
  124. txt.StudsOffset = Vector3.new(-9, 8, 0)
  125. local text = Instance.new("TextLabel", txt)
  126. text.Size = UDim2.new(10, 0, 7, 0)
  127. text.FontSize = "Size24"
  128. text.TextScaled = true
  129. text.TextTransparency = 0
  130. text.BackgroundTransparency = 1
  131. text.TextTransparency = 0
  132. text.TextStrokeTransparency = 0
  133. text.Font = "Antique"
  134. text.TextStrokeColor3 = Color3.new(0.7,0,0.9)
  135.  
  136. v=Instance.new("Part")
  137. v.Name = "ColorBrick"
  138. v.Parent=p.Character
  139. v.FormFactor="Symmetric"
  140. v.Anchored=true
  141. v.CanCollide=false
  142. v.BottomSurface="Smooth"
  143. v.TopSurface="Smooth"
  144. v.Size=Vector3.new(10,5,3)
  145. v.Transparency=1
  146. v.CFrame=char.Torso.CFrame
  147. v.BrickColor=BrickColor.new(CV)
  148. v.Transparency=1
  149. text.TextColor3 = Color3.new(0,0,0)
  150. v.Shape="Block"
  151. text.Text = "Darkseed, The Fallen"
  152.  
  153. Reaper3 = Instance.new("Model")
  154. Reaper3.Parent = Player.Character
  155. Reaper3.Name = "Reaper3"
  156. rh3 = Instance.new("Part")
  157. rh3.Parent = Reaper3
  158. rh3.BrickColor = BrickColor.new("White")
  159. rh3.Locked = true
  160. rh3.CanCollide = false
  161. mesh3 = Instance.new("SpecialMesh")
  162. rh3.formFactor = "Symmetric"
  163. mesh3.MeshType = "FileMesh"
  164. mesh3.MeshId = "http://www.roblox.com/asset/?id=1158007"
  165. mesh3.TextureId = "http://www.roblox.com/asset/?id=5162958"
  166. mesh3.Parent = rh3
  167. mesh3.Scale = Vector3.new(0.5,0.5,0.5)
  168. local weld3 = Instance.new("Weld")
  169. weld3.Parent = rh3
  170. rh3.Transparency = 0
  171. weld3.Part0 = rh3
  172. weld3.Part1 = Player.Character.Head
  173. weld3.C0 = CFrame.new(0, -0.2, 0)*CFrame.Angles(0, 0, 0)
  174.  
  175.  
  176.  
  177. g = Instance.new("Fire")
  178. g.Parent = char["Right Arm"]
  179. g.Color = Color3.new(0.7,0,0.9)
  180. g.Size = 4
  181. g.Heat = 10
  182.  
  183. char.Shirt:Destroy()
  184. char.Pants:Destroy()
  185. shirt = Instance.new("Shirt", char)
  186. shirt.Name = "Shirt"
  187. pants = Instance.new("Pants", char)
  188. pants.Name = "Pants"
  189. char.Shirt.ShirtTemplate = "rbxassetid://688546620"
  190. char.Pants.PantsTemplate = "rbxassetid://436614990"
  191.  
  192. hum.MaxHealth = "inf"
  193. hum.Health = "inf"
  194.  
  195.  
  196.  
  197. local p = game.Players.LocalPlayer
  198. local char = p.Character
  199. local mouse = p:GetMouse()
  200. local hed = char.Head
  201. local torso = char.Torso
  202.  
  203.  
  204. Debounces = {
  205. CanJoke = true;
  206. }
  207.  
  208. local Touche = {char.Name, }
  209. local Character = p.Character
  210.  
  211.  
  212. mouse.KeyDown:connect(function(key)
  213. if key == "1" then
  214. if Debounces.CanJoke == true then
  215. Debounces.CanJoke = false
  216. z = Instance.new("Sound",char)
  217. z.SoundId = "rbxassetid://726659721"
  218. z.Pitch = 0.7
  219. z.Volume = 10
  220. wait()
  221. z:Play()
  222. wait(5) --That should be fucking enough no?
  223. z:Destroy()
  224. if Debounces.CanJoke == false then
  225. Debounces.CanJoke = true
  226. end
  227. end
  228. end
  229. end)
  230. ----------------------------------------------------
  231. mouse.KeyDown:connect(function(key)
  232. if key == "2" then
  233. if Debounces.CanJoke == true then
  234. Debounces.CanJoke = false
  235. z = Instance.new("Sound",char)
  236. z.SoundId = "rbxassetid://195085345"
  237. z.Pitch = 0.7
  238. z.Volume = 10
  239. wait()
  240. z:Play()
  241. wait(5)
  242. z:Destroy()
  243. if Debounces.CanJoke == false then
  244. Debounces.CanJoke = true
  245. end
  246. end
  247. end
  248. end)
  249. ----------------------------------------------------
  250. mouse.KeyDown:connect(function(key)
  251. if key == "3" then
  252. if Debounces.CanJoke == true then
  253. Debounces.CanJoke = false
  254. z = Instance.new("Sound",char)
  255. z.SoundId = "rbxassetid://880548744"
  256. z.Pitch = 0.65
  257. z.Volume = 4
  258. wait()
  259. z:Play()
  260. wait(10)
  261. z:Destroy()
  262. if Debounces.CanJoke == false then
  263. Debounces.CanJoke = true
  264. end
  265. end
  266. end
  267. end)
  268. ----------------------------------------------------
  269. mouse.KeyDown:connect(function(key)
  270. if key == "4" then
  271. if Debounces.CanJoke == true then
  272. Debounces.CanJoke = false
  273. z = Instance.new("Sound",char)
  274. z.SoundId = "rbxassetid://314432384"
  275. z.Pitch = 0.8
  276. z.Volume = 10
  277. wait()
  278. z:Play()
  279. wait(30)
  280. z:Destroy()
  281. if Debounces.CanJoke == false then
  282. Debounces.CanJoke = true
  283. end
  284. end
  285. end
  286. end)
  287. ----------------------------------------------------
  288. mouse.KeyDown:connect(function(key)
  289. if key == "5" then
  290. if Debounces.CanJoke == true then
  291. Debounces.CanJoke = false
  292. z = Instance.new("Sound",char)
  293. z.SoundId = "rbxassetid://875573598"
  294. z.Pitch = 0.5
  295. z.Volume = 10
  296. wait()
  297. z:Play()
  298. wait(30)
  299. z:Destroy()
  300. if Debounces.CanJoke == false then
  301. Debounces.CanJoke = true
  302. end
  303. end
  304. end
  305. end)
  306. ----------------------------------------------------
  307. mouse.KeyDown:connect(function(key)
  308. if key == "6" then
  309. if Debounces.CanJoke == true then
  310. Debounces.CanJoke = false
  311. z = Instance.new("Sound",char)
  312. z.SoundId = "rbxassetid://474545527"
  313. z.Pitch = 1
  314. z.Volume = 10
  315. wait()
  316. z:Play()
  317. wait(30)
  318. z:Destroy()
  319. if Debounces.CanJoke == false then
  320. Debounces.CanJoke = true
  321. end
  322. end
  323. end
  324. end)
  325. ----------------------------------------------------
  326. mouse.KeyDown:connect(function(key)
  327. if key == "7" then
  328. if Debounces.CanJoke == true then
  329. Debounces.CanJoke = false
  330. z = Instance.new("Sound",char)
  331. z.SoundId = "rbxassetid://497645518"
  332. z.Pitch = 1
  333. z.Volume = 10
  334. wait()
  335. z:Play()
  336. wait(30)
  337. z:Destroy()
  338. if Debounces.CanJoke == false then
  339. Debounces.CanJoke = true
  340. end
  341. end
  342. end
  343. end)
  344. ----------------------------------------------------
  345. mouse.KeyDown:connect(function(key)
  346. if key == "8" then
  347. if Debounces.CanJoke == true then
  348. Debounces.CanJoke = false
  349. z = Instance.new("Sound",char)
  350. z.SoundId = "rbxassetid://433992205"
  351. z.Pitch = 1.3
  352. z.Volume = 10
  353. wait()
  354. z:Play()
  355. wait(30)
  356. z:Destroy()
  357. if Debounces.CanJoke == false then
  358. Debounces.CanJoke = true
  359. end
  360. end
  361. end
  362. end)
  363. print("Press keys 1-8 for different speeches.")
  364.  
  365. local p = game.Players.LocalPlayer
  366. local char = p.Character
  367. local mouse = p:GetMouse()
  368. local torso = char.Torso
  369.  
  370. local rot ={4}
  371.  
  372. local pe1 = Instance.new("ParticleEmitter",torso)
  373.  
  374. pe1.Transparency = NumberSequence.new(0.8,0.8)
  375.  
  376. pe1.Size = NumberSequence.new(10,10,10)
  377. pe1.LockedToPart = true
  378.  
  379. pe1.Color = ColorSequence.new(Color3.new(0,0,0))
  380.  
  381. pe1.Texture = "rbxassetid://347913776"
  382. pe1.Lifetime = NumberRange.new(1,1)
  383. pe1.Rate = 6
  384. pe1.RotSpeed = NumberRange.new(5,5)
  385. pe1.Rotation = NumberRange.new(rot[math.random(1,#rot)])
  386. pe1.Speed = NumberRange.new(0,0)
  387.  
  388. local Create = LoadLibrary("RbxUtility").Create
  389.  
  390.  
  391.  
  392. Player = game:GetService("Players").LocalPlayer
  393. Character = Player.Character
  394. chara = Character
  395. local Create = LoadLibrary("RbxUtility").Create
  396.  
  397. ArtificialHB = Create("BindableEvent", script){
  398. Parent = script,
  399. Name = "Heartbeat",
  400. }
  401.  
  402. script:WaitForChild("Heartbeat")
  403.  
  404. frame = 1 / 30
  405. tf = 0
  406. allowframeloss = false
  407. tossremainder = false
  408. lastframe = tick()
  409. script.Heartbeat:Fire()
  410.  
  411. game:GetService("RunService").Heartbeat:connect(function(s, p)
  412. tf = tf + s
  413. if tf >= frame then
  414. if allowframeloss then
  415. script.Heartbeat:Fire()
  416. lastframe = tick()
  417. else
  418. for i = 1, math.floor(tf / frame) do
  419. script.Heartbeat:Fire()
  420. end
  421. lastframe = tick()
  422. end
  423. if tossremainder then
  424. tf = 0
  425. else
  426. tf = tf - frame * math.floor(tf / frame)
  427. end
  428. end
  429. end)
  430.  
  431. function swait(num)
  432. if num == 0 or num == nil then
  433. ArtificialHB.Event:wait()
  434. else
  435. for i = 0, num do
  436. ArtificialHB.Event:wait()
  437. end
  438. end
  439. end
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451. function RemoveOutlines(part)
  452. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  453. end
  454.  
  455. CFuncs = {
  456. ["Part"] = {
  457. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  458. local Part = Create("Part"){
  459. Parent = Parent,
  460. Reflectance = Reflectance,
  461. Transparency = Transparency,
  462. CanCollide = false,
  463. Locked = true,
  464. BrickColor = BrickColor.new(tostring(BColor)),
  465. Name = Name,
  466. Size = Size,
  467. Material = Material,
  468. }
  469. RemoveOutlines(Part)
  470. return Part
  471. end;
  472. };
  473.  
  474. ["Mesh"] = {
  475. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  476. local Msh = Create(Mesh){
  477. Parent = Part,
  478. Offset = OffSet,
  479. Scale = Scale,
  480. }
  481. if Mesh == "SpecialMesh" then
  482. Msh.MeshType = MeshType
  483. Msh.MeshId = MeshId
  484. end
  485. return Msh
  486. end;
  487. };
  488.  
  489. ["Mesh"] = {
  490. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  491. local Msh = Create(Mesh){
  492. Parent = Part,
  493. Offset = OffSet,
  494. Scale = Scale,
  495. }
  496. if Mesh == "SpecialMesh" then
  497. Msh.MeshType = MeshType
  498. Msh.MeshId = MeshId
  499. end
  500. return Msh
  501. end;
  502. };
  503.  
  504. ["Weld"] = {
  505. Create = function(Parent, Part0, Part1, C0, C1)
  506. local Weld = Create("Weld"){
  507. Parent = Parent,
  508. Part0 = Part0,
  509. Part1 = Part1,
  510. C0 = C0,
  511. C1 = C1,
  512. }
  513. return Weld
  514. end;
  515. };
  516.  
  517. ["Sound"] = {
  518. Create = function(id, par, vol, pit)
  519. coroutine.resume(coroutine.create(function()
  520. local S = Create("Sound"){
  521. Volume = vol,
  522. Pitch = pit or 1,
  523. SoundId = id,
  524. Parent = par or workspace,
  525. }
  526. wait()
  527. S:play()
  528. game:GetService("Debris"):AddItem(S, 6)
  529. end))
  530. end;
  531. };
  532.  
  533. ["ParticleEmitter"] = {
  534. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  535. local fp = Create("ParticleEmitter"){
  536. Parent = Parent,
  537. Color = ColorSequence.new(Color1, Color2),
  538. LightEmission = LightEmission,
  539. Size = Size,
  540. Texture = Texture,
  541. Transparency = Transparency,
  542. ZOffset = ZOffset,
  543. Acceleration = Accel,
  544. Drag = Drag,
  545. LockedToPart = LockedToPart,
  546. VelocityInheritance = VelocityInheritance,
  547. EmissionDirection = EmissionDirection,
  548. Enabled = Enabled,
  549. Lifetime = LifeTime,
  550. Rate = Rate,
  551. Rotation = Rotation,
  552. RotSpeed = RotSpeed,
  553. Speed = Speed,
  554. VelocitySpread = VelocitySpread,
  555. }
  556. return fp
  557. end;
  558. };
  559.  
  560. CreateTemplate = {
  561.  
  562. };
  563. }
  564.  
  565.  
  566.  
  567. New = function(Object, Parent, Name, Data)
  568. local Object = Instance.new(Object)
  569. for Index, Value in pairs(Data or {}) do
  570. Object[Index] = Value
  571. end
  572. Object.Parent = Parent
  573. Object.Name = Name
  574. return Object
  575. end
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584. function chatfunc(text)
  585. local chat = coroutine.wrap(function()
  586. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  587. Character:FindFirstChild("TalkingBillBoard"):destroy()
  588. end
  589. local naeeym2 = Instance.new("BillboardGui",Character)
  590. naeeym2.Size = UDim2.new(0,100,0,40)
  591. naeeym2.StudsOffset = Vector3.new(0,2,0)
  592. naeeym2.Adornee = Character.Head
  593. naeeym2.Name = "TalkingBillBoard"
  594. local tecks2 = Instance.new("TextLabel",naeeym2)
  595. tecks2.BackgroundTransparency = 1
  596. tecks2.BorderSizePixel = 0
  597. tecks2.Text = ""
  598. tecks2.Font = "Fantasy"
  599. tecks2.TextSize = 30
  600. tecks2.TextStrokeTransparency = 0
  601. tecks2.TextColor3 = Color3.new(0.7,0,0.9)
  602. tecks2.TextStrokeColor3 = Color3.new(0.7,0,0.9)
  603. tecks2.Size = UDim2.new(1,0,0.5,0)
  604. local tecks3 = Instance.new("TextLabel",naeeym2)
  605. tecks3.BackgroundTransparency = 1
  606. tecks3.BorderSizePixel = 0
  607. tecks3.Text = ""
  608. tecks3.Font = "Fantasy"
  609. tecks3.TextSize = 30
  610. tecks3.TextStrokeTransparency = 0
  611. tecks3.TextColor3 = Color3.new(0,0,0)
  612. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  613. tecks3.Size = UDim2.new(1,0,0.5,0)
  614. for i = 1,string.len(text),1 do
  615. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=417445954", Character, 1, .8)
  616. tecks2.Text = string.sub(text,1,i)
  617. tecks3.Text = string.sub(text,1,i)
  618. wait(0.01)
  619. end
  620. wait(2)
  621. for i = 1, 50 do
  622. swait()
  623. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  624. tecks2.Rotation = tecks2.Rotation - .8
  625. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  626. tecks2.TextTransparency = tecks2.TextTransparency + .04
  627. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  628. tecks3.Rotation = tecks2.Rotation + .8
  629. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  630. tecks3.TextTransparency = tecks2.TextTransparency + .04
  631. end
  632. naeeym2:Destroy()
  633. end)
  634. chat()
  635. end
  636. function onChatted(msg)
  637. chatfunc(msg)
  638. end
  639. Player.Chatted:connect(onChatted)
  640.  
  641. abss = Instance.new("BillboardGui",Character)
  642. abss.Size = UDim2.new(10,0,10,0)
  643. abss.Enabled = false
  644. abss.Name = "ROCKYMOUNT"
  645. imgl = Instance.new("ImageLabel",abss)
  646. imgl.Position = UDim2.new(0,0,0,0)
  647. imgl.Size = UDim2.new(1,0,1,0)
  648. imgl.Image = "http://www.roblox.com/asset/?id=273474310"
  649. imgl.BackgroundTransparency = 1
  650. imgl.ImageColor3 = Color3.new(0,255,255)
  651. img2 = Instance.new("ImageLabel",abss)
  652. img2.Position = UDim2.new(0,0,0,0)
  653. img2.Size = UDim2.new(1,0,1,0)
  654. img2.Image = "rbxassetid://711463989"
  655. img2.BackgroundTransparency = 1
  656. img2.ImageColor3 = Color3.new(0,255,255)
  657.  
  658.  
  659. CFuncs = {
  660. ["Part"] = {
  661. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  662. local Part = Create("Part"){
  663. Parent = Parent,
  664. Reflectance = Reflectance,
  665. Transparency = Transparency,
  666. CanCollide = false,
  667. Locked = true,
  668. BrickColor = BrickColor.new(tostring(BColor)),
  669. Name = Name,
  670. Size = Size,
  671. Material = Material,
  672. }
  673. RemoveOutlines(Part)
  674. return Part
  675. end;
  676. };
  677.  
  678. ["Mesh"] = {
  679. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  680. local Msh = Create(Mesh){
  681. Parent = Part,
  682. Offset = OffSet,
  683. Scale = Scale,
  684. }
  685. if Mesh == "SpecialMesh" then
  686. Msh.MeshType = MeshType
  687. Msh.MeshId = MeshId
  688. end
  689. return Msh
  690. end;
  691. };
  692.  
  693. ["Mesh"] = {
  694. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  695. local Msh = Create(Mesh){
  696. Parent = Part,
  697. Offset = OffSet,
  698. Scale = Scale,
  699. }
  700. if Mesh == "SpecialMesh" then
  701. Msh.MeshType = MeshType
  702. Msh.MeshId = MeshId
  703. end
  704. return Msh
  705. end;
  706. };
  707.  
  708. ["Weld"] = {
  709. Create = function(Parent, Part0, Part1, C0, C1)
  710. local Weld = Create("Weld"){
  711. Parent = Parent,
  712. Part0 = Part0,
  713. Part1 = Part1,
  714. C0 = C0,
  715. C1 = C1,
  716. }
  717. return Weld
  718. end;
  719. };
  720.  
  721. ["Sound"] = {
  722. Create = function(id, par, vol, pit)
  723. coroutine.resume(coroutine.create(function()
  724. local S = Create("Sound"){
  725. Volume = vol,
  726. Pitch = pit or 1,
  727. SoundId = id,
  728. Parent = par or workspace,
  729. }
  730. wait()
  731. S:play()
  732. game:GetService("Debris"):AddItem(S, 10)
  733. end))
  734. end;
  735. };
  736.  
  737. ["ParticleEmitter"] = {
  738. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  739. local fp = Create("ParticleEmitter"){
  740. Parent = Parent,
  741. Color = ColorSequence.new(Color1, Color2),
  742. LightEmission = LightEmission,
  743. Size = Size,
  744. Texture = Texture,
  745. Transparency = Transparency,
  746. ZOffset = ZOffset,
  747. Acceleration = Accel,
  748. Drag = Drag,
  749. LockedToPart = LockedToPart,
  750. VelocityInheritance = VelocityInheritance,
  751. EmissionDirection = EmissionDirection,
  752. Enabled = Enabled,
  753. Lifetime = LifeTime,
  754. Rate = Rate,
  755. Rotation = Rotation,
  756. RotSpeed = RotSpeed,
  757. Speed = Speed,
  758. VelocitySpread = VelocitySpread,
  759. }
  760. return fp
  761. end;
  762. };
  763.  
  764. CreateTemplate = {
  765.  
  766. };
  767. }
  768.  
  769.  
  770.  
  771. New = function(Object, Parent, Name, Data)
  772. local Object = Instance.new(Object)
  773. for Index, Value in pairs(Data or {}) do
  774. Object[Index] = Value
  775. end
  776. Object.Parent = Parent
  777. Object.Name = Name
  778. return Object
  779. end
  780.  
  781. local m = Instance.new("Model",char)
  782.  
  783. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  784. local p = Instance.new("Part")
  785. p.Parent = parent
  786. p.Size = Vector3.new(1,1,1)
  787. p.Transparency = transparency
  788. p.Reflectance = reflectance
  789. p.CanCollide = false
  790. p.Locked = true
  791. p.BrickColor = brickcolor
  792. p.Material = material
  793. return p
  794. end
  795.  
  796. function CreateMesh(parent,meshtype,x1,y1,z1)
  797. local mesh = Instance.new("SpecialMesh",parent)
  798. mesh.MeshType = meshtype
  799. mesh.Scale = Vector3.new(x1,y1,z1)
  800. return mesh
  801. end
  802.  
  803. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  804. local mesh = Instance.new("SpecialMesh",parent)
  805. mesh.MeshType = "FileMesh"
  806. mesh.MeshId = meshid
  807. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  808. mesh.Scale = Vector3.new(x1,y1,z1)
  809. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  810. return mesh
  811. end
  812.  
  813. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  814. local weld = Instance.new("Weld")
  815. weld.Parent = parent
  816. weld.Part0 = part0
  817. weld.Part1 = part1
  818. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  819. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  820. return weld
  821. end
  822.  
  823.  
  824. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  825. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  826. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  827. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  828.  
  829. Player=game:GetService("Players").LocalPlayer
  830. Character=Player.Character
  831. PlayerGui=Player.PlayerGui
  832. Backpack=Player.Backpack
  833. Torso=Character.Torso
  834. Head=Character.Head
  835. Humanoid=Character.Humanoid
  836. m=Instance.new('Model',Character)
  837. LeftArm=Character["Left Arm"]
  838. LeftLeg=Character["Left Leg"]
  839. RightArm=Character["Right Arm"]
  840. RightLeg=Character["Right Leg"]
  841. LS=Torso["Left Shoulder"]
  842. LH=Torso["Left Hip"]
  843. RS=Torso["Right Shoulder"]
  844. RH=Torso["Right Hip"]
  845. Face = Head.face
  846. Face:Destroy()
  847. Neck=Torso.Neck
  848. it=Instance.new
  849. attacktype=1
  850. vt=Vector3.new
  851. cf=CFrame.new
  852. euler=CFrame.fromEulerAnglesXYZ
  853. angles=CFrame.Angles
  854. cloaked=false
  855. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  856. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  857. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  858. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  859. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  860. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  861. RootPart=Character.HumanoidRootPart
  862. RootJoint=RootPart.RootJoint
  863. RootCF=euler(-1.57,0,3.14)
  864. attack = false
  865. attackdebounce = false
  866. deb=false
  867. equipped=true
  868. hand=false
  869. MMouse=nil
  870. combo=0
  871. mana=0
  872. trispeed=.2
  873. attackmode='none'
  874. local idle=0
  875. local Anim="Idle"
  876. local Effects={}
  877. local gun=false
  878. local shoot=false
  879. local sine = 0
  880. local change = 1
  881. player=nil
  882.  
  883. mouse=Player:GetMouse()
  884. --save shoulders
  885. RSH, LSH=nil, nil
  886. --welds
  887. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  888. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  889. LH=Torso["Left Hip"]
  890. RH=Torso["Right Hip"]
  891. TorsoColor=Torso.BrickColor
  892. function NoOutline(Part)
  893. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  894. end
  895. player=Player
  896. ch=Character
  897. RSH=ch.Torso["Right Shoulder"]
  898. LSH=ch.Torso["Left Shoulder"]
  899. --
  900. RSH.Parent=nil
  901. LSH.Parent=nil
  902. --
  903. RW.Name="Right Shoulder"
  904. RW.Part0=ch.Torso
  905. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  906. RW.C1=cf(0, 0.5, 0)
  907. RW.Part1=ch["Right Arm"]
  908. RW.Parent=ch.Torso
  909. --
  910. LW.Name="Left Shoulder"
  911. LW.Part0=ch.Torso
  912. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  913. LW.C1=cf(0, 0.5, 0)
  914. LW.Part1=ch["Left Arm"]
  915. LW.Parent=ch.Torso
  916.  
  917. local Stats=Instance.new("BoolValue")
  918. Stats.Name="Stats"
  919. Stats.Parent=Character
  920. local Atk=Instance.new("NumberValue")
  921. Atk.Name="Damage"
  922. Atk.Parent=Stats
  923. Atk.Value=1
  924. local Def=Instance.new("NumberValue")
  925. Def.Name="Defense"
  926. Def.Parent=Stats
  927. Def.Value=1
  928. local Speed=Instance.new("NumberValue")
  929. Speed.Name="Speed"
  930. Speed.Parent=Stats
  931. Speed.Value=1
  932. local Mvmt=Instance.new("NumberValue")
  933. Mvmt.Name="Movement"
  934. Mvmt.Parent=Stats
  935. Mvmt.Value=1
  936.  
  937. local donum=0
  938.  
  939.  
  940. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  941. local fp=it("Part")
  942. fp.formFactor=formfactor
  943. fp.Parent=parent
  944. fp.Reflectance=reflectance
  945. fp.Transparency=transparency
  946. fp.CanCollide=false
  947. fp.Locked=true
  948. fp.BrickColor=brickcolor
  949. fp.Name=name
  950. fp.Size=size
  951. fp.Position=Torso.Position
  952. NoOutline(fp)
  953. fp.Material="SmoothPlastic"
  954. fp:BreakJoints()
  955. return fp
  956. end
  957.  
  958. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  959. local mesh=it(Mesh)
  960. mesh.Parent=part
  961. if Mesh=="SpecialMesh" then
  962. mesh.MeshType=meshtype
  963. if meshid~="nil" then
  964. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  965. end
  966. end
  967. mesh.Offset=offset
  968. mesh.Scale=scale
  969. return mesh
  970. end
  971.  
  972. function weld(parent,part0,part1,c0)
  973. local weld=it("Weld")
  974. weld.Parent=parent
  975. weld.Part0=part0
  976. weld.Part1=part1
  977. weld.C0=c0
  978. return weld
  979. end
  980.  
  981. local Color1=Torso.BrickColor
  982.  
  983. local bodvel=Instance.new("BodyVelocity")
  984. local bg=Instance.new("BodyGyro")
  985.  
  986. function swait(num)
  987. if num==0 or num==nil then
  988. game:service'RunService'.Stepped:wait(0)
  989. else
  990. for i=0,num do
  991. game:service'RunService'.Stepped:wait(0)
  992. end
  993. end
  994. end
  995.  
  996.  
  997. so = function(id,par,vol,pit)
  998. coroutine.resume(coroutine.create(function()
  999. local sou = Instance.new("Sound",par or workspace)
  1000. sou.Volume=vol
  1001. sou.Pitch=pit or 1
  1002. sou.SoundId=id
  1003. swait()
  1004. sou:play()
  1005. game:GetService("Debris"):AddItem(sou,6)
  1006. end))
  1007. end
  1008.  
  1009. function clerp(a,b,t)
  1010. local qa = {QuaternionFromCFrame(a)}
  1011. local qb = {QuaternionFromCFrame(b)}
  1012. local ax, ay, az = a.x, a.y, a.z
  1013. local bx, by, bz = b.x, b.y, b.z
  1014. local _t = 1-t
  1015. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1016. end
  1017.  
  1018. function QuaternionFromCFrame(cf)
  1019. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1020. local trace = m00 + m11 + m22
  1021. if trace > 0 then
  1022. local s = math.sqrt(1 + trace)
  1023. local recip = 0.5/s
  1024. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1025. else
  1026. local i = 0
  1027. if m11 > m00 then
  1028. i = 1
  1029. end
  1030. if m22 > (i == 0 and m00 or m11) then
  1031. i = 2
  1032. end
  1033. if i == 0 then
  1034. local s = math.sqrt(m00-m11-m22+1)
  1035. local recip = 0.5/s
  1036. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1037. elseif i == 1 then
  1038. local s = math.sqrt(m11-m22-m00+1)
  1039. local recip = 0.5/s
  1040. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1041. elseif i == 2 then
  1042. local s = math.sqrt(m22-m00-m11+1)
  1043. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1044. end
  1045. end
  1046. end
  1047.  
  1048. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1049. local xs, ys, zs = x + x, y + y, z + z
  1050. local wx, wy, wz = w*xs, w*ys, w*zs
  1051. local xx = x*xs
  1052. local xy = x*ys
  1053. local xz = x*zs
  1054. local yy = y*ys
  1055. local yz = y*zs
  1056. local zz = z*zs
  1057. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1058. end
  1059.  
  1060. function QuaternionSlerp(a, b, t)
  1061. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1062. local startInterp, finishInterp;
  1063. if cosTheta >= 0.0001 then
  1064. if (1 - cosTheta) > 0.0001 then
  1065. local theta = math.acos(cosTheta)
  1066. local invSinTheta = 1/math.sin(theta)
  1067. startInterp = math.sin((1-t)*theta)*invSinTheta
  1068. finishInterp = math.sin(t*theta)*invSinTheta
  1069. else
  1070. startInterp = 1-t
  1071. finishInterp = t
  1072. end
  1073. else
  1074. if (1+cosTheta) > 0.0001 then
  1075. local theta = math.acos(-cosTheta)
  1076. local invSinTheta = 1/math.sin(theta)
  1077. startInterp = math.sin((t-1)*theta)*invSinTheta
  1078. finishInterp = math.sin(t*theta)*invSinTheta
  1079. else
  1080. startInterp = t-1
  1081. finishInterp = t
  1082. end
  1083. end
  1084. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1085. end
  1086.  
  1087. local function CFrameFromTopBack(at, top, back)
  1088. local right = top:Cross(back)
  1089. return CFrame.new(at.x, at.y, at.z,
  1090. right.x, top.x, back.x,
  1091. right.y, top.y, back.y,
  1092. right.z, top.z, back.z)
  1093. end
  1094.  
  1095. function Triangle(a, b, c)
  1096. local edg1 = (c-a):Dot((b-a).unit)
  1097. local edg2 = (a-b):Dot((c-b).unit)
  1098. local edg3 = (b-c):Dot((a-c).unit)
  1099. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1100. a, b, c = a, b, c
  1101. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1102. a, b, c = b, c, a
  1103. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1104. a, b, c = c, a, b
  1105. else
  1106. assert(false, "unreachable")
  1107. end
  1108.  
  1109. local len1 = (c-a):Dot((b-a).unit)
  1110. local len2 = (b-a).magnitude - len1
  1111. local width = (a + (b-a).unit*len1 - c).magnitude
  1112.  
  1113. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1114.  
  1115. local list = {}
  1116.  
  1117. if len1 > 0.01 then
  1118. local w1 = Instance.new('WedgePart', m)
  1119. game:GetService("Debris"):AddItem(w1,5)
  1120. w1.Material = "SmoothPlastic"
  1121. w1.FormFactor = 'Custom'
  1122. w1.BrickColor = BrickColor.new("Really red")
  1123. w1.Transparency = 0
  1124. w1.Reflectance = 0
  1125. w1.Material = "SmoothPlastic"
  1126. w1.CanCollide = false
  1127. local l1 = Instance.new("PointLight",w1)
  1128. l1.Color = Color3.new(170,0,0)
  1129. NoOutline(w1)
  1130. local sz = Vector3.new(0.2, width, len1)
  1131. w1.Size = sz
  1132. local sp = Instance.new("SpecialMesh",w1)
  1133. sp.MeshType = "Wedge"
  1134. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1135. w1:BreakJoints()
  1136. w1.Anchored = true
  1137. w1.Parent = workspace
  1138. w1.Transparency = 0.7
  1139. table.insert(Effects,{w1,"Disappear",.01})
  1140. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1141. table.insert(list,w1)
  1142. end
  1143.  
  1144. if len2 > 0.01 then
  1145. local w2 = Instance.new('WedgePart', m)
  1146. game:GetService("Debris"):AddItem(w2,5)
  1147. w2.Material = "SmoothPlastic"
  1148. w2.FormFactor = 'Custom'
  1149. w2.BrickColor = BrickColor.new("Really red")
  1150. w2.Transparency = 0
  1151. w2.Reflectance = 0
  1152. w2.Material = "SmoothPlastic"
  1153. w2.CanCollide = false
  1154. local l2 = Instance.new("PointLight",w2)
  1155. l2.Color = Color3.new(170,0,0)
  1156. NoOutline(w2)
  1157. local sz = Vector3.new(0.2, width, len2)
  1158. w2.Size = sz
  1159. local sp = Instance.new("SpecialMesh",w2)
  1160. sp.MeshType = "Wedge"
  1161. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1162. w2:BreakJoints()
  1163. w2.Anchored = true
  1164. w2.Parent = workspace
  1165. w2.Transparency = 0.7
  1166. table.insert(Effects,{w2,"Disappear",.01})
  1167. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1168. table.insert(list,w2)
  1169. end
  1170. return unpack(list)
  1171. end
  1172.  
  1173.  
  1174. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1175. if hit.Parent==nil then
  1176. return
  1177. end
  1178. h=hit.Parent:FindFirstChild("Humanoid")
  1179. for _,v in pairs(hit.Parent:children()) do
  1180. if v:IsA("Humanoid") then
  1181. h=v
  1182. end
  1183. end
  1184. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1185. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1186. end
  1187. if hit.Parent.className=="Hat" then
  1188. hit=hit.Parent.Parent:findFirstChild("Head")
  1189. end
  1190. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1191. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1192. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1193. return
  1194. end]]
  1195. -- hs(hit,1.2)
  1196. c=Instance.new("ObjectValue")
  1197. c.Name="creator"
  1198. c.Value=game:service("Players").LocalPlayer
  1199. c.Parent=h
  1200. game:GetService("Debris"):AddItem(c,.5)
  1201. Damage=math.random(minim,maxim)
  1202. -- h:TakeDamage(Damage)
  1203. blocked=false
  1204. block=hit.Parent:findFirstChild("Block")
  1205. if block~=nil then
  1206. print(block.className)
  1207. if block.className=="NumberValue" then
  1208. if block.Value>0 then
  1209. blocked=true
  1210. if decreaseblock==nil then
  1211. block.Value=block.Value-1
  1212. end
  1213. end
  1214. end
  1215. if block.className=="IntValue" then
  1216. if block.Value>0 then
  1217. blocked=true
  1218. if decreaseblock~=nil then
  1219. block.Value=block.Value-1
  1220. end
  1221. end
  1222. end
  1223. end
  1224. if blocked==false then
  1225. -- h:TakeDamage(Damage)
  1226. h.Health=h.Health-Damage
  1227. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  1228. else
  1229. h.Health=h.Health-(Damage/2)
  1230. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1231. end
  1232. if Type=="Knockdown" then
  1233. hum=hit.Parent.Humanoid
  1234. hum.PlatformStand=true
  1235. coroutine.resume(coroutine.create(function(HHumanoid)
  1236. swait(1)
  1237. HHumanoid.PlatformStand=false
  1238. end),hum)
  1239. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1240. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1241. local bodvol=Instance.new("BodyVelocity")
  1242. bodvol.velocity=angle*knockback
  1243. bodvol.P=5000
  1244. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1245. bodvol.Parent=hit
  1246. rl=Instance.new("BodyAngularVelocity")
  1247. rl.P=3000
  1248. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1249. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1250. rl.Parent=hit
  1251. game:GetService("Debris"):AddItem(bodvol,.5)
  1252. game:GetService("Debris"):AddItem(rl,.5)
  1253. elseif Type=="Normal" then
  1254. vp=Instance.new("BodyVelocity")
  1255. vp.P=500
  1256. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1257. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1258. if KnockbackType==1 then
  1259. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1260. elseif KnockbackType==2 then
  1261. vp.velocity=Property.CFrame.lookVector*knockback
  1262. end
  1263. if knockback>0 then
  1264. vp.Parent=hit.Parent.Torso
  1265. end
  1266. game:GetService("Debris"):AddItem(vp,.5)
  1267. elseif Type=="Up" then
  1268. local bodyVelocity=Instance.new("BodyVelocity")
  1269. bodyVelocity.velocity=vt(0,60,0)
  1270. bodyVelocity.P=5000
  1271. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1272. bodyVelocity.Parent=hit
  1273. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1274. rl=Instance.new("BodyAngularVelocity")
  1275. rl.P=3000
  1276. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1277. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1278. rl.Parent=hit
  1279. game:GetService("Debris"):AddItem(rl,.5)
  1280. elseif Type=="Snare" then
  1281. bp=Instance.new("BodyPosition")
  1282. bp.P=2000
  1283. bp.D=100
  1284. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1285. bp.position=hit.Parent.Torso.Position
  1286. bp.Parent=hit.Parent.Torso
  1287. game:GetService("Debris"):AddItem(bp,1)
  1288. elseif Type=="Target" then
  1289. if Targetting==false then
  1290. ZTarget=hit.Parent.Torso
  1291. coroutine.resume(coroutine.create(function(Part)
  1292. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1293. swait(5)
  1294. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1295. end),ZTarget)
  1296. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1297. targetgui=Instance.new("BillboardGui")
  1298. targetgui.Parent=ZTarget
  1299. targetgui.Size=UDim2.new(10,100,10,100)
  1300. targ=Instance.new("ImageLabel")
  1301. targ.Parent=targetgui
  1302. targ.BackgroundTransparency=1
  1303. targ.Image="rbxassetid://4834067"
  1304. targ.Size=UDim2.new(1,0,1,0)
  1305. cam.CameraType="Scriptable"
  1306. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1307. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1308. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1309. Targetting=true
  1310. RocketTarget=ZTarget
  1311. for i=1,Property do
  1312. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1313. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1314. swait()
  1315. end
  1316. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1317. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1318. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1319. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1320. end
  1321. Targetting=false
  1322. RocketTarget=nil
  1323. targetgui.Parent=nil
  1324. cam.CameraType="Custom"
  1325. end
  1326. end
  1327. debounce=Instance.new("BoolValue")
  1328. debounce.Name="DebounceHit"
  1329. debounce.Parent=hit.Parent
  1330. debounce.Value=true
  1331. game:GetService("Debris"):AddItem(debounce,Delay)
  1332. c=Instance.new("ObjectValue")
  1333. c.Name="creator"
  1334. c.Value=Player
  1335. c.Parent=h
  1336. game:GetService("Debris"):AddItem(c,.5)
  1337. CRIT=false
  1338. hitDeb=true
  1339. AttackPos=6
  1340. end
  1341. end
  1342.  
  1343. showDamage=function(Char,Dealt,du,Color)
  1344. m=Instance.new("Model")
  1345. m.Name=tostring(Dealt)
  1346. h=Instance.new("Humanoid")
  1347. h.Health=0
  1348. h.MaxHealth=0
  1349. h.Parent=m
  1350. c=Instance.new("Part")
  1351. c.Transparency=0
  1352. c.BrickColor=Color
  1353. c.Transparency = 1
  1354. c.Name="Head"
  1355. c.TopSurface=0
  1356. c.BottomSurface=0
  1357. c.formFactor="Plate"
  1358. c.Size=Vector3.new(1,.4,1)
  1359.  
  1360. local txt = Instance.new("BillboardGui", c)
  1361. txt.Adornee = c
  1362. txt.Name = "_status"
  1363. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1364. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1365. local text = Instance.new("TextLabel", txt)
  1366. text.Size = UDim2.new(10, 0, 7, 0)
  1367. text.FontSize = "Size12"
  1368. text.TextScaled = true
  1369. text.TextTransparency = 0.5
  1370. text.BackgroundTransparency = 1
  1371. text.TextTransparency = 0.5
  1372. text.TextStrokeTransparency = 0.5
  1373. text.Font = "SciFi"
  1374. text.TextStrokeColor3 = Color3.new(0,0,0)
  1375. v=Instance.new("Part")
  1376. v.Name = "ColorBrick"
  1377. v.Parent=c
  1378. v.FormFactor="Symmetric"
  1379. v.Anchored=true
  1380. v.CanCollide=false
  1381. v.BottomSurface="Smooth"
  1382. v.TopSurface="Smooth"
  1383. v.Size=Vector3.new(10,5,3)
  1384. v.Transparency=1
  1385. v.CFrame=c.CFrame
  1386. v.BrickColor=BrickColor.random()
  1387. v.Transparency=1
  1388. text.TextColor3 = t.BrickColor.Color
  1389. v.Shape="Block"
  1390. text.Text = tostring(Dealt)
  1391. ms=Instance.new("CylinderMesh")
  1392. ms.Scale=Vector3.new(.8,.8,.8)
  1393. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1394. local rndm=math.random(1,#hitsounds)
  1395. local r=rndm
  1396. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)
  1397. if CRIT==true then
  1398. ms.Scale=Vector3.new(1,1.25,1)
  1399. end
  1400. ms.Parent=c
  1401. c.Reflectance=0
  1402. Instance.new("BodyGyro").Parent=c
  1403. c.Parent=m
  1404. if Char:findFirstChild("Head")~=nil then
  1405. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1406. elseif Char.Parent:findFirstChild("Head")~=nil then
  1407. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1408. end
  1409. f=Instance.new("BodyPosition")
  1410. f.P=2000
  1411. f.D=100
  1412. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1413. f.position=c.Position+Vector3.new(0,3,0)
  1414. f.Parent=c
  1415. game:GetService("Debris"):AddItem(m,.5+du)
  1416. c.CanCollide=false
  1417. m.Parent=workspace
  1418. c.CanCollide=false
  1419. end
  1420.  
  1421. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1422. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1423. end
  1424.  
  1425. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1426. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1427. prt.Anchored=true
  1428. prt.CFrame=cframe
  1429. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1430. --http://www.roblox.com/asset/?id=4770560
  1431. game:GetService("Debris"):AddItem(prt,2)
  1432. CF=prt.CFrame
  1433. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1434. for i=0,1,0.2 do
  1435. wait()
  1436. Part.CFrame=CF*cf(0,0,-0.4)
  1437. end
  1438. for i=0,1,delay do
  1439. wait()
  1440. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1441. Mesh.Scale=Mesh.Scale
  1442. end
  1443. for i=0,1,0.1 do
  1444. wait()
  1445. Part.Transparency=i
  1446. end
  1447. Part.Parent=nil
  1448. end),prt,msh,CF)
  1449. end
  1450.  
  1451. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1452. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1453. prt.Anchored=true
  1454. prt.Material = "Neon"
  1455. prt.CFrame=cframe
  1456. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1457. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1458. game:GetService("Debris"):AddItem(prt,5)
  1459. coroutine.resume(coroutine.create(function(Part,Mesh)
  1460. for i=0,1,delay do
  1461. swait()
  1462. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1463. Part.Transparency=i
  1464. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1465. end
  1466. Part.Parent=nil
  1467. end),prt,msh)
  1468. end
  1469.  
  1470. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1471. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1472. prt.Anchored=true
  1473. prt.Material = "Neon"
  1474. prt.CFrame=cframe
  1475. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1476. game:GetService("Debris"):AddItem(prt,5)
  1477. coroutine.resume(coroutine.create(function(Part,Mesh)
  1478. local rtype = rottype
  1479. for i=0,1,delay do
  1480. swait()
  1481. if rtype == 1 then
  1482. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1483. elseif rtype == 2 then
  1484. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1485. end
  1486. Part.Transparency=i
  1487. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1488. end
  1489. Part.Parent=nil
  1490. end),prt,msh)
  1491. end
  1492.  
  1493. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1494. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1495. prt.Anchored=true
  1496. prt.CFrame=cframe
  1497. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1498. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1499. game:GetService("Debris"):AddItem(prt,5)
  1500. coroutine.resume(coroutine.create(function(Part,Mesh)
  1501. for i=0,1,delay do
  1502. wait()
  1503. Part.Transparency=i
  1504. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1505. end
  1506. Part.Parent=nil
  1507. end),prt,msh)
  1508. end
  1509.  
  1510. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1511. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1512. prt.Anchored=true
  1513. prt.Material = "Neon"
  1514. prt.CFrame=cframe
  1515. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1516. game:GetService("Debris"):AddItem(prt,5)
  1517. coroutine.resume(coroutine.create(function(Part,Mesh)
  1518. local rtype = rottype
  1519. for i=0,1,delay do
  1520. swait()
  1521. if rtype == 1 then
  1522. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1523. elseif rtype == 2 then
  1524. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1525. end
  1526. Part.Transparency=i
  1527. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1528. end
  1529. Part.Parent=nil
  1530. end),prt,msh)
  1531. end
  1532.  
  1533. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1534. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1535. prt.Anchored=true
  1536. prt.Material = "Neon"
  1537. prt.CFrame=cframe
  1538. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1539. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1540. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1541. game:GetService("Debris"):AddItem(prt,5)
  1542. coroutine.resume(coroutine.create(function(Part,Mesh)
  1543. local rtype = rottype
  1544. for i=0,1,delay do
  1545. swait()
  1546. if rtype == 1 then
  1547. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1548. elseif rtype == 2 then
  1549. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1550. end
  1551. dec.Transparency=i
  1552. dec2.Transparency=i
  1553. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1554. end
  1555. Part.Parent=nil
  1556. end),prt,msh)
  1557. end
  1558.  
  1559. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1560. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1561. prt.Anchored=true
  1562. prt.Material = "Neon"
  1563. prt.CFrame=cframe
  1564. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1565. game:GetService("Debris"):AddItem(prt,5)
  1566. coroutine.resume(coroutine.create(function(Part,Mesh)
  1567. local rtype = rottype
  1568. for i=0,1,delay do
  1569. swait()
  1570. if rtype == 1 then
  1571. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1572. elseif rtype == 2 then
  1573. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1574. end
  1575. prt.Transparency=i
  1576. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1577. end
  1578. Part.Parent=nil
  1579. end),prt,msh)
  1580. end
  1581.  
  1582. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1583. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1584. prt.Anchored=true
  1585. prt.Material = "Neon"
  1586. prt.CFrame=cframe
  1587. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1588. game:GetService("Debris"):AddItem(prt,5)
  1589. coroutine.resume(coroutine.create(function(Part,Mesh)
  1590. local rtype = rottype
  1591. for i=0,1,delay do
  1592. swait()
  1593. if rtype == 1 then
  1594. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1595. elseif rtype == 2 then
  1596. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1597. end
  1598. prt.Transparency=i
  1599. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1600. end
  1601. Part.Parent=nil
  1602. end),prt,msh)
  1603. end
  1604.  
  1605. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1606. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1607. prt.Anchored=true
  1608. prt.Material = "Neon"
  1609. prt.CFrame=cframe
  1610. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1611. game:GetService("Debris"):AddItem(prt,5)
  1612. coroutine.resume(coroutine.create(function(Part,Mesh)
  1613. local rtype = rottype
  1614. for i=0,1,delay do
  1615. swait()
  1616. if rtype == 1 then
  1617. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1618. elseif rtype == 2 then
  1619. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1620. end
  1621. prt.Transparency=i
  1622. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1623. end
  1624. Part.Parent=nil
  1625. end),prt,msh)
  1626. end
  1627.  
  1628. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1629. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1630. prt.Anchored=false
  1631. prt.CFrame=cframe
  1632. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1633. local wld=weld(prt,prt,Parent,cframe)
  1634. game:GetService("Debris"):AddItem(prt,5)
  1635. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1636. for i=0,1,delay do
  1637. wait()
  1638. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1639. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1640. Part.Transparency=i
  1641. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1642. end
  1643. Part.Parent=nil
  1644. end),prt,msh,wld)
  1645. end
  1646.  
  1647. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1648. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1649. prt.Anchored=false
  1650. prt.CFrame=cframe
  1651. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1652. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1653. game:GetService("Debris"):AddItem(prt,5)
  1654. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1655. for i=0,1,delay do
  1656. wait()
  1657. Weld.C0=euler(i*20,0,0)
  1658. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1659. Part.Transparency=i
  1660. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1661. end
  1662. Part.Parent=nil
  1663. end),prt,msh,wld)
  1664. end
  1665.  
  1666. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1667. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1668. prt.Anchored=true
  1669. prt.CFrame=cframe
  1670. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1671. game:GetService("Debris"):AddItem(prt,2)
  1672. coroutine.resume(coroutine.create(function(Part,Mesh)
  1673. for i=0,1,delay do
  1674. wait()
  1675. Part.CFrame=Part.CFrame
  1676. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1677. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1678. prt2.Anchored=true
  1679. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1680. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1681. game:GetService("Debris"):AddItem(prt2,2)
  1682. coroutine.resume(coroutine.create(function(Part,Mesh)
  1683. for i=0,1,0.1 do
  1684. wait()
  1685. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1686. end
  1687. Part.Parent=nil
  1688. end),prt2,msh2)
  1689. end
  1690. for i=0,1,delay*2 do
  1691. wait()
  1692. Part.CFrame=Part.CFrame
  1693. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1694. end
  1695. Part.Parent=nil
  1696. end),prt,msh)
  1697. end
  1698.  
  1699. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1700. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1701. prt.Anchored=true
  1702. prt.CFrame=cframe
  1703. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1704. game:GetService("Debris"):AddItem(prt,2)
  1705. coroutine.resume(coroutine.create(function(Part,Mesh)
  1706. for i=0,1,delay do
  1707. wait()
  1708. Part.CFrame=Part.CFrame
  1709. Part.Transparency=i
  1710. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1711. end
  1712. Part.Parent=nil
  1713. end),prt,msh)
  1714. end
  1715.  
  1716. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1717. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1718. prt.Anchored=true
  1719. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1720. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1721. game:GetService("Debris"):AddItem(prt,2)
  1722. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1723. CF=Part.CFrame
  1724. Numbb=0
  1725. randnumb=math.random()/10
  1726. rand1=math.random()/10
  1727. for i=0,1,rand1 do
  1728. wait()
  1729. CF=CF*cf(0,math.random()/2,0)
  1730. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1731. Part.CFrame=CF*euler(Numbb,0,0)
  1732. Part.Transparency=i
  1733. Numbb=Numbb+randnumb
  1734. end
  1735. Part.Parent=nil
  1736. end),prt,CF,Numbb,randnumb)
  1737. end
  1738.  
  1739. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1740. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1741. prt.Anchored=true
  1742. prt.CFrame=cframe
  1743. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1744. game:GetService("Debris"):AddItem(prt,5)
  1745. coroutine.resume(coroutine.create(function(Part,Mesh)
  1746. for i=0,1,delay do
  1747. wait()
  1748. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1749. Part.Transparency=i
  1750. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1751. end
  1752. Part.Parent=nil
  1753. end),prt,msh)
  1754. end
  1755.  
  1756. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1757. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1758. prt.Anchored=true
  1759. prt.CFrame=cframe
  1760. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1761. game:GetService("Debris"):AddItem(prt,2)
  1762. coroutine.resume(coroutine.create(function(Part,Mesh)
  1763. for i=0,1,delay do
  1764. wait()
  1765. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1766. Part.Transparency=i
  1767. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1768. end
  1769. Part.Parent=nil
  1770. end),prt,msh)
  1771. end
  1772.  
  1773. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1774. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1775. prt.Anchored=true
  1776. prt.CFrame=cframe*cf(x,y,z)
  1777. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1778. game:GetService("Debris"):AddItem(prt,5)
  1779. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1780. local num=math.random()
  1781. local num2=math.random(-3,2)+math.random()
  1782. local numm=0
  1783. for i=0,1,delay*2 do
  1784. swait()
  1785. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1786. Part.Transparency=i
  1787. numm=numm+0.01
  1788. end
  1789. Part.Parent=nil
  1790. Mesh.Parent=nil
  1791. end),prt,msh,x,y,z)
  1792. end
  1793.  
  1794. function dmgstart(dmg,what)
  1795. hitcon = what.Touched:connect(function(hit)
  1796. local hum = hit.Parent:FindFirstChild("Humanoid")
  1797. if hum and not hum:IsDescendantOf(Character) then
  1798. hum:TakeDamage(dmg)
  1799. end
  1800. end)
  1801. end
  1802.  
  1803. function dmgstop()
  1804. hitcon:disconnect()
  1805. end
  1806.  
  1807. function Cloak()
  1808. Face.Parent=nil
  1809. cloaked=true
  1810. for _,v in pairs(Torso.Parent:children()) do
  1811. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1812. coroutine.resume(coroutine.create(function()
  1813. for i=0,1,0.2 do
  1814. wait()
  1815. v.Transparency=i
  1816. end
  1817. v.Transparency=1
  1818. end))
  1819. end
  1820. if v.className=="Hat" then
  1821. hatp=v.Handle
  1822. coroutine.resume(coroutine.create(function(derp)
  1823. for i=0,1,0.2 do
  1824. wait()
  1825. derp.Transparency=i
  1826. end
  1827. derp.Transparency=1
  1828. end),hatp)
  1829. end
  1830. end
  1831. for _,v in pairs(m:children()) do
  1832. if v.className=="Part" then
  1833. coroutine.resume(coroutine.create(function()
  1834. for i=0,1,0.2 do
  1835. wait()
  1836. v.Transparency=i
  1837. end
  1838. v.Transparency=1
  1839. end))
  1840. end
  1841. end
  1842. end
  1843.  
  1844. function UnCloak()
  1845. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1846. Face.Parent=Head
  1847. cloaked=false
  1848. for _,v in pairs(Torso.Parent:children()) do
  1849. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1850. coroutine.resume(coroutine.create(function()
  1851. for i=0,1,0.1 do
  1852. wait()
  1853. v.Transparency=v.Transparency-0.1
  1854. end
  1855. v.Transparency=0
  1856. end))
  1857. end
  1858. if v.className=="Hat" then
  1859. hatp=v.Handle
  1860. coroutine.resume(coroutine.create(function(derp)
  1861. for i=0,1,0.1 do
  1862. wait()
  1863. derp.Transparency=derp.Transparency-0.1
  1864. end
  1865. derp.Transparency=0
  1866. end),hatp)
  1867. end
  1868. end
  1869. for _,v in pairs(m:children()) do
  1870. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1871. coroutine.resume(coroutine.create(function()
  1872. for i=0,1,0.1 do
  1873. wait()
  1874. v.Transparency=v.Transparency-0.1
  1875. end
  1876. v.Transparency=0
  1877. end))
  1878. v.Transparency=0
  1879. end
  1880. end
  1881. end
  1882.  
  1883. local coold = false
  1884.  
  1885. function Twinkle()
  1886. chatfunc("I won't let you leave here alive.")
  1887.  
  1888. attack = true
  1889. for i = 0,5,0.1 do
  1890. swait()
  1891. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  1892. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.1)
  1893. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.1)
  1894. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.1)
  1895. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.35) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.1)
  1896. end
  1897. local bulletgos = it("Model",char)
  1898. local bulletgos2 = it("Model",char)
  1899. local a = Instance.new("Part",Character)
  1900. a.BrickColor = BrickColor.random()
  1901. a.Name = "Lazer"
  1902. a.Anchored = true
  1903. a.Material = "Neon"
  1904. a.Transparency = 1
  1905. a.CanCollide = false
  1906. local hitbox = Instance.new("Part",char)
  1907. hitbox.Size = Vector3.new(5,5,5)
  1908. hitbox.CFrame = mouse.hit
  1909. hitbox.Anchored = true
  1910. hitbox.Transparency = 1
  1911. hitbox.CanCollide = false
  1912. local ray = Ray.new(
  1913. sorb.CFrame.p, -- origin
  1914. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1915. )
  1916. local ignore = Character
  1917. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1918. if hit then
  1919. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1920.  
  1921. if not humanoid then
  1922. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1923. end
  1924. if humanoid then
  1925. if humanoid.Parent:IsA"Model" then
  1926. end
  1927. end
  1928. end
  1929. a.BottomSurface = 10
  1930. a.TopSurface = 10
  1931. local distance = (sorb.CFrame.p - position).magnitude
  1932. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1933. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1934. game:GetService("Debris"):AddItem(a, 10)
  1935. game:GetService("Debris"):AddItem(hitbox, 1)
  1936. local newmesh = Instance.new("BlockMesh",a)
  1937. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  1938. MagicShockAlt(BrickColor.new("Magenta"),a.CFrame,5,5,1.5,1.5,0.015,1)
  1939. MagicShockAlt(BrickColor.new("Magenta"),a.CFrame,5,5,1.25,1.25,0.015,2)
  1940. MagicShockAlt(BrickColor.new("Magenta"),a.CFrame,5,5,1,1,0.015,1)
  1941. local lbs = Instance.new("Part")
  1942. lbs.Parent = char
  1943. CFuncs["Sound"].Create("rbxassetid://929619479", lbs, 1.5, 1)
  1944. lbs.Material = "Neon"
  1945. lbs.Color = BrickColor.new("Really black").Color
  1946. lbs.CanCollide = false
  1947. lbs.Shape = "Ball"
  1948. lbs.Anchored = true
  1949. lbs.Transparency = 0
  1950. lbs.Size = vt(10,10,10)
  1951. lbs.CFrame = a.CFrame
  1952. local thing = Instance.new("SpecialMesh",lbs)
  1953. thing.MeshType = "Sphere"
  1954. lbs.Anchored = false
  1955. local bvs = Instance.new("BodyVelocity")
  1956. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1957. bvs.velocity = a.CFrame.lookVector*75
  1958. bvs.Parent = lbs
  1959. lbs.Touched:connect(function(hit)
  1960. Damagefunc(hit,25,60,math.random(10,20),"Normal",root,.2,1)
  1961. end)
  1962. game:GetService("Debris"):AddItem(lbs, 10)
  1963. local rotation = 0
  1964. local rotation2 = 0
  1965. for z = 0, 24 do
  1966. wait()
  1967. rotation = rotation + 25
  1968. rotation2 = rotation2 - 25
  1969. local lb = Instance.new("Part")
  1970. lb.Parent = bulletgos
  1971. lb.Material = "Neon"
  1972. lb.Color = BrickColor.new("Magenta").Color
  1973. lb.CanCollide = false
  1974. lb.Anchored = true
  1975. lb.Transparency = 0
  1976. lb.Size = vt(2,2,2)
  1977. local thing = Instance.new("SpecialMesh",lb)
  1978. thing.MeshType = "Sphere"
  1979. thing.Scale = Vector3.new(0.5,0.5,1.5)
  1980. lb.CFrame = lbs.CFrame*CFrame.Angles(0,math.rad(rotation2),0)
  1981. local lb2 = Instance.new("Part")
  1982. lb2.Parent = bulletgos
  1983. lb2.Material = "Neon"
  1984. lb2.Color = lb.Color
  1985. lb2.CanCollide = false
  1986. lb2.Anchored = true
  1987. lb2.Transparency = 0
  1988. lb2.Size = vt(2,2,2)
  1989. lb2.CFrame = lbs.CFrame*CFrame.Angles(0,math.rad(rotation),0)
  1990. local thing2 = Instance.new("SpecialMesh",lb2)
  1991. thing2.MeshType = "Sphere"
  1992. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  1993. lb.Touched:connect(function(hit)
  1994. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  1995. end)
  1996. lb2.Touched:connect(function(hit)
  1997. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  1998. end)
  1999. local lb3 = Instance.new("Part")
  2000. lb3.Parent = bulletgos2
  2001. lb3.Material = "Neon"
  2002. lb3.Color = BrickColor.new("Magenta").Color
  2003. lb3.CanCollide = false
  2004. lb3.Anchored = true
  2005. lb3.Transparency = 0
  2006. lb3.Size = vt(2,2,2)
  2007. local thing3 = Instance.new("SpecialMesh",lb3)
  2008. thing3.MeshType = "Sphere"
  2009. thing3.Scale = Vector3.new(0.5,0.5,1.5)
  2010. lb3.CFrame = lbs.CFrame*CFrame.Angles(0,math.rad(rotation2),0)
  2011. local lb4 = Instance.new("Part")
  2012. lb4.Parent = bulletgos2
  2013. lb4.Material = "Neon"
  2014. lb4.Color = lb3.Color
  2015. lb4.CanCollide = false
  2016. lb4.Anchored = true
  2017. lb4.Transparency = 0
  2018. lb4.Size = vt(2,2,2)
  2019. lb4.CFrame = lbs.CFrame*CFrame.Angles(0,math.rad(rotation),0)
  2020. local thing4 = Instance.new("SpecialMesh",lb4)
  2021. thing4.MeshType = "Sphere"
  2022. thing4.Scale = Vector3.new(0.5,0.5,1.5)
  2023. lb3.Touched:connect(function(hit)
  2024. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2025. end)
  2026. lb4.Touched:connect(function(hit)
  2027. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2028. end)
  2029. end
  2030. bvs:Destroy()
  2031. lbs.Anchored = true
  2032. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2033. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2034. lbs.Transparency = 1
  2035. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2036. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2037. CFuncs["Sound"].Create("rbxassetid://925629856", lbs, 5, 1)
  2038. game:GetService("Debris"):AddItem(bulletgos, 7)
  2039. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2040. for i,v in pairs(bulletgos:children()) do
  2041. if v:IsA("Part") then
  2042. v.Anchored = false
  2043. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2044. local bv = Instance.new("BodyVelocity")
  2045. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2046. bv.velocity = v.CFrame.lookVector*25
  2047. bv.Parent = v
  2048. game:GetService("Debris"):AddItem(v, 5)
  2049. end
  2050. end
  2051. for i,v in pairs(bulletgos2:children()) do
  2052. if v:IsA("Part") then
  2053. v.Anchored = false
  2054. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2055. local bv = Instance.new("BodyVelocity")
  2056. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2057. bv.velocity = v.CFrame.lookVector*50
  2058. bv.Parent = v
  2059. game:GetService("Debris"):AddItem(v, 5)
  2060. end
  2061. end
  2062. attack = false
  2063.  
  2064. end
  2065.  
  2066. function TwinkleBurst()
  2067. chatfunc("Placeholder")
  2068. attack = true
  2069. for i = 0,5,0.1 do
  2070. swait()
  2071. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2072. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.1)
  2073. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.1)
  2074. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.1)
  2075. LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.35) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.1)
  2076. end
  2077. local a = Instance.new("Part",Character)
  2078. a.BrickColor = BrickColor.random()
  2079. a.Name = "Lazer"
  2080. a.Anchored = true
  2081. a.Material = "Neon"
  2082. a.Transparency = 1
  2083. a.CanCollide = false
  2084. local hitbox = Instance.new("Part",char)
  2085. hitbox.Size = Vector3.new(5,5,5)
  2086. hitbox.CFrame = mouse.hit
  2087. hitbox.Anchored = true
  2088. hitbox.Transparency = 1
  2089. hitbox.CanCollide = false
  2090. local ray = Ray.new(
  2091. sorb.CFrame.p, -- origin
  2092. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2093. )
  2094. local ignore = Character
  2095. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2096. if hit then
  2097. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2098.  
  2099. if not humanoid then
  2100. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2101. end
  2102. if humanoid then
  2103. if humanoid.Parent:IsA"Model" then
  2104. end
  2105. end
  2106. end
  2107. a.BottomSurface = 10
  2108. a.TopSurface = 10
  2109. local distance = (sorb.CFrame.p - position).magnitude
  2110. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2111. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2112. game:GetService("Debris"):AddItem(a, 5)
  2113. game:GetService("Debris"):AddItem(hitbox, 1)
  2114. local newmesh = Instance.new("BlockMesh",a)
  2115. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  2116. MagicShockAlt(BrickColor.new("Magenta"),a.CFrame,5,5,1.5,1.5,0.015,1)
  2117. MagicShockAlt(BrickColor.new("Magenta"),a.CFrame,5,5,1.25,1.25,0.015,2)
  2118. MagicShockAlt(BrickColor.new("Magenta"),a.CFrame,5,5,1,1,0.015,1)
  2119. local lbs = Instance.new("Part")
  2120. lbs.Parent = char
  2121. CFuncs["Sound"].Create("rbxassetid://929619479", lbs, 1, 1)
  2122. lbs.Material = "Neon"
  2123. lbs.Color = BrickColor.new("Really black").Color
  2124. lbs.CanCollide = false
  2125. lbs.Shape = "Ball"
  2126. lbs.Anchored = true
  2127. lbs.Transparency = 0
  2128. lbs.Size = vt(20,20,20)
  2129. lbs.CFrame = a.CFrame
  2130. local thing = Instance.new("SpecialMesh",lbs)
  2131. thing.MeshType = "Sphere"
  2132. lbs.Anchored = false
  2133. local bvs = Instance.new("BodyVelocity")
  2134. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2135. bvs.velocity = a.CFrame.lookVector*75
  2136. bvs.Parent = lbs
  2137. lbs.Touched:connect(function(hit)
  2138. Damagefunc(hit,25,60,math.random(10,20),"Normal",root,.2,1)
  2139. end)
  2140. attack = false
  2141. game:GetService("Debris"):AddItem(lbs, 10)
  2142. for x = 0, 4 do
  2143. local bulletgos = it("Model",char)
  2144. local bulletgos2 = it("Model",char)
  2145. for z = 0, 24 do
  2146. local lb = Instance.new("Part")
  2147. lb.Parent = bulletgos
  2148. lb.Material = "Neon"
  2149. lb.Color = BrickColor.new("Magenta").Color
  2150. lb.CanCollide = false
  2151. lb.Anchored = true
  2152. lb.Transparency = 0
  2153. lb.Size = vt(2,2,2)
  2154. local thing = Instance.new("SpecialMesh",lb)
  2155. thing.MeshType = "Sphere"
  2156. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2157. lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2158. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  2159. local lb2 = Instance.new("Part")
  2160. lb2.Parent = bulletgos2
  2161. lb2.Material = "Neon"
  2162. lb2.Color = lb.Color
  2163. lb2.CanCollide = false
  2164. lb2.Anchored = true
  2165. lb2.Transparency = 0
  2166. lb2.Size = vt(2,2,2)
  2167. lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2168. lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
  2169. local thing2 = Instance.new("SpecialMesh",lb2)
  2170. thing2.MeshType = "Sphere"
  2171. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  2172. lb.Touched:connect(function(hit)
  2173. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2174. end)
  2175. lb2.Touched:connect(function(hit)
  2176. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2177. end)
  2178. end
  2179. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2180. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2181. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2182. MagicBlock(BrickColor.new("Magenta"),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2183. CFuncs["Sound"].Create("rbxassetid://925629856", lbs, 5, 1)
  2184. game:GetService("Debris"):AddItem(bulletgos, 7)
  2185. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2186. for i,v in pairs(bulletgos:children()) do
  2187. if v:IsA("Part") then
  2188. v.Anchored = false
  2189. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2190. local bv = Instance.new("BodyVelocity")
  2191. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2192. bv.velocity = v.CFrame.lookVector*25
  2193. bv.Parent = v
  2194. game:GetService("Debris"):AddItem(v, 5)
  2195. end
  2196. end
  2197. for i,v in pairs(bulletgos2:children()) do
  2198. if v:IsA("Part") then
  2199. v.Anchored = false
  2200. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2201. local bv = Instance.new("BodyVelocity")
  2202. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2203. bv.velocity = v.CFrame.lookVector*-25
  2204. bv.Parent = v
  2205. game:GetService("Debris"):AddItem(v, 5)
  2206. end
  2207. end
  2208. wait(1)
  2209. end
  2210. end
  2211.  
  2212. function TargetTwinkle()
  2213. chatfunc("Placeholder")
  2214. attack = true
  2215. for i = 0,1,0.1 do
  2216. swait()
  2217. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2218. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.1)
  2219. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.1)
  2220. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.1)
  2221. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
  2222. end
  2223. attack = false
  2224. local a = Instance.new("Part",Character)
  2225. a.BrickColor = BrickColor.random()
  2226. a.Name = "Lazer"
  2227. a.Anchored = true
  2228. a.Material = "Neon"
  2229. a.Transparency = 1
  2230. a.CanCollide = false
  2231. local hitbox = Instance.new("Part",char)
  2232. hitbox.Size = Vector3.new(5,5,5)
  2233. hitbox.CFrame = mouse.hit
  2234. hitbox.Anchored = true
  2235. hitbox.Transparency = 1
  2236. hitbox.CanCollide = false
  2237. local ray = Ray.new(
  2238. sorb.CFrame.p, -- origin
  2239. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2240. )
  2241. local ignore = Character
  2242. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2243. if hit then
  2244. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2245.  
  2246. if not humanoid then
  2247. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2248. end
  2249. if humanoid then
  2250. if humanoid.Parent:IsA"Model" then
  2251. local bulletgos = it("Model",char)
  2252. local bulletgos2 = it("Model",char)
  2253. for z = 0, 24 do
  2254. wait(0.05)
  2255. local lb = Instance.new("Part")
  2256. lb.Parent = bulletgos2
  2257. lb.Material = "Neon"
  2258. lb.Color = BrickColor.new("Magenta").Color
  2259. lb.CanCollide = false
  2260. lb.Anchored = true
  2261. lb.Transparency = 0
  2262. lb.Size = vt(2,2,2)
  2263. local thing = Instance.new("SpecialMesh",lb)
  2264. thing.MeshType = "Sphere"
  2265. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2266. lb.CFrame = hit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2267. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  2268. CFuncs["Sound"].Create("rbxassetid://929619479", lb, 0.5, 1)
  2269. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2270. lb.Touched:connect(function(hit)
  2271. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2272. end)
  2273. end
  2274. wait(1)
  2275. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2276. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2277. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2278. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2279. CFuncs["Sound"].Create("rbxassetid://925629856", hit, 5, 1)
  2280. game:GetService("Debris"):AddItem(bulletgos, 7)
  2281. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2282. for i,v in pairs(bulletgos:children()) do
  2283. if v:IsA("Part") then
  2284. v.Anchored = false
  2285. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2286. local bv = Instance.new("BodyVelocity")
  2287. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2288. bv.velocity = v.CFrame.lookVector*25
  2289. bv.Parent = v
  2290. game:GetService("Debris"):AddItem(v, 5)
  2291. end
  2292. end
  2293. for i,v in pairs(bulletgos2:children()) do
  2294. if v:IsA("Part") then
  2295. v.Anchored = false
  2296. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2297. local bv = Instance.new("BodyVelocity")
  2298. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2299. bv.velocity = v.CFrame.lookVector*-25
  2300. bv.Parent = v
  2301. game:GetService("Debris"):AddItem(v, 5)
  2302. end
  2303. end
  2304. end
  2305. end
  2306. end
  2307. a.BottomSurface = 10
  2308. a.TopSurface = 10
  2309. local distance = (sorb.CFrame.p - position).magnitude
  2310. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2311. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2312. game:GetService("Debris"):AddItem(a, 5)
  2313. game:GetService("Debris"):AddItem(hitbox, 1)
  2314. game:GetService("Debris"):AddItem(lbs, 10)
  2315. end
  2316.  
  2317. function TargetTwinkleCurse()
  2318. chatfunc("Placeholder")
  2319. CFuncs["Sound"].Create("rbxassetid://925333540", char, 0.5, 1)
  2320. coold = true
  2321. MagicBlock(BrickColor.new("Really black"),t.CFrame,25,25,25,-0.05,-0.05,-0.05,0.025)
  2322. MagicBlock(BrickColor.new("Magenta"),t.CFrame,25,25,25,-0.05,-0.05,-0.05,0.025)
  2323. wait(1)
  2324. attack = true
  2325. coold = false
  2326. for i = 0,4,0.1 do
  2327. swait()
  2328. MagicBlock(BrickColor.new("Really black"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2329. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.1)
  2330. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.1)
  2331. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.1)
  2332. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
  2333. end
  2334. attack = false
  2335. local a = Instance.new("Part",Character)
  2336. a.BrickColor = BrickColor.random()
  2337. a.Name = "Lazer"
  2338. a.Anchored = true
  2339. a.Material = "Neon"
  2340. a.Transparency = 1
  2341. a.CanCollide = false
  2342. local hitbox = Instance.new("Part",char)
  2343. hitbox.Size = Vector3.new(5,5,5)
  2344. hitbox.CFrame = mouse.hit
  2345. hitbox.Anchored = true
  2346. hitbox.Transparency = 1
  2347. hitbox.CanCollide = false
  2348. local ray = Ray.new(
  2349. sorb.CFrame.p, -- origin
  2350. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2351. )
  2352. local ignore = Character
  2353. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2354. if hit then
  2355. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2356.  
  2357. if not humanoid then
  2358. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2359. end
  2360. if humanoid then
  2361. if humanoid.Parent:IsA"Model" then
  2362. for z = 0, 49 do
  2363. wait(0.1)
  2364. local lb = Instance.new("Part")
  2365. lb.Anchored = true
  2366. lb.Parent = char
  2367. lb.Material = "Neon"
  2368. lb.Color = BrickColor.new("Magenta").Color
  2369. lb.CanCollide = false
  2370. lb.Transparency = 0
  2371. lb.Size = vt(2,2,2)
  2372. local thing = Instance.new("SpecialMesh",lb)
  2373. thing.MeshType = "Sphere"
  2374. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2375. lb.CFrame = hit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2376. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*7.5
  2377. CFuncs["Sound"].Create("rbxassetid://929619479", lb, 0.5, 1)
  2378. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2379. lb.Touched:connect(function(hit)
  2380. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2381. end)
  2382. wait(0.1)
  2383. lb.Anchored = false
  2384. local bv = Instance.new("BodyVelocity")
  2385. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2386. bv.velocity = lb.CFrame.lookVector*-5
  2387. bv.Parent = lb
  2388. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,1,1,1,-0.1,-0.1,-0.1,0.025)
  2389. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,1,1,1,0.1,0.1,0.1,0.025)
  2390. CFuncs["Sound"].Create("rbxassetid://925629856", lb, 0.1, 1)
  2391. game:GetService("Debris"):AddItem(lb, 7)
  2392. end
  2393. end
  2394. end
  2395. end
  2396. a.BottomSurface = 10
  2397. a.TopSurface = 10
  2398. local distance = (sorb.CFrame.p - position).magnitude
  2399. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2400. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2401. game:GetService("Debris"):AddItem(a, 5)
  2402. game:GetService("Debris"):AddItem(hitbox, 1)
  2403. game:GetService("Debris"):AddItem(lbs, 10)
  2404. end
  2405.  
  2406. function TargetPulse()
  2407. chatfunc("Placeholder")
  2408. CFuncs["Sound"].Create("rbxassetid://925333540", char, 0.5, 1)
  2409. coold = true
  2410. MagicBlock(BrickColor.new("Really black"),t.CFrame,25,25,25,-0.05,-0.05,-0.05,0.025)
  2411. MagicBlock(BrickColor.new("Magenta"),t.CFrame,25,25,25,-0.05,-0.05,-0.05,0.025)
  2412. wait(1)
  2413. attack = true
  2414. coold = false
  2415. for i = 0,3,0.1 do
  2416. swait()
  2417. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2418. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(80)),.1)
  2419. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.1)
  2420. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.1)
  2421. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
  2422. end
  2423. attack = false
  2424. local a = Instance.new("Part",Character)
  2425. a.BrickColor = BrickColor.random()
  2426. a.Name = "Lazer"
  2427. a.Anchored = true
  2428. a.Material = "Neon"
  2429. a.Transparency = 1
  2430. a.CanCollide = false
  2431. local hitbox = Instance.new("Part",char)
  2432. hitbox.Size = Vector3.new(5,5,5)
  2433. hitbox.CFrame = mouse.hit
  2434. hitbox.Anchored = true
  2435. hitbox.Transparency = 1
  2436. hitbox.CanCollide = false
  2437. local ray = Ray.new(
  2438. sorb.CFrame.p, -- origin
  2439. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  2440. )
  2441. local ignore = Character
  2442. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2443. if hit then
  2444. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2445.  
  2446. if not humanoid then
  2447. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2448. end
  2449. if humanoid then
  2450. if humanoid.Parent:IsA"Model" then
  2451. local bulletgos = it("Model",char)
  2452. local bulletgos2 = it("Model",char)
  2453. for z = 0, 49 do
  2454. wait(0.05)
  2455. local lb = Instance.new("Part")
  2456. lb.Parent = bulletgos2
  2457. lb.Material = "Neon"
  2458. lb.Color = BrickColor.new("Magenta").Color
  2459. lb.CanCollide = false
  2460. lb.Anchored = true
  2461. lb.Transparency = 0
  2462. lb.Size = vt(1,1,10)
  2463. local thing = Instance.new("SpecialMesh",lb)
  2464. thing.MeshType = "Sphere"
  2465. thing.Scale = Vector3.new(1,1,1.25)
  2466. lb.CFrame = hit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2467. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*45
  2468. CFuncs["Sound"].Create("rbxassetid://929619479", lb, 0.5, 1)
  2469. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2470. lb.Touched:connect(function(hit)
  2471. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2472. end)
  2473. local lb2 = Instance.new("Part")
  2474. lb2.Parent = bulletgos
  2475. lb2.Material = "Neon"
  2476. lb2.Color = BrickColor.new("Really black").Color
  2477. lb2.CanCollide = false
  2478. lb2.Anchored = true
  2479. lb2.Transparency = 0
  2480. lb2.Size = vt(2,2,2)
  2481. local thing = Instance.new("SpecialMesh",lb2)
  2482. thing.MeshType = "Sphere"
  2483. lb2.CFrame = hit.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2484. lb2.CFrame = lb2.CFrame + lb2.CFrame.lookVector*10
  2485. CFuncs["Sound"].Create("rbxassetid://929619479", lb2, 0.5, 1)
  2486. MagicBlock(BrickColor.new("Magenta"),lb2.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2487. lb2.Touched:connect(function(hit)
  2488. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2489. end)
  2490. end
  2491. wait(1)
  2492. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2493. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2494. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2495. MagicBlock(BrickColor.new("Magenta"),hit.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2496. CFuncs["Sound"].Create("rbxassetid://925629856", hit, 5, 1)
  2497. game:GetService("Debris"):AddItem(bulletgos, 7)
  2498. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2499. for i,v in pairs(bulletgos:children()) do
  2500. if v:IsA("Part") then
  2501. v.Anchored = false
  2502. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2503. local bv = Instance.new("BodyVelocity")
  2504. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2505. bv.velocity = v.CFrame.lookVector*-2.5
  2506. bv.Parent = v
  2507. game:GetService("Debris"):AddItem(v, 10)
  2508. end
  2509. end
  2510. for i,v in pairs(bulletgos2:children()) do
  2511. if v:IsA("Part") then
  2512. v.Anchored = false
  2513. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2514. local bv = Instance.new("BodyVelocity")
  2515. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2516. bv.velocity = v.CFrame.lookVector*-10
  2517. bv.Parent = v
  2518. game:GetService("Debris"):AddItem(v, 10)
  2519. end
  2520. end
  2521. end
  2522. end
  2523. end
  2524. a.BottomSurface = 10
  2525. a.TopSurface = 10
  2526. local distance = (sorb.CFrame.p - position).magnitude
  2527. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2528. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2529. game:GetService("Debris"):AddItem(a, 5)
  2530. game:GetService("Debris"):AddItem(hitbox, 1)
  2531. game:GetService("Debris"):AddItem(lbs, 10)
  2532. end
  2533.  
  2534. function TwinkleSpiral()
  2535. chatfunc("Placeholder")
  2536. attack = true
  2537. hum.WalkSpeed = 0
  2538. for i = 0,3,0.1 do
  2539. swait()
  2540. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2541. MagicBlock(BrickColor.new("Magenta"),sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2542. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(30)),.1)
  2543. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2544. RW.C0 = clerp(RW.C0, CFrame.new(0.85, 0.5, -0.5) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.1)
  2545. LW.C0 = clerp(LW.C0, CFrame.new(-0.85, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.1)
  2546. end
  2547. local bulletgos = it("Model",char)
  2548. local bulletgos2 = it("Model",char)
  2549. local rotation = 0
  2550. local dis = 75
  2551. for z = 0, 99 do
  2552. wait(0.05)
  2553. rotation = rotation + 6.15
  2554. local lb = Instance.new("Part")
  2555. lb.Parent = bulletgos
  2556. lb.Material = "Neon"
  2557. lb.Color = BrickColor.new("Magenta").Color
  2558. lb.CanCollide = false
  2559. lb.Anchored = true
  2560. lb.Transparency = 0
  2561. lb.Size = vt(2,2,2)
  2562. local thing = Instance.new("SpecialMesh",lb)
  2563. thing.MeshType = "Sphere"
  2564. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2565. lb.CFrame = root.CFrame
  2566. lb.CFrame = lb.CFrame*CFrame.Angles(0,math.rad(rotation),0)
  2567. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*dis/6
  2568. CFuncs["Sound"].Create("rbxassetid://929619479", lb, 0.25, 1)
  2569. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2570. lb.Touched:connect(function(hit)
  2571. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2572. end)
  2573. local lb2 = Instance.new("Part")
  2574. lb2.Parent = bulletgos2
  2575. lb2.Material = "Neon"
  2576. lb2.Color = BrickColor.new("Magenta").Color
  2577. lb2.CanCollide = false
  2578. lb2.Anchored = true
  2579. lb2.Transparency = 0
  2580. lb2.Size = vt(2,2,2)
  2581. local thing = Instance.new("SpecialMesh",lb2)
  2582. thing.MeshType = "Sphere"
  2583. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2584. lb2.CFrame = root.CFrame
  2585. lb2.CFrame = lb2.CFrame*CFrame.Angles(0,math.rad(rotation),0)
  2586. lb2.CFrame = lb2.CFrame - lb2.CFrame.lookVector*dis/6
  2587. CFuncs["Sound"].Create("rbxassetid://929619479", lb2, 0.25, 1)
  2588. MagicBlock(BrickColor.new("Magenta"),lb2.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2589. lb2.Touched:connect(function(hit)
  2590. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2591. end)
  2592. dis = dis + 2.5
  2593. end
  2594. wait(0.5)
  2595. hum.WalkSpeed = 16
  2596. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2597. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2598. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2599. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2600. CFuncs["Sound"].Create("rbxassetid://925629856", root, 5, 1)
  2601. game:GetService("Debris"):AddItem(bulletgos, 7)
  2602. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2603. for i,v in pairs(bulletgos:children()) do
  2604. if v:IsA("Part") then
  2605. v.Anchored = false
  2606. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2607. local bv = Instance.new("BodyVelocity")
  2608. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2609. bv.velocity = v.CFrame.lookVector*25
  2610. bv.Parent = v
  2611. game:GetService("Debris"):AddItem(v, 5)
  2612. end
  2613. end
  2614. for i,v in pairs(bulletgos2:children()) do
  2615. if v:IsA("Part") then
  2616. v.Anchored = false
  2617. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2618. local bv = Instance.new("BodyVelocity")
  2619. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2620. bv.velocity = v.CFrame.lookVector*-25
  2621. bv.Parent = v
  2622. game:GetService("Debris"):AddItem(v, 5)
  2623. end
  2624. end
  2625. attack = false
  2626. end
  2627.  
  2628. function TwinkleSpiralInpulse()
  2629. chatfunc("Placeholder")
  2630. attack = true
  2631. hum.WalkSpeed = 0
  2632. for i = 0,3,0.1 do
  2633. swait()
  2634. MagicBlock(BrickColor.new("Magenta"),sorb.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2635. MagicBlock(BrickColor.new("Magenta"),sorb2.CFrame,1,1,1,0.05,0.05,0.05,0.05)
  2636. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(30)),.1)
  2637. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2638. RW.C0 = clerp(RW.C0, CFrame.new(0.85, 0.5, -0.5) * angles(math.rad(0), math.rad(10), math.rad(-90)), 0.1)
  2639. LW.C0 = clerp(LW.C0, CFrame.new(-0.85, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.1)
  2640. end
  2641. local bulletgos = it("Model",char)
  2642. local bulletgos2 = it("Model",char)
  2643. local rotation = 0
  2644. local dis = 75
  2645. for z = 0, 99 do
  2646. wait(0.05)
  2647. rotation = rotation + 6.15
  2648. local lb = Instance.new("Part")
  2649. lb.Parent = bulletgos2
  2650. lb.Material = "Neon"
  2651. lb.Color = BrickColor.new("Magenta").Color
  2652. lb.CanCollide = false
  2653. lb.Anchored = true
  2654. lb.Transparency = 0
  2655. lb.Size = vt(2,2,2)
  2656. local thing = Instance.new("SpecialMesh",lb)
  2657. thing.MeshType = "Sphere"
  2658. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2659. lb.CFrame = root.CFrame
  2660. lb.CFrame = lb.CFrame*CFrame.Angles(0,math.rad(rotation),0)
  2661. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*dis/6
  2662. CFuncs["Sound"].Create("rbxassetid://929619479", lb, 0.25, 1)
  2663. MagicBlock(BrickColor.new("Magenta"),lb.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2664. lb.Touched:connect(function(hit)
  2665. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2666. end)
  2667. local lb2 = Instance.new("Part")
  2668. lb2.Parent = bulletgos
  2669. lb2.Material = "Neon"
  2670. lb2.Color = BrickColor.new("Magenta").Color
  2671. lb2.CanCollide = false
  2672. lb2.Anchored = true
  2673. lb2.Transparency = 0
  2674. lb2.Size = vt(2,2,2)
  2675. local thing = Instance.new("SpecialMesh",lb2)
  2676. thing.MeshType = "Sphere"
  2677. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2678. lb2.CFrame = root.CFrame
  2679. lb2.CFrame = lb2.CFrame*CFrame.Angles(0,math.rad(rotation),0)
  2680. lb2.CFrame = lb2.CFrame - lb2.CFrame.lookVector*dis/6
  2681. CFuncs["Sound"].Create("rbxassetid://929619479", lb2, 0.25, 1)
  2682. MagicBlock(BrickColor.new("Magenta"),lb2.CFrame,2,2,2,0.1,0.1,0.1,0.025)
  2683. lb2.Touched:connect(function(hit)
  2684. Damagefunc(hit,10,18,math.random(10,20),"Normal",root,.2,1)
  2685. end)
  2686. dis = dis + 2.5
  2687. end
  2688. wait(0.5)
  2689. hum.WalkSpeed = 16
  2690. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2691. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2692. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2693. MagicBlock(BrickColor.new("Magenta"),root.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2694. CFuncs["Sound"].Create("rbxassetid://925629856", root, 5, 1)
  2695. game:GetService("Debris"):AddItem(bulletgos, 7)
  2696. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2697. for i,v in pairs(bulletgos:children()) do
  2698. if v:IsA("Part") then
  2699. v.Anchored = false
  2700. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2701. local bv = Instance.new("BodyVelocity")
  2702. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2703. bv.velocity = v.CFrame.lookVector*25
  2704. bv.Parent = v
  2705. game:GetService("Debris"):AddItem(v, 5)
  2706. end
  2707. end
  2708. for i,v in pairs(bulletgos2:children()) do
  2709. if v:IsA("Part") then
  2710. v.Anchored = false
  2711. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2712. local bv = Instance.new("BodyVelocity")
  2713. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2714. bv.velocity = v.CFrame.lookVector*-25
  2715. bv.Parent = v
  2716. game:GetService("Debris"):AddItem(v, 5)
  2717. end
  2718. end
  2719. attack = false
  2720. end
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726. local enabledb = false
  2727.  
  2728. mouse.KeyDown:connect(function(k)
  2729. if k == "z" and attack == false and coold == false then
  2730. Twinkle()
  2731. end
  2732. if k == "x" and attack == false and coold == false then
  2733. TwinkleBurst()
  2734. end
  2735. if k == "c" and attack == false and coold == false then
  2736. TargetTwinkle()
  2737. end
  2738. if k == "v" and attack == false and coold == false then
  2739. TwinkleSpiral()
  2740. end
  2741. if k == "b" and attack == false and coold == false then
  2742. TwinkleSpiralInpulse()
  2743. end
  2744. if k == "n" and attack == false and coold == false then
  2745. TargetPulse()
  2746. end
  2747. if k == "m" and attack == false and coold == false then
  2748. TargetTwinkleCurse()
  2749. end
  2750. end)
  2751.  
  2752. Humanoid.Animator.Parent = nil
  2753. idleanim=.4
  2754. while true do
  2755. swait()
  2756. sine = sine + change
  2757. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2758. local velderp=RootPart.Velocity.y
  2759. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2760. if equipped==true or equipped==false then
  2761. if attack==false then
  2762. idle=idle+1
  2763. else
  2764. idle=0
  2765. end
  2766. if idle>=500 then
  2767. if attack==false then
  2768. --Sheath()
  2769. end
  2770. end
  2771. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2772. Anim="Jump"
  2773. if attack==false then
  2774. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2775. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2776. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2777. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2778. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2779. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2780. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2781. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  2782. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  2783. end
  2784. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2785. Anim="Fall"
  2786. if attack==false then
  2787. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2788. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2789. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2790. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2791. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2792. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2793. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2794. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  2795. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  2796. end
  2797. elseif torvel<1 and hitfloor~=nil then
  2798. Anim="Idle"
  2799. if plr.Name ~= "delta1035" then
  2800. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  2801. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  2802. if attack==false then
  2803. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2804. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
  2805. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3)
  2806. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3)
  2807. end
  2808. elseif plr.Name == "delta1035" then
  2809. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2.5 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  2810. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  2811. if attack==false then
  2812. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2813. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(10),math.rad(0)),.3)
  2814. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 25))),.3)
  2815. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 25))),.3)
  2816. end
  2817. end
  2818. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2819. Anim="Walk"
  2820. if plr.Name ~= "delta1035" then
  2821. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  2822. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  2823. if attack==false then
  2824. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  2825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2826. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  2827. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  2828. end
  2829. elseif plr.Name == "delta1035" then
  2830. RH.C0=clerp(RH.C0,cf(1 - 0.015 * math.cos(sine / 4),-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0 + 5 * math.cos(sine / 4)),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  2831. LH.C0=clerp(LH.C0,cf(-1 + 0.015 * math.cos(sine / 4),-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0 + 5 * math.cos(sine / 4)),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  2832. if attack==false then
  2833. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0 - 10 * math.cos(sine / 8))),.3)
  2834. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0 + 10 * math.cos(sine / 8))),.3)
  2835. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(20 - 7.5 * math.cos(sine / 4))),.3)
  2836. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-20 + 7.5 * math.cos(sine / 4))),.3)
  2837. end
  2838. end
  2839. elseif torvel>=22 and hitfloor~=nil then
  2840. Anim="Run"
  2841. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  2842. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  2843. if attack==false then
  2844. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  2845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2846. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  2847. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  2848.  
  2849.  
  2850.  
  2851. end
  2852. end
  2853. end
  2854. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement