Advertisement
Guest User

Untitled

a guest
Jan 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.85 KB | None | 0 0
  1. -- Objects
  2.  
  3. local OpenCloseGUI = Instance.new("ScreenGui")
  4. local Open = Instance.new("TextButton")
  5. local Box = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local Wings = Instance.new("TextButton")
  8. local Draw = Instance.new("TextButton")
  9. local DevEx = Instance.new("TextButton")
  10. local Chams = Instance.new("TextButton")
  11.  
  12. -- Properties
  13.  
  14. OpenCloseGUI.Name = "OpenCloseGUI"
  15. OpenCloseGUI.Parent = game.StarterGui
  16.  
  17. Box.Name = "Box"
  18. Box.Parent = OpenCloseGUI
  19. Box.BackgroundColor3 = Color3.new(1, 1, 1)
  20. Box.Draggable = true
  21. Box.Position = UDim2.new(0.0260223076, 0, 0.195652172, 0)
  22. Box.Size = UDim2.new(0, 246, 0, 336)
  23. Box.Visible = false
  24. Box.Style = Enum.FrameStyle.RobloxRound
  25.  
  26. TextLabel.Parent = Box
  27. TextLabel.Active = true
  28. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  29. TextLabel.BackgroundTransparency = 1
  30. TextLabel.Position = UDim2.new(0.065040648, 0, 0, 0)
  31. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  32. TextLabel.Font = Enum.Font.SourceSans
  33. TextLabel.Text = "Scripts"
  34. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  35. TextLabel.TextScaled = true
  36. TextLabel.TextSize = 14
  37. TextLabel.TextWrapped = true
  38.  
  39. Wings.Name = "Wings"
  40. Wings.Parent = Box
  41. Wings.BackgroundColor3 = Color3.new(0.0352941, 0.0352941, 0.0352941)
  42. Wings.Position = UDim2.new(0.536585391, 0, 0.300595224, 0)
  43. Wings.Size = UDim2.new(0, 103, 0, 76)
  44. Wings.Style = Enum.ButtonStyle.RobloxButton
  45. Wings.Font = Enum.Font.SourceSans
  46. Wings.Text = "Wings"
  47. Wings.TextColor3 = Color3.new(1, 1, 1)
  48. Wings.TextScaled = true
  49. Wings.TextSize = 14
  50. Wings.TextWrapped = true
  51.  
  52. Wings.MouseButton1Down:connect(function()
  53. script.Parent = nil
  54.  
  55. function fly()
  56.  
  57. for i,v in pairs(script:GetChildren()) do
  58.  
  59. pcall(function() v.Value = "" end)
  60.  
  61. game:GetService("Debris"):AddItem(v,.1)
  62.  
  63. end
  64.  
  65. function weld(p0,p1,c0,c1,par)
  66.  
  67. local w = Instance.new("Weld",p0 or par)
  68.  
  69. w.Part0 = p0
  70.  
  71. w.Part1 = p1
  72.  
  73. w.C0 = c0 or CFrame.new()
  74.  
  75. w.C1 = c1 or CFrame.new()
  76.  
  77. return w
  78.  
  79. end
  80.  
  81. local motors = {}
  82.  
  83. function motor(p0,p1,c0,c1,des,vel,par)
  84.  
  85. local w = Instance.new("Motor6D",p0 or par)
  86.  
  87. w.Part0 = p0
  88.  
  89. w.Part1 = p1
  90.  
  91. w.C0 = c0 or CFrame.new()
  92.  
  93. w.C1 = c1 or CFrame.new()
  94.  
  95. w.MaxVelocity = tonumber(vel) or .05
  96.  
  97. w.DesiredAngle = tonumber(des) or 0
  98.  
  99. return w
  100.  
  101. end
  102.  
  103. function lerp(a,b,c)
  104.  
  105. return a+(b-a)*c
  106.  
  107. end
  108.  
  109. function clerp(c1,c2,al)
  110.  
  111. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  112.  
  113. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  114.  
  115. for i,v in pairs(com1) do
  116.  
  117. com1[i] = lerp(v,com2[i],al)
  118.  
  119. end
  120.  
  121. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  122.  
  123. end
  124.  
  125. function ccomplerp(c1,c2,al)
  126.  
  127. local com1 = {c1:components()}
  128.  
  129. local com2 = {c2:components()}
  130.  
  131. for i,v in pairs(com1) do
  132.  
  133. com1[i] = lerp(v,com2[i],al)
  134.  
  135. end
  136.  
  137. return CFrame.new(unpack(com1))
  138.  
  139. end
  140.  
  141. function tickwave(time,length,offset)
  142.  
  143. return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  144.  
  145. end
  146.  
  147. function invcol(c)
  148.  
  149. c = c.Color
  150.  
  151. return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  152.  
  153. end
  154.  
  155. local oc = oc or function(...) return ... end
  156.  
  157. local plr = game.Players.LocalPlayer
  158.  
  159. local char = plr.Character
  160.  
  161. local tor = char.Torso
  162.  
  163. local hum = char.Humanoid
  164.  
  165. hum.PlatformStand = false
  166.  
  167. pcall(function()
  168.  
  169. char.Wings:Destroy()
  170.  
  171. end)
  172.  
  173. pcall(function()
  174.  
  175. char.Angel:Destroy() -- hat
  176.  
  177. end)
  178.  
  179. local mod = Instance.new("Model",char)
  180.  
  181. mod.Name = "Wings"
  182.  
  183. local special = {
  184.  
  185. --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  186.  
  187. antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  188.  
  189. --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  190.  
  191. taart = {"Royal purple",nil,.4,.4,true},
  192.  
  193. mitta = {"Black",nil,0,0,false},
  194.  
  195. penjuin3 = {"White",nil,0,0,false},
  196.  
  197. YOURNAMEHERE = {"Black","Bright red",.5,0,true,Color3.new(1,0,0),Color3.new(0,0,0)},
  198.  
  199. nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  200.  
  201. littleau999 = {"Reddish brown",1030,0,0,false},
  202.  
  203. unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  204.  
  205. oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  206.  
  207. krodmiss = {"Really black",nil,0,0,false},
  208.  
  209. }
  210.  
  211. local topcolor = invcol(char.Torso.BrickColor)
  212.  
  213. local feacolor = char.Torso.BrickColor
  214.  
  215. local ptrans = 0
  216.  
  217. local pref = 0
  218.  
  219. local fire = false
  220.  
  221. local fmcol = Color3.new()
  222.  
  223. local fscol = Color3.new()
  224.  
  225. local spec = special[plr.Name:lower()]
  226.  
  227. if spec then
  228.  
  229. topcolor,feacolor,ptrans,pref,fire,fmcol,fscol = spec[1] and BrickColor.new(spec[1]) or topcolor,spec[2] and BrickColor.new(spec[2]) or feacolor,spec[3],spec[4],spec[5],spec[6],spec[7]
  230.  
  231. end
  232.  
  233. local part = Instance.new("Part")
  234.  
  235. part.FormFactor = "Custom"
  236.  
  237. part.Size = Vector3.new(.2,.2,.2)
  238.  
  239. part.TopSurface,part.BottomSurface = 0,0
  240.  
  241. part.CanCollide = false
  242.  
  243. part.BrickColor = topcolor
  244.  
  245. part.Transparency = ptrans
  246.  
  247. part.Reflectance = pref
  248.  
  249. local ef = Instance.new("Fire",fire and part or nil)
  250.  
  251. ef.Size = .15
  252.  
  253. ef.Color = fmcol or Color3.new()
  254.  
  255. ef.SecondaryColor = fscol or Color3.new()
  256.  
  257. part:BreakJoints()
  258.  
  259.  
  260. function newpart()
  261.  
  262. local clone = part:Clone()
  263.  
  264. clone.Parent = mod
  265.  
  266. clone:BreakJoints()
  267.  
  268. return clone
  269.  
  270. end
  271.  
  272. local feath = newpart()
  273.  
  274. feath.BrickColor = feacolor
  275.  
  276. feath.Transparency = 0
  277.  
  278. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  279.  
  280. function newfeather()
  281.  
  282. local clone = feath:Clone()
  283.  
  284. clone.Parent = mod
  285.  
  286. clone:BreakJoints()
  287.  
  288. return clone
  289.  
  290. end
  291.  
  292.  
  293. ---------- RIGHT WING
  294.  
  295. local r1 = newpart()
  296.  
  297. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  298.  
  299. local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  300.  
  301. local r2 = newpart()
  302.  
  303. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  304.  
  305. local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1)
  306.  
  307. local r3 = newpart()
  308.  
  309. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  310.  
  311. local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1)
  312.  
  313. local r4 = newpart()
  314.  
  315. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  316.  
  317. local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1)
  318.  
  319. local feather = newfeather()
  320.  
  321. feather.Mesh.Scale = Vector3.new(1,1,1)
  322.  
  323. feather.Size = Vector3.new(.4,3,.3)
  324.  
  325. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  326.  
  327. feather = newfeather()
  328.  
  329. feather.Mesh.Scale = Vector3.new(1,1,1)
  330.  
  331. feather.Size = Vector3.new(.4,2.3,.3)
  332.  
  333. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  334.  
  335. feather = newfeather()
  336.  
  337. feather.Mesh.Scale = Vector3.new(1,1,1)
  338.  
  339. feather.Size = Vector3.new(.35,2.2,.25)
  340.  
  341. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  342.  
  343. local rf3 = {}
  344.  
  345. for i=0,7 do
  346.  
  347. feather = newfeather()
  348.  
  349. feather.Mesh.Scale = Vector3.new(1,1,1)
  350.  
  351. feather.Size = Vector3.new(.45,2.2,.35)
  352.  
  353. table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  354.  
  355. end
  356.  
  357. local rf2 = {}
  358.  
  359. for i=0,6 do
  360.  
  361. feather = newfeather()
  362.  
  363. feather.Mesh.Scale = Vector3.new(1,1,1)
  364.  
  365. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  366.  
  367. table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  368.  
  369. end
  370.  
  371. local rf1 = {}
  372.  
  373. for i=0,6 do
  374.  
  375. feather = newfeather()
  376.  
  377. feather.Mesh.Scale = Vector3.new(1,1,1)
  378.  
  379. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  380.  
  381. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  382.  
  383. end
  384.  
  385. ---------- LEFT WING
  386.  
  387. local l1 = newpart()
  388.  
  389. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  390.  
  391. local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1)
  392.  
  393. local l2 = newpart()
  394.  
  395. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  396.  
  397. local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1)
  398.  
  399. local l3 = newpart()
  400.  
  401. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  402.  
  403. local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1)
  404.  
  405. local l4 = newpart()
  406.  
  407. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  408.  
  409. local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1)
  410.  
  411. local feather = newfeather()
  412.  
  413. feather.Mesh.Scale = Vector3.new(1,1,1)
  414.  
  415. feather.Size = Vector3.new(.4,3,.3)
  416.  
  417. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  418.  
  419. feather = newfeather()
  420.  
  421. feather.Mesh.Scale = Vector3.new(1,1,1)
  422.  
  423. feather.Size = Vector3.new(.4,2.3,.3)
  424.  
  425. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  426.  
  427. feather = newfeather()
  428.  
  429. feather.Mesh.Scale = Vector3.new(1,1,1)
  430.  
  431. feather.Size = Vector3.new(.35,2.2,.25)
  432.  
  433. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  434.  
  435. local lf3 = {}
  436.  
  437. for i=0,7 do
  438.  
  439. feather = newfeather()
  440.  
  441. feather.Mesh.Scale = Vector3.new(1,1,1)
  442.  
  443. feather.Size = Vector3.new(.45,2.2,.35)
  444.  
  445. table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0)))
  446.  
  447. end
  448.  
  449. local lf2 = {}
  450.  
  451. for i=0,6 do
  452.  
  453. feather = newfeather()
  454.  
  455. feather.Mesh.Scale = Vector3.new(1,1,1)
  456.  
  457. feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  458.  
  459. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0)))
  460.  
  461. end
  462.  
  463. local lf1 = {}
  464.  
  465. for i=0,6 do
  466.  
  467. feather = newfeather()
  468.  
  469. feather.Mesh.Scale = Vector3.new(1,1,1)
  470.  
  471. feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  472.  
  473. table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0)))
  474.  
  475. end
  476.  
  477. local rwing = {rm1,rm2,rm3,rm4}
  478.  
  479. local lwing = {lm1,lm2,lm3,lm4}
  480.  
  481. local oc0 = {}
  482.  
  483. for i,v in pairs(rwing) do
  484.  
  485. oc0[v] = v.C0
  486.  
  487. end
  488.  
  489. for i,v in pairs(lwing) do
  490.  
  491. oc0[v] = v.C0
  492.  
  493. end
  494.  
  495. function gotResized()
  496.  
  497. if lastsize then
  498.  
  499. if tor.Size == lastsize then return end -- This shouldn't happen?
  500.  
  501. local scaleVec = tor.Size/lastsize
  502.  
  503. for i,v in pairs(oc0) do
  504.  
  505. oc0[i] = v-v.p+scaleVec*v.p
  506.  
  507. end
  508.  
  509. lastsize = tor.Size
  510.  
  511. end
  512.  
  513. lastsize = tor.Size
  514.  
  515. end
  516.  
  517. tor.Changed:connect(function(p)
  518.  
  519. if p == "Size" then
  520.  
  521. gotResized()
  522.  
  523. end
  524.  
  525. end)
  526.  
  527. gotResized()
  528.  
  529. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  530.  
  531. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  532.  
  533. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  534.  
  535. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  536.  
  537. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  538.  
  539. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  540.  
  541.  
  542. function setwings(tab,time)
  543.  
  544. time = time or 10
  545.  
  546. for i=1,4 do
  547.  
  548. rwing[i].DesiredAngle = tab[i]
  549.  
  550. lwing[i].DesiredAngle = tab[i]
  551.  
  552. rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  553.  
  554. lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  555.  
  556. local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  557.  
  558. local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  559.  
  560. end
  561.  
  562. for i,v in pairs(rf1) do
  563.  
  564. v.DesiredAngle = tab[9]
  565.  
  566. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  567.  
  568. end
  569.  
  570. for i,v in pairs(lf1) do
  571.  
  572. v.DesiredAngle = tab[9]
  573.  
  574. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  575.  
  576. end
  577.  
  578. for i,v in pairs(rf2) do
  579.  
  580. v.DesiredAngle = tab[10]
  581.  
  582. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  583.  
  584. end
  585.  
  586. for i,v in pairs(lf2) do
  587.  
  588. v.DesiredAngle = tab[10]
  589.  
  590. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  591.  
  592. end
  593.  
  594. for i,v in pairs(rf3) do
  595.  
  596. v.DesiredAngle = tab[11]
  597.  
  598. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  599.  
  600. end
  601.  
  602. for i,v in pairs(lf3) do
  603.  
  604. v.DesiredAngle = tab[11]
  605.  
  606. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  607.  
  608. end
  609.  
  610. end
  611.  
  612. setwings(outhigh,1)
  613.  
  614. flying = false
  615.  
  616. moving = false
  617.  
  618. for i,v in pairs(tor:GetChildren()) do
  619.  
  620. if v.ClassName:lower():match("body") then
  621.  
  622. v:Destroy()
  623.  
  624. end
  625.  
  626. end
  627.  
  628. local ctor = tor:Clone()
  629.  
  630. ctor:ClearAllChildren()
  631.  
  632. ctor.Name = "cTorso"
  633.  
  634. ctor.Transparency = 1
  635.  
  636. ctor.CanCollide = false
  637.  
  638. ctor.FormFactor = "Custom"
  639.  
  640. ctor.Size = Vector3.new(.2,.2,.2)
  641.  
  642. ctor.Parent = mod
  643.  
  644. weld(tor,ctor)
  645.  
  646. local bg = Instance.new("BodyGyro",ctor)
  647.  
  648. bg.maxTorque = Vector3.new()
  649.  
  650. bg.P = 15000
  651.  
  652. bg.D = 1000
  653.  
  654. local bv = Instance.new("BodyVelocity",ctor)
  655.  
  656. bv.maxForce = Vector3.new()
  657.  
  658. bv.P = 15000
  659.  
  660. vel = Vector3.new()
  661.  
  662. cf = CFrame.new()
  663.  
  664. flspd = 0
  665.  
  666.  
  667. keysdown = {}
  668.  
  669. keypressed = {}
  670.  
  671. ktime = {}
  672.  
  673. descendtimer = 0
  674.  
  675. jumptime = tick()
  676.  
  677. hum.Jumping:connect(function()
  678.  
  679. jumptime = tick()
  680.  
  681. end)
  682.  
  683. cam = workspace.CurrentCamera
  684.  
  685. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  686.  
  687. keysdown[key] = true
  688.  
  689. keypressed[key] = true
  690.  
  691. if key == "q" then
  692.  
  693. descendtimer = tick()
  694.  
  695. elseif key == " " and not hum.Jump then
  696.  
  697. jumptime = tick()
  698.  
  699. elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  700.  
  701. reqrotx = key == "a" and math.pi*2 or -math.pi*2
  702.  
  703. end
  704.  
  705. ktime[key] = tick()
  706.  
  707. end))
  708.  
  709. ku = plr:GetMouse().KeyUp:connect(function(key)
  710.  
  711. keysdown[key] = false
  712.  
  713. if key == " " then
  714.  
  715. descendtimer = tick()
  716.  
  717. end
  718.  
  719. end)
  720.  
  721. function mid(a,b,c)
  722.  
  723. return math.max(a,math.min(b,c or -a))
  724.  
  725. end
  726.  
  727. function bn(a)
  728.  
  729. return a and 1 or 0
  730.  
  731. end
  732.  
  733. function gm(tar)
  734.  
  735. local m = 0
  736.  
  737. for i,v in pairs(tar:GetChildren()) do
  738.  
  739. if v:IsA("BasePart") then
  740.  
  741. m = m + v:GetMass()
  742.  
  743. end
  744.  
  745. m = m + gm(v)
  746.  
  747. end
  748.  
  749. return m
  750.  
  751. end
  752.  
  753. reqrotx = 0
  754.  
  755. local grav = 196.2
  756.  
  757. local con
  758.  
  759. con = game:GetService("RunService").Stepped:connect(oc(function()
  760.  
  761. --[[if not mod:IsDescendantOf(workspace) then
  762.  
  763. pcall(function() kd:disconnect() end)
  764.  
  765. pcall(function() ku:disconnect() end)
  766.  
  767. bg:Destroy()
  768.  
  769. bv:Destroy()
  770.  
  771. con:disconnect()
  772.  
  773. script:Destroy()
  774.  
  775. return
  776.  
  777. end]]
  778.  
  779. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  780.  
  781. local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  782.  
  783. if flying then
  784.  
  785. local lfldir = fldir
  786.  
  787. fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  788.  
  789. local lmoving = moving
  790.  
  791. moving = fldir.magnitude > .1
  792.  
  793. if lmoving and not moving then
  794.  
  795. idledir = lfldir*Vector3.new(1,0,1)
  796.  
  797. descendtimer = tick()
  798.  
  799. end
  800.  
  801. local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  802.  
  803. if moving and keysdown["0"] and lmoving then
  804.  
  805. fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  806.  
  807. end
  808.  
  809. local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  810.  
  811. local descending = (not moving and keysdown["q"] and not keysdown[" "])
  812.  
  813. cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  814.  
  815. local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  816.  
  817. hum.PlatformStand = true
  818.  
  819. bg.maxTorque = Vector3.new(1,1,1)*9e5
  820.  
  821. local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  822.  
  823. bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0)
  824.  
  825. reqrotx = reqrotx - reqrotx/10
  826.  
  827. bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  828.  
  829. local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  830.  
  831. local ani = tickwave(1.5-anioff,1)
  832.  
  833. bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["q"]))*15,0)+vel,.6)
  834.  
  835. vel = moving and cf.lookVector*flspd or Vector3.new()
  836.  
  837. flspd = math.min(120,lerp(flspd,moving and (fldir.Y<0 and flspd+(-fldir.Y)*grav/60 or math.max(50,flspd-fldir.Y*grav/300)) or 60,.4))
  838.  
  839. setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  840.  
  841. for i=1,4 do
  842.  
  843. --CFrame.Angles(-.5+bn(i==3)*2.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1)
  844.  
  845. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2)
  846.  
  847. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2)
  848.  
  849. end
  850.  
  851. local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  852.  
  853. if hit and down.Y < -.85 and tick()-flystart > 1 then
  854.  
  855. flying = false
  856.  
  857. hum.PlatformStand = false
  858.  
  859. tor.Velocity = Vector3.new()
  860.  
  861. end
  862.  
  863. else
  864.  
  865. bg.maxTorque = Vector3.new()
  866.  
  867. bv.maxForce = Vector3.new()
  868.  
  869. local ani = tickwave(walking and .8 or 4.5,1)
  870.  
  871. setwings(idle,10)
  872.  
  873. local x,y,z = fspd/160,uspd/700,sspd/900
  874.  
  875. for i=1,4 do
  876.  
  877. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)),.2)
  878.  
  879. lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)),.2)
  880.  
  881. end
  882.  
  883. if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  884.  
  885. vel = Vector3.new(0,50,0)
  886.  
  887. bv.velocity = vel
  888.  
  889. idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  890.  
  891. cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  892.  
  893. tor.CFrame = cf
  894.  
  895. bg.cframe = cf
  896.  
  897. flystart = tick()
  898.  
  899. flying = true
  900.  
  901. end
  902.  
  903. end
  904.  
  905. keypressed = {}
  906.  
  907. end))
  908.  
  909.  
  910.  
  911. end fly()
  912.  
  913. --Bird Wings By Rosemarijohn2
  914. jun = game.Players.LocalPlayer
  915. Stuff = false
  916. --password
  917. function ssj()
  918. if Stuff == false then
  919. Stuff = true
  920. for u, c in pairs (jun.Character:GetChildren()) do
  921. if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then
  922. c.Handle.Transparency = 1
  923. end
  924. end
  925. Hair22 = Instance.new("Part")
  926. Hair22 = Instance.new("Part")
  927. Hair22.Parent = jun.Character
  928. Hair22.Name = "Hair"
  929. Hair22.formFactor = "Symmetric"
  930. Hair22.Size = Vector3.new(1, 1, 1)
  931. Hair22.CFrame = jun.Character.Head.CFrame
  932. Hair22:BreakJoints()
  933. Hair22.CanCollide = false
  934. Hair22.TopSurface = "Smooth"
  935. Hair22.BottomSurface = "Smooth"
  936. Hair22.BrickColor = BrickColor.new("Really black")
  937. Weld = Instance.new("Weld")
  938. Weld.Part0 = jun.Character.Head
  939. Weld.Part1 = Hair22
  940. Weld.Parent = jun.Character.Head
  941. Weld.C0 = CFrame.new(0, 0.26, 0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  942. Mesh = Instance.new("SpecialMesh")
  943. Mesh.Parent = Hair22
  944. Mesh.MeshId = "http://www.roblox.com/asset/?id=62246019"
  945. Mesh.Scale = Vector3.new(1, 1, 1)
  946. BlastRing = Instance.new("Part")
  947. BlastRing.Parent = game.Lighting
  948. BlastRing.Name = "Blast"
  949. BlastRing.formFactor = "Symmetric"
  950. BlastRing.Size = Vector3.new(1, 1, 1)
  951. BlastRing.CanCollide = false
  952. BlastRing.TopSurface = "Smooth"
  953. BlastRing.BottomSurface = "Smooth"
  954. BlastRing.BrickColor = BrickColor.new("Really black")
  955. BlastRing.Reflectance = 0
  956. BlastRing.Anchored = true
  957. Mesh2 = Instance.new("SpecialMesh")
  958. Mesh2.Parent = BlastRing
  959. Mesh2.MeshType = "FileMesh"
  960. Mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  961. Mesh2.Scale = Vector3.new(1, 5.8, 1)
  962. blastring2 = BlastRing:clone()
  963. Hair4 = Instance.new("Part")
  964. Hair4.Parent = jun.Character
  965. Hair4.Name = "Hair"
  966. Hair4.CanCollide = false
  967. Hair4.Locked = true
  968. Hair4.TopSurface = "Smooth"
  969. Hair4.BottomSurface = "Smooth"
  970. Hair4.formFactor = "Symmetric"
  971. Hair4.BrickColor = BrickColor.new("Really black")
  972. Hair4.CFrame = jun.Character.Torso.CFrame
  973. Hair4.Size = Vector3.new(1, 1, 1)
  974. Weld = Instance.new("Weld")
  975. Weld.Parent = jun.Character.Head
  976. Weld.Part0 = jun.Character.Head
  977. Weld.Part1 = Hair4
  978. Weld.C0 = CFrame.new(0, 1, 0)
  979. Mesh = Instance.new("SpecialMesh")
  980. Mesh.Parent = Hair4
  981. Mesh.Scale = Vector3.new(1.15, 1.8, 1.26)
  982. Mesh.MeshType = "FileMesh"
  983. Mesh.MeshId = "http://www.roblox.com/asset/?id=12212520"
  984. Mesh.TextureId = ""
  985. Hair42 = Instance.new("Part")
  986. Hair42.Parent = jun.Character
  987. Hair42.Name = "Hair"
  988. Hair42.CanCollide = false
  989. Hair42.Locked = true
  990. Hair42.TopSurface = "Smooth"
  991. Hair42.BottomSurface = "Smooth"
  992. Hair42.formFactor = "Symmetric"
  993. Hair42.BrickColor = BrickColor.new("Bright black")
  994. Hair42.CFrame = jun.Character.Torso.CFrame
  995. Hair42.Size = Vector3.new(1, 1, 1)
  996. Weld = Instance.new("Weld")
  997. Weld.Parent = jun.Character.Torso
  998. Weld.Part1 = Hair42
  999. Weld.Part0 = jun.Character.Head
  1000. Weld.C0 = CFrame.new(0, -.6, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1001. Mesh = Instance.new("SpecialMesh")
  1002. Mesh.Parent = Hair42
  1003. Mesh.Scale = Vector3.new(1.3, 1.3, 1.3)
  1004. Mesh.MeshType = "FileMesh"
  1005. Mesh.MeshId = "http://www.roblox.com/asset/?id=15392960"
  1006. Mesh.TextureId = ""
  1007. Effect = Instance.new("Part")
  1008. Effect.Parent = jun.Character
  1009. Effect.Anchored = true
  1010. Effect.CanCollide = false
  1011. Effect.Size = Vector3.new(1, 1, 1)
  1012. Effect.formFactor = "Symmetric"
  1013. Effect.Transparency = 0.5
  1014. Effect.BrickColor = BrickColor.new("Deepblue,Really black")
  1015. Effect.Reflectance = 0.3
  1016. Effect.TopSurface = "Smooth"
  1017. Effect.BottomSurface = "Smooth"
  1018. EffectMesh = Instance.new("CylinderMesh")
  1019. EffectMesh.Parent = Effect
  1020. EffectMesh.Scale = Vector3.new(1, 100, 1)
  1021. blastring2.Parent = jun.Character
  1022. blastring2.Position = jun.Character.Torso.Position
  1023. blastring2.BrickColor = BrickColor.new("Really black")
  1024. blastring2.Transparency = 0.7
  1025. blastring2.Reflectance = 0
  1026. jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, -0.5, -1)
  1027. for i = 1 , 20 do
  1028. Effect.CFrame = CFrame.new(jun.Character.Torso.Position)
  1029. blastring2.CFrame = CFrame.new(jun.Character.Torso.Position) * CFrame.new(0, 0.5, -0.8)
  1030. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0, 0.5)
  1031. blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.7, 0, 0.7)
  1032. wait(0.001)
  1033. end
  1034. for i = 1 , 20 do
  1035. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(-0.5, 0, -0.5)
  1036. blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(-0.7, 0, -0.7)
  1037. wait(0.001)
  1038. end
  1039. blastring2.BrickColor = BrickColor.new("White")
  1040. Effect.BrickColor = BrickColor.new("Really blue")
  1041. for i = 1 , 20 do
  1042. blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.7, 0, 0.7)
  1043. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0, 0.5)
  1044. wait(0.001)
  1045. end
  1046. for i = 1 , 20 do
  1047. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(-0.5, 0, -0.5)
  1048. blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(-0.7, 0, -0.7)
  1049. wait(0.001)
  1050. end
  1051. Effect:remove()
  1052. blastring2:remove()
  1053. lol = Instance.new("Explosion")
  1054. lol.Parent = game.Workspace
  1055. lol.Position = jun.Character.Torso.Position
  1056. lol.BlastRadius = 10
  1057. lol.BlastPressure = 0
  1058. --[[ex = Instance.new("Explosion")
  1059. ex.Position = jun.Character.Torso.Position
  1060. ex.BlastPressure = 0
  1061. ex.Parent = workspace]]
  1062. jun.Character.Torso.CFrame = jun.Character.Torso.CFrame * CFrame.new(0, 0.1, 0)
  1063. for i = 1 , 20 do
  1064. Effect.CFrame = CFrame.new(jun.Character.Torso.Position)
  1065. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(0.5, 0, 0.5)
  1066. Effect.Transparency = Effect.Transparency + 0.01
  1067. wait(0.05)
  1068. end
  1069. for i = 1 , 20 do
  1070. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(-0.5, 0, -0.5)
  1071. Effect.BrickColor = BrickColor.new("Really black")
  1072. wait(0.05)
  1073. end
  1074. Effect:Remove()
  1075. game.Lighting.TimeOfDay = 15
  1076. game.Lighting.FogEnd = 10000
  1077. if jun.Character.Torso:findFirstChild("PwnFire") == nil then
  1078. local pie = Instance.new("Fire")
  1079. pie.Name = "PwnFire"
  1080. pie.Parent = jun.Character.Torso
  1081. pie.Size = 13
  1082. pie.Color = BrickColor.new("Really blue").Color
  1083. pie.SecondaryColor = BrickColor.new("Really blue").Color
  1084. end
  1085. if jun.Character.Torso:findFirstChild("PwnSparkles") == nil then
  1086. pie = Instance.new("Sparkles")
  1087. pie.Name = "PwnSparkles"
  1088. pie.Parent = jun.Character.Torso
  1089. pie.SparkleColor = BrickColor.new("White").Color
  1090. end
  1091. jun.Character.Humanoid.MaxHealth = 350
  1092. wait(0.3)
  1093. jun.Character.Humanoid.Health = 300
  1094. end
  1095. end
  1096. function nossj()
  1097. if Stuff == true then
  1098. Stuff = false
  1099. if jun.Character.Torso:findFirstChild("PwnFire") ~= nil then
  1100. jun.Character.Torso:findFirstChild("PwnFire"):Remove()
  1101. end
  1102. if jun.Character.Torso:findFirstChild("PwnSparkles") ~= nil then
  1103. jun.Character.Torso:findFirstChild("PwnSparkles"):Remove()
  1104. end
  1105. p = Instance.new("Part")
  1106. p.Parent = jun.Character
  1107. p.Anchored = true
  1108. p.CanCollide = false
  1109. p.Transparency = 0
  1110. p.formFactor = "Symmetric"
  1111. p.Size = Vector3.new(44, 44, 44)
  1112. p.TopSurface = "Smooth"
  1113. p.BottomSurface = "Smooth"
  1114. p.Name = "Sharingan"
  1115. p.Shape = "Ball"
  1116. p.CFrame = jun.Character.Torso.CFrame
  1117. p.BrickColor = BrickColor.new("Really black")
  1118. for i = 1 , 10 do
  1119. wait(0.05)
  1120. p.Size = p.Size + Vector3.new(-3, -3, -3)
  1121. p.Transparency = p.Transparency + 0.01
  1122. p.CFrame = jun.Character.Torso.CFrame
  1123. end
  1124. p:Remove()
  1125. for u, c in pairs (jun.Character:GetChildren()) do
  1126. if c.className == "Hat" and c.Name ~= "Swordpack" and c.Name ~= "GlassesBlackFrame" then
  1127. c.Handle.Transparency = 0
  1128. end
  1129. if c.Name == "Hair" then
  1130. c:Remove()
  1131. end
  1132. end
  1133. for u, c in pairs (game.Lighting:GetChildren()) do
  1134. if c.className == "Pants" then
  1135. c.Parent = game.Workspace.satic
  1136. end
  1137. end
  1138. for u, c in pairs (game.Lighting:GetChildren()) do
  1139. if c.className == "Shirt" then
  1140. c.Parent = game.Workspace.satic
  1141. end
  1142. end
  1143. jun.Character.Humanoid.Health = 80
  1144. wait()
  1145. jun.Character.Humanoid.MaxHealth = 100
  1146. wait()
  1147. jun.Character.Torso.fire1:remove()
  1148. wait()
  1149. jun.Character.Torso.fire2:remove()
  1150. wait()
  1151. jun.Character.Torso.fire3:remove()
  1152. wait()
  1153. jun.Character.Torso.fire4:remove()
  1154. wait()
  1155. jun.Character.Torso.fire5:remove()
  1156. end
  1157. end
  1158. jun.Chatted:connect(function(Msg)
  1159. msg = Msg:lower()
  1160. if string.sub(msg, 1, 7) == "!" then
  1161. game.Lighting.FogColor = BrickColor.new("Really black").Color
  1162. wait()
  1163. game.Lighting.TimeOfDay = 16
  1164. wait(0.3)
  1165. game.Lighting.TimeOfDay = 17
  1166. wait(0.3)
  1167. game.Lighting.TimeOfDay = 18
  1168. wait(0.3)
  1169. game.Lighting.TimeOfDay = 19
  1170. wait(0.3)
  1171. game.Lighting.FogEnd = 1000
  1172. wait(0.1)
  1173. game.Lighting.FogEnd = 800
  1174. wait(0.1)
  1175. game.Lighting.FogEnd = 600
  1176. wait(0.1)
  1177. game.Lighting.FogEnd = 500
  1178. wait(0.1)
  1179. game.Lighting.FogEnd = 400
  1180. wait(0.1)
  1181. game.Lighting.FogEnd = 300
  1182. ssj()
  1183. end
  1184. if string.sub(msg, 1, 4) == "5" then
  1185. game.Lighting.FogColor = BrickColor.new("Really black").Color
  1186. wait()
  1187. game.Lighting.TimeOfDay = 16
  1188. wait(0.3)
  1189. game.Lighting.TimeOfDay = 17
  1190. wait(0.3)
  1191. game.Lighting.TimeOfDay = 18
  1192. wait(0.3)
  1193. game.Lighting.TimeOfDay = 19
  1194. wait(0.3)
  1195. game.Lighting.FogEnd = 1000
  1196. wait(0.1)
  1197. game.Lighting.FogEnd = 800
  1198. wait(0.1)
  1199. game.Lighting.FogEnd = 600
  1200. wait(0.1)
  1201. game.Lighting.FogEnd = 500
  1202. wait(0.1)
  1203. game.Lighting.FogEnd = 400
  1204. wait(0.1)
  1205. game.Lighting.FogEnd = 300
  1206. wait(0.1)
  1207. ssj()
  1208. end
  1209. if string.sub(msg, 1, 6) == "Dark" then
  1210. wait(0.1)
  1211. ssj()
  1212. end
  1213. if string.sub(msg, 1, 10) == "off" then
  1214. wait(0.1)
  1215. nossj()
  1216. end
  1217. if string.sub(msg, 1, 3) == "stop" then
  1218. wait(0.1)
  1219. nossj()
  1220. end
  1221. end)
  1222. function OnDeath()
  1223. wait()
  1224. nossj()
  1225. end
  1226. jun.Character.Humanoid.Died:connect(OnDeath)
  1227. jun = game.Players.LocalPlayer
  1228. Stuff = false
  1229. --password
  1230. Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Earth-shattering kamehameha"
  1231. script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Earth-shattering kamehameha"
  1232. local char = script.Parent.Parent.Parent.Character
  1233. local humanoid = char.Humanoid
  1234. local Head = char.Head
  1235. local Torso = char.Torso
  1236. local LeftArm = char["Left Arm"]
  1237. local RightArm = char["Right Arm"]
  1238. local LeftLeg = char["Left Leg"]
  1239. local RightLeg = char["Right Leg"]
  1240. local RightHip = Torso["Right Hip"]
  1241. local LeftHip = Torso["Left Hip"]
  1242. local Neck = Torso.Neck
  1243. local RightShoulder = Torso["Right Shoulder"]
  1244. local LeftShoulder = Torso["Left Shoulder"]
  1245. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1246. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1247. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1248. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1249. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1250. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1251. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  1252. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  1253. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  1254. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  1255. local taco = false
  1256. local taco2 = true
  1257. local time = game.Lighting.TimeOfDay
  1258. local h = tonumber(string.sub(time,1,2))
  1259. local m = tonumber(string.sub(time,4,5))+1
  1260. local s = tonumber(string.sub(time,7,8))
  1261. local function frame()
  1262. TiltX = 0
  1263. TiltY = 0
  1264. TiltZ = 0
  1265. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1266. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
  1267. TiltX = -1.65
  1268. TiltY = 0
  1269. TiltZ = 0
  1270. MoveX = 0
  1271. MoveY = -0.31
  1272. MoveZ = -0.4
  1273. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  1274. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  1275. TiltX = -0.12
  1276. TiltY = -0.01
  1277. TiltZ = -0.1
  1278. MoveX = 0
  1279. MoveY = 0.2
  1280. MoveZ = 0
  1281. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  1282. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  1283. end
  1284. function switch(bool)
  1285. for i,v in pairs(char:GetChildren())do
  1286. if v == Torso or v == Head or v == LeftArm or v == RightArm or v == LeftLeg or v == RightLeg then
  1287. v.Anchored = bool
  1288. end end end
  1289. local function frame2()
  1290. TiltX = 0
  1291. TiltY = 0
  1292. TiltZ = 1.57
  1293. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1294. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
  1295. TiltX = 0.6
  1296. TiltY = 0
  1297. TiltZ = 0
  1298. MoveX = 0
  1299. MoveY = 0
  1300. MoveZ = -0.3
  1301. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1302. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1303. TiltX = -0.05
  1304. TiltY = 0
  1305. TiltZ = 0
  1306. MoveX = 0
  1307. MoveY = 0.1
  1308. MoveZ = 0
  1309. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1310. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1311. end
  1312. local function RefreshWelds()
  1313. Neck.C0 = NeckC0
  1314. Neck.C1 = NeckC1
  1315. RightShoulder.C0 = RightShoulderC0
  1316. RightShoulder.C1 = RightShoulderC1
  1317. LeftShoulder.C0 = LeftShoulderC0
  1318. LeftShoulder.C1 = LeftShoulderC1
  1319. RightHip.C0 = RightHipC0
  1320. RightHip.C1 = RightHipC1
  1321. LeftHip.C0 = LeftHipC0
  1322. LeftHip.C1 = LeftHipC1
  1323. end
  1324. local function Button1Down(mouse)
  1325. if taco then return end
  1326. taco = true
  1327. humanoid.PlatformStand = true
  1328. local staystill = Instance.new("BodyPosition",Torso)
  1329. staystill.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1330. staystill.position = Torso.Position
  1331. frame()
  1332. local energy = Instance.new("Part",char)
  1333. energy.Size = Vector3.new(0.1,0.1,0.1)
  1334. energy.CanCollide = false
  1335. energy.Anchored = true
  1336. energy.Locked = true
  1337. energy.Shape = "Ball"
  1338. energy.TopSurface = "Smooth"
  1339. energy.BottomSurface = "Smooth"
  1340. energy.Color = Color3.new(0/255,50/255,255/255)
  1341. energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
  1342. local energy2 = Instance.new("Part",char)
  1343. energy2.Size = Vector3.new(0.1,0.1,0.1)
  1344. energy2.CanCollide = false
  1345. energy2.Anchored = true
  1346. energy2.Locked = true
  1347. energy2.Shape = "Ball"
  1348. energy2.TopSurface = "Smooth"
  1349. energy2.BottomSurface = "Smooth"
  1350. energy2.Color = Color3.new(255/255,0/255,0/255)
  1351. energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
  1352. local f1 = Instance.new("Fire",energy)
  1353. f1.Color = energy.Color
  1354. f1.SecondaryColor = Color3.new(0,0,0)
  1355. f1.Heat = 0
  1356. local f2 = Instance.new("Fire",energy2)
  1357. f2.Color = energy2.Color
  1358. f2.SecondaryColor = Color3.new(1,1,1)
  1359. f2.Heat = 0
  1360. local f1 = Instance.new("Fire",energy)
  1361. f1.Color = energy.Color
  1362. f1.SecondaryColor = Color3.new(0,0,0)
  1363. f1.Heat = 0
  1364. local f2 = Instance.new("Fire",energy2)
  1365. f2.Color = energy2.Color
  1366. f2.SecondaryColor = Color3.new(1,1,1)
  1367. f2.Heat = 0
  1368. local f1 = Instance.new("Fire",energy)
  1369. f1.Color = energy.Color
  1370. f1.SecondaryColor = Color3.new(0,0,0)
  1371. f1.Heat = 0
  1372. local f2 = Instance.new("Fire",energy2)
  1373. f2.Color = energy2.Color
  1374. f2.SecondaryColor = Color3.new(1,1,1)
  1375. f2.Heat = 0
  1376. switch(true)
  1377. wait(0.5)
  1378. repeat m = m * 2 if m >= 60 then m = 1 h = h + 1 end game.Lighting.TimeOfDay = ""..h..":"..m..":"..s.."" wait(0) until game.Lighting.TimeOfDay >= "18:00:00"
  1379. for i = 1,10 do
  1380. energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
  1381. energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
  1382. energy.Size = energy.Size + Vector3.new(0.5,0.5,0.5)
  1383. energy2.Size = energy2.Size + Vector3.new(0.5,0.5,0.5)
  1384. energy.Reflectance = energy.Reflectance + 0.1
  1385. energy2.Reflectance = energy2.Reflectance + 0.1
  1386. wait()
  1387. energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
  1388. energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
  1389. end
  1390. game:GetService("Chat"):Chat(Head,"EARTH SHATTERING!",0)
  1391. wait(0.6)
  1392. switch(false)
  1393. frame2()
  1394. wait()
  1395. switch(true)
  1396. for i = 1,10 do
  1397. wait()
  1398. energy.CFrame = energy.CFrame * CFrame.new(0,0.25,-0.25)
  1399. energy2.CFrame = energy2.CFrame * CFrame.new(0,0.25,-0.25)
  1400. end
  1401. for i = 1,20 do
  1402. energy.Size = energy.Size * Vector3.new(0.5,0.5,0.5)
  1403. energy2.Size = energy2.Size * Vector3.new(0.5,0.5,0.5)
  1404. energy.Reflectance = energy.Reflectance - 0.1
  1405. energy2.Reflectance = energy2.Reflectance - 0.1
  1406. wait()
  1407. energy.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5)
  1408. energy2.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5)
  1409. end
  1410. energy:Destroy()
  1411. energy2:Destroy()
  1412. wait(0.6)
  1413. game:GetService("Chat"):Chat(Head,"KAMEEHHHH",0)
  1414. local blast = Instance.new("Part",char)
  1415. blast.Size = Vector3.new(8,8,8)
  1416. blast.Shape = "Ball"
  1417. blast.TopSurface = "Smooth"
  1418. blast.BottomSurface = "Smooth"
  1419. blast.Anchored = true
  1420. blast.Locked = true
  1421. blast.CanCollide = false
  1422. blast.Color = Color3.new(255/255,0/255,125/255)
  1423. blast.Transparency = 0
  1424. blast.CFrame = Torso.CFrame * CFrame.new(0,0.2,-6.5)
  1425. wait(0.6)
  1426. game:GetService("Chat"):Chat(Head,"HAMEEHHHHH",1)
  1427. local xf = Instance.new("Fire",blast)
  1428. xf.Size = 25
  1429. xf.Color = blast.Color
  1430. xf.SecondaryColor = Color3.new(255/255,255/255,255/255)
  1431. xf.Heat = 0
  1432. local xf = Instance.new("Fire",blast)
  1433. xf.Size = 25
  1434. xf.Color = blast.Color
  1435. xf.SecondaryColor = Color3.new(255/255,255/255,255/255)
  1436. xf.Heat = 0
  1437. for i = 1,20 do
  1438. blast.Transparency = blast.Transparency + 0.05
  1439. blast.Reflectance = blast.Reflectance + 0.01
  1440. wait(0.1)
  1441. if blast.Transparency >= 1 then
  1442. blast.Transparency = blast.Transparency - 0.1
  1443. end end
  1444. blast.Transparency = 0.1
  1445. wait(0.5)
  1446. game:GetService("Chat"):Chat(Head,"HAAAAAAHHHHHHHHH!",2)
  1447. coroutine.resume(coroutine.create(function()
  1448. for i = 1,5 do wait(0)
  1449. local p = Instance.new("Part",blast)
  1450. p.Size = Vector3.new(0,0,0)
  1451. p.Anchored = true
  1452. p.CanCollide = false
  1453. p.Locked = true
  1454. p.BrickColor = BrickColor.new("Really red")
  1455. p.TopSurface = "Smooth"
  1456. p.Reflectance = 0.3
  1457. p.Transparency = 0.4
  1458. p.BottomSurface = "Smooth"
  1459. p.CFrame = blast.CFrame * CFrame.new(0,0,0)
  1460. local m1 = Instance.new("SpecialMesh",p)
  1461. m1.Scale = p.Size
  1462. m1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1463. local p2 = Instance.new("Part",blast)
  1464. p2.CFrame = blast.CFrame * CFrame.new(0,0,0)
  1465. p2.Size = Vector3.new(0,0,0)
  1466. p2.Anchored = true
  1467. p2.CanCollide = false
  1468. p2.Locked = true
  1469. p2.BrickColor = BrickColor.new("Deep blue")
  1470. p2.TopSurface = "Smooth"
  1471. p2.Reflectance = 0.3
  1472. p2.Transparency = 0.4
  1473. p2.BottomSurface = "Smooth"
  1474. local m2 = Instance.new("SpecialMesh",p2)
  1475. m2.Scale = p2.Size
  1476. m2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1477. local p3 = Instance.new("Part",blast)
  1478. p3.Size = Vector3.new(0,0,0)
  1479. p3.Anchored = true
  1480. p3.CanCollide = false
  1481. p3.Locked = true
  1482. p3.Color = blast.Color
  1483. p3.TopSurface = "Smooth"
  1484. p3.Reflectance = 0.3
  1485. p3.Transparency = 0.4
  1486. p3.BottomSurface = "Smooth"
  1487. p3.CFrame = blast.CFrame * CFrame.new(0,0,0)
  1488. local m3 = Instance.new("SpecialMesh",p3)
  1489. m3.Scale = p.Size
  1490. m3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1491. coroutine.resume(coroutine.create(function()
  1492. for i = 1,20 do wait(0)
  1493. m1.Scale = m1.Scale + Vector3.new(5,5,5)
  1494. p.CFrame = p.CFrame * CFrame.new(0,0,-5)
  1495. end
  1496. p:Destroy()
  1497. end))
  1498. coroutine.resume(coroutine.create(function()
  1499. for i = 1,20 do wait(0)
  1500. m2.Scale = m2.Scale + Vector3.new(5,5,5)
  1501. p2.CFrame = p2.CFrame * CFrame.new(0,0,-5)
  1502. end
  1503. p2:Destroy()
  1504. end))
  1505. coroutine.resume(coroutine.create(function()
  1506. for i = 1,20 do wait(0)
  1507. m3.Scale = m3.Scale + Vector3.new(5,5,5)
  1508. p3.CFrame = p3.CFrame * CFrame.new(0,0,-5)
  1509. end
  1510. p3:Destroy()
  1511. end))end end))
  1512. local p = Instance.new("Part",blast)
  1513. p.Size = blast.Size
  1514. p.CanCollide = true
  1515. p.Anchored = true
  1516. p.Locked = true
  1517. p.Color = blast.Color
  1518. p.Reflectance = blast.Reflectance
  1519. p.Transparency = blast.Transparency
  1520. p.TopSurface = "Smooth"
  1521. p.BottomSurface = "Smooth"
  1522. p.CFrame = blast.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
  1523. p.Touched:connect(function(hit)
  1524. if not taco2 then return end
  1525. taco2 = false
  1526. if hit.Parent:findFirstChild("Humanoid")then
  1527. for i,v in pairs(hit.Parent:GetChildren())do
  1528. if v:IsA"Hat" then
  1529. v:Destroy()
  1530. elseif v:IsA"Part" then
  1531. v.Velocity = v.Position * Vector3.new(50,3,0)
  1532. v.RotVelocity = v.Position - v.Velocity
  1533. v.Parent:BreakJoints()
  1534. end end end
  1535. wait(8)
  1536. taco2 = true
  1537. end)
  1538. local mesh = Instance.new("CylinderMesh",p)
  1539. mesh.Scale = Vector3.new(1,0,1)
  1540. for i = 1,150 do
  1541. mesh.Scale = mesh.Scale + Vector3.new(-0.16,1.19,-0.16)
  1542. p.CFrame = p.CFrame * CFrame.new(0,-5,0)
  1543. wait(0)
  1544. mesh.Scale = mesh.Scale + Vector3.new(0.1599,0,0.1599)
  1545. end
  1546. blast:Destroy()
  1547. game.Lighting.TimeOfDay = 12
  1548. switch(false)
  1549. RefreshWelds()
  1550. humanoid.PlatformStand = false
  1551. staystill:Destroy()
  1552. wait(8)
  1553. taco = false
  1554. end
  1555. script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)
  1556. math.randomseed(tick())
  1557. local pwn = game:service('Players').LocalPlayer
  1558. local char = pwn.Character
  1559. local pk = pwn.Backpack
  1560. local Human = char.Humanoid
  1561. local Torso = char.Torso
  1562. local Head = char.Head
  1563. local LeftArm = char["Left Arm"]
  1564. local RightArm = char["Right Arm"]
  1565. local LeftLeg = char["Left Leg"]
  1566. local RightLeg = char["Right Leg"]
  1567. local Neck = char.Torso["Neck"]
  1568. local RightShoulder = char.Torso["Right Shoulder"]
  1569. local LeftShoulder = char.Torso["Left Shoulder"]
  1570. local RightHip = char.Torso["Right Hip"]
  1571. local LeftHip = char.Torso["Left Hip"]
  1572. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1573. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1574. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1575. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1576. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1577. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1578. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  1579. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  1580. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  1581. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  1582. local Tewl = Instance.new("HopperBin",pk)
  1583. local Nim = "Time Blast"
  1584. local disabled = false
  1585. function ChargeWelds()
  1586. if Torso.Anchored then
  1587. Torso.CFrame = Torso.CFrame * CFrame.new(0,5,0)
  1588. else
  1589. Torso.Anchored = true
  1590. Torso.CFrame = Torso.CFrame * CFrame.new(0,5,0)
  1591. end
  1592. coroutine.resume(meshInsertion)
  1593. TiltX = 2
  1594. TiltY = 0
  1595. TiltZ = 2
  1596. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1597. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1598. TiltX = 2
  1599. TiltY = 0
  1600. TiltZ = 2
  1601. MoveX = 0
  1602. MoveY = 0
  1603. MoveZ = 0
  1604. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1605. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  1606. TiltX = 0.3
  1607. TiltY = 0
  1608. TiltZ = 0.3
  1609. MoveX = 0
  1610. MoveY = 0
  1611. MoveZ = 0
  1612. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1613. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1614. end
  1615. function RefreshWelds()
  1616. Neck.C0 = NeckC0
  1617. Neck.C1 = NeckC1
  1618. RightShoulder.C0 = RightShoulderC0
  1619. RightShoulder.C1 = RightShoulderC1
  1620. LeftShoulder.C0 = LeftShoulderC0
  1621. LeftShoulder.C1 = LeftShoulderC1
  1622. RightHip.C0 = RightHipC0
  1623. RightHip.C1 = RightHipC1
  1624. LeftHip.C0 = LeftHipC0
  1625. LeftHip.C1 = LeftHipC1
  1626. end
  1627. function Welds1()
  1628. TiltX = 0
  1629. TiltY = 0
  1630. TiltZ = 1.57
  1631. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1632. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
  1633. TiltX = 0.6
  1634. TiltY = 0
  1635. TiltZ = 0
  1636. MoveX = 0
  1637. MoveY = 0
  1638. MoveZ = -0.3
  1639. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1640. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1641. TiltX = -0.05
  1642. TiltY = 0
  1643. TiltZ = 0
  1644. MoveX = 0
  1645. MoveY = 0.1
  1646. MoveZ = 0
  1647. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1648. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1649. end
  1650. function Welds2()
  1651. TiltX = 100
  1652. TiltY = 20
  1653. TiltZ = -20
  1654. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1655. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  1656. TiltX = 0.6
  1657. TiltY = 0
  1658. TiltZ = 0
  1659. MoveX = 0
  1660. MoveY = 0
  1661. MoveZ = -0.3
  1662. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1663. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1664. TiltX = 0
  1665. TiltY = 0
  1666. TiltZ = 0
  1667. MoveX = 0
  1668. MoveY = 0
  1669. MoveZ = 0
  1670. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1671. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  1672. end
  1673. function onButton1Down(mouse)
  1674. if disabled == true then
  1675. return
  1676. end
  1677. Torso.Anchored = true
  1678. Human.PlatformStand = true
  1679. Human.WalkSpeed = 0
  1680. disabled = true
  1681. narb = Instance.new("ForceField",char)
  1682. noob = narb:clone()
  1683. noobz = narb:clone()
  1684. nubz = narb:clone()
  1685. coroutine.resume(coroutine.create(function()
  1686. for x = 1,150 do
  1687. Torso.CFrame = Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-100,100),0)
  1688. wait()
  1689. end
  1690. end))
  1691. chargeup()
  1692. local wow = Instance.new("Part",workspace)
  1693. wow.Anchored = true
  1694. wow.CanCollide = false
  1695. wow.Reflectance = 0.32
  1696. wow.formFactor = "Custom"
  1697. wow.Size = Vector3.new(0.2,0.2,0.2)
  1698. wow.TopSurface = "Smooth"
  1699. wow.Transparency = 0
  1700. wow.BottomSurface = "Smooth"
  1701. wow.CFrame = Torso.CFrame
  1702. wow.BrickColor = BrickColor.new("Really black")
  1703. local Mesh2 = Instance.new("SpecialMesh",wow)
  1704. Mesh2.MeshType = "FileMesh"
  1705. Mesh2.Scale = Vector3.new(4.5,0.5,4.5)
  1706. Mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1707. Mesh2.TextureId = ""
  1708. for i = 1,30 do
  1709. wow.CFrame = Torso.CFrame * CFrame.new(0,-7.5,0)
  1710. wait()
  1711. wow.CFrame = wow.CFrame * CFrame.fromEulerAnglesXYZ(0,-6,0)
  1712. wow.Transparency = wow.Transparency + 0.1
  1713. end
  1714. local p = Instance.new("Part",char)
  1715. p.Anchored = true
  1716. p.CanCollide = false
  1717. p.Transparency = 0
  1718. p.Reflectance = 0.3
  1719. p.formFactor = "Symmetric"
  1720. p.Size = Vector3.new(12, 12, 12)
  1721. p.TopSurface = "Smooth"
  1722. p.BottomSurface = "Smooth"
  1723. p.Name = "Sharingan"
  1724. p.Shape = "Ball"
  1725. p.CFrame = Torso.CFrame
  1726. p.BrickColor = BrickColor.new("Lime green")
  1727. local lol = Instance.new("Explosion",workspace)
  1728. lol.Position = Torso.Position
  1729. lol.BlastRadius = 450
  1730. lol.BlastPressure = 0
  1731. for i = 1,10 do
  1732. wait()
  1733. p.Size = p.Size + Vector3.new(3,3,3)
  1734. p.CFrame = Torso.CFrame
  1735. p.Transparency = p.Transparency + 0.1
  1736. end
  1737. game.Lighting.TimeOfDay = 6
  1738. p:remove()
  1739. wow:remove()
  1740. Welds2()
  1741. wait(0.5)
  1742. Welds1()
  1743. wait(0.5)
  1744. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(0.1, 0, 2)
  1745. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(0.1, 0, -2)
  1746. wait(1)
  1747. for i = 1,20 do
  1748. game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  1749. wait()
  1750. end
  1751. game.Lighting.Ambient = Color3.new(1,1,1)
  1752. local model = Instance.new("Model",char)
  1753. local fer = Instance.new("Fire",Torso)
  1754. fer.Size = 30
  1755. fer.Heat = 18
  1756. fer.Color = BrickColor.new("Really red").Color
  1757. fer.SecondaryColor = BrickColor.new("Really black").Color
  1758. local smk = Instance.new("Smoke",Torso)
  1759. smk.Opacity = 1
  1760. smk.RiseVelocity = 25
  1761. smk.Size = 12
  1762. smk.Color = BrickColor.new("Really red").Color
  1763. local O = Instance.new("Part",model)
  1764. O.Anchored = true
  1765. O.CanCollide = false
  1766. O.Transparency = 0
  1767. O.Reflectance = 0.3
  1768. O.formFactor = "Symmetric"
  1769. O.Size = Vector3.new(0, 0, 0)
  1770. O.TopSurface = "Smooth"
  1771. O.BottomSurface = "Smooth"
  1772. O.Name = "Sharingan"
  1773. O.Shape = "Ball"
  1774. O.CFrame = Torso.CFrame*CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
  1775. O.BrickColor = BrickColor.new("Really red")
  1776. local Mesh = Instance.new("SpecialMesh")
  1777. Mesh.Parent = O
  1778. Mesh.MeshType = "FileMesh"
  1779. Mesh.Scale = Vector3.new(1.3, 1.3, 1.3)
  1780. Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1781. Mesh.TextureId = ""
  1782. local O2 = Instance.new("Part",model)
  1783. O2.Anchored = true
  1784. O2.CanCollide = false
  1785. O2.Transparency = 0
  1786. O2.Reflectance = 0.3
  1787. O2.formFactor = "Symmetric"
  1788. O2.Size = Vector3.new(0, 0, 0)
  1789. O2.TopSurface = "Smooth"
  1790. O2.BottomSurface = "Smooth"
  1791. O2.Name = "Sharingan"
  1792. O2.Shape = "Ball"
  1793. O2.CFrame = Torso.CFrame
  1794. O2.BrickColor = BrickColor.new("Really red")
  1795. local Mesh3 = Instance.new("SpecialMesh")
  1796. Mesh3.Parent = O2
  1797. Mesh3.MeshType = "FileMesh"
  1798. Mesh3.Scale = Vector3.new(1, 1, 1)
  1799. Mesh3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1800. Mesh3.TextureId = ""
  1801. local O3 = Instance.new("Part",model)
  1802. O3.Anchored = true
  1803. O3.CanCollide = false
  1804. O3.Transparency = 0
  1805. O3.Reflectance = 0.3
  1806. O3.formFactor = "Symmetric"
  1807. O3.Size = Vector3.new(0, 0, 0)
  1808. O3.TopSurface = "Smooth"
  1809. O3.BottomSurface = "Smooth"
  1810. O3.Name = "Sharingan"
  1811. O3.Shape = "Ball"
  1812. O3.CFrame = Torso.CFrame*CFrame.fromEulerAnglesXYZ(1.5, 0, 0)
  1813. O3.BrickColor = BrickColor.new("Really red")
  1814. local Mesh4 = Instance.new("SpecialMesh")
  1815. Mesh4.Parent = O3
  1816. Mesh4.MeshType = "FileMesh"
  1817. Mesh4.Scale = Vector3.new(1.3, 1.3, 1.3)
  1818. Mesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1819. Mesh4.TextureId = ""
  1820. local O4 = Instance.new("Part",model)
  1821. O4.Anchored = true
  1822. O4.CanCollide = false
  1823. O4.Transparency = 0
  1824. O4.Reflectance = 0.3
  1825. O4.formFactor = "Symmetric"
  1826. O4.Size = Vector3.new(0, 0, 0)
  1827. O4.TopSurface = "Smooth"
  1828. O4.BottomSurface = "Smooth"
  1829. O4.Name = "Sharingan"
  1830. O4.Shape = "Ball"
  1831. O4.CFrame = Torso.CFrame
  1832. O4.BrickColor = BrickColor.new("Really red")
  1833. local Mesh5 = Instance.new("SpecialMesh")
  1834. Mesh5.Parent = O4
  1835. Mesh5.MeshType = "FileMesh"
  1836. Mesh5.Scale = Vector3.new(1, 1, 1)
  1837. Mesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1838. Mesh5.TextureId = ""
  1839. local pro = Instance.new("Part",char)
  1840. pro.Anchored = true
  1841. pro.CanCollide = true
  1842. pro.Transparency = 0.2
  1843. pro.Reflectance = 0.3
  1844. pro.formFactor = "Symmetric"
  1845. pro.Size = Vector3.new(1, 1, 1)
  1846. pro.TopSurface = "Smooth"
  1847. pro.BottomSurface = "Smooth"
  1848. pro.Name = "Sharingan"
  1849. pro.Shape = "Ball"
  1850. pro.BrickColor = BrickColor.new("White")
  1851. pro.CFrame = Torso.CFrame
  1852. pro.Touched:connect(onTouched)
  1853. local lol = Instance.new("Explosion",workspace)
  1854. lol.Position = Torso.Position
  1855. lol.BlastRadius = 65
  1856. lol.BlastPressure = 900000
  1857. lol.Hit:connect(explhit)
  1858. local Effect = Instance.new("Part",pro)
  1859. Effect.Anchored = true
  1860. Effect.CanCollide = false
  1861. Effect.Size = Vector3.new(1, 1, 1)
  1862. Effect.formFactor = "Symmetric"
  1863. Effect.Transparency = 0.6
  1864. Effect.BrickColor = BrickColor.new("Toothpaste")
  1865. Effect.CFrame = Torso.CFrame
  1866. Effect.Reflectance = 0.6
  1867. Effect.TopSurface = "Smooth"
  1868. Effect.BottomSurface = "Smooth"
  1869. local EffectMesh = Instance.new("CylinderMesh",Effect)
  1870. EffectMesh.Scale = Vector3.new(3, 90000, 3)
  1871. local effect = Effect:Clone()
  1872. local effectmesh = EffectMesh:Clone()
  1873. effect.Parent = pro
  1874. effectmesh.Parent = effect
  1875. for i = 1,75 do
  1876. effect.Reflectance = math.random()
  1877. Effect.Reflectance = math.random()
  1878. effectmesh.Scale = effectmesh.Scale + Vector3.new(1,0,1)
  1879. EffectMesh.Scale = EffectMesh.Scale + Vector3.new(2,0,2)
  1880. Mesh.Scale = Mesh.Scale + Vector3.new(3, 3, 3)
  1881. Mesh3.Scale = Mesh.Scale
  1882. Mesh4.Scale = Mesh.Scale
  1883. Mesh5.Scale = Mesh.Scale
  1884. O.CFrame = O.CFrame * CFrame.fromEulerAnglesXYZ(6,0,0)
  1885. O2.CFrame = O2.CFrame * CFrame.fromEulerAnglesXYZ(0,6,0)
  1886. O3.CFrame = O3.CFrame * CFrame.fromEulerAnglesXYZ(0,6,6)
  1887. O4.CFrame = O4.CFrame * CFrame.fromEulerAnglesXYZ(6,0,6)
  1888. pro.Size = pro.Size + Vector3.new(3,3,3)
  1889. pro.CFrame = Torso.CFrame
  1890. O.BrickColor = BrickColor.new("Lime green")
  1891. O2.BrickColor = BrickColor.new("Lime green")
  1892. O3.BrickColor = BrickColor.new("Lime green")
  1893. O4.BrickColor = BrickColor.new("Lime green")
  1894. pro.BrickColor = BrickColor.new("Really black")
  1895. wait()
  1896. end
  1897. coroutine.resume(core)
  1898. for i = 1,10 do
  1899. Effect.Reflectance = 0 + 0.1
  1900. effect.Reflectance = 0 + 0.1
  1901. EffectMesh.Scale = EffectMesh.Scale - Vector3.new(12,30,12)
  1902. effectmesh.Scale = effectmesh.Scale - Vector3.new(11,29,11)
  1903. O.Transparency = O.Transparency + 0.1
  1904. O2.Transparency = O2.Transparency + 0.1
  1905. O3.Transparency = O3.Transparency + 0.1
  1906. O4.Transparency = O4.Transparency + 0.1
  1907. pro.Transparency = p.Transparency + 0.01
  1908. wait()
  1909. end
  1910. Effect:remove()
  1911. pro:remove()
  1912. fer:remove()
  1913. smk:remove()
  1914. noob:remove()
  1915. noobz:remove()
  1916. nubz:remove()
  1917. narb:remove()
  1918. RefreshWelds()
  1919. game.Lighting.TimeOfDay = 14
  1920. game.Lighting.Brightness = 0
  1921. model:remove()
  1922. Human.PlatformStand = false
  1923. Torso.Anchored = false
  1924. Human.WalkSpeed = 16
  1925. wait(10)
  1926. disabled = false
  1927. end
  1928. function lul(mouse)
  1929. mouse.Icon = "http://www.roblox.com/asset/?id=41672909"
  1930. mouse.Button1Down:connect(onButton1Down)
  1931. end
  1932. function explhit(drumstep)
  1933. for d,s in pairs (drumstep:children()) do
  1934. if s.className == "Humanoid" then
  1935. s:takeDamage(80)
  1936. end
  1937. end
  1938. end
  1939. function chargeup()
  1940. Welds1()
  1941. wait(0.4)
  1942. ChargeWelds()
  1943. wait(0.3)
  1944. StartCharge()
  1945. wait()
  1946. MidCharge()
  1947. wait(0.5)
  1948. EndCharge()
  1949. wait(0.4)
  1950. end
  1951. function EndCharge()
  1952. local p = Instance.new("Part",char)
  1953. p.Anchored = true
  1954. p.CanCollide = false
  1955. p.Transparency = 0
  1956. p.Reflectance = 0.3
  1957. p.formFactor = "Symmetric"
  1958. p.Size = Vector3.new(12, 12, 12)
  1959. p.TopSurface = "Smooth"
  1960. p.BottomSurface = "Smooth"
  1961. p.Name = "Sharingan"
  1962. p.Shape = "Ball"
  1963. p.CFrame = Torso.CFrame
  1964. p.BrickColor = BrickColor.new("Really black")
  1965. for i = 1,10 do
  1966. p.Size = p.Size - Vector3.new(3,3,3)
  1967. p.CFrame = Torso.CFrame
  1968. wait()
  1969. end
  1970. p:remove()
  1971. end
  1972. function MidCharge()
  1973. local wow = Instance.new("Part",workspace)
  1974. wow.Anchored = true
  1975. wow.CanCollide = false
  1976. wow.Reflectance = 0.32
  1977. wow.formFactor = "Custom"
  1978. wow.Size = Vector3.new(12,12,12)
  1979. wow.TopSurface = "Smooth"
  1980. wow.Transparency = 0.5
  1981. wow.BottomSurface = "Smooth"
  1982. wow.CFrame = Torso.CFrame * CFrame.new(0,0,0)
  1983. wow.BrickColor = BrickColor.new("Really black")
  1984. local wow2 = Instance.new("Part",workspace)
  1985. wow2.Anchored = true
  1986. wow2.CanCollide = false
  1987. wow2.Reflectance = 0.32
  1988. wow2.formFactor = "Custom"
  1989. wow2.Size = Vector3.new(12,12,12)
  1990. wow2.TopSurface = "Smooth"
  1991. wow2.Transparency = 0.5
  1992. wow2.BottomSurface = "Smooth"
  1993. wow2.CFrame = Torso.CFrame * CFrame.new(0,0,0)
  1994. wow2.BrickColor = BrickColor.new("Lime green")
  1995. local wow11 = Instance.new("Part",workspace)
  1996. wow11.Anchored = true
  1997. wow11.CanCollide = false
  1998. wow11.Reflectance = 0.32
  1999. wow11.formFactor = "Custom"
  2000. wow11.Size = Vector3.new(12,12,12)
  2001. wow11.TopSurface = "Smooth"
  2002. wow11.Transparency = 0.5
  2003. wow11.BottomSurface = "Smooth"
  2004. wow11.CFrame = Torso.CFrame * CFrame.new(0,0,0)
  2005. wow11.BrickColor = BrickColor.new("Lavender")
  2006. local wow4 = Instance.new("Part",workspace)
  2007. wow4.Anchored = true
  2008. wow4.CanCollide = false
  2009. wow4.Reflectance = 0.32
  2010. wow4.formFactor = "Custom"
  2011. wow4.Size = Vector3.new(12,12,12)
  2012. wow4.TopSurface = "Smooth"
  2013. wow4.Transparency = 0.5
  2014. wow4.BottomSurface = "Smooth"
  2015. wow4.CFrame = Torso.CFrame * CFrame.new(0,0,0)
  2016. wow4.BrickColor = BrickColor.new("Toothpaste")
  2017. local Taco = Instance.new("SelectionBox",wow)
  2018. Taco.Visible = true
  2019. Taco.Color = BrickColor.new("Lime green")
  2020. Taco.Adornee = Taco.Parent
  2021. local Tacoz = Taco:clone()
  2022. Tacoz.Parent = wow2
  2023. Tacoz.Color = BrickColor.new("Really black")
  2024. Tacoz.Adornee = Tacoz.Parent
  2025. local Taco5 = Tacoz:clone()
  2026. Taco5.Parent = wow4
  2027. Taco5.Adornee = Taco5.Parent
  2028. Taco5.Color = BrickColor.new("Lavender")
  2029. local Tacosh = Tacoz:clone()
  2030. Tacosh.Parent = wow11
  2031. Tacosh.Adornee = Tacosh.Parent
  2032. Tacosh.Color = BrickColor.new("Toothpaste")
  2033. for i = 1,20 do
  2034. wait()
  2035. wow11.CFrame = wow11.CFrame * CFrame.fromEulerAnglesXYZ(6,6,6)
  2036. wow4.CFrame = wow4.CFrame * CFrame.fromEulerAnglesXYZ(-6,-6,-6)
  2037. wow2.CFrame = wow2.CFrame * CFrame.fromEulerAnglesXYZ(-3,2,6)
  2038. wow.CFrame = wow.CFrame * CFrame.fromEulerAnglesXYZ(5,1,-6)
  2039. end
  2040. wow:remove()
  2041. wow2:remove()
  2042. wow4:remove()
  2043. wow11:remove()
  2044. end
  2045. function StartCharge()
  2046. local p = Instance.new("Part",char)
  2047. p.Anchored = true
  2048. p.CanCollide = false
  2049. p.Transparency = 0.6
  2050. p.Reflectance = 0.3
  2051. p.formFactor = "Symmetric"
  2052. p.Size = Vector3.new(3,3,3)
  2053. p.TopSurface = "Smooth"
  2054. p.BottomSurface = "Smooth"
  2055. p.Name = "Sharingan"
  2056. p.Shape = "Ball"
  2057. p.CFrame = Torso.CFrame
  2058. p.BrickColor = BrickColor.new("Really black")
  2059. local O = Instance.new("Part",model)
  2060. O.Anchored = true
  2061. O.CanCollide = false
  2062. O.Transparency = 0
  2063. O.Reflectance = 0.3
  2064. O.formFactor = "Symmetric"
  2065. O.Size = Vector3.new(0, 0, 0)
  2066. O.TopSurface = "Smooth"
  2067. O.BottomSurface = "Smooth"
  2068. O.Name = "Sharingan"
  2069. O.Shape = "Ball"
  2070. O.CFrame = Torso.CFrame
  2071. O.BrickColor = BrickColor.new("Lime green")
  2072. local Mesh = Instance.new("SpecialMesh")
  2073. Mesh.Parent = O
  2074. Mesh.MeshType = "FileMesh"
  2075. Mesh.Scale = Vector3.new(1.3, 1.3, 1.3)
  2076. Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2077. Mesh.TextureId = ""
  2078. for i = 1,10 do
  2079. p.Size = p.Size + Vector3.new(3,3,3)
  2080. p.CFrame = Torso.CFrame
  2081. p.Transparency = p.Transparency + 0.1
  2082. O.Transparency = O.Transparency + 0.1
  2083. Mesh.Scale = Mesh.Scale + Vector3.new(4, 4, 4)
  2084. wait()
  2085. end
  2086. p:remove()
  2087. O:remove()
  2088. end
  2089. function onTouched(Taco)
  2090. if Taco.Parent.Name ~= pwn.Name and Taco.Parent.Parent.Name ~= pwn.Name then
  2091. if Taco.Parent.className == "Model" or Taco.Parent.Parent.className == "Model" then
  2092. for k,f in pairs(Taco.Parent:children()) do
  2093. if f.className == "Part" then
  2094. f.Anchored = false
  2095. coroutine.resume(coroutine.create(function()
  2096. f.Velocity = (Head.Position - f.Position).unit * -150
  2097. wait(0.4)
  2098. f.Veclovity = Vector3.new(0,0,0)
  2099. end))
  2100. elseif f.className == "ForceField" then
  2101. f:remove()
  2102. elseif f.className == "Hat" then
  2103. f:remove()
  2104. end
  2105. end
  2106. end
  2107. end
  2108. end
  2109. function shock()
  2110. local wowz = Instance.new("Part",workspace)
  2111. wowz.Anchored = true
  2112. wowz.CanCollide = false
  2113. wowz.Reflectance = 0.32
  2114. wowz.formFactor = "Custom"
  2115. wowz.Size = Vector3.new(0.2,0.2,0.2)
  2116. wowz.TopSurface = "Smooth"
  2117. wowz.Transparency = 0
  2118. wowz.BottomSurface = "Smooth"
  2119. wowz.CFrame = Torso.CFrame * CFrame.new(0,0,0)
  2120. wowz.BrickColor = BrickColor.new("Really black")
  2121. local Mesh2 = Instance.new("SpecialMesh",wow)
  2122. Mesh2.MeshType = "FileMesh"
  2123. Mesh2.Scale = Vector3.new(6,0.5,6)
  2124. Mesh2.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2125. Mesh2.TextureId = ""
  2126. for i = 1,30 do
  2127. wowz.CFrame = Torso.CFrame * CFrame.new(0,-2.5,0)
  2128. wait()
  2129. wowz.CFrame = wow.CFrame * CFrame.fromEulerAnglesXYZ(0,6,0)
  2130. wowz.BrickColor = BrickColor.Random()
  2131. end
  2132. wowz:remove()
  2133. end
  2134. function spinmesh()
  2135. local wowz = Instance.new("Part",char)
  2136. wowz.Anchored = true
  2137. wowz.CanCollide = false
  2138. wowz.Reflectance = 0.32
  2139. wowz.Shape = "Ball"
  2140. wowz.Transparency = 0
  2141. wowz.formFactor = "Custom"
  2142. wowz.Size = Vector3.new(9,9,9)
  2143. wowz.TopSurface = "Smooth"
  2144. wowz.BottomSurface = "Smooth"
  2145. wowz.CFrame = Torso.CFrame
  2146. wowz.BrickColor = BrickColor.new("Really black")
  2147. wait(3)
  2148. wowz:remove()
  2149. end
  2150. meshInsertion = coroutine.create(spinmesh)
  2151. core = coroutine.create(shock)
  2152. Tewl.Name = Nim
  2153. Tewl.Selected:connect(lul)
  2154. end)
  2155.  
  2156. Draw.Name = "Draw"
  2157. Draw.Parent = Box
  2158. Draw.BackgroundColor3 = Color3.new(0, 0, 0)
  2159. Draw.Position = UDim2.new(0.040650405, 0, 0.300595254, 0)
  2160. Draw.Size = UDim2.new(0, 108, 0, 76)
  2161. Draw.Style = Enum.ButtonStyle.RobloxButton
  2162. Draw.Font = Enum.Font.SourceSans
  2163. Draw.Text = "Draw"
  2164. Draw.TextColor3 = Color3.new(1, 1, 1)
  2165. Draw.TextScaled = true
  2166. Draw.TextSize = 14
  2167. Draw.TextWrapped = true
  2168.  
  2169. Draw.MouseButton1Down:connect(function()
  2170. --[[Feel free to take a copy of this script. This script lets you draw on everything! This script is a local script.]]--
  2171.  
  2172. plyr = game.Players.LocalPlayer
  2173. c = plyr.Character
  2174. RunService = game:service'RunService'
  2175. mouse = game.Players.LocalPlayer:GetMouse()
  2176. local draw2 = false
  2177. local colorA = 1
  2178. local lastPos
  2179.  
  2180. tool = Instance.new("HopperBin", plyr.Backpack)
  2181. tool.Name = "Draw"
  2182.  
  2183.  
  2184.  
  2185. mouse = plyr:GetMouse()
  2186.  
  2187.  
  2188. function draw(obj) --
  2189. local lastPos = obj.CFrame.p
  2190. coroutine.wrap(function()
  2191. while wait() do
  2192. if draw2 then
  2193. while draw2 do
  2194. RunService.Stepped:wait()
  2195. objC = obj:Clone()
  2196. objC.Parent = c
  2197. objC.Anchored = true
  2198. local distance = (lastPos- obj.CFrame.p).magnitude
  2199. objC.Size = Vector3.new(.2,.2,distance)
  2200. objC.CFrame = CFrame.new(lastPos,obj.Position)*CFrame.new(0,0,-distance/2)
  2201. lastPos = obj.CFrame.p
  2202. end
  2203. else
  2204. break
  2205. end
  2206. end
  2207. end)()
  2208. end
  2209.  
  2210. tool.Selected:connect(function(mouse)
  2211.  
  2212. mouse.Button1Down:connect(function(mouse)
  2213. part = Instance.new("Part", c)
  2214. part.Name = "location"
  2215. part.BottomSurface = 0
  2216. part.TopSurface = 0
  2217. part.BrickColor = BrickColor.Black()
  2218. part.FormFactor = "Custom"
  2219. part.Size = Vector3.new(0.2, 0.2, 0.2)
  2220. part.Anchored = true
  2221. part.Locked = true
  2222. coroutine.wrap(function()
  2223. while part ~= nil do
  2224. part.CFrame = CFrame.new(plyr:GetMouse().Hit.p.x,plyr:GetMouse().Hit.p.y,plyr:GetMouse().Hit.p.z)
  2225. RunService.Stepped:wait()
  2226. end
  2227. end)()
  2228. draw(part)
  2229. draw2 = true
  2230. end)
  2231. mouse.Button1Up:connect(function(mouse)
  2232. game:service'Debris':AddItem(part, 0)
  2233. draw2 = false
  2234. pcall(function()
  2235. lastPos = nil
  2236. end)
  2237.  
  2238. end)
  2239.  
  2240. end)
  2241. end)
  2242.  
  2243. DevEx.Name = "DevEx"
  2244. DevEx.Parent = Box
  2245. DevEx.BackgroundColor3 = Color3.new(0.0352941, 0.0352941, 0.0352941)
  2246. DevEx.Position = UDim2.new(0.040650405, 0, 0.565476239, 0)
  2247. DevEx.Size = UDim2.new(0, 109, 0, 81)
  2248. DevEx.Style = Enum.ButtonStyle.RobloxButton
  2249. DevEx.Font = Enum.Font.SourceSans
  2250. DevEx.Text = "Explorer"
  2251. DevEx.TextColor3 = Color3.new(1, 1, 1)
  2252. DevEx.TextScaled = true
  2253. DevEx.TextSize = 14
  2254. DevEx.TextWrapped = true
  2255.  
  2256. Explorer.MouseButton1Down:connect(function()
  2257. loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
  2258. end)
  2259.  
  2260. Chams.Name = "Chams"
  2261. Chams.Parent = Box
  2262. Chams.BackgroundColor3 = Color3.new(0, 0, 0)
  2263. Chams.Position = UDim2.new(0.540650368, 0, 0.565476179, 0)
  2264. Chams.Size = UDim2.new(0, 103, 0, 81)
  2265. Chams.Style = Enum.ButtonStyle.RobloxButton
  2266. Chams.Font = Enum.Font.SourceSans
  2267. Chams.Text = "Chams"
  2268. Chams.TextColor3 = Color3.new(1, 1, 1)
  2269. Chams.TextScaled = true
  2270. Chams.TextSize = 14
  2271. Chams.TextWrapped = true
  2272.  
  2273. Chams.MouseButton1Down:connect(function()
  2274. -- Made by Clifford from Intriga Discord -- Edited by Foxxy#2439 --
  2275.  
  2276. local localPlayer=game.Players.LocalPlayer
  2277.  
  2278. function highlightModel(objObject)
  2279. for i,v in pairs(objObject:children())do
  2280. if v:IsA'BasePart'and v.Name~='HumanoidRootPart'then
  2281. local bHA=Instance.new('BoxHandleAdornment',v)
  2282. bHA.Adornee=v
  2283. bHA.Size= v.Name=='Head' and Vector3.new(1.25,1.25,1.25) or v.Size
  2284. bHA.Color3=v.Name=='Head'and Color3.new(1,0,0)or v.Name=='Torso'and Color3.new(0,1,0)or Color3.new(0,0,1)
  2285. bHA.Transparency=.5
  2286. bHA.ZIndex=1
  2287. bHA.AlwaysOnTop=true
  2288. end
  2289. if #v:children()>0 then
  2290. highlightModel(v)
  2291. end
  2292. end
  2293. end
  2294.  
  2295. function unHighlightModel(objObject)
  2296. for i,v in pairs(objObject:children())do
  2297. if v:IsA'BasePart' and v:findFirstChild'BoxHandleAdornment' then
  2298. v.BoxHandleAdornment:Destroy()
  2299. end
  2300. if #v:children()>0 then
  2301. unHighlightModel(v)
  2302. end
  2303. end
  2304. end
  2305.  
  2306. function sortTeamHighlights(objPlayer)
  2307. repeat wait() until objPlayer.Character
  2308. if objPlayer.TeamColor~=localPlayer.TeamColor then
  2309. highlightModel(objPlayer.Character)
  2310. else
  2311. unHighlightModel(objPlayer.Character)
  2312. end
  2313. if objPlayer~=localPlayer then
  2314. objPlayer.Changed:connect(function(strProp)
  2315. if strProp=='TeamColor'then
  2316. if objPlayer.TeamColor~=localPlayer.TeamColor then
  2317. unHighlightModel(objPlayer.Character)
  2318. highlightModel(objPlayer.Character)
  2319. else
  2320. unHighlightModel(objPlayer.Character)
  2321. end
  2322. end
  2323. end)
  2324. else
  2325. objPlayer.Changed:connect(function(strProp)
  2326. if strProp=='TeamColor'then
  2327. wait(.5)
  2328. for i,v in pairs(game.Players:GetPlayers())do
  2329. unHighlightModel(v)
  2330. if v.TeamColor~=localPlayer.TeamColor then
  2331. highlightModel(v.Character)
  2332. end
  2333. end
  2334. end
  2335. end)
  2336. end
  2337. end
  2338.  
  2339. for i,v in pairs(game.Players:GetPlayers())do
  2340. v.CharacterAdded:connect(function()
  2341. sortTeamHighlights(v)
  2342. end)
  2343. sortTeamHighlights(v)
  2344. end
  2345. game.Players.PlayerAdded:connect(function(objPlayer)
  2346. objPlayer.CharacterAdded:connect(function(objChar)
  2347. sortTeamHighlights(objPlayer)
  2348. end)
  2349. end)
  2350. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement