Advertisement
EARTHWORM_SALLY

big

Aug 17th, 2019
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.44 KB | None | 0 0
  1.  
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Showcase By Bacon Hair!")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161. PRINT([[
  162.  
  163.  
  164. SOMEHOW, I NEED TO MAKE THIS FE
  165.  
  166. ]])
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183. print([[
  184.  
  185. i need to make this beautiful, sorry for old intro
  186.  
  187. ___________________________________________________________________________
  188.  
  189.  
  190. MADE BY RAMIN999232
  191.  
  192. KILLERDARKNESS0105'S/CODEX#6685 TOUHOU MAGIC SCRIPT
  193.  
  194.  
  195. I HOPE YOU ENJOY!!!!111!!!!!!!!!!
  196.  
  197. SCRIPT RESULTS BELOW
  198.  
  199. ___________________________________________________________________________________
  200.  
  201.  
  202. LEAKED
  203.  
  204. RAMIN999232'S RARE SCRIPT, DO NOT USE THIS SCRIPT!
  205.  
  206. ___________________________________________________________________________________________________
  207.  
  208. ONLY USE THIS ON PRIVATE SERVERS!
  209.  
  210. ]])
  211.  
  212. --[[KillerDarkness0105's/Codex#6685 Touhou magic script]]--
  213. --[[not yet, ramin999232 made this FE]]--
  214.  
  215.  
  216.  
  217. Player=owner
  218. Character=Player.Character
  219. PlayerGui=Player.PlayerGui
  220. Backpack=Player.Backpack
  221. Torso=Character.Torso
  222. Head=Character.Head
  223. Humanoid=Character.Humanoid
  224. LeftArm=Character["Left Arm"]
  225. LeftLeg=Character["Left Leg"]
  226. RightArm=Character["Right Arm"]
  227. RightLeg=Character["Right Leg"]
  228. LS=Torso["Left Shoulder"]
  229. LH=Torso["Left Hip"]
  230. RS=Torso["Right Shoulder"]
  231. RH=Torso["Right Hip"]
  232. Face = Head.face
  233. Neck=Torso.Neck
  234. it=Instance.new
  235. attacktype=1
  236. attacktype2=1
  237. vt=Vector3.new
  238. cf=CFrame.new
  239. cn=CFrame.new
  240. euler=CFrame.fromEulerAnglesXYZ
  241. angles=CFrame.Angles
  242. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  243. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  244. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  245. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  246. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  247. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  248. RootPart=Character.HumanoidRootPart
  249. RootJoint=RootPart.RootJoint
  250. RootCF=euler(-1.57,0,3.14)
  251. attack = false
  252. attackdebounce = false
  253. trispeed=.2
  254. attackmode='none'
  255. local idle=0
  256. local Anim="Idle"
  257. stance = false
  258. local ff = 2
  259. noleg = false
  260. evadecooldown = false
  261. Humanoid.Animator.Parent = nil
  262. equip = false
  263. local Effects = {}
  264. attackspeed = 0.14
  265. df = false
  266. Swing = 1
  267. local sine = 0
  268. local change = 1
  269. local val = 0
  270. magic = false
  271. cam = workspace.CurrentCamera
  272. deb = game:GetService("Debris")
  273. RbxUtility = LoadLibrary("RbxUtility")
  274. Create = RbxUtility.Create
  275. Humanoid.WalkSpeed = 32
  276. Humanoid.JumpPower = 76
  277. local g ="Lime green"
  278. local r ="Dark indigo"
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285. music = Instance.new("Sound",Character) -- change to Character for global music --Change to Torso for non-global music. You may wanna leave this at torso tho...
  286. music.Volume = 0.5
  287. music.TimePosition = 0
  288. music.Pitch = 1
  289. if Player.Name == "ramin999232" then
  290. music.SoundId = "rbxassetid://512289595"--576413172 --music2 = 1117522463 --music3 = 903651242 --music4 = 611389938 -- 541377118 490561591
  291. else
  292. music.SoundId = "rbxassetid://803364705"--576413172 --music2 = 1117522463 --music3 = 903651242 --music4 = 611389938 -- 541377118 490561591
  293. end
  294. music.Looped = true
  295. music:Play()
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303. local handee = Instance.new("Part")
  304. handee.Parent = Character
  305. handee.Size = Vector3.new(.2,.2,.2)
  306. handee.Archivable = true
  307. handee.Transparency = 1
  308. handee.CanCollide = false
  309. handee.BrickColor = BrickColor.new("Cyan")
  310. handee.Material = "Neon"
  311. local handeeweld = Instance.new("Weld")
  312. handeeweld.Parent = handee
  313. handeeweld.Part0 = RightArm
  314. handeeweld.Part1 = handee
  315. handeeweld.C1 = CFrame.new(0, 0.97, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  316. handeeweld.Part0 = RightArm
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. so = function(id,par,vol,pit)
  330. coroutine.resume(coroutine.create(function()
  331. local sou = Instance.new("Sound",par or workspace)
  332. sou.Volume=vol
  333. sou.Pitch=pit or 1
  334. sou.SoundId=id
  335. swait()
  336. sou:play()
  337. game:GetService("Debris"):AddItem(sou,8)
  338. end))
  339. end
  340.  
  341. --save shoulders
  342. RSH, LSH=nil, nil
  343. --welds
  344. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  345. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  346. LH=Torso["Left Hip"]
  347. RH=Torso["Right Hip"]
  348. TorsoColor=Torso.BrickColor
  349. function NoOutline(Part)
  350. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  351. end
  352. player=Player
  353. ch=Character
  354. RSH=ch.Torso["Right Shoulder"]
  355. LSH=ch.Torso["Left Shoulder"]
  356. --
  357. RSH.Parent=nil
  358. LSH.Parent=nil
  359. --
  360. RW.Name="Right Shoulder"
  361. RW.Part0=ch.Torso
  362. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  363. RW.C1=cf(0, 0.5, 0)
  364. RW.Part1=ch["Right Arm"]
  365. RW.Parent=ch.Torso
  366. --
  367. LW.Name="Left Shoulder"
  368. LW.Part0=ch.Torso
  369. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  370. LW.C1=cf(0, 0.5, 0)
  371. LW.Part1=ch["Left Arm"]
  372. LW.Parent=ch.Torso
  373.  
  374.  
  375. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  376. local wld = Instance.new("Weld", wp1)
  377. wld.Part0 = wp0
  378. wld.Part1 = wp1
  379. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  380. end
  381.  
  382.  
  383. newWeld(RootPart, Torso, 0, -1, 0)
  384. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  385. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  386. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  387. newWeld(Torso, RightLeg, 0.5, -1, 0)
  388. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  389.  
  390. Player=game:GetService('Players').LocalPlayer
  391. Character=Player.Character
  392. m=Instance.new('Model',Character)
  393.  
  394.  
  395. local function weldBetween(a, b)
  396. local weldd = Instance.new("ManualWeld")
  397. weldd.Part0 = a
  398. weldd.Part1 = b
  399. weldd.C0 = CFrame.new()
  400. weldd.C1 = b.CFrame:inverse() * a.CFrame
  401. weldd.Parent = a
  402. return weldd
  403. end
  404.  
  405. ArtificialHB = Instance.new("BindableEvent", script)
  406. ArtificialHB.Name = "Heartbeat"
  407.  
  408. script:WaitForChild("Heartbeat")
  409.  
  410. frame = 1 / 60
  411. tf = 0
  412. allowframeloss = false
  413. tossremainder = false
  414. lastframe = tick()
  415. script.Heartbeat:Fire()
  416. game:GetService("RunService").Heartbeat:connect(function(s, p)
  417. tf = tf + s
  418. if tf >= frame then
  419. if allowframeloss then
  420. script.Heartbeat:Fire()
  421. lastframe = tick()
  422. else
  423. for i = 1, math.floor(tf / frame) do
  424. script.Heartbeat:Fire()
  425. end
  426. lastframe = tick()
  427. end
  428. if tossremainder then
  429. tf = 0
  430. else
  431. tf = tf - frame * math.floor(tf / frame)
  432. end
  433. end
  434. end)
  435.  
  436. function swait(num)
  437. if num == 0 or num == nil then
  438. ArtificialHB.Event:wait()
  439. else
  440. for i = 0, num do
  441. ArtificialHB.Event:wait()
  442. end
  443. end
  444. end
  445.  
  446.  
  447.  
  448. function RemoveOutlines(part)
  449. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  450. end
  451.  
  452.  
  453. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  454. local fp = it("Part")
  455. fp.formFactor = formfactor
  456. fp.Parent = parent
  457. fp.Reflectance = reflectance
  458. fp.Transparency = transparency
  459. fp.CanCollide = false
  460. fp.Locked = true
  461. fp.BrickColor = brickcolor
  462. fp.Name = name
  463. fp.Size = size
  464. fp.Position = Torso.Position
  465. NoOutline(fp)
  466. if fp.BrickColor == BrickColor.new("Dark indigo") then
  467. fp.Material = "Neon"
  468. else
  469. if fp.BrickColor == BrickColor.new("Fossil") then
  470. fp.BrickColor = BrickColor.new("Dark indigo")
  471. fp.Material = "Neon"
  472. else
  473. fp.Material = "Neon"
  474. end
  475. end
  476. fp:BreakJoints()
  477. return fp
  478. end
  479.  
  480. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  481. local mesh = it(Mesh)
  482. mesh.Parent = part
  483. if Mesh == "SpecialMesh" then
  484. mesh.MeshType = meshtype
  485. mesh.MeshId = meshid
  486. end
  487. mesh.Offset = offset
  488. mesh.Scale = scale
  489. return mesh
  490. end
  491.  
  492. weld = function(parent, part0, part1, c0)
  493. local weld = it("Weld")
  494. weld.Parent = parent
  495. weld.Part0 = part0
  496. weld.Part1 = part1
  497. weld.C0 = c0
  498. return weld
  499. end
  500.  
  501. F1 = Instance.new("Folder", Character)
  502. F1.Name = "Effects Folder"
  503. F2 = Instance.new("Folder", F1)
  504. F2.Name = "Effects"
  505. Triangle = function(a, b, c)
  506. end
  507.  
  508. MagicBlock4 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  509. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  510. prt.Anchored = true
  511. prt.CanCollide = false
  512. prt.CFrame = cframe
  513. prt.Name = "prt"
  514. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  515. game:GetService("Debris"):AddItem(prt, 5)
  516. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3})
  517. end
  518.  
  519.  
  520.  
  521. MagicCircle4 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  522. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  523. prt.Anchored = true
  524. prt.CanCollide = false
  525. prt.CFrame = cframe
  526. prt.Name = "prt"
  527. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  528. game:GetService("Debris"):AddItem(prt, 5)
  529. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  530. end
  531.  
  532. MagicWave4 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  533. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  534. prt.Anchored = true
  535. prt.CFrame = cframe
  536. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  537. game:GetService("Debris"):AddItem(prt, 5)
  538. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3})
  539. end
  540.  
  541. MagicCylinder4 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  542. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  543. prt.Anchored = true
  544. prt.CFrame = cframe
  545. msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  546. game:GetService("Debris"):AddItem(prt, 5)
  547. Effects[#Effects + 1] = {prt, "Cylinder", delay, x3, y3, z3}
  548. end
  549.  
  550. MagicCylinder5 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  551. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
  552. prt.Anchored = true
  553. prt.CFrame = cframe
  554. msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  555. game:GetService("Debris"):AddItem(prt, 5)
  556. Effects[#Effects + 1] = {prt, "Cylinder", delay, x3, y3, z3}
  557. end
  558.  
  559. MagicBlood4 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  560. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  561. prt.Anchored = true
  562. prt.CFrame = cframe
  563. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  564. game:GetService("Debris"):AddItem(prt, 5)
  565. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3})
  566. end
  567.  
  568. ElecEffect4 = function(cff, x, y, z)
  569. local prt = part(3, F2, 0, 0, BrickColor.new("Dark indigo"), "Part", vt(1, 1, 1))
  570. prt.Anchored = true
  571. prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  572. prt.CFrame = cf(prt.Position)
  573. game:GetService("Debris"):AddItem(prt, 2)
  574. xval = math.random() / 2
  575. yval = math.random() / 2
  576. zval = math.random() / 2
  577. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  578. Effects[#Effects + 1] = {prt, "Elec", 0.1, x, y, z, xval, yval, zval}
  579. end
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  594. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  595. prt.Anchored=true
  596. prt.CFrame=cframe
  597. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  598. --http://www.roblox.com/asset/?id=4770560
  599. game:GetService("Debris"):AddItem(prt,2)
  600. CF=prt.CFrame
  601. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  602. for i=0,1,0.2 do
  603. wait()
  604. Part.CFrame=CF*cf(0,0,-0.4)
  605. end
  606. for i=0,1,delay do
  607. wait()
  608. --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)
  609. Mesh.Scale=Mesh.Scale
  610. end
  611. for i=0,1,0.1 do
  612. wait()
  613. Part.Transparency=i
  614. end
  615. Part.Parent=nil
  616. end),prt,msh,CF)
  617. end
  618.  
  619. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  620. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  621. prt.Anchored=true
  622. prt.Material = "Neon"
  623. prt.CFrame=cframe
  624. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  625. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  626. game:GetService("Debris"):AddItem(prt,5)
  627. coroutine.resume(coroutine.create(function(Part,Mesh)
  628. for i=0,1,delay do
  629. swait()
  630. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  631. Part.Transparency=i
  632. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  633. end
  634. Part.Parent=nil
  635. end),prt,msh)
  636. end
  637.  
  638. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  639. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  640. prt.Anchored=true
  641. prt.Material = "Neon"
  642. prt.CFrame=cframe
  643. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  644. game:GetService("Debris"):AddItem(prt,5)
  645. coroutine.resume(coroutine.create(function(Part,Mesh)
  646. local rtype = rottype
  647. for i=0,1,delay do
  648. swait()
  649. if rtype == 1 then
  650. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  651. elseif rtype == 2 then
  652. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  653. end
  654. Part.Transparency=i
  655. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  656. end
  657. Part.Parent=nil
  658. end),prt,msh)
  659. end
  660.  
  661. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  662. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  663. prt.Anchored=true
  664. prt.CFrame=cframe
  665. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  666. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  667. game:GetService("Debris"):AddItem(prt,5)
  668. coroutine.resume(coroutine.create(function(Part,Mesh)
  669. for i=0,1,delay do
  670. swait()
  671. Part.Transparency=i
  672. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  673. end
  674. Part.Parent=nil
  675. end),prt,msh)
  676. end
  677.  
  678. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  679. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  680. prt.Anchored=true
  681. prt.Material = "Neon"
  682. prt.CFrame=cframe
  683. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  684. game:GetService("Debris"):AddItem(prt,5)
  685. coroutine.resume(coroutine.create(function(Part,Mesh)
  686. local rtype = rottype
  687. for i=0,1,delay do
  688. swait()
  689. if rtype == 1 then
  690. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  691. elseif rtype == 2 then
  692. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  693. end
  694. Part.Transparency=i
  695. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  696. end
  697. Part.Parent=nil
  698. end),prt,msh)
  699. end
  700.  
  701. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  702. local prt=part(3,Character,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  703. prt.Anchored=true
  704. prt.Material = "Neon"
  705. prt.CFrame=cframe
  706. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  707. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  708. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  709. game:GetService("Debris"):AddItem(prt,5)
  710. coroutine.resume(coroutine.create(function(Part,Mesh)
  711. local rtype = rottype
  712. for i=0,1,delay do
  713. swait()
  714. if rtype == 1 then
  715. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  716. elseif rtype == 2 then
  717. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  718. end
  719. dec.Transparency=i
  720. dec2.Transparency=i
  721. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  722. end
  723. Part.Parent=nil
  724. end),prt,msh)
  725. end
  726.  
  727. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  728. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  729. prt.Anchored=true
  730. prt.Material = "Neon"
  731. prt.CFrame=cframe
  732. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  733. game:GetService("Debris"):AddItem(prt,5)
  734. coroutine.resume(coroutine.create(function(Part,Mesh)
  735. local rtype = rottype
  736. for i=0,1,delay do
  737. swait()
  738. if rtype == 1 then
  739. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  740. elseif rtype == 2 then
  741. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  742. end
  743. prt.Transparency=i
  744. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  745. end
  746. Part.Parent=nil
  747. end),prt,msh)
  748. end
  749.  
  750. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  751. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  752. prt.Anchored=true
  753. prt.Material = "Neon"
  754. prt.CFrame=cframe
  755. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  756. game:GetService("Debris"):AddItem(prt,5)
  757. coroutine.resume(coroutine.create(function(Part,Mesh)
  758. local rtype = rottype
  759. for i=0,1,delay do
  760. swait()
  761. if rtype == 1 then
  762. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  763. elseif rtype == 2 then
  764. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  765. end
  766. prt.Transparency=i
  767. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  768. end
  769. Part.Parent=nil
  770. end),prt,msh)
  771. end
  772.  
  773. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  774. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  775. prt.Anchored=true
  776. prt.Material = "Neon"
  777. prt.CFrame=cframe
  778. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  779. game:GetService("Debris"):AddItem(prt,5)
  780. coroutine.resume(coroutine.create(function(Part,Mesh)
  781. local rtype = rottype
  782. for i=0,1,delay do
  783. swait()
  784. if rtype == 1 then
  785. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  786. elseif rtype == 2 then
  787. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  788. end
  789. prt.Transparency=i
  790. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  791. end
  792. Part.Parent=nil
  793. end),prt,msh)
  794. end
  795.  
  796. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  797. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  798. prt.Anchored=true
  799. prt.Material = "Neon"
  800. prt.CFrame=cframe
  801. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  802. game:GetService("Debris"):AddItem(prt,5)
  803. coroutine.resume(coroutine.create(function(Part,Mesh)
  804. local rtype = rottype
  805. for i=0,1,delay do
  806. swait()
  807. if rtype == 1 then
  808. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  809. elseif rtype == 2 then
  810. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  811. end
  812. prt.Transparency=i
  813. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  814. end
  815. Part.Parent=nil
  816. end),prt,msh)
  817. end
  818.  
  819. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  820. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  821. prt.Anchored=false
  822. prt.CFrame=cframe
  823. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  824. local wld=weld(prt,prt,Parent,cframe)
  825. game:GetService("Debris"):AddItem(prt,5)
  826. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  827. for i=0,1,delay do
  828. swait()
  829. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  830. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  831. Part.Transparency=i
  832. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  833. end
  834. Part.Parent=nil
  835. end),prt,msh,wld)
  836. end
  837.  
  838. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  839. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  840. prt.Anchored=false
  841. prt.CFrame=cframe
  842. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  843. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  844. game:GetService("Debris"):AddItem(prt,5)
  845. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  846. for i=0,1,delay do
  847. swait()
  848. Weld.C0=euler(i*20,0,0)
  849. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  850. Part.Transparency=i
  851. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  852. end
  853. Part.Parent=nil
  854. end),prt,msh,wld)
  855. end
  856.  
  857. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  858. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  859. prt.Anchored=true
  860. prt.CFrame=cframe
  861. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  862. game:GetService("Debris"):AddItem(prt,2)
  863. coroutine.resume(coroutine.create(function(Part,Mesh)
  864. for i=0,1,delay do
  865. swait()
  866. Part.CFrame=Part.CFrame
  867. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  868. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  869. prt2.Anchored=true
  870. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  871. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  872. game:GetService("Debris"):AddItem(prt2,2)
  873. coroutine.resume(coroutine.create(function(Part,Mesh)
  874. for i=0,1,0.1 do
  875. swait()
  876. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  877. end
  878. Part.Parent=nil
  879. end),prt2,msh2)
  880. end
  881. for i=0,1,delay*2 do
  882. swait()
  883. Part.CFrame=Part.CFrame
  884. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  885. end
  886. Part.Parent=nil
  887. end),prt,msh)
  888. end
  889.  
  890. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  891. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  892. prt.Anchored=true
  893. prt.CFrame=cframe
  894. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  895. game:GetService("Debris"):AddItem(prt,2)
  896. coroutine.resume(coroutine.create(function(Part,Mesh)
  897. for i=0,1,delay do
  898. swait()
  899. Part.CFrame=Part.CFrame
  900. Part.Transparency=i
  901. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  902. end
  903. Part.Parent=nil
  904. end),prt,msh)
  905. end
  906.  
  907. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  908. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  909. prt.Anchored=true
  910. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  911. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  912. game:GetService("Debris"):AddItem(prt,2)
  913. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  914. CF=Part.CFrame
  915. Numbb=0
  916. randnumb=math.random()/10
  917. rand1=math.random()/10
  918. for i=0,1,rand1 do
  919. swait()
  920. CF=CF*cf(0,math.random()/2,0)
  921. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  922. Part.CFrame=CF*euler(Numbb,0,0)
  923. Part.Transparency=i
  924. Numbb=Numbb+randnumb
  925. end
  926. Part.Parent=nil
  927. end),prt,CF,Numbb,randnumb)
  928. end
  929.  
  930. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  931. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  932. prt.Anchored=true
  933. prt.CFrame=cframe
  934. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  935. game:GetService("Debris"):AddItem(prt,5)
  936. coroutine.resume(coroutine.create(function(Part,Mesh)
  937. for i=0,1,delay do
  938. swait()
  939. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  940. Part.Transparency=i
  941. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  942. end
  943. Part.Parent=nil
  944. end),prt,msh)
  945. end
  946.  
  947. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  948. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  949. prt.Anchored=true
  950. prt.CFrame=cframe
  951. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  952. game:GetService("Debris"):AddItem(prt,2)
  953. coroutine.resume(coroutine.create(function(Part,Mesh)
  954. for i=0,1,delay do
  955. swait()
  956. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  957. Part.Transparency=i
  958. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  959. end
  960. Part.Parent=nil
  961. end),prt,msh)
  962. end
  963.  
  964. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  965. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  966. prt.Anchored=true
  967. prt.CFrame=cframe*cf(x,y,z)
  968. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  969. game:GetService("Debris"):AddItem(prt,5)
  970. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  971. local num=math.random()
  972. local num2=math.random(-3,2)+math.random()
  973. local numm=0
  974. for i=0,1,delay*2 do
  975. swait()
  976. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  977. Part.Transparency=i
  978. numm=numm+0.01
  979. end
  980. Part.Parent=nil
  981. Mesh.Parent=nil
  982. end),prt,msh,x,y,z)
  983. end
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991. New = function(Object, Parent, Name, Data)
  992. local Object = Instance.new(Object)
  993. for Index, Value in pairs(Data or {}) do
  994. Object[Index] = Value
  995. end
  996. Object.Parent = Parent
  997. Object.Name = Name
  998. return Object
  999. end
  1000.  
  1001.  
  1002.  
  1003. function clerp(a,b,t)
  1004. local qa = {QuaternionFromCFrame(a)}
  1005. local qb = {QuaternionFromCFrame(b)}
  1006. local ax, ay, az = a.x, a.y, a.z
  1007. local bx, by, bz = b.x, b.y, b.z
  1008. local _t = 1-t
  1009. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1010. end
  1011.  
  1012. function QuaternionFromCFrame(cf)
  1013. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1014. local trace = m00 + m11 + m22
  1015. if trace > 0 then
  1016. local s = math.sqrt(1 + trace)
  1017. local recip = 0.5/s
  1018. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1019. else
  1020. local i = 0
  1021. if m11 > m00 then
  1022. i = 1
  1023. end
  1024. if m22 > (i == 0 and m00 or m11) then
  1025. i = 2
  1026. end
  1027. if i == 0 then
  1028. local s = math.sqrt(m00-m11-m22+1)
  1029. local recip = 0.5/s
  1030. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1031. elseif i == 1 then
  1032. local s = math.sqrt(m11-m22-m00+1)
  1033. local recip = 0.5/s
  1034. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1035. elseif i == 2 then
  1036. local s = math.sqrt(m22-m00-m11+1)
  1037. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1038. end
  1039. end
  1040. end
  1041.  
  1042.  
  1043.  
  1044. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1045. local xs, ys, zs = x + x, y + y, z + z
  1046. local wx, wy, wz = w*xs, w*ys, w*zs
  1047. local xx = x*xs
  1048. local xy = x*ys
  1049. local xz = x*zs
  1050. local yy = y*ys
  1051. local yz = y*zs
  1052. local zz = z*zs
  1053. 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))
  1054. end
  1055. function QuaternionSlerp(a, b, t)
  1056. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1057. local startInterp, finishInterp;
  1058. if cosTheta >= 0.0001 then
  1059. if (1 - cosTheta) > 0.0001 then
  1060. local theta = math.acos(cosTheta)
  1061. local invSinTheta = 1/math.sin(theta)
  1062. startInterp = math.sin((1-t)*theta)*invSinTheta
  1063. finishInterp = math.sin(t*theta)*invSinTheta
  1064. else
  1065. startInterp = 1-t
  1066. finishInterp = t
  1067. end
  1068. else
  1069. if (1+cosTheta) > 0.0001 then
  1070. local theta = math.acos(-cosTheta)
  1071. local invSinTheta = 1/math.sin(theta)
  1072. startInterp = math.sin((t-1)*theta)*invSinTheta
  1073. finishInterp = math.sin(t*theta)*invSinTheta
  1074. else
  1075. startInterp = t-1
  1076. finishInterp = t
  1077. end
  1078. end
  1079. 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
  1080. end
  1081.  
  1082. function weld5(part0, part1, c0, c1)
  1083. weeld=Instance.new("Weld", part0)
  1084. weeld.Part0=part0
  1085. weeld.Part1=part1
  1086. weeld.C0=c0
  1087. weeld.C1=c1
  1088. return weeld
  1089. end
  1090.  
  1091. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1092.  
  1093. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1094. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1095. end
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106. function Dmgfunc(player,mindamage,maxdamage,waait)
  1107.  
  1108. dodamage = coroutine.wrap(function()
  1109.  
  1110. if player ~= Character and player:FindFirstChild("IsHit") == nil then
  1111.  
  1112. Max = mindamage + math.random(-mindamage,maxdamage)
  1113.  
  1114. player.Humanoid.Health = player.Humanoid.Health - Max
  1115.  
  1116.  
  1117. local thiing = Instance.new("ObjectValue",player)
  1118. thiing.Name = "IsHit"
  1119. deb:AddItem(thiing,waait)
  1120.  
  1121. --for nooby ;)
  1122. local Damagetext = Instance.new("BillboardGui",player)
  1123. Damagetext.Size = UDim2.new(0,100,0,40)
  1124. Damagetext.StudsOffset = Vector3.new(0,3,0)
  1125. Damagetext.Adornee = player.Head
  1126. Damagetext.Name = "TalkingBillBoard"
  1127. local Damagelabel = Instance.new("TextLabel",Damagetext)
  1128. Damagelabel.BackgroundTransparency = 1
  1129. Damagelabel.BorderSizePixel = 0
  1130. Damagelabel.Text = ""..Max
  1131. Damagelabel.Font = "Bodoni"
  1132. Damagelabel.FontSize = "Size24"
  1133. Damagelabel.TextStrokeTransparency = 0
  1134. Damagelabel.TextColor3 = Color3.new(255,255,255)
  1135. Damagelabel.TextStrokeColor3 = Color3.new(0,0,0)
  1136. Damagelabel.Size = UDim2.new(1,0,1.5,0)
  1137. deb:AddItem(Damagetext,4.5)
  1138. for i = 1, 70 do
  1139. wait(0.00000000000000000000000001)
  1140. Damagelabel.Position = Damagelabel.Position - UDim2.new(0,0,.06,0)
  1141. Damagelabel.TextStrokeTransparency = Damagelabel.TextStrokeTransparency +.06
  1142. Damagelabel.TextTransparency = Damagelabel.TextTransparency + .04
  1143. end
  1144. Damagetext:Destroy()
  1145. end
  1146. end)
  1147. dodamage(player,mindamage,maxdamage,waait)
  1148.  
  1149. end
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157. function Bullets(thinggy,size,color,velocity,damage,bounce,collide,rotation)
  1158. swait()
  1159. local Bullet = Instance.new("Part",Workspace)
  1160. Bullet.Locked = true
  1161. Bullet.Name = "Bullet"
  1162. Bullet.Anchored = bounce
  1163. Bullet.CanCollide = collide
  1164. Bullet.Transparency = 0.24
  1165. Bullet.Reflectance = 0
  1166. Bullet.BottomSurface = 0
  1167. Bullet.TopSurface = 0
  1168. Bullet.Shape = 0
  1169. Bullet.BrickColor = BrickColor.new(color)
  1170. Bullet.Size = Vector3.new(size,size,size)
  1171. Bullet.Material = "Neon"
  1172. Bullet.Orientation = vt(-90,0,0)
  1173. local Bulletthing = Instance.new("SpecialMesh",Bullet)
  1174. Bulletthing.MeshId = "rbxassetid://1245215297"
  1175. local Bulletforce = Instance.new("BodyForce")
  1176. Bulletforce.force = Vector3.new(0,Bullet:GetMass()*166.2,0)
  1177. Bulletforce.Parent = Bullet
  1178. Bullet.CFrame = thinggy.CFrame*CFrame.new(0,0,0) + Vector3.new(math.random(-1,1),math.random(0,0.7),math.random(-1,1))
  1179. local bv = Instance.new("BodyVelocity",Bullet)
  1180. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1181. Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p+Vector3.new(math.random(-7,7),math.random(-2,2),math.random(-6,6)))
  1182. bv.velocity = Bullet.CFrame.lookVector*velocity
  1183.  
  1184. so("http://roblox.com/asset/?id=925629856",Bullet,0.4,1)
  1185. if bounce == false then
  1186. Bullet.Touched:connect(function(hit)
  1187. if (hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "Bullet" and hit.Name ~= "prt" and Bullet.Anchored == false) then
  1188. local orbexplode = Instance.new("Sound", Bullet)
  1189. orbexplode.Volume = 0.4
  1190. orbexplode.PlayOnRemove = true
  1191. orbexplode.SoundId = "http://roblox.com/asset/?id=929619479"
  1192. orbexplode.Pitch = 1
  1193. orbexplode:Destroy()
  1194. deb:AddItem(orbexplode, 4)
  1195. Bullet.Anchored = true
  1196. local Explode = Instance.new("Explosion")
  1197. Explode.Position = Bullet.Position
  1198. Explode.Parent = Workspace
  1199. Explode.BlastPressure = 0
  1200. Explode.BlastRadius = Bullet.Size.X *3.6
  1201. Explode.Visible = false
  1202. Explode.Hit:connect(function(hit)
  1203. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1204. Dmgfunc(hit.Parent,damage,0+damage,.01)
  1205. end
  1206. end)
  1207. Bullet.Mesh.Scale = Vector3.new(0,0,0)
  1208. MagicCircle4(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2+size*1.4, 2.2+size*1.4, 2.2+size*1.4, 0.02)
  1209. MagicCircle4(BrickColor.new("White"), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 4.2, 4.2, 4.2, 0.02)
  1210. end
  1211. end)
  1212. elseif bounce == true then
  1213. Bullet.Touched:connect(function(hit)
  1214. if (hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~= Character) then
  1215. Bullet.Anchored = true
  1216. local Explode = Instance.new("Explosion")
  1217. Explode.Position = Bullet.Position
  1218. Explode.Parent = Workspace
  1219. Explode.BlastPressure = 0
  1220. Explode.BlastRadius = Bullet.Size.X
  1221. Explode.Visible = false
  1222. Explode.Hit:connect(function(hit)
  1223. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1224. Dmgfunc(hit.Parent,damage,0+damage,.01)
  1225. end
  1226. end)
  1227. Bullet.Mesh.Scale = Vector3.new(.1,.1,.1)
  1228.  
  1229. MagicCircle4(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2+size*1.4, 2.2+size*1.4, 2.2+size*1.4, 0.02)
  1230. MagicCircle4(BrickColor.new("White"), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 4.2, 4.2, 4.2, 0.02)
  1231.  
  1232.  
  1233. end
  1234. end)
  1235. end
  1236. deb:AddItem(Bullet,5.3)
  1237.  
  1238. return Bullet
  1239. end
  1240.  
  1241.  
  1242.  
  1243.  
  1244. function Rotbullet(thinggy,size,color,velocity,damage,bounce,collide)
  1245.  
  1246. rotation = 0
  1247. rotation2 = 0
  1248.  
  1249.  
  1250. local Bullet = Instance.new("Part",Workspace)
  1251. Bullet.Locked = true
  1252. Bullet.Name = "Bullet"
  1253. Bullet.Anchored = bounce
  1254. Bullet.CanCollide = collide
  1255. Bullet.Transparency = 0.24
  1256. Bullet.Reflectance = 0
  1257. Bullet.BottomSurface = 0
  1258. Bullet.TopSurface = 0
  1259. Bullet.Shape = 0
  1260. Bullet.BrickColor = BrickColor.new(color)
  1261. Bullet.Size = Vector3.new(size,size,size)
  1262. Bullet.Material = "Neon"
  1263. local Bulletthing = Instance.new("SpecialMesh",Bullet)
  1264. Bulletthing.MeshType = "Sphere"
  1265. local Bulletforce = Instance.new("BodyForce")
  1266. Bulletforce.force = Vector3.new(0,Bullet:GetMass()*166.2,0)
  1267. Bulletforce.Parent = Bullet
  1268. Bullet.CFrame = thinggy.CFrame*CFrame.new(0,0,0) + Vector3.new(math.random(-1,1),math.random(0,0.7),math.random(-1,1))
  1269. local bv = Instance.new("BodyVelocity",Bullet)
  1270. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1271. Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p+Vector3.new(math.random(-7,7),math.random(-2,2),math.random(-6,6)))
  1272. bv.velocity = Bullet.CFrame.lookVector*velocity
  1273. so("http://roblox.com/asset/?id=925629856",Bullet,0.4,1)
  1274. if bounce == false then
  1275. Bullet.Touched:connect(function(hit)
  1276. if (hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "Bullet" and hit.Name ~= "prt" and Bullet.Anchored == false) then
  1277.  
  1278.  
  1279.  
  1280. local orbexplode = Instance.new("Sound", Bullet)
  1281. orbexplode.Volume = 0.4
  1282. orbexplode.PlayOnRemove = true
  1283. orbexplode.SoundId = "http://roblox.com/asset/?id=929619479"
  1284. orbexplode.Pitch = 1
  1285. orbexplode:Destroy()
  1286. deb:AddItem(orbexplode, 4)
  1287. Bullet.Anchored = true
  1288.  
  1289. local Explode = Instance.new("Explosion")
  1290. Explode.Position = Bullet.Position
  1291. Explode.Parent = Workspace
  1292. Explode.BlastPressure = 0
  1293. Explode.BlastRadius = Bullet.Size.X *3.6
  1294. Explode.Visible = false
  1295.  
  1296.  
  1297.  
  1298. Explode.Hit:connect(function(hit)
  1299. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1300. Dmgfunc(hit.Parent,damage,0+damage,.01)
  1301. end
  1302. end)
  1303. Bullet.Mesh.Scale = Vector3.new(0,0,0)
  1304. MagicCircle4(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2+size*1.4, 2.2+size*1.4, 2.2+size*1.4, 0.02)
  1305. MagicCircle4(BrickColor.new("White"), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 4.2, 4.2, 4.2, 0.02)
  1306.  
  1307. for i = 1,10 do
  1308. wait(0)
  1309. rotation2 = rotation2 - 25
  1310. local Bullet2 = Instance.new("Part")
  1311. Bullet2.Parent = Workspace
  1312. Bullet2.Material = "Neon"
  1313. Bullet2.BrickColor = BrickColor.new(color)
  1314. Bullet2.CanCollide = false
  1315. Bullet2.Archivable = true
  1316. Bullet2.Anchored = false
  1317. Bullet2.Transparency = 0
  1318. Bullet2.Size = vt(size/1.3,size/1.3,size/1.3)
  1319. local B2mesh = Instance.new("SpecialMesh",Bullet2)
  1320. B2mesh.MeshType = "Sphere"
  1321. Bullet2.CFrame = Bullet.CFrame*CFrame.Angles(0,math.rad(rotation2),0)*CFrame.new(0,2,0)
  1322. local bv2 = Instance.new("BodyVelocity",Bullet2)
  1323. bv2.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1324. bv2.velocity = Bullet2.CFrame.lookVector*velocity
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330. Bullet2.Touched:connect(function(hit)
  1331. if (hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "Bullet" and hit.Name ~= "prt" and Bullet.Anchored == true) then
  1332. Bullet2.Anchored = true
  1333. local Explode2 = Instance.new("Explosion")
  1334. Explode2.Position = Bullet2.Position
  1335. Explode2.Parent = Workspace
  1336. Explode2.BlastPressure = 0
  1337. Explode2.BlastRadius = Bullet2.Size.X *3.6
  1338. Explode2.Visible = false
  1339.  
  1340. Explode2.Hit:connect(function(hit)
  1341. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1342. Dmgfunc(hit.Parent,damage,0+damage,.01)
  1343. end
  1344. end)
  1345. Bullet2.Mesh.Scale = Vector3.new(0,0,0)
  1346. MagicCircle4(BrickColor.new(color), Bullet2.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2+size/1.4, 2.2+size/1.4, 2.2+size/1.4, 0.02)
  1347. MagicCircle4(BrickColor.new("White"), Bullet2.CFrame * cf(0, 0, 0), 1, 1, 1, 4.2, 4.2, 4.2, 0.02)
  1348. end
  1349. end)
  1350.  
  1351.  
  1352. end
  1353. end
  1354. end)
  1355.  
  1356. elseif bounce == true then
  1357. Bullet.Touched:connect(function(hit)
  1358. if (hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~= Character) then
  1359. Bullet.Anchored = true
  1360. local Explode = Instance.new("Explosion")
  1361. Explode.Position = Bullet.Position
  1362. Explode.Parent = Workspace
  1363. Explode.BlastPressure = 0
  1364. Explode.BlastRadius = Bullet.Size.X
  1365. Explode.Visible = false
  1366. Explode.Hit:connect(function(hit)
  1367. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1368. Dmgfunc(hit.Parent,damage,0+damage,.01)
  1369. end
  1370. end)
  1371. Bullet.Mesh.Scale = Vector3.new(.1,.1,.1)
  1372.  
  1373. MagicCircle4(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2+size*1.4, 2.2+size*1.4, 2.2+size*1.4, 0.02)
  1374. MagicCircle4(BrickColor.new("White"), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 4.2, 4.2, 4.2, 0.02)
  1375.  
  1376.  
  1377. end
  1378. end)
  1379. end
  1380. deb:AddItem(Bullet,3.3)
  1381. deb:AddItem(Bullet2,3.3)
  1382.  
  1383. return Bullet
  1384. end
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. function Bullets2(size,color,velocity,damage,bounce,collide)
  1391. local Bullet = Instance.new("Part",Workspace)
  1392. Bullet.Locked = true
  1393. Bullet.Name = "Bullet"
  1394. Bullet.Anchored = bounce
  1395. Bullet.CanCollide = collide
  1396. Bullet.Transparency = 0.24
  1397. Bullet.Reflectance = 0
  1398. Bullet.BottomSurface = 0
  1399. Bullet.TopSurface = 0
  1400. Bullet.Shape = 0
  1401. Bullet.BrickColor = BrickColor.new(color)
  1402. Bullet.Size = Vector3.new(size,size,size)
  1403. Bullet.Material = "Neon"
  1404. local Bulletthing = Instance.new("SpecialMesh",Bullet)
  1405. Bulletthing.MeshType = "Sphere"
  1406. Bullet.CFrame = handee.CFrame*CFrame.new(0,0,0) + Vector3.new(math.random(-180,180),math.random(-1.6,6.6),math.random(-180,180))
  1407. local bv = Instance.new("BodyVelocity",Bullet)
  1408. bv.maxForce = Vector3.new(99999,99999,99999)
  1409. Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p)
  1410. bv.velocity = Bullet.CFrame.lookVector*velocity
  1411. so("http://roblox.com/asset/?id=200633327",Bullet,1,1)
  1412. spawn = coroutine.wrap(function()
  1413. Bullet.Transparency = 0
  1414. Bullet.Mesh.Scale = Vector3.new(3.5,3.5,3.5)
  1415. wait()
  1416. Bullet.Transparency = .25
  1417. Bullet.Mesh.Scale = Vector3.new(2.5,2.5,2.5)
  1418. wait()
  1419. Bullet.Transparency = .5
  1420. Bullet.Mesh.Scale = Vector3.new(1.5,1.5,1.5)
  1421. wait()
  1422. Bullet.Transparency = 0
  1423. Bullet.Mesh.Scale = Vector3.new(1,1,1)
  1424. end)
  1425. if bounce == false then
  1426. Bullet.Touched:connect(function(hit)
  1427. if (hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "Bullet" and Bullet.Anchored == false) then
  1428. Bullet.Anchored = true
  1429. local Explode = Instance.new("Explosion")
  1430. Explode.Position = Bullet.Position
  1431. Explode.Parent = Workspace
  1432. Explode.BlastPressure = 0
  1433. Explode.BlastRadius = Bullet.Size.X
  1434. Explode.Visible = false
  1435. Explode.Hit:connect(function(hit)
  1436. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1437. Dmgfunc(hit.Parent,damage,0.7,0)
  1438. end
  1439. end)
  1440. Bullet.Mesh.Scale = Vector3.new(.1,.1,.1)
  1441. MagicBlock(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 1.7, 1.7, 1.7, 0.04)
  1442. MagicBlock(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2, 2.2, 2.2, 0.04)
  1443. for i = 0,2.3,0.1 do
  1444. swait()
  1445. Bullet.Transparency = Bullet.Transparency + 0.02
  1446. Bullet.Mesh.Scale = Bullet.Mesh.Scale + Vector3.new(.3,.3,.3)
  1447. end
  1448. Bullet:Destroy()
  1449. end
  1450. end)
  1451. elseif bounce == true then
  1452. Bullet.Touched:connect(function(hit)
  1453. if (hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent~= Character) then
  1454. Bullet.Anchored = true
  1455. local Explode = Instance.new("Explosion")
  1456. Explode.Position = Bullet.Position
  1457. Explode.Parent = Workspace
  1458. Explode.BlastPressure = 0
  1459. Explode.BlastRadius = Bullet.Size.X
  1460. Explode.Visible = false
  1461. Explode.Hit:connect(function(hit)
  1462. if hit.Parent:FindFirstChild("Humanoid")~=nil and hit.Parent:FindFirstChild("IsHit")==nil then
  1463. Dmgfunc(hit.Parent,damage,0.7,0)
  1464. end
  1465. end)
  1466. Bullet.Mesh.Scale = Vector3.new(.1,.1,.1)
  1467. MagicBlock(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 1.7, 1.7, 1.7, 0.04)
  1468. MagicBlock(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 2.2, 2.2, 2.2, 0.04)
  1469. for i = 0,2.3,0.1 do
  1470. swait()
  1471. Bullet.Transparency = Bullet.Transparency + 0.02
  1472. Bullet.Mesh.Scale = Bullet.Mesh.Scale + Vector3.new(.3,.3,.3)
  1473. MagicSphere(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 6.2, 6.2, 6.2, 0.04)
  1474. MagicSphere(BrickColor.new(color), Bullet.CFrame * cf(0, 0, 0), 1, 1, 1, 8.2, 8.2, 8.2, 0.04)
  1475. end
  1476. Bullet:Destroy()
  1477. end
  1478. end)
  1479. end
  1480. spawn()
  1481. deb:AddItem(Bullet,10)
  1482. return Bullet
  1483. end
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492. local shooting = false
  1493.  
  1494.  
  1495.  
  1496. function shoot()
  1497. so("http://roblox.com/asset/?id=925333540",Torso,1.1,1)
  1498. MagicBlock4(BrickColor.new("Lime green"), RootPart.CFrame * cf(0, 0, 0), 1, 1, 1, 16.2, 16.2, 16.2, 0.04)
  1499.  
  1500. MagicCircle4(BrickColor.new("Dark indigo"), RootPart.CFrame * cf(0, 0, 0), 1, 1, 1, 19.2, 19.2, 19.2, 0.03)
  1501.  
  1502. MagicWave4(BrickColor.new("Dark indigo"), cf(RootPart.Position) * cf(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 0.5, 0.3, 0.5, 0.04)
  1503.  
  1504. MagicWave4(BrickColor.new("Lime green"), RootPart.CFrame * cf(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1505. attack = true
  1506. local thing = Instance.new("BodyGyro",RootPart)
  1507. thing.D = 350
  1508. thing.P = 6000
  1509. thing.MaxTorque = vt(100000,math.huge,0)
  1510. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1511. for i = 0,2,0.16 do
  1512. swait()
  1513. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2)
  1514. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  1515. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1516. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1517. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.73, -1.0, 0) * CFrame.Angles(math.rad(-25), math.rad(-66), math.rad(-25)), 0.1)
  1518. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.0, 0) * CFrame.Angles(math.rad(0), math.rad(-83), math.rad(0)), 0.1)
  1519. end
  1520. shooting = true
  1521.  
  1522. while shooting == true do
  1523. swait(2.5)
  1524. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1525. Torso.Velocity = RootPart.CFrame.lookVector * -13
  1526. if math.random(1,2) == 1 then
  1527. Bullets(handee,math.random(1,2),g,math.random(220,520),5.5,false,false)
  1528. MagicBlock(BrickColor.new("Lime green"), RightArm.CFrame * cf(math.random(-100, 100) / 100, -math.random(0, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05)
  1529. else
  1530. Bullets(handee,math.random(1,2),r,math.random(200,520),6.3,false,false)
  1531. MagicBlock(BrickColor.new("Dark indigo"), RightArm.CFrame * cf(math.random(-100, 100) / 100, -math.random(0, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05)
  1532. end
  1533. end
  1534.  
  1535. attack = false
  1536. thing:Destroy()
  1537. end
  1538.  
  1539.  
  1540.  
  1541.  
  1542. local cardmax = 0
  1543. local cardpos = 3
  1544. local carding = false
  1545. function SCB()
  1546. print('Spell Card Barrage -> Debuff - 3.6 WalkSpeed.')
  1547. Humanoid.WalkSpeed = Humanoid.WalkSpeed-3.6
  1548. so("http://roblox.com/asset/?id=925333540",Torso,1.1,1)
  1549. MagicBlock4(BrickColor.new("Lime green"), RootPart.CFrame * cf(0, 0, 0), 1, 1, 1, 16.2, 16.2, 16.2, 0.04)
  1550.  
  1551. MagicCircle4(BrickColor.new("Dark indigo"), RootPart.CFrame * cf(0, 0, 0), 1, 1, 1, 19.2, 19.2, 19.2, 0.03)
  1552.  
  1553. MagicWave4(BrickColor.new("Dark indigo"), cf(RootPart.Position) * cf(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 0.5, 0.3, 0.5, 0.04)
  1554.  
  1555. MagicWave4(BrickColor.new("Lime green"), RootPart.CFrame * cf(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1556. attack = true
  1557.  
  1558. local Card = Instance.new('Part',Character)
  1559. Card.Transparency = 0.5
  1560. Card.Color = Color3.fromRGB(0,255,0)
  1561. Card.Size = Vector3.new(0.65,0.2,1.2)
  1562. Card.Material = "Neon"
  1563. Card.CFrame = handee.CFrame + Vector3.new(0,3,0)
  1564. CardMesh = Instance.new("BlockMesh",Card)
  1565. local gyrothing = Instance.new("BodyGyro",Card)
  1566. gyrothing.D = 100
  1567. gyrothing.P = 2000
  1568. gyrothing.MaxTorque = Vector3.new(4000000,4000000,4000000)
  1569. gyrothing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1570. local position = Instance.new("BodyPosition",Card)
  1571. position.D = 2350
  1572. position.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1573. cardmax = cardmax+1
  1574. cardpos = cardpos+1
  1575.  
  1576. for i = 0,2,0.16 do
  1577. swait()
  1578. gyrothing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1579. position.Position = Torso.Position + Vector3.new(10,3,0)
  1580. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2)
  1581. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  1582. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1583. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1584. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.73, -1.0, 0) * CFrame.Angles(math.rad(-25), math.rad(-66), math.rad(-25)), 0.1)
  1585. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.0, 0) * CFrame.Angles(math.rad(0), math.rad(-83), math.rad(0)), 0.1)
  1586. end
  1587.  
  1588. attack = false
  1589.  
  1590. for i = 1,65 do
  1591. position.Position = Torso.Position + Vector3.new(10-cardpos,cardpos,0)
  1592. --position.Position = Torso.Position + Vector3.new(0,cardpos,0)
  1593. swait(2.5)
  1594. gyrothing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1595. if math.random(1,2) == 1 then
  1596. Bullets(Card,math.random(0.9,1.1),g,math.random(320,420),6.1,false,false)
  1597. else
  1598. Bullets(Card,math.random(0.9,1.1),r,math.random(320,420),8.2,false,false)
  1599. end
  1600. end
  1601.  
  1602.  
  1603.  
  1604. Card:Destroy()
  1605. cardmax = cardmax-1
  1606. Humanoid.WalkSpeed = Humanoid.WalkSpeed+3.6
  1607. cardpos = cardpos-1
  1608. if Humanoid.WalkSpeed == 32 then
  1609. print('WalkSpeed Regained.')
  1610. end
  1611. end
  1612.  
  1613.  
  1614.  
  1615.  
  1616. function rotball()
  1617.  
  1618.  
  1619. so("http://roblox.com/asset/?id=925333540",Torso,1.1,1)
  1620. MagicBlock4(BrickColor.new("Lime green"), RootPart.CFrame * cf(0, 0, 0), 1, 1, 1, 16.2, 16.2, 16.2, 0.04)
  1621.  
  1622. MagicCircle4(BrickColor.new("Dark indigo"), RootPart.CFrame * cf(0, 0, 0), 1, 1, 1, 19.2, 19.2, 19.2, 0.03)
  1623.  
  1624. MagicWave4(BrickColor.new("Dark indigo"), cf(RootPart.Position) * cf(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 0.5, 0.3, 0.5, 0.04)
  1625.  
  1626. MagicWave4(BrickColor.new("Lime green"), RootPart.CFrame * cf(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1627. attack = true
  1628.  
  1629.  
  1630.  
  1631. local thing = Instance.new("BodyGyro",RootPart)
  1632. thing.D = 350
  1633. thing.P = 6000
  1634. thing.MaxTorque = vt(100000,math.huge,0)
  1635. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1636. for i = 0,2,0.16 do
  1637. swait()
  1638. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1639. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2)
  1640. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  1641. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1642. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1643. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.73, -1.0, 0) * CFrame.Angles(math.rad(-25), math.rad(-66), math.rad(-25)), 0.1)
  1644. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.0, 0) * CFrame.Angles(math.rad(0), math.rad(-83), math.rad(0)), 0.1)
  1645. end
  1646.  
  1647.  
  1648. local beam = Instance.new("Part", workspace)
  1649. beam.BrickColor = BrickColor.new(g)
  1650. beam.FormFactor = "Custom"
  1651. beam.Material = "Neon"
  1652. beam.Transparency = 0.25
  1653. beam.Anchored = true
  1654. beam.Locked = false
  1655. beam.CanCollide = false
  1656. local Z = Instance.new("SpecialMesh",beam)
  1657. Z.MeshType = "Sphere"
  1658.  
  1659. local ray = Ray.new(handee.CFrame.p, (mouse.Hit.p - handee.CFrame.p).unit * 700)
  1660. local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
  1661. local distance = (handee.CFrame.p - position).magnitude
  1662. beam.CFrame = CFrame.new(handee.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  1663. beam.Size = Vector3.new(1, 1, distance)
  1664.  
  1665.  
  1666.  
  1667. for i = 1,6,0.1 do
  1668. swait()
  1669. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1670. beam.CFrame = CFrame.new((beam.CFrame.p + position) / 2, beam.CFrame.p) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  1671. beam.Size = Vector3.new(1, 1, distance)
  1672. MagicBlock4(BrickColor.new("Lime green"), beam.CFrame * cf(0, 0, 0), 1, 1, 1, 16.2, 16.2, 16.2, 0.04)
  1673. MagicShockTrailAlt(BrickColor.new("Dark indigo"),beam.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,5,-0.05,-0.05,25,0.005,math.random(1,2))
  1674. if math.random(1,2) == 1 then
  1675. beam.BrickColor = BrickColor.new(g)
  1676. else
  1677. beam.BrickColor = BrickColor.new(r)
  1678. end
  1679. end
  1680. attack = false
  1681. thing:Destroy()
  1682. beam:Destroy()
  1683.  
  1684.  
  1685. end
  1686.  
  1687.  
  1688.  
  1689. function Ldash()
  1690.  
  1691.  
  1692.  
  1693. evadecooldown = true
  1694. attack = true
  1695. so("http://www.roblox.com/asset/?id=707957812", Torso, 2.5, 1)
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702. --+173.8*i
  1703. for i = 0,2,0.064 do
  1704. swait()
  1705. RootPart.Velocity = RootPart.CFrame.rightVector * -54
  1706. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(32)), 0.2)
  1707. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-9),math.rad(-14)),.2)
  1708. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(77), math.rad(0), math.rad(70)),.2)
  1709. LW.C0 = clerp(LW.C0, CFrame.new(-1.0, 0.5, -0.55) * angles(math.rad(30), math.rad(0), math.rad(70)),.2)
  1710. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(12)), 0.2)
  1711. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(8)), 0.2)
  1712. end
  1713.  
  1714. attack = false
  1715. wait(0.13)
  1716. evadecooldown = false
  1717.  
  1718.  
  1719. end
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725. function Rdash()
  1726.  
  1727.  
  1728.  
  1729. evadecooldown = true
  1730. attack = true
  1731. so("http://www.roblox.com/asset/?id=707957812", Torso, 2.5, 1)
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. --+173.8*i
  1739. for i = 0,2,0.064 do
  1740. swait()
  1741. RootPart.Velocity = RootPart.CFrame.rightVector * 54
  1742. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-32)), 0.2)
  1743. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(9),math.rad(14)),.2)
  1744. RW.C0 = clerp(RW.C0, CFrame.new(1.0, 0.5, -0.55) * angles(math.rad(30), math.rad(0), math.rad(-70)),.2)
  1745. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(77), math.rad(0), math.rad(-70)),.2)
  1746. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-8)), 0.2)
  1747. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-12)), 0.2)
  1748. end
  1749.  
  1750. attack = false
  1751. wait(0.13)
  1752. evadecooldown = false
  1753.  
  1754.  
  1755. end
  1756.  
  1757.  
  1758.  
  1759. mouse.Button1Down:connect(function(key)
  1760. if attack == false then
  1761. shoot()
  1762. end
  1763. end)
  1764.  
  1765.  
  1766.  
  1767.  
  1768. mouse.Button1Up:connect(function(key)
  1769. if shooting == true then
  1770. shooting = false
  1771. end
  1772. end)
  1773.  
  1774.  
  1775.  
  1776. mouse.KeyDown:connect(function(key)
  1777. if key == 'e' and attack == false and cardmax <= 5 then
  1778. SCB()
  1779. end
  1780. end)
  1781.  
  1782.  
  1783.  
  1784. mouse.KeyDown:connect(function(key)
  1785. if key == 'f' and attack == false then
  1786. Ldash()
  1787. end
  1788. end)
  1789.  
  1790.  
  1791.  
  1792. mouse.KeyDown:connect(function(key)
  1793. if key == 'g' and attack == false then
  1794. Rdash()
  1795. end
  1796. end)
  1797.  
  1798. mouse.KeyDown:connect(function(key)
  1799. if key == 'r' and attack == false then
  1800. rotball()
  1801. end
  1802. end)
  1803.  
  1804.  
  1805.  
  1806. local idk = 0
  1807.  
  1808.  
  1809.  
  1810. local f = 0
  1811. game:GetService("RunService"):BindToRenderStep("W0tT", 0, function()
  1812.  
  1813.  
  1814. Humanoid.MaxHealth = 250
  1815. f = f+1
  1816. if f >= 7 then
  1817. MagicBlock4(BrickColor.new("Dark indigo"), LeftArm.CFrame * cf(0, -1, 0), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  1818. MagicCircle4(BrickColor.new("Dark indigo"), LeftArm.CFrame * cf(0, -1, 0), 1, 0.1, 1, 6, 0, 6, 0.1)
  1819. end
  1820.  
  1821. end)
  1822.  
  1823. Humanoid.Health = 250
  1824. while true do
  1825. swait()
  1826. sine = sine + change
  1827. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1828. local velderp=RootPart.Velocity.y
  1829. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1830. if attack==true or attack==false then
  1831. if attack==false then
  1832. idle=idle+1
  1833. else
  1834. idle=0
  1835. end
  1836. if idle>=500 then
  1837. if attack==false then
  1838. end
  1839. end
  1840.  
  1841.  
  1842.  
  1843. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1844. Anim="Jump"
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851. if attack==false then
  1852. change = 1
  1853.  
  1854. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1855. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, -.15) * CFrame.Angles(math.rad(-13), math.rad(0), math.rad(0)), 0.1)
  1856. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30+2.05*math.cos(sine/5)),math.rad(0),math.rad(0)),.1)
  1857. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30+2.05*math.cos(sine/5)), math.rad(0), math.rad(50-2.05*math.cos(sine/5))), 0.1)
  1858. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30+2.05*math.cos(sine/5)), math.rad(0), math.rad(-50+2.05*math.cos(sine/5))), 0.1)
  1859.  
  1860. end
  1861. if attack==false then
  1862. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-25+3.05*math.cos(sine/5)), math.rad(0), math.rad(0)), 0.1)
  1863. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.47, -0.7) * CFrame.Angles(math.rad(-12+3.05*math.cos(sine/5)), math.rad(-3), math.rad(0)), 0.1)
  1864. end
  1865. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1866. Anim="Fall"
  1867. change = 1
  1868.  
  1869.  
  1870. if attack==false then
  1871. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1872. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1873. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(20), math.rad(90)), 0.1)
  1874. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.1)
  1875. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.1)
  1876.  
  1877. end
  1878. if attack==false or attack == true then
  1879. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), math.rad(3), math.rad(0)), 0.1)
  1880. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.67, -0.4) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), 0.1)
  1881. end
  1882.  
  1883. elseif torvel<1 and hitfloor~=nil then
  1884. Anim="Idle"
  1885. change = 1.73
  1886. if attack==false and equip == false then
  1887. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1888. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.10*math.cos(sine/40), -0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.1)
  1889. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0+4*math.sin(sine/40)),math.rad(0),math.rad(-30)),0.1)
  1890.  
  1891.  
  1892. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.07*math.sin(sine/40), 0) * angles(math.rad(-3+2*math.cos(sine/40)), math.rad(0+7*math.cos(sine/40)), math.rad(3+3.2*math.cos(sine/40))),0.1)
  1893. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.07*math.sin(sine/40), 0) * angles(math.rad(-3+2*math.cos(sine/40)), math.rad(0-7*math.cos(sine/40)), math.rad(-3-3.2*math.cos(sine/40))),0.1)
  1894. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.10*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(-3)), 0.1)
  1895.  
  1896. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.10*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0), math.rad(-2), math.rad(3)), 0.1)
  1897. end
  1898.  
  1899.  
  1900.  
  1901.  
  1902. elseif torvel>2 and torvel<4205 and hitfloor~=nil then
  1903. Anim="Walk"
  1904. change = 1 + Character.Humanoid.WalkSpeed/113
  1905. if attack==false and equip == false then
  1906. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1907. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.42*math.cos(sine/2.5), -.8) * angles(math.rad(-23), math.rad(0), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1)
  1908. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-7+20*math.sin(sine/2.5)),math.rad(0),math.rad(0+5*math.sin(sine/5)) + RootPart.RotVelocity.Y / 13),.1)
  1909. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0+0.34*math.sin(sine/5)) * angles(math.rad(0-80*math.sin(sine/5))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(6+18*math.sin(sine/5))- RootPart.RotVelocity.Y / 34),.15)
  1910. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0-0.34*math.sin(sine/5))*angles(math.rad(0+80*math.sin(sine/5))+ RootPart.RotVelocity.Y / 34,math.rad(0),math.rad(-6+18*math.sin(sine/5))+ RootPart.RotVelocity.Y / -34),.15)
  1911.  
  1912.  
  1913. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0.+0.21*math.cos(sine/5)) * CFrame.Angles(math.rad(-5-60*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.8)
  1914. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5),0.-0.21*math.cos(sine/5)) * CFrame.Angles(math.rad(-5+60*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.8)
  1915. end
  1916.  
  1917. if attack==true and noleg == false then
  1918. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0+0.32*math.sin(sine/5)) * CFrame.Angles(math.rad(0-65*math.sin(sine/5)), math.rad(3), math.rad(0)), 0.2)
  1919. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5), 0-0.32*math.sin(sine/5)) * CFrame.Angles(math.rad(0+65*math.sin(sine/5)), math.rad(-3), math.rad(0)), 0.2)
  1920. end
  1921.  
  1922. end
  1923. end
  1924.  
  1925.  
  1926.  
  1927. if 0 < #Effects then
  1928. for e = 1, #Effects do
  1929. if Effects[e] ~= nil then
  1930. local Thing = Effects[e]
  1931. if Thing ~= nil then
  1932. local Part = Thing[1]
  1933. local Mode = Thing[2]
  1934. local Delay = Thing[3]
  1935. local IncX = Thing[4]
  1936. local IncY = Thing[5]
  1937. local IncZ = Thing[6]
  1938. if Thing[1].Transparency <= 1 then
  1939. if Thing[2] == "Block1" then
  1940. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-80, 80), math.random(-80, 80), math.random(-80, 80))
  1941. Mesh = Thing[1]:FindFirstChild("Mesh")
  1942. if not Mesh then
  1943. Mesh = Instance.new("BlockMesh")
  1944. end
  1945. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1946. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1947. elseif Thing[2] == "Cylinder" then
  1948. Mesh = Thing[1]:FindFirstChild("Mesh")
  1949. if not Mesh then
  1950. Mesh = Instance.new("BlockMesh")
  1951. end
  1952. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1953. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1954. elseif Thing[2] == "Blood" then
  1955. Mesh = Thing[1]:FindFirstChild("Mesh")
  1956. if not Mesh then
  1957. Mesh = Instance.new("BlockMesh")
  1958. end
  1959. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  1960. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1961. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1962. elseif Thing[2] == "Elec" then
  1963. Mesh = Thing[1]:FindFirstChild("Mesh")
  1964. if not Mesh then
  1965. Mesh = Instance.new("BlockMesh")
  1966. end
  1967. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  1968. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1969. elseif Thing[2] == "Disappear" then
  1970. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1971. end
  1972. else
  1973. Part.Parent = nil
  1974. Part:Destroy()
  1975. --game:GetService("Debris"):AddItem(Part, 0)
  1976. table.remove(Effects, e)
  1977. end
  1978. end
  1979. end
  1980. end
  1981. end
  1982.  
  1983. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement