daily pastebin goal
24%
SHARE
TWEET

????????

a guest Jan 23rd, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --bird wings Gifted by harrypotterfan249, Local Script!
  2. --Jump Two Time
  3. --Down Press Q
  4.  
  5. script.Parent = nil
  6.  
  7. function fly()
  8.  
  9. for i,v in pairs(script:GetChildren()) do
  10.  
  11.         pcall(function() v.Value = "" end)
  12.  
  13.         game:GetService("Debris"):AddItem(v,.1)
  14.  
  15. end
  16.  
  17. function weld(p0,p1,c0,c1,par)
  18.  
  19.         local w = Instance.new("Weld",p0 or par)
  20.  
  21.         w.Part0 = p0
  22.  
  23.         w.Part1 = p1
  24.  
  25.         w.C0 = c0 or CFrame.new()
  26.  
  27.         w.C1 = c1 or CFrame.new()
  28.  
  29.         return w
  30.  
  31. end
  32.  
  33. local motors = {}
  34.  
  35. function motor(p0,p1,c0,c1,des,vel,par)
  36.  
  37.         local w = Instance.new("Motor6D",p0 or par)
  38.  
  39.         w.Part0 = p0
  40.  
  41.         w.Part1 = p1
  42.  
  43.         w.C0 = c0 or CFrame.new()
  44.  
  45.         w.C1 = c1 or CFrame.new()
  46.  
  47.         w.MaxVelocity = tonumber(vel) or .05
  48.  
  49.         w.DesiredAngle = tonumber(des) or 0
  50.  
  51.         return w
  52.  
  53. end
  54.  
  55. function lerp(a,b,c)
  56.  
  57.     return a+(b-a)*c
  58.  
  59. end
  60.  
  61. function clerp(c1,c2,al)
  62.  
  63.         local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  64.  
  65.         local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  66.  
  67.         for i,v in pairs(com1) do
  68.  
  69.                 com1[i] = lerp(v,com2[i],al)
  70.  
  71.         end
  72.  
  73.         return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  74.  
  75. end
  76.  
  77. function ccomplerp(c1,c2,al)
  78.  
  79.         local com1 = {c1:components()}
  80.  
  81.         local com2 = {c2:components()}
  82.  
  83.         for i,v in pairs(com1) do
  84.  
  85.                 com1[i] = lerp(v,com2[i],al)
  86.  
  87.         end
  88.  
  89.         return CFrame.new(unpack(com1))
  90.  
  91. end
  92.  
  93. function tickwave(time,length,offset)
  94.  
  95.         return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length
  96.  
  97. end
  98.  
  99. function invcol(c)
  100.  
  101.         c = c.Color
  102.  
  103.         return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r))
  104.  
  105. end
  106.  
  107. local oc = oc or function(...) return ... end
  108.  
  109. local plr = game.Players.LocalPlayer
  110.  
  111. local char = plr.Character
  112.  
  113. local tor = char.Torso
  114.  
  115. local hum = char.Humanoid
  116.  
  117. hum.PlatformStand = false
  118.  
  119. pcall(function()
  120.  
  121.         char.Wings:Destroy()
  122.  
  123. end)
  124.  
  125. pcall(function()
  126.  
  127.         char.Angel:Destroy() -- hat
  128.  
  129. end)
  130.  
  131. local mod = Instance.new("Model",char)
  132.  
  133. mod.Name = "Wings"
  134.  
  135. local special = {
  136.  
  137.         --antiboomz0r = {"Really black","Institutional white",0,0,false,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  138.  
  139.         antiboomz0r = {"New Yeller",nil,0.4,0.7,true,Color3.new(1,1,.95),Color3.new(1,1,.6)},
  140.  
  141.         --antiboomz0r = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  142.  
  143.         taart = {"Royal purple",nil,.4,.4,true},
  144.  
  145.         mitta = {"Black",nil,0,0,false},
  146.  
  147.         penjuin3 = {"White",nil,0,0,false},
  148.  
  149.         thepc8110 = {"Black","Bright red",.5,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  150.  
  151.         nonspeaker = {"Cyan","Toothpaste",0,0,false,Color3.new(1,0,0),Color3.new(0,0,0)},
  152.  
  153.         littleau999 = {"Reddish brown",1030,0,0,false},
  154.  
  155.         unscripter = {"Really black","Really black",.2,0,true,Color3.new(0,0,0),Color3.new(0,0,0)},
  156.  
  157.         oxcool1 = {"Really black","White",.2,0,false,Color3.new(0,0,0),Color3.new(0,0,0)},
  158.  
  159.         krodmiss = {"Really black",nil,0,0,false},
  160.  
  161. }
  162.  
  163. local topcolor = invcol(char.Torso.BrickColor)
  164.  
  165. local feacolor = char.Torso.BrickColor
  166.  
  167. local ptrans = 0
  168.  
  169. local pref = 0
  170.  
  171. local fire = false
  172.  
  173. local fmcol = Color3.new()
  174.  
  175. local fscol = Color3.new()
  176.  
  177. local spec = special[plr.Name:lower()]
  178.  
  179. if spec then
  180.  
  181.         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]
  182.  
  183. end
  184.  
  185. local part = Instance.new("Part")
  186.  
  187. part.FormFactor = "Custom"
  188.  
  189. part.Size = Vector3.new(.2,.2,.2)
  190.  
  191. part.TopSurface,part.BottomSurface = 0,0
  192.  
  193. part.CanCollide = false
  194.  
  195. part.BrickColor = topcolor
  196.  
  197. part.Transparency = ptrans
  198.  
  199. part.Reflectance = pref
  200.  
  201. local ef = Instance.new("Fire",fire and part or nil)
  202.  
  203. ef.Size = .15
  204.  
  205. ef.Color = fmcol or Color3.new()
  206.  
  207. ef.SecondaryColor = fscol or Color3.new()
  208.  
  209. part:BreakJoints()
  210.  
  211.  
  212. function newpart()
  213.  
  214.         local clone = part:Clone()
  215.  
  216.         clone.Parent = mod
  217.  
  218.         clone:BreakJoints()
  219.  
  220.         return clone
  221.  
  222. end
  223.  
  224. local feath = newpart()
  225.  
  226. feath.BrickColor = feacolor
  227.  
  228. feath.Transparency = 0
  229.  
  230. Instance.new("SpecialMesh",feath).MeshType = "Sphere"
  231.  
  232. function newfeather()
  233.  
  234.         local clone = feath:Clone()
  235.  
  236.         clone.Parent = mod
  237.  
  238.         clone:BreakJoints()
  239.  
  240.         return clone
  241.  
  242. end
  243.  
  244.  
  245. ---------- RIGHT WING
  246.  
  247. local r1 = newpart()
  248.  
  249. r1.Size = Vector3.new(.3,1.5,.3)*1.2
  250.  
  251. 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)
  252.  
  253. local r2 = newpart()
  254.  
  255. r2.Size = Vector3.new(.4,1.8,.4)*1.2
  256.  
  257. 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)
  258.  
  259. local r3 = newpart()
  260.  
  261. r3.Size = Vector3.new(.3,2.2,.3)*1.2
  262.  
  263. 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)
  264.  
  265. local r4 = newpart()
  266.  
  267. r4.Size = Vector3.new(.25,1.2,.25)*1.2
  268.  
  269. 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)
  270.  
  271. local feather = newfeather()
  272.  
  273. feather.Mesh.Scale = Vector3.new(1,1,1)
  274.  
  275. feather.Size = Vector3.new(.4,3,.3)
  276.  
  277. weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  278.  
  279. feather = newfeather()
  280.  
  281. feather.Mesh.Scale = Vector3.new(1,1,1)
  282.  
  283. feather.Size = Vector3.new(.4,2.3,.3)
  284.  
  285. weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  286.  
  287. feather = newfeather()
  288.  
  289. feather.Mesh.Scale = Vector3.new(1,1,1)
  290.  
  291. feather.Size = Vector3.new(.35,2.2,.25)
  292.  
  293. weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  294.  
  295. local rf3 = {}
  296.  
  297. for i=0,7 do
  298.  
  299.         feather = newfeather()
  300.  
  301.         feather.Mesh.Scale = Vector3.new(1,1,1)
  302.  
  303.         feather.Size = Vector3.new(.45,2.2,.35)
  304.  
  305.         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)))
  306.  
  307. end
  308.  
  309. local rf2 = {}
  310.  
  311. for i=0,6 do
  312.  
  313.         feather = newfeather()
  314.  
  315.         feather.Mesh.Scale = Vector3.new(1,1,1)
  316.  
  317.         feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  318.  
  319.         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)))
  320.  
  321. end
  322.  
  323. local rf1 = {}
  324.  
  325. for i=0,6 do
  326.  
  327.         feather = newfeather()
  328.  
  329.         feather.Mesh.Scale = Vector3.new(1,1,1)
  330.  
  331.         feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  332.  
  333.         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)))
  334.  
  335. end
  336.  
  337. ---------- LEFT WING
  338.  
  339. local l1 = newpart()
  340.  
  341. l1.Size = Vector3.new(.3,1.5,.3)*1.2
  342.  
  343. 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)
  344.  
  345. local l2 = newpart()
  346.  
  347. l2.Size = Vector3.new(.4,1.8,.4)*1.2
  348.  
  349. 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)
  350.  
  351. local l3 = newpart()
  352.  
  353. l3.Size = Vector3.new(.3,2.2,.3)*1.2
  354.  
  355. 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)
  356.  
  357. local l4 = newpart()
  358.  
  359. l4.Size = Vector3.new(.25,1.2,.25)*1.2
  360.  
  361. 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)
  362.  
  363. local feather = newfeather()
  364.  
  365. feather.Mesh.Scale = Vector3.new(1,1,1)
  366.  
  367. feather.Size = Vector3.new(.4,3,.3)
  368.  
  369. weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0))
  370.  
  371. feather = newfeather()
  372.  
  373. feather.Mesh.Scale = Vector3.new(1,1,1)
  374.  
  375. feather.Size = Vector3.new(.4,2.3,.3)
  376.  
  377. weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0))
  378.  
  379. feather = newfeather()
  380.  
  381. feather.Mesh.Scale = Vector3.new(1,1,1)
  382.  
  383. feather.Size = Vector3.new(.35,2.2,.25)
  384.  
  385. weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0))
  386.  
  387. local lf3 = {}
  388.  
  389. for i=0,7 do
  390.  
  391.         feather = newfeather()
  392.  
  393.         feather.Mesh.Scale = Vector3.new(1,1,1)
  394.  
  395.         feather.Size = Vector3.new(.45,2.2,.35)
  396.  
  397.         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)))
  398.  
  399. end
  400.  
  401. local lf2 = {}
  402.  
  403. for i=0,6 do
  404.  
  405.         feather = newfeather()
  406.  
  407.         feather.Mesh.Scale = Vector3.new(1,1,1)
  408.  
  409.         feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  410.  
  411.         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)))
  412.  
  413. end
  414.  
  415. local lf1 = {}
  416.  
  417. for i=0,6 do
  418.  
  419.         feather = newfeather()
  420.  
  421.         feather.Mesh.Scale = Vector3.new(1,1,1)
  422.  
  423.         feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  424.  
  425.         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)))
  426.  
  427. end
  428.  
  429. local rwing = {rm1,rm2,rm3,rm4}
  430.  
  431. local lwing = {lm1,lm2,lm3,lm4}
  432.  
  433. local oc0 = {}
  434.  
  435. for i,v in pairs(rwing) do
  436.  
  437.         oc0[v] = v.C0
  438.  
  439. end
  440.  
  441. for i,v in pairs(lwing) do
  442.  
  443.         oc0[v] = v.C0
  444.  
  445. end
  446.  
  447. function gotResized()
  448.  
  449.         if lastsize then
  450.  
  451.                 if tor.Size == lastsize then return end -- This shouldn't happen?
  452.  
  453.                 local scaleVec = tor.Size/lastsize
  454.  
  455.                 for i,v in pairs(oc0) do
  456.  
  457.                         oc0[i] = v-v.p+scaleVec*v.p
  458.  
  459.                 end
  460.  
  461.                 lastsize = tor.Size
  462.  
  463.         end
  464.  
  465.         lastsize = tor.Size
  466.  
  467. end
  468.  
  469. tor.Changed:connect(function(p)
  470.  
  471.         if p == "Size" then
  472.  
  473.                 gotResized()
  474.  
  475.         end
  476.  
  477. end)
  478.  
  479. gotResized()
  480.  
  481. local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;}--0,.3,0,0
  482.  
  483. local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  484.  
  485. local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0}
  486.  
  487. local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0}
  488.  
  489. local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; .2,-.6,0,0}
  490.  
  491. local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0}
  492.  
  493.  
  494. function setwings(tab,time)
  495.  
  496.         time = time or 10
  497.  
  498.         for i=1,4 do
  499.  
  500.                 rwing[i].DesiredAngle = tab[i]
  501.  
  502.                 lwing[i].DesiredAngle = tab[i]
  503.  
  504.                 rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time
  505.  
  506.                 lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time
  507.  
  508.                 local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new())
  509.  
  510.                 local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new())
  511.  
  512.         end
  513.  
  514.         for i,v in pairs(rf1) do
  515.  
  516.                 v.DesiredAngle = tab[9]
  517.  
  518.                 v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  519.  
  520.         end
  521.  
  522.         for i,v in pairs(lf1) do
  523.  
  524.                 v.DesiredAngle = tab[9]
  525.  
  526.                 v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  527.  
  528.         end
  529.  
  530.         for i,v in pairs(rf2) do
  531.  
  532.                 v.DesiredAngle = tab[10]
  533.  
  534.                 v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  535.  
  536.         end
  537.  
  538.         for i,v in pairs(lf2) do
  539.  
  540.                 v.DesiredAngle = tab[10]
  541.  
  542.                 v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  543.  
  544.         end
  545.  
  546.         for i,v in pairs(rf3) do
  547.  
  548.                 v.DesiredAngle = tab[11]
  549.  
  550.                 v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  551.  
  552.         end
  553.  
  554.         for i,v in pairs(lf3) do
  555.  
  556.                 v.DesiredAngle = tab[11]
  557.  
  558.                 v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time
  559.  
  560.         end
  561.  
  562. end
  563.  
  564. setwings(outhigh,1)
  565.  
  566. flying = false
  567.  
  568. moving = false
  569.  
  570. for i,v in pairs(tor:GetChildren()) do
  571.  
  572.         if v.ClassName:lower():match("body") then
  573.  
  574.                 v:Destroy()
  575.  
  576.         end
  577.  
  578. end
  579.  
  580. local ctor = tor:Clone()
  581.  
  582. ctor:ClearAllChildren()
  583.  
  584. ctor.Name = "cTorso"
  585.  
  586. ctor.Transparency = 1
  587.  
  588. ctor.CanCollide = false
  589.  
  590. ctor.FormFactor = "Custom"
  591.  
  592. ctor.Size = Vector3.new(.2,.2,.2)
  593.  
  594. ctor.Parent = mod
  595.  
  596. weld(tor,ctor)
  597.  
  598. local bg = Instance.new("BodyGyro",ctor)
  599.  
  600. bg.maxTorque = Vector3.new()
  601.  
  602. bg.P = 15000
  603.  
  604. bg.D = 1000
  605.  
  606. local bv = Instance.new("BodyVelocity",ctor)
  607.  
  608. bv.maxForce = Vector3.new()
  609.  
  610. bv.P = 15000
  611.  
  612. vel = Vector3.new()
  613.  
  614. cf = CFrame.new()
  615.  
  616. flspd = 0
  617.  
  618.  
  619. keysdown = {}
  620.  
  621. keypressed = {}
  622.  
  623. ktime = {}
  624.  
  625. descendtimer = 0
  626.  
  627. jumptime = tick()
  628.  
  629. hum.Jumping:connect(function()
  630.  
  631.         jumptime = tick()
  632.  
  633. end)
  634.  
  635. cam = workspace.CurrentCamera
  636.  
  637. kd = plr:GetMouse().KeyDown:connect(oc(function(key)
  638.  
  639.         keysdown[key] = true
  640.  
  641.         keypressed[key] = true
  642.  
  643.         if key == "q" then
  644.  
  645.                 descendtimer = tick()
  646.  
  647.         elseif key == " " and not hum.Jump then
  648.  
  649.                 jumptime = tick()
  650.  
  651.         elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then
  652.  
  653.                 reqrotx = key == "a" and math.pi*2 or -math.pi*2
  654.  
  655.         end
  656.  
  657.         ktime[key] = tick()
  658.  
  659. end))
  660.  
  661. ku = plr:GetMouse().KeyUp:connect(function(key)
  662.  
  663.         keysdown[key] = false
  664.  
  665.         if key == " " then
  666.  
  667.                 descendtimer = tick()
  668.  
  669.         end
  670.  
  671. end)
  672.  
  673. function mid(a,b,c)
  674.  
  675.         return math.max(a,math.min(b,c or -a))
  676.  
  677. end
  678.  
  679. function bn(a)
  680.  
  681.         return a and 1 or 0
  682.  
  683. end
  684.  
  685. function gm(tar)
  686.  
  687.         local m = 0
  688.  
  689.         for i,v in pairs(tar:GetChildren()) do
  690.  
  691.                 if v:IsA("BasePart") then
  692.  
  693.                         m = m + v:GetMass()
  694.  
  695.                 end
  696.  
  697.                         m = m + gm(v)
  698.  
  699.         end
  700.  
  701.         return m
  702.  
  703. end
  704.  
  705. reqrotx = 0
  706.  
  707. local grav = 196.2
  708.  
  709. local con
  710.  
  711. con = game:GetService("RunService").Stepped:connect(oc(function()
  712.  
  713.         --[[if not mod:IsDescendantOf(workspace) then
  714.  
  715.                 pcall(function() kd:disconnect() end)
  716.  
  717.                 pcall(function() ku:disconnect() end)
  718.  
  719.                 bg:Destroy()
  720.  
  721.                 bv:Destroy()
  722.  
  723.                 con:disconnect()
  724.  
  725.                 script:Destroy()
  726.  
  727.                 return
  728.  
  729.         end]]
  730.  
  731.         local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity)
  732.  
  733.         local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z
  734.  
  735.         if flying then
  736.  
  737.                 local lfldir = fldir
  738.  
  739.                 fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit
  740.  
  741.                 local lmoving = moving
  742.  
  743.                 moving = fldir.magnitude > .1
  744.  
  745.                 if lmoving and not moving then
  746.  
  747.                         idledir = lfldir*Vector3.new(1,0,1)
  748.  
  749.                         descendtimer = tick()
  750.  
  751.                 end
  752.  
  753.                 local dbomb = fldir.Y < -.6 or (moving and keysdown["1"])
  754.  
  755.                 if moving and keysdown["0"] and lmoving then
  756.  
  757.                         fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit
  758.  
  759.                 end
  760.  
  761.                 local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0))
  762.  
  763.                 local descending = (not moving and keysdown["q"] and not keysdown[" "])
  764.  
  765.                 cf = ccomplerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07)
  766.  
  767.                 local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05
  768.  
  769.                 hum.PlatformStand = true
  770.  
  771.                 bg.maxTorque = Vector3.new(1,1,1)*9e5
  772.  
  773.                 local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector
  774.  
  775.                 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)
  776.  
  777.                 reqrotx = reqrotx - reqrotx/10
  778.  
  779.                 bv.maxForce = Vector3.new(1,1,1)*9e4*.5
  780.  
  781.                 local anioff =(bn(keysdown[" "])-bn(keysdown["q"]))/2
  782.  
  783.                 local ani = tickwave(1.5-anioff,1)
  784.  
  785.                 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)
  786.  
  787.                 vel = moving and cf.lookVector*flspd or Vector3.new()
  788.  
  789.                 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))
  790.  
  791.                 setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15)
  792.  
  793.                 for i=1,4 do
  794.  
  795.                         --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)
  796.  
  797.                         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)
  798.  
  799.                         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)
  800.  
  801.                 end
  802.  
  803.                 local hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),{char})
  804.  
  805.                 if hit and down.Y < -.85 and tick()-flystart > 1 then
  806.  
  807.                         flying = false
  808.  
  809.                         hum.PlatformStand = false
  810.  
  811.                         tor.Velocity = Vector3.new()
  812.  
  813.                 end
  814.  
  815.         else
  816.  
  817.                 bg.maxTorque = Vector3.new()
  818.  
  819.                 bv.maxForce = Vector3.new()
  820.  
  821.                 local ani = tickwave(walking and .8 or 4.5,1)
  822.  
  823.                 setwings(idle,10)
  824.  
  825.                 local x,y,z = fspd/160,uspd/700,sspd/900
  826.  
  827.                 for i=1,4 do
  828.  
  829.                         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)
  830.  
  831.                         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)
  832.  
  833.                 end
  834.  
  835.                 if keypressed[" "] and not flying and (tick()-jumptime > .05 and (tick()-jumptime < 3 or hum.Jump)) then
  836.  
  837.                         vel = Vector3.new(0,50,0)
  838.  
  839.                         bv.velocity = vel
  840.  
  841.                         idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1)
  842.  
  843.                         cf = tor.CFrame * CFrame.Angles(-.01,0,0)
  844.  
  845.                         tor.CFrame = cf
  846.  
  847.                         bg.cframe = cf
  848.  
  849.                         flystart = tick()
  850.  
  851.                         flying = true
  852.  
  853.                 end
  854.  
  855.         end
  856.  
  857.         keypressed = {}
  858.  
  859. end))
  860.  
  861.  
  862.  
  863. end fly()
  864.  
  865. --Bird Wings By Rosemarijohn2
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872. local Player = game.Players.LocalPlayer
  873. local c = Player.Character
  874. if not c or not c.Parent then
  875.     c = Player.CharacterAdded:wait()
  876. end
  877.  
  878. local radio = Instance.new("Part",c)
  879. radio.Name = "Radio"
  880. radio.CanCollide = false
  881. radio.Anchored = true
  882. radio.FormFactor = "Custom"
  883. radio.Size = Vector3.new(2.5, 1, 0.4)
  884. radio.CFrame = c.Torso.CFrame * CFrame.new(-3.5,2,.2)
  885. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  886. radio.CFrame = radio.CFrame * CFrame.fromEulerAnglesXYZ(0,0,-.1)
  887. radio.Transparency = 1
  888.  
  889. local sound = Instance.new("Sound",radio)
  890. sound.Name = "Music"
  891. sound.Looped = true
  892. sound.Volume = 1
  893.  
  894. local weld = Instance.new("Weld",radio)
  895. weld.Part0 = c.Torso
  896. weld.Part1 = radio
  897. weld.C0 = c.Torso.CFrame:inverse()
  898. weld.C1 = radio.CFrame:inverse()
  899. radio.Anchored = false
  900.  
  901. player = game:service("Players").LocalPlayer
  902. char2 = player.Character
  903. Glow1 = Color3.new(0,0,0)
  904. Glow2 = Color3.new(1,0,0)
  905. Glow3 = Color3.new(0,1,0)
  906. Glow4 = Color3.new(0,0,1)
  907. GlowParticle = Instance.new("ParticleEmitter",radio)
  908. GlowParticle.LightEmission = 1
  909. GlowParticle.Color = ColorSequence.new(Glow2,Glow1)
  910. GlowParticle.Size = NumberSequence.new(0.4)
  911. GlowParticle.Texture = "http://www.roblox.com/asset/?id=118641183"
  912. GlowParticle.Transparency = NumberSequence.new(1)
  913. GlowParticle.LockedToPart = false
  914. GlowParticle.Lifetime = NumberRange.new(.5,1)
  915. GlowParticle.Rate= 200
  916. GlowParticle.Speed =NumberRange.new(1.5)
  917. GlowParticle.Acceleration = Vector3.new(0, 1, 0)
  918. GlowParticle.VelocitySpread = 100
  919.  
  920. GlowParticle2 = Instance.new("ParticleEmitter",radio)
  921. GlowParticle2.LightEmission = 1
  922. GlowParticle2.Color = ColorSequence.new(Glow3,Glow1)
  923. GlowParticle2.Size = NumberSequence.new(0.4)
  924. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=118641183"
  925. GlowParticle2.Transparency = NumberSequence.new(1)
  926. GlowParticle2.LockedToPart = false
  927. GlowParticle2.Lifetime = NumberRange.new(.5,1)
  928. GlowParticle2.Rate= 200
  929. GlowParticle2.Speed =NumberRange.new(1.5)
  930. GlowParticle2.Acceleration = Vector3.new(0, 1, 0)
  931. GlowParticle2.VelocitySpread = 100
  932.  
  933. GlowParticle3 = Instance.new("ParticleEmitter",radio)
  934. GlowParticle3.LightEmission = 1
  935. GlowParticle3.Color = ColorSequence.new(Glow4,Glow1)
  936. GlowParticle3.Size = NumberSequence.new(0.4)
  937. GlowParticle3.Texture = "http://www.roblox.com/asset/?id=118641183"
  938. GlowParticle3.Transparency = NumberSequence.new(1)
  939. GlowParticle3.LockedToPart = false
  940. GlowParticle3.Lifetime = NumberRange.new(.5,1)
  941. GlowParticle3.Rate= 200
  942. GlowParticle3.Speed =NumberRange.new(1.5)
  943. GlowParticle3.Acceleration = Vector3.new(0, 1, 0)
  944. GlowParticle3.VelocitySpread = 100
  945.  
  946. wait (0)
  947. fat = Instance.new("BindableEvent", script)
  948. fat.Name = "Heartbeat"
  949.  
  950.  
  951. local charge = false
  952.  
  953. P = game.Players.LocalPlayer
  954.     char = P.Character
  955.     torso = char.Torso
  956.     neck = char.Torso.Neck
  957.     hum = char.Humanoid
  958.     hum.MaxHealth = 987654321987654321987654321987654321987654321
  959.     wait()
  960.     hum.Health =hum.MaxHealth
  961.     char.Head.face.Texture = "rbxassetid://176206791"
  962.  
  963.  
  964. p2 = game.Players.LocalPlayer
  965. char049 = p2.Character 
  966.     for i,v in pairs(char049:children()) do
  967.         if v:IsA("Accessory") then
  968.             v:Destroy()
  969.         end
  970.     end
  971.    
  972. local M69 = Instance.new("SpecialMesh")
  973. M69.Parent = torso 
  974. M69.MeshId = "rbxassetid://456901040"
  975. M69.Scale = Vector3.new( 1, 1, 1)
  976.  
  977.  
  978.  
  979. char049.Shirt:Remove()
  980. for i,v in pairs(char049:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  981. wait()shirt = Instance.new("Shirt", char049)
  982. shirt.Name = "Shirt"
  983. pants = Instance.new("Pants", char049)
  984. pants.Name = "Pants"
  985.  
  986. char049.Shirt.ShirtTemplate = "rbxassetid://"
  987. char049.Pants.PantsTemplate = "rbxassetid://"
  988.  
  989.  
  990.  
  991. local BC = char["Body Colors"]
  992.     BC.HeadColor = BrickColor.new("Fossil")
  993.     BC.LeftArmColor = BrickColor.new("Fossil")
  994.     BC.LeftLegColor = BrickColor.new("Fossil")
  995.     BC.RightArmColor = BrickColor.new("Fossil")
  996.     BC.RightLegColor = BrickColor.new("Fossil")
  997.     BC.TorsoColor = BrickColor.new("Plum")
  998.  
  999.  
  1000. Player=game:GetService("Players").LocalPlayer
  1001. Character=Player.Character
  1002.  
  1003. -------------------------------------------------------
  1004. local Orbd = Instance.new("Part", Character)
  1005. Orbd.Name = "Orbd"
  1006. Orbd.Shape = Enum.PartType.Ball
  1007. Orbd.CanCollide = false
  1008. Orbd.BrickColor = BrickColor.new("Really black")
  1009. Orbd.Transparency = 1
  1010. Orbd.Material = "Neon"
  1011. Orbd.Size = Vector3.new(0.4, 0.4, 0.4)
  1012. Orbd.TopSurface = Enum.SurfaceType.Smooth
  1013. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  1014.  
  1015. local Weld = Instance.new("Weld", Orbd)
  1016. Weld.Part0 = Character.Head
  1017. Weld.Part1 = Orbd
  1018. Weld.C1 = CFrame.new(-0.01, 0.2, 0.51)
  1019.  
  1020. ---------------------------------------------------------
  1021. local Mask = Instance.new("Part", Character)
  1022. Mask.Name = "Mask"
  1023. Mask.CanCollide = false
  1024. Mask.BrickColor = BrickColor.new("Sunrise")
  1025. Mask.Transparency = 1
  1026. Mask.Material = "Neon"
  1027. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  1028. Mask.TopSurface = Enum.SurfaceType.Smooth
  1029. Mask.BottomSurface = Enum.SurfaceType.Smooth
  1030.  
  1031. local Weld = Instance.new("Weld", Mask)
  1032. Weld.Part0 = Character.Head
  1033. Weld.Part1 = Mask
  1034. Weld.C1 = CFrame.new(0, 0.03, 0.5)
  1035.  
  1036. local M1 = Instance.new("SpecialMesh")
  1037. M1.Parent = Mask
  1038. M1.MeshId = "http://www.roblox.com/asset/?id=430736398"
  1039. M1.Scale = Vector3.new( .3, .03, .099)
  1040. ----------------------------------------------------------
  1041. local Hood = Instance.new("Part", Character)
  1042. Hood.Name = "Hair"
  1043. Hood.CanCollide = false
  1044. Hood.BrickColor = BrickColor.new("Dark indigo")
  1045. Hood.Transparency = 1
  1046. Hood.Material = "Neon"
  1047. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  1048. Hood.TopSurface = Enum.SurfaceType.Smooth
  1049. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1050.  
  1051. local Weld = Instance.new("Weld", Hood)
  1052. Weld.Part0 = Character.Head
  1053. Weld.Part1 = Hood
  1054. Weld.C1 = CFrame.new(0, -0.5, 0)
  1055.  
  1056. local M2 = Instance.new("SpecialMesh")
  1057. M2.Parent = Hood
  1058. M2.MeshId = "http://www.roblox.com/asset/?id=362013001"
  1059. M2.Scale = Vector3.new( 1, 1.06, 1.1)
  1060.  
  1061. ------------------------------------------------------
  1062. local skin = Instance.new("Part", Character)
  1063. skin.Name = "skin"
  1064. skin.CanCollide = false
  1065. skin.BrickColor = BrickColor.new("Fossil")
  1066. skin.Transparency = 1
  1067. skin.Material = "SmoothPlastic"
  1068. skin.Size = Vector3.new(0.1, 0.1, 0.1)
  1069. skin.TopSurface = Enum.SurfaceType.Smooth
  1070. skin.BottomSurface = Enum.SurfaceType.Smooth
  1071.  
  1072. local Weld = Instance.new("Weld", skin)
  1073. Weld.Part0 = Character.Torso
  1074. Weld.Part1 = skin
  1075. Weld.C1 = CFrame.new(0, -0.83, 0.5)
  1076.  
  1077. local M3 = Instance.new("SpecialMesh")
  1078. M3.Parent = skin
  1079. M3.MeshId = "http://www.roblox.com/asset/?id=518429841"
  1080. M3.Scale = Vector3.new(0.0054, 0.0014, 0.0001)
  1081.  
  1082. ------------------------------------------------------
  1083. local hair2 = Instance.new("Part", Character)
  1084. hair2.Name = "Hair2"
  1085. hair2.CanCollide = false
  1086. hair2.BrickColor = BrickColor.new("Dark indigo")
  1087. hair2.Transparency = 1
  1088. hair2.Material = "Neon"
  1089. hair2.Size = Vector3.new(0.1, 0.1, 0.1)
  1090. hair2.TopSurface = Enum.SurfaceType.Smooth
  1091. hair2.BottomSurface = Enum.SurfaceType.Smooth
  1092.  
  1093. local Weld = Instance.new("Weld", hair2)
  1094. Weld.Part0 = Character.Head
  1095. Weld.Part1 = hair2
  1096. Weld.C1 = CFrame.new(0, 0.65, -0.05)
  1097.  
  1098. local M2 = Instance.new("SpecialMesh")
  1099. M2.Parent = hair2
  1100. M2.MeshId = "http://www.roblox.com/asset/?id=164382853"
  1101. M2.Scale = Vector3.new( 1.1, 1.1, 1)
  1102.  
  1103. ------------------------------------------------------
  1104. local hat2 = Instance.new("Part", Character)
  1105. hat2.Name = "hat2"
  1106. hat2.CanCollide = false
  1107. hat2.BrickColor = BrickColor.new("Plum")
  1108. hat2.Transparency = 1
  1109. hat2.Material = "SmoothPlastic"
  1110. hat2.Size = Vector3.new(0.1, 0.1, 0.1)
  1111. hat2.TopSurface = Enum.SurfaceType.Smooth
  1112. hat2.BottomSurface = Enum.SurfaceType.Smooth
  1113.  
  1114. local Weld = Instance.new("Weld", hat2)
  1115. Weld.Part0 = Character.Head
  1116. Weld.Part1 = hat2
  1117. Weld.C1 = CFrame.new(0, -1, 0)
  1118.  
  1119. local M4 = Instance.new("SpecialMesh")
  1120. M4.Parent = hat2
  1121. M4.MeshId = "http://www.roblox.com/asset/?id=110852069"
  1122. M4.Scale = Vector3.new( 0.8, 1, 1)
  1123.  
  1124.  
  1125. ------------------------------------------------------
  1126. local hat3 = Instance.new("Part", Character)
  1127. hat3.Name = "SmoothPlastic"
  1128. hat3.CanCollide = false
  1129. hat3.BrickColor = BrickColor.new("Plum")
  1130. hat3.Transparency = 1
  1131. hat3.Material = "Neon"
  1132. hat3.Size = Vector3.new(0.1, 0.1, 0.1)
  1133. hat3.TopSurface = Enum.SurfaceType.Smooth
  1134. hat3.BottomSurface = Enum.SurfaceType.Smooth
  1135.  
  1136. local Weld = Instance.new("Weld", hat3)
  1137. Weld.Part0 = Character.Head
  1138. Weld.Part1 = hat3
  1139. Weld.C1 = CFrame.new(0, -0.8, 0)
  1140.  
  1141. local M5 = Instance.new("SpecialMesh")
  1142. M5.Parent = hat3
  1143. M5.MeshId = "http://www.roblox.com/asset/?id=104780903"
  1144. M5.Scale = Vector3.new( 1.25, 1.1, 1.25)
  1145.  
  1146.  
  1147. ------------------------------------------------------
  1148. local tail2 = Instance.new("Part", Character)
  1149. tail2.Name = "tail2"
  1150. tail2.CanCollide = false
  1151. tail2.BrickColor = BrickColor.new("White")
  1152. tail2.Transparency = 1
  1153. tail2.Material = "SmoothPlastic"
  1154. tail2.Size = Vector3.new(0.1, 0.1, 0.1)
  1155. tail2.TopSurface = Enum.SurfaceType.Smooth
  1156. tail2.BottomSurface = Enum.SurfaceType.Smooth
  1157.  
  1158. local Weld = Instance.new("Weld", tail2)
  1159. Weld.Part0 = Character.Torso
  1160. Weld.Part1 = tail2
  1161. Weld.C1 = CFrame.new(0, 0.63, -0.6)
  1162.  
  1163. local M7 = Instance.new("SpecialMesh")
  1164. M7.Parent = tail2
  1165. M7.MeshId = "http://www.roblox.com/asset/?id=518429841"
  1166. M7.Scale = Vector3.new(0.0028, 0.0028, 0.0028)
  1167. ------------------------------------------------------
  1168. local tail3 = Instance.new("Part", Character)
  1169. tail3.Name = "tail3"
  1170. tail3.CanCollide = false
  1171. tail3.BrickColor = BrickColor.new("Plum")
  1172. tail3.Transparency = 1
  1173. tail3.Material = "Neon"
  1174. tail3.Size = Vector3.new(0.1, 0.1, 0.1)
  1175. tail3.TopSurface = Enum.SurfaceType.Smooth
  1176. tail3.BottomSurface = Enum.SurfaceType.Smooth
  1177.  
  1178. local Weld = Instance.new("Weld", tail3)
  1179. Weld.Part0 = Character.Torso
  1180. Weld.Part1 = tail3
  1181. Weld.C1 = CFrame.new(-0.2, -0.2, -1.8)
  1182.  
  1183. local M2 = Instance.new("SpecialMesh")
  1184. M2.Parent = tail3
  1185. M2.MeshId = "http://www.roblox.com/asset/?id=170939831"
  1186. M2.Scale = Vector3.new( 1, 1, 1)
  1187. ------------------------------------------------------
  1188.    
  1189.    
  1190.    
  1191.    
  1192.    
  1193.    
  1194.    
  1195.    
  1196.    
  1197. local Player = game.Players.localPlayer
  1198. local Character = Player.Character
  1199. local red = 255
  1200. local green = 255
  1201. local blue = 255
  1202. local Humanoid = Character.Humanoid
  1203. local mouse = Player:GetMouse()
  1204. local m = Instance.new("Model", Character)
  1205. m.Name = "WeaponModel"
  1206. local LeftArm = Character["Left Arm"]
  1207. local RightArm = Character["Right Arm"]
  1208. local LeftLeg = Character["Left Leg"]
  1209. local RightLeg = Character["Right Leg"]
  1210. local Head = Character.Head
  1211. local Torso = Character.Torso
  1212. local cam = game.Workspace.CurrentCamera
  1213. local RootPart = Character.HumanoidRootPart
  1214. local RootJoint = RootPart.RootJoint
  1215. local equipped = false
  1216. local attack = false
  1217. local Anim = "Idle"
  1218. local idle = 0
  1219. local attacktype = 1
  1220. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1221. local velocity = RootPart.Velocity.y
  1222. local sine = 0
  1223. local change = 1
  1224. local grabbed = false
  1225. local cn = CFrame.new
  1226. local mr = math.rad
  1227. local angles = CFrame.Angles
  1228. local ud = UDim2.new
  1229. local c3 = Color3.new
  1230. local lim = 0
  1231. local st = 0
  1232. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1233. local attacktype = 1
  1234. local ZTarget, RocketTarget = nil, nil
  1235. local euler = CFrame.fromEulerAnglesXYZ
  1236. function clerp(a,b,t)
  1237. local qa = {QuaternionFromCFrame(a)}
  1238. local qb = {QuaternionFromCFrame(b)}
  1239. local ax, ay, az = a.x, a.y, a.z
  1240. local bx, by, bz = b.x, b.y, b.z
  1241. local _t = 1-t
  1242. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1243. end
  1244.  
  1245. function QuaternionFromCFrame(cf)
  1246. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1247. local trace = m00 + m11 + m22
  1248. if trace > 0 then
  1249. local s = math.sqrt(1 + trace)
  1250. local recip = 0.5/s
  1251. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1252. else
  1253. local i = 0
  1254. if m11 > m00 then
  1255. i = 1
  1256. end
  1257. if m22 > (i == 0 and m00 or m11) then
  1258. i = 2
  1259. end
  1260. if i == 0 then
  1261. local s = math.sqrt(m00-m11-m22+1)
  1262. local recip = 0.5/s
  1263. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1264. elseif i == 1 then
  1265. local s = math.sqrt(m11-m22-m00+1)
  1266. local recip = 0.5/s
  1267. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1268. elseif i == 2 then
  1269. local s = math.sqrt(m22-m00-m11+1)
  1270. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1271. end
  1272. end
  1273. end
  1274.  
  1275. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1276. local xs, ys, zs = x + x, y + y, z + z
  1277. local wx, wy, wz = w*xs, w*ys, w*zs
  1278. local xx = x*xs
  1279. local xy = x*ys
  1280. local xz = x*zs
  1281. local yy = y*ys
  1282. local yz = y*zs
  1283. local zz = z*zs
  1284. 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))
  1285. end
  1286.  
  1287. function QuaternionSlerp(a, b, t)
  1288. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1289. local startInterp, finishInterp;
  1290. if cosTheta >= 0.0001 then
  1291. if (1 - cosTheta) > 0.0001 then
  1292. local theta = math.acos(cosTheta)
  1293. local invSinTheta = 1/math.sin(theta)
  1294. startInterp = math.sin((1-t)*theta)*invSinTheta
  1295. finishInterp = math.sin(t*theta)*invSinTheta  
  1296. else
  1297. startInterp = 1-t
  1298. finishInterp = t
  1299. end
  1300. else
  1301. if (1+cosTheta) > 0.0001 then
  1302. local theta = math.acos(-cosTheta)
  1303. local invSinTheta = 1/math.sin(theta)
  1304. startInterp = math.sin((t-1)*theta)*invSinTheta
  1305. finishInterp = math.sin(t*theta)*invSinTheta
  1306. else
  1307. startInterp = t-1
  1308. finishInterp = t
  1309. end
  1310. end
  1311. 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
  1312. end
  1313. rayCast = function(Position, Direction, Range, Ignore)
  1314.   return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1315. end
  1316. local v = game.Players.localPlayer
  1317. local torso = v.Character.Torso
  1318. wait(0)
  1319. local p = Instance.new("Part", v.Character)
  1320. p.Name = "kit"
  1321. p.BrickColor = BrickColor.new("Plum")
  1322. p.Anchored = true
  1323. p.Transparency = 1
  1324. p.Material = "Plastic"
  1325. p.CanCollide = false
  1326. p.TopSurface = 0
  1327. p.BottomSurface = 0
  1328. p.Size = Vector3.new(0.2, 0.2, 0.2)
  1329. p.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1330. local msh = Instance.new("SpecialMesh", p)
  1331. msh.Scale = Vector3.new(0.55, 0.55, 0.55)
  1332. msh.MeshId = "http://www.roblox.com/asset/?id=430736398"
  1333. msh.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1334. local pn = Instance.new("Part", v.Character.kit)
  1335. pn.Name = "D"
  1336. pn.BrickColor = BrickColor.new("Plum")
  1337. pn.Anchored = true
  1338. pn.Transparency = 1
  1339. pn.Material = "Plastic"
  1340. pn.CanCollide = false
  1341. pn.TopSurface = 0
  1342. pn.BottomSurface = 0
  1343. pn.Size = Vector3.new(0.2, 0.2, 0.2)
  1344. pn.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1345. local mshn = Instance.new("SpecialMesh", pn)
  1346. mshn.Scale = Vector3.new(0.55, 0.55, 0.55)
  1347. mshn.MeshId = "http://www.roblox.com/asset/?id=430736398"
  1348. mshn.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1349. local pn3 = Instance.new("Part", v.Character.kit)
  1350. pn3.Name = "B"
  1351. pn3.BrickColor = BrickColor.new("Fossil")
  1352. pn3.Anchored = true
  1353. pn3.Transparency = 1
  1354. pn3.Material = "Plastic"
  1355. pn3.CanCollide = false
  1356. pn3.TopSurface = 0
  1357. pn3.BottomSurface = 0
  1358. pn3.Size = Vector3.new(0.2, 0.2, 0.2)
  1359. pn3.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1360. local mshn3 = Instance.new("SpecialMesh", pn3)
  1361. mshn3.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
  1362. mshn3.MeshId = "http://www.roblox.com/asset/?id=518429841"
  1363. mshn3.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1364. local pn4 = Instance.new("Part", v.Character.kit)
  1365. pn4.Name = "B"
  1366. pn4.BrickColor = BrickColor.new("Fossil")
  1367. pn4.Anchored = true
  1368. pn4.Transparency = 1
  1369. pn4.Material = "Plastic"
  1370. pn4.CanCollide = false
  1371. pn4.TopSurface = 0
  1372. pn4.BottomSurface = 0
  1373. pn4.Size = Vector3.new(0.2, 0.2, 0.2)
  1374. pn4.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1375. local mshn4 = Instance.new("SpecialMesh", pn4)
  1376. mshn4.Scale = Vector3.new(0.0054, 0.0054, 0.0054)
  1377. mshn4.MeshId = "http://www.roblox.com/asset/?id=518429841"
  1378. mshn4.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1379. local pn5 = Instance.new("Part", v.Character.kit)
  1380. pn5.Name = "tail"
  1381. pn5.Anchored = true
  1382. pn5.Transparency = 1
  1383. pn5.BrickColor = BrickColor.new("Plum")
  1384. pn5.Material = "Plastic"
  1385. pn5.CanCollide = false
  1386. pn5.TopSurface = 0
  1387. pn5.BottomSurface = 0
  1388. pn5.Size = Vector3.new(0.2, 0.2, 0.2)
  1389. pn5.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1390. local mshn5 = Instance.new("SpecialMesh", pn5)
  1391. mshn5.Scale = Vector3.new(2, 2, 2)
  1392. mshn5.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1393. mshn5.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1394. local pn6 = Instance.new("Part", v.Character.kit)
  1395. pn6.Name = "B-Hair"
  1396. pn6.Anchored = true
  1397. pn6.Transparency = 1
  1398. pn6.BrickColor = BrickColor.new("Dark indigo")
  1399. pn6.Material = "Plastic"
  1400. pn6.CanCollide = false
  1401. pn6.TopSurface = 0
  1402. pn6.BottomSurface = 0
  1403. pn6.Size = Vector3.new(0.2, 0.2, 0.2)
  1404. pn6.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1405. local mshn6 = Instance.new("SpecialMesh", pn6)
  1406. mshn6.Scale = Vector3.new(.015, .03, .001)
  1407. mshn6.MeshId = "http://www.roblox.com/asset/?id=521338357"
  1408. local pn7 = Instance.new("Part", v.Character.kit)
  1409. pn7.Name = "tail"
  1410. pn7.Anchored = true
  1411. pn7.Transparency = 1
  1412. pn7.BrickColor = BrickColor.new("Plum")
  1413. pn7.Material = "Plastic"
  1414. pn7.CanCollide = false
  1415. pn7.TopSurface = 0
  1416. pn7.BottomSurface = 0
  1417. pn7.Size = Vector3.new(0.2, 0.2, 0.2)
  1418. pn7.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1419. local mshn7 = Instance.new("SpecialMesh", pn7)
  1420. mshn7.Scale = Vector3.new(2, 2, 2)
  1421. mshn7.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1422. mshn7.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1423. local pn8 = Instance.new("Part", v.Character.kit)
  1424. pn8.Name = "tail"
  1425. pn8.Anchored = true
  1426. pn8.Transparency = 1
  1427. pn8.BrickColor = BrickColor.new("Plum")
  1428. pn8.Material = "Plastic"
  1429. pn8.CanCollide = false
  1430. pn8.TopSurface = 0
  1431. pn8.BottomSurface = 0
  1432. pn8.Size = Vector3.new(0.2, 0.2, 0.2)
  1433. pn8.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1434. local mshn8 = Instance.new("SpecialMesh", pn8)
  1435. mshn8.Scale = Vector3.new(2, 2, 2)
  1436. mshn8.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1437. mshn8.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1438. local pn9 = Instance.new("Part", v.Character.kit)
  1439. pn9.Name = "tail"
  1440. pn9.Anchored = true
  1441. pn9.Transparency = 1
  1442. pn9.BrickColor = BrickColor.new("Plum")
  1443. pn9.Material = "Plastic"
  1444. pn9.CanCollide = false
  1445. pn9.TopSurface = 0
  1446. pn9.BottomSurface = 0
  1447. pn9.Size = Vector3.new(0.2, 0.2, 0.2)
  1448. pn9.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1449. local mshn9 = Instance.new("SpecialMesh", pn9)
  1450. mshn9.Scale = Vector3.new(2, 2, 2)
  1451. mshn9.MeshId = "http://www.roblox.com/asset/?id=188635159"
  1452. mshn9.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1453. local pn0 = Instance.new("Part", v.Character.kit)
  1454. pn0.Name = "ears"
  1455. pn0.Anchored = true
  1456. pn0.Transparency = 1
  1457. pn0.BrickColor = BrickColor.new("Plum")
  1458. pn0.Material = "Plastic"
  1459. pn0.CanCollide = false
  1460. pn0.TopSurface = 0
  1461. pn0.BottomSurface = 0
  1462. pn0.Size = Vector3.new(0.2, 0.2, 0.2)
  1463. pn0.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0, 0, 0, 0)
  1464. local mshn0 = Instance.new("SpecialMesh", pn0)
  1465. mshn0.Scale = Vector3.new(0.5, 0.5, 0.5)
  1466. mshn0.MeshId = "http://www.roblox.com/asset/?id=361948302"
  1467. mshn0.VertexColor = Vector3.new(torso.BrickColor.r, torso.BrickColor.g, torso.BrickColor.b)
  1468. p.Anchored = false
  1469. local motor1 = Instance.new("Weld", torso)
  1470. motor1.Part0 = p
  1471. motor1.Part1 = torso
  1472. motor1.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1473. motor1.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1474. pn.Anchored = false
  1475. local motor2 = Instance.new("Weld", torso)
  1476. motor2.Part0 = pn
  1477. motor2.Part1 = torso
  1478. motor2.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1479. motor2.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1480. pn3.Anchored = false
  1481. local motor3 = Instance.new("Weld", torso)
  1482. motor3.Part0 = pn3
  1483. motor3.Part1 = torso
  1484. motor3.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1485. motor3.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1486. pn4.Anchored = false
  1487. local motor4 = Instance.new("Weld", torso)
  1488. motor4.Part0 = pn4
  1489. motor4.Part1 = torso
  1490. motor4.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1491. motor4.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1492. pn5.Anchored = false
  1493. local motor5 = Instance.new("Weld", pn5)
  1494. motor5.Part0 = pn5
  1495. motor5.Part1 = torso
  1496. motor5.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1497. motor5.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1498. pn6.Anchored = false
  1499. local motor6 = Instance.new("Weld", pn6)
  1500. motor6.Part0 = pn6
  1501. motor6.Part1 = Head
  1502. motor6.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1503. motor6.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1504. pn7.Anchored = false
  1505. local motor7 = Instance.new("Weld", pn7)
  1506. motor7.Part0 = pn7
  1507. motor7.Part1 = torso
  1508. motor7.C0 = CFrame.new(-2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1509. motor7.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1510. pn8.Anchored = false
  1511. local motor8 = Instance.new("Weld", pn8)
  1512. motor8.Part0 = pn8
  1513. motor8.Part1 = torso
  1514. motor8.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1515. motor8.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1516. pn9.Anchored = false
  1517. local motor9 = Instance.new("Weld", pn9)
  1518. motor9.Part0 = pn9
  1519. motor9.Part1 = torso
  1520. motor9.C0 = CFrame.new(2.36, -1.8, -0.87) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1521. motor9.C1 = CFrame.new(0, -1, 0.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1522. pn0.Anchored = false
  1523. local motor0 = Instance.new("Weld", pn0)
  1524. motor0.Part0 = pn0
  1525. motor0.Part1 = v.Character.Head
  1526. motor0.C0 = CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1527. game:GetService("RunService").Stepped:connect(function()
  1528.   Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1529.   velocity = RootPart.Velocity.y
  1530.   sine = sine + change
  1531.   local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1532.   if equipped == true or equipped == false then
  1533.     if RootPart.Velocity.y > 1 and hit == nil then
  1534.       Anim = "Jump"
  1535.       if attack == false then
  1536.             motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1537.             motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1538.             motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(2 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1539.             motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(2 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1540.         motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  1541.         motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1542.         motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 0 * math.cos(sine / 10)), math.rad(90 + 0 * math.cos(sine / 10)), math.rad(-80 + 0 * math.cos(sine / 25))), 0.1)
  1543.               motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  1544.               motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(110 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  1545.       end
  1546.     else
  1547.       if RootPart.Velocity.y < -1 and hit == nil then
  1548.         Anim = "Fall"
  1549.         if attack == false then
  1550.             motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-3 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1551.             motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1552.             motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-3 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1553.             motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-3 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1554.           motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1555.           motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1556.           motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-45 + 0 * math.cos(sine / 10)), math.rad(0 + 0 * math.cos(sine / 10)), math.rad(-70 + 0 * math.cos(sine / 25))), 0.1)
  1557.               motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  1558.               motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 0 * math.cos(sine / -30)), math.rad(180 + 0 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  1559.         end
  1560.       else
  1561.         if Torsovelocity < 1 and hit ~= nil then
  1562.           Anim = "Idle"
  1563.           if attack == false then
  1564.             change = 1
  1565.             motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(-0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1566.             motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1567.             motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(-0 + -0 * math.cos(sine / 50)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1568.             motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(-0 + -0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 80)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1569.             motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 60)), math.rad(0 + 5 * math.cos(sine / 65)), math.rad(10 + 0 * math.cos(sine / 25))), 0.1)
  1570.             motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1571.             motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-50 + 5 * math.cos(sine / 70)), math.rad(0 + 5 * math.cos(sine / 35)), math.rad(-45 + 0 * math.cos(sine / 25))), 0.1)
  1572.             motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-10 + 5 * math.cos(sine / 55)), math.rad(0 + 5 * math.cos(sine / 55)), math.rad(-150 + 0 * math.cos(sine / 25))), 0.1)
  1573.             motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-20 + 5 * math.cos(sine / 65)), math.rad(0 + 5 * math.cos(sine / 60)), math.rad(-100 + 0 * math.cos(sine / 25))), 0.1)
  1574.           end
  1575.         else
  1576.           if Torsovelocity > 2 and hit ~= nil then
  1577.             Anim = "Walk"
  1578.             if attack == false then
  1579.             motor1.C0 = clerp(motor1.C0, CFrame.new(0.45, -1.4, .85) * angles(math.rad(2 + 2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
  1580.             motor2.C0 = clerp(motor2.C0, CFrame.new(-0.45, -1.4, .85) * angles(math.rad(2 + -2 * math.cos(sine / 5)), math.rad(0 + -1 * math.cos(sine / 5)), math.rad(0 + 1 * math.cos(sine / 5))), 0.1)
  1581.             motor3.C0 = clerp(motor3.C0, CFrame.new(0.4, -1.45, .75) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
  1582.             motor4.C0 = clerp(motor3.C0, CFrame.new(-7.6, -1.45, .73) * angles(math.rad(0 + 0 * math.cos(sine / 5)), math.rad(0 + -0 * math.cos(sine / 5)), math.rad(0 + 0 * math.cos(sine / 5))), 0.1)
  1583.               motor5.C0 = clerp(motor5.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1584.               motor6.C0 = clerp(motor6.C0, CFrame.new(-0.28, 0.27, 1.38) * angles(math.rad(-26.3 + -1 * math.cos(sine / 20)), math.rad(10 + 0 * math.cos(sine / 70)), math.rad(0 + 0 * math.cos(sine / 25))), 0.1)
  1585.               motor7.C0 = clerp(motor7.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(-60 + 10 * math.cos(sine / 30)), math.rad(45 + 10 * math.cos(sine / 20)), math.rad(-45 + 0 * math.cos(sine / 10))), 0.1)
  1586.               motor8.C0 = clerp(motor8.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  1587.               motor9.C0 = clerp(motor9.C0, CFrame.new(-2.36, -1.8, -0.87) * angles(math.rad(120 + 10 * math.cos(sine / -30)), math.rad(135 + -10 * math.cos(sine / 20)), math.rad(115 + 0 * math.cos(sine / 10))), 0.1)
  1588.             end
  1589.           end
  1590.         end
  1591.       end
  1592.     end
  1593.   end
  1594. end)
  1595.  
  1596.  
  1597. newface = Instance.new("Decal",Head)
  1598. newface.Texture = "rbxassetid://186681690"
  1599.  
  1600.  
  1601.  
  1602.  
  1603. --[[NIGHTOWLACE_WEAPONRY]]--
  1604. maincolor = game.Players.LocalPlayer.Character.Torso.BrickColor.Name
  1605. secondcolor = "Really black"
  1606.  
  1607. wait(1 / 60)
  1608. Effects = { }
  1609. local Player = game.Players.localPlayer
  1610. local Character = Player.Character
  1611. local Humanoid = Character.Humanoid
  1612. local mouse = Player:GetMouse()
  1613. local LeftArm = Character["Left Arm"]
  1614. local RightArm = Character["Right Arm"]
  1615. local LeftLeg = Character["Left Leg"]
  1616. local RightLeg = Character["Right Leg"]
  1617. local Head = Character.Head
  1618. local Torso = Character.Torso
  1619. local cam = game.Workspace.CurrentCamera
  1620. local RootPart = Character.HumanoidRootPart
  1621. local RootJoint = RootPart.RootJoint
  1622. local equipped = true
  1623. local attack = false
  1624. local Anim = 'Idle'
  1625. local idle = 0
  1626. local attacktype = 1
  1627. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1628. local velocity = RootPart.Velocity.y
  1629. local sine = 0
  1630. local change = 1
  1631. local grabbed = false
  1632. local cn = CFrame.new
  1633. local mr = math.rad
  1634. local angles = CFrame.Angles
  1635. local ud = UDim2.new
  1636. local c3 = Color3.new
  1637.  
  1638. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1639. Humanoid.Animator:Destroy()
  1640. Character.Animate:Destroy()
  1641.  
  1642. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1643. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1644. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1645.  
  1646. RSH, LSH = nil, nil
  1647.  
  1648. RW = Instance.new("Weld")
  1649. LW = Instance.new("Weld")
  1650.  
  1651. RH = Torso["Right Hip"]
  1652. LH = Torso["Left Hip"]
  1653.  
  1654. RSH = Torso["Right Shoulder"]
  1655. LSH = Torso["Left Shoulder"]
  1656.  
  1657. RSH.Parent = nil
  1658. LSH.Parent = nil
  1659.  
  1660. RW.Name = "RW"
  1661. RW.Part0 = Torso
  1662. RW.C0 = cn(1.5, 0.5, 0)
  1663. RW.C1 = cn(0, 0.5, 0)
  1664. RW.Part1 = RightArm
  1665. RW.Parent = Torso
  1666.  
  1667. LW.Name = "LW"
  1668. LW.Part0 = Torso
  1669. LW.C0 = cn(-1.5, 0.5, 0)
  1670. LW.C1 = cn(0, 0.5, 0)
  1671. LW.Part1 = LeftArm
  1672. LW.Parent = Torso
  1673.  
  1674. function clerp(a, b, t)
  1675.     local qa = {
  1676.         QuaternionFromCFrame(a)
  1677.     }
  1678.     local qb = {
  1679.         QuaternionFromCFrame(b)
  1680.     }
  1681.     local ax, ay, az = a.x, a.y, a.z
  1682.     local bx, by, bz = b.x, b.y, b.z
  1683.     local _t = 1 - t
  1684.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1685. end
  1686.  
  1687. function QuaternionFromCFrame(cf)
  1688.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1689.     local trace = m00 + m11 + m22
  1690.     if trace > 0 then
  1691.         local s = math.sqrt(1 + trace)
  1692.         local recip = 0.5 / s
  1693.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1694.     else
  1695.         local i = 0
  1696.         if m11 > m00 then
  1697.             i = 1
  1698.         end
  1699.         if m22 > (i == 0 and m00 or m11) then
  1700.             i = 2
  1701.         end
  1702.         if i == 0 then
  1703.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1704.             local recip = 0.5 / s
  1705.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1706.         elseif i == 1 then
  1707.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1708.             local recip = 0.5 / s
  1709.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1710.         elseif i == 2 then
  1711.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1712.             local recip = 0.5 / s
  1713.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1714.         end
  1715.     end
  1716. end
  1717.  
  1718. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1719.     local xs, ys, zs = x + x, y + y, z + z
  1720.     local wx, wy, wz = w * xs, w * ys, w * zs
  1721.     local xx = x * xs
  1722.     local xy = x * ys
  1723.     local xz = x * zs
  1724.     local yy = y * ys
  1725.     local yz = y * zs
  1726.     local zz = z * zs
  1727.     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))
  1728. end
  1729.  
  1730. function QuaternionSlerp(a, b, t)
  1731.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1732.     local startInterp, finishInterp;
  1733.     if cosTheta >= 0.0001 then
  1734.         if (1 - cosTheta) > 0.0001 then
  1735.             local theta = math.acos(cosTheta)
  1736.             local invSinTheta = 1 / math.sin(theta)
  1737.             startInterp = math.sin((1 - t) * theta) * invSinTheta
  1738.             finishInterp = math.sin(t * theta) * invSinTheta  
  1739.         else
  1740.             startInterp = 1 - t
  1741.             finishInterp = t
  1742.         end
  1743.     else
  1744.         if (1 + cosTheta) > 0.0001 then
  1745.             local theta = math.acos(-cosTheta)
  1746.             local invSinTheta = 1 / math.sin(theta)
  1747.             startInterp = math.sin((t - 1) * theta) * invSinTheta
  1748.             finishInterp = math.sin(t * theta) * invSinTheta
  1749.         else
  1750.             startInterp = t - 1
  1751.             finishInterp = t
  1752.         end
  1753.     end
  1754.     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
  1755. end
  1756.  
  1757. function swait(num)
  1758.     if num == 0 or num == nil then
  1759.         game:service'RunService'.RenderStepped:wait(0)
  1760.     else
  1761.         for i = 0, num do
  1762.             game:service'RunService'.RenderStepped:wait(0)
  1763.         end
  1764.     end
  1765. end
  1766.  
  1767. local RbxUtility = LoadLibrary("RbxUtility")
  1768. local Create = RbxUtility.Create
  1769.  
  1770. function RemoveOutlines(part)
  1771.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1772. end
  1773.    
  1774. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1775.     local Part = Create("Part"){
  1776.         formFactor = FormFactor,
  1777.         Parent = Parent,
  1778.         Reflectance = Reflectance,
  1779.         Transparency = Transparency,
  1780.         CanCollide = false,
  1781.         Locked = true,
  1782.         BrickColor = BrickColor.new(tostring(BColor)),
  1783.         Name = Name,
  1784.         Size = Size,
  1785.         Material = Material,
  1786.     }
  1787.     RemoveOutlines(Part)
  1788.     return Part
  1789. end
  1790.    
  1791. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1792.     local Msh = Create(Mesh){
  1793.         Parent = Part,
  1794.         Offset = OffSet,
  1795.         Scale = Scale,
  1796.     }
  1797.     if Mesh == "SpecialMesh" then
  1798.         Msh.MeshType = MeshType
  1799.         Msh.MeshId = MeshId
  1800.     end
  1801.     return Msh
  1802. end
  1803.    
  1804. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1805.     local Weld = Create("Weld"){
  1806.         Parent = Parent,
  1807.         Part0 = Part0,
  1808.         Part1 = Part1,
  1809.         C0 = C0,
  1810.         C1 = C1,
  1811.     }
  1812.     return Weld
  1813. end
  1814.  
  1815. function rayCast(Position, Direction, Range, Ignore)
  1816.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1817. end
  1818.  
  1819. function CreateSound(id, par, vol, pit)
  1820.     coroutine.resume(coroutine.create(function()
  1821.         local sou = Instance.new("Sound", par or workspace)
  1822.         sou.Volume = vol
  1823.         sou.Pitch = pit or 1
  1824.         sou.SoundId = id
  1825.         wait()
  1826.         sou:play()
  1827.         game:GetService("Debris"):AddItem(sou, 6)
  1828.     end))
  1829. end
  1830.  
  1831. local function getclosest(obj, distance)
  1832.     local last, lastx = distance + 1
  1833.     for i, v in pairs(workspace:GetChildren()) do
  1834.         if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  1835.             local t = v.Torso
  1836.             local dist = (t.Position - obj.Position).magnitude
  1837.             if dist <= distance then
  1838.                 if dist < last then
  1839.                     last = dist
  1840.                     lastx = v
  1841.                 end
  1842.             end
  1843.         end
  1844.     end
  1845.     return lastx
  1846. end
  1847.  
  1848. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  1849.     for i, v in pairs(hit:GetChildren()) do
  1850.         if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  1851.             local find = v:FindFirstChild("Hitz")
  1852.             if not find then
  1853.                 if v.Parent:findFirstChild("Head") then
  1854.                     local BillG = Create("BillboardGui"){
  1855.                         Parent = v.Parent.Head,
  1856.                         Size = UDim2.new(1, 0, 1, 0),
  1857.                         Adornee = v.Parent.Head,
  1858.                         StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  1859.                     }
  1860.                     local TL = Create("TextLabel"){
  1861.                         Parent = BillG,
  1862.                         Size = UDim2.new(3, 3, 3, 3),
  1863.                         BackgroundTransparency = 1,
  1864.                         Text = tostring(damage).."-",
  1865.                         TextColor3 = Color1.Color,
  1866.                         TextStrokeColor3 = Color2.Color,
  1867.                         TextStrokeTransparency = 0,
  1868.                         TextXAlignment = Enum.TextXAlignment.Center,
  1869.                         TextYAlignment = Enum.TextYAlignment.Center,
  1870.                         FontSize = Enum.FontSize.Size18,
  1871.                         Font = "ArialBold",
  1872.                     }
  1873.                     coroutine.resume(coroutine.create(function()
  1874.                         wait(1)
  1875.                         for i = 0, 1, .1 do
  1876.                             wait(.1)
  1877.                             BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  1878.                         end
  1879.                         BillG:Destroy()
  1880.                     end))
  1881.                 end
  1882.                 v.Health = v.Health - damage
  1883.                 local bool = Create("BoolValue"){
  1884.                     Parent = v,
  1885.                     Name = 'Hitz',
  1886.                 }
  1887.                 if HSound ~= nil and HPitch ~= nil then
  1888.                     CreateSound(HSound, hit, 1, HPitch)
  1889.                 end
  1890.                 game:GetService("Debris"):AddItem(bool, cooldown)
  1891.             end
  1892.         end
  1893.     end
  1894. end
  1895.  
  1896.  
  1897. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1898.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1899.     prt.Anchored = true
  1900.     prt.CFrame = cframe
  1901.     local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1902.     game:GetService("Debris"):AddItem(prt, 10)
  1903.     if Type == 1 or Type == nil then
  1904.         table.insert(Effects, {
  1905.             prt,
  1906.             "Block1",
  1907.             delay,
  1908.             x3,
  1909.             y3,
  1910.             z3,
  1911.             msh
  1912.         })
  1913.     elseif Type == 2 then
  1914.         table.insert(Effects, {
  1915.             prt,
  1916.             "Block2",
  1917.             delay,
  1918.             x3,
  1919.             y3,
  1920.             z3,
  1921.             msh
  1922.         })
  1923.     end
  1924. end
  1925.  
  1926. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1927.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1928.     prt.Anchored = true
  1929.     prt.CFrame = cframe
  1930.     local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1931.     game:GetService("Debris"):AddItem(prt, 10)
  1932.     table.insert(Effects, {
  1933.         prt,
  1934.         "Cylinder",
  1935.         delay,
  1936.         x3,
  1937.         y3,
  1938.         z3,
  1939.         msh
  1940.     })
  1941. end
  1942.  
  1943. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1944.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1945.     prt.Anchored = true
  1946.     prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1947.     local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1948.     game:GetService("Debris"):AddItem(prt, 10)
  1949.     table.insert(Effects, {
  1950.         prt,
  1951.         "Cylinder",
  1952.         delay,
  1953.         x3,
  1954.         y3,
  1955.         z3,
  1956.         msh
  1957.     })
  1958. end
  1959.  
  1960. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1961.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1962.     prt.Anchored = true
  1963.     prt.CFrame = cframe
  1964.     local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1965.     game:GetService("Debris"):AddItem(prt, 10)
  1966.     table.insert(Effects, {
  1967.         prt,
  1968.         "Cylinder",
  1969.         delay,
  1970.         x3,
  1971.         y3,
  1972.         z3,
  1973.         msh
  1974.     })
  1975. end
  1976.  
  1977. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1978.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1979.     prt.Anchored = true
  1980.     prt.CFrame = cframe
  1981.     local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1982.     game:GetService("Debris"):AddItem(prt, 10)
  1983.     table.insert(Effects, {
  1984.         prt,
  1985.         "Cylinder",
  1986.         delay,
  1987.         x3,
  1988.         y3,
  1989.         z3,
  1990.         msh
  1991.     })
  1992. end
  1993.  
  1994. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1995.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1996.     prt.Anchored = true
  1997.     prt.CFrame = cframe
  1998.     local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1999.     game:GetService("Debris"):AddItem(prt, 10)
  2000.     table.insert(Effects, {
  2001.         prt,
  2002.         "Cylinder",
  2003.         delay,
  2004.         x3,
  2005.         y3,
  2006.         z3,
  2007.         msh
  2008.     })
  2009. end
  2010.  
  2011. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2012.     local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2013.     prt.Anchored = true
  2014.     prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2015.     local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2016.     local num = math.random(10, 50) / 1000
  2017.     game:GetService("Debris"):AddItem(prt, 10)
  2018.     table.insert(Effects, {
  2019.         prt,
  2020.         "Shatter",
  2021.         num,
  2022.         prt.CFrame,
  2023.         math.random() - math.random(),
  2024.         0,
  2025.         math.random(50, 100) / 100
  2026.     })
  2027. end
  2028.  
  2029.  
  2030.    
  2031.  
  2032.     for i = 0, 1, 0.05 do
  2033.         swait()
  2034.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  2035.         Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  2036.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  2037.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  2038.         if Torsovelocity > 2 then
  2039.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
  2040.         RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  2041.         LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  2042.         elseif Torsovelocity < 1 then
  2043.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  2044.         RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  2045.         LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  2046.         end
  2047.     end
  2048.     attack = false
  2049.  
  2050.  
  2051.  
  2052. game:GetService'RunService'.Stepped:connect(function()
  2053.     Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2054.     velocity = RootPart.Velocity.y
  2055.     sine = sine + change
  2056.     local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2057.     if equipped == true or equipped == false then
  2058.         if RootPart.Velocity.y > 1 and hit == nil then
  2059.             Anim = "Jump"
  2060.             if attack == false and Anim2 == false then
  2061.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  2062.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  2063.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  2064.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  2065.                     RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  2066.                     LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  2067.             end
  2068.            
  2069.         elseif RootPart.Velocity.y < -1 and hit == nil then
  2070.             Anim = "Fall"
  2071.             if attack == false and Anim2 == false then
  2072.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  2073.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  2074.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  2075.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  2076.                     RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  2077.                     LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  2078.             end
  2079.         elseif Torsovelocity < 1 and hit ~= nil then
  2080.             Anim = "Idle"
  2081.             if attack == false and Anim2 == false then
  2082.                 change = 0.8
  2083.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(-5), math.rad(5)), .1)
  2084.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 50)), math.rad(8), math.rad(-5)), .1)
  2085.                     RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, 0.3) * angles(math.rad(30), math.rad(150), math.rad(-200 + 3 * math.cos(sine / 25))), 0.1)
  2086.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.54, 0.5, 0.1) * angles(math.rad(0), math.rad(10), math.rad(0 - 4 * math.cos(sine / 25))), 0.1)
  2087.                     RH.C0 = clerp(RH.C0, cn(1, -.93 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-10 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(6 + 2 * math.cos(sine / 45))), .1)
  2088.                     LH.C0 = clerp(LH.C0, cn(-1, -.93 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-5 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(7 + 2 * math.cos(sine / 25))), .1)
  2089.  
  2090.             end
  2091.  
  2092.         elseif Torsovelocity > 1 and hit ~= nil then
  2093.             Anim = "Walk"
  2094.             if attack == false and Anim2 == false then
  2095.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(7 * math.cos(sine / 5))), .1)
  2096.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .1)
  2097.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(-7), math.rad(4 * math.cos(sine / 4))), .1)
  2098.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(7), math.rad(4 * math.cos(sine / 4))), .1)
  2099.                     RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(7), math.rad(50 * math.cos(sine / 4))), .1)
  2100.                     LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(-7), math.rad(50 * math.cos(sine / 4))), .1)
  2101.  
  2102.             end
  2103.         end
  2104.     end
  2105. -------------------------------------------------------------------------ANI-2----------------------------------------------------------------------------------------------
  2106.     if equipped == true or equipped == false then
  2107.         if RootPart.Velocity.y > 1 and hit == nil then
  2108.             Anim = "Jump"
  2109.             if attack == false and Anim2 == true then
  2110.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  2111.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  2112.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(30)), .1)
  2113.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .1)
  2114.                     RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  2115.                     LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  2116.             end
  2117.            
  2118.         elseif RootPart.Velocity.y < -1 and hit == nil then
  2119.             Anim = "Fall"
  2120.             if attack == false and Anim2 == true then
  2121.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  2122.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  2123.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), .1)
  2124.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), .1)
  2125.                     RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  2126.                     LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  2127.             end
  2128.         elseif Torsovelocity < 1 and hit ~= nil then
  2129.             Anim = "Idle"
  2130.             if attack == false and Anim2 == true then
  2131.                 change = 0.8
  2132.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  2133.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(1 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  2134.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  2135.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.1)
  2136.                     RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  2137.                     LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  2138.             end
  2139.  
  2140.         elseif Torsovelocity > 1 and hit ~= nil then
  2141.             Anim = "Walk"
  2142.             if attack == false and Anim2 == true then
  2143.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.02 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), .2)
  2144.                     Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2145.                     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1)
  2146.                     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .1)
  2147.                     RH.C0 = clerp(RH.C0, cn(1, -1 + .2 * math.cos(sine / 3), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1)
  2148.                     LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 3), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), .1)
  2149.  
  2150.             end
  2151.         end
  2152.     end
  2153.  
  2154.    
  2155.     if #Effects > 0 then
  2156.         for e = 1, #Effects do
  2157.             if Effects[e] ~= nil then
  2158.                 local Thing = Effects[e]
  2159.                 if Thing ~= nil then
  2160.                     local Part = Thing[1]
  2161.                     local Mode = Thing[2]
  2162.                     local Delay = Thing[3]
  2163.                     local IncX = Thing[4]
  2164.                     local IncY = Thing[5]
  2165.                     local IncZ = Thing[6]
  2166.                     if Thing[1].Transparency <= 1 then
  2167.                         if Thing[2] == "Block1" then
  2168.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2169.                             local Mesh = Thing[1].Mesh
  2170.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2171.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2172.                         elseif Thing[2] == "Block2" then
  2173.                             Thing[1].CFrame = Thing[1].CFrame
  2174.                             local Mesh = Thing[7]
  2175.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2176.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2177.                         elseif Thing[2] == "Cylinder" then
  2178.                             local Mesh = Thing[1].Mesh
  2179.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2180.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2181.                         elseif Thing[2] == "Blood" then
  2182.                             local Mesh = Thing[7]
  2183.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  2184.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2185.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2186.                         elseif Thing[2] == "Elec" then
  2187.                             local Mesh = Thing[1].Mesh
  2188.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2189.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2190.                         elseif Thing[2] == "Disappear" then
  2191.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2192.                         elseif Thing[2] == "Shatter" then
  2193.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2194.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2195.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2196.                             Thing[6] = Thing[6] + Thing[5]
  2197.                         end
  2198.                     else
  2199.                         Part.Parent = nil
  2200.                         table.remove(Effects, e)
  2201.                     end
  2202.                 end
  2203.             end
  2204.         end
  2205.     end
  2206. end)
  2207.  
  2208.  
  2209.  
  2210.  
  2211. Pressed = false
  2212. --------------
  2213. MaskOn = false
  2214. MaskOff = true
  2215. --------------
  2216. Anim2 = true
  2217. --------------
  2218. eye1 = false
  2219. eye2 = false
  2220. eye3 = true
  2221. --------------
  2222. mouth1 = false
  2223. mouth2 = true
  2224. mouth3 = false
  2225. mouth4 = false
  2226. mouth5 = false
  2227. mouth6 = false
  2228. mouth7 = false
  2229. --------------
  2230. bkit0 = true
  2231. bkit1 = false
  2232. bkit2 = false
  2233. --------------
  2234. torso1 = false
  2235. torso2 = true
  2236. --------------
  2237. Tail0 = true
  2238. Tail1 = false
  2239. Tail2 = false
  2240. Tail3 = false
  2241. --------------
  2242. Hair0 = true
  2243. Hair1 = false
  2244. Hair2 = false
  2245. Hair3 = false
  2246. --------------
  2247. Hat0 = true
  2248. Hat1 = false
  2249. Hat2 = false
  2250. Hat3 = false
  2251. local Playing = false
  2252.  
  2253. ---:Mini:-:Menu:---
  2254. char2 = game.Players.LocalPlayer.Character
  2255. iPlayer = game.Players.LocalPlayer.Name
  2256. local Gui = Instance.new('ScreenGui', game.Players[iPlayer].PlayerGui)
  2257. Gui.Name = 'Gui test'
  2258. local Pull = Instance.new('Frame', Gui)
  2259. Pull.Name = 'Grab'
  2260. Pull.Active = true
  2261. Pull.BackgroundColor3 = Color3.new(97/255,97/255,97/255)
  2262. Pull.BackgroundTransparency = 0
  2263. Pull.BorderSizePixel = 4
  2264. Pull.Position = UDim2.new(0.5,-318,0.5,-92)
  2265. Pull.Size = UDim2.new(0,120,0,50)
  2266. Pull.Draggable = true
  2267. Pull.BorderColor3 = Color3.new(97/255,97/255,97/255)
  2268.  
  2269. local Close = Instance.new('TextButton', Pull)
  2270. Close.Name = 'Close'
  2271. Close.BackgroundTransparency = 1
  2272. Close.Position = UDim2.new(1,-23,0,1)
  2273. Close.Size = UDim2.new(0,22,0,22)
  2274. Close.Font = 'SourceSans'
  2275. Close.FontSize = 'Size24'
  2276. Close.TextColor3 = Color3.new(255,255,255)
  2277. Close.Text = 'X'
  2278. Close.TextStrokeTransparency = 0.8
  2279.  
  2280. local Body = Instance.new('Frame', Pull)
  2281. Body.Name = 'Body'
  2282. Body.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  2283. Body.BackgroundTransparency = 0
  2284. Body.BorderSizePixel = 4
  2285. Body.Position = UDim2.new(0,0,0,52)
  2286. Body.Size = UDim2.new(0,547,0,212)
  2287. Body.BorderColor3 = Color3.new(97/255,97/255,97/255)
  2288.  
  2289.  
  2290. local Line = Instance.new('Frame', Body)
  2291. Line.Name = 'Line'
  2292. Line.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  2293. Line.BackgroundTransparency = 0
  2294. Line.BorderSizePixel = 2
  2295. Line.Position = UDim2.new(0,152.5,0,0)
  2296. Line.Size = UDim2.new(0,0.01,0,212)
  2297. Line.BorderColor3 = Color3.new(97/255,97/255,97/255)
  2298.  
  2299. local Line2 = Instance.new('Frame', Body)
  2300. Line2.Name = 'Line2'
  2301. Line2.BackgroundColor3 = Color3.new(60/255,60/255,60/255)
  2302. Line2.BackgroundTransparency = 0
  2303. Line2.BorderSizePixel = 2
  2304. Line2.Position = UDim2.new(0,306.5,0,0)
  2305. Line2.Size = UDim2.new(0,0.01,0,212)
  2306. Line2.BorderColor3 = Color3.new(97/255,97/255,97/255)
  2307.  
  2308.  
  2309.  
  2310. local Title = Instance.new('TextLabel', Pull)
  2311. Title.Name = 'Title'
  2312. Title.BackgroundTransparency = 1
  2313. Title.Position = UDim2.new(0,-50,0,0)
  2314. Title.Size = UDim2.new(0,200,1,0)
  2315. Title.Font = 'SourceSansLight'
  2316. Title.FontSize = 'Size48'
  2317. Title.Text = "Menu"
  2318. Title.TextColor3 = Color3.new(0.5,0,1)
  2319. Title.TextStrokeColor3 = Color3.new(74/255,74/255,74/255)
  2320. Title.TextStrokeTransparency = 0
  2321.  
  2322. local PlayerName = Instance.new('TextBox', Body)
  2323. PlayerName.Name = 'PlayerName'
  2324. PlayerName.BorderSizePixel = 0
  2325. PlayerName.Position = UDim2.new(0,8,0,10)
  2326. PlayerName.Size = UDim2.new(0,135,0,30)
  2327. PlayerName.Font = 'SourceSans'
  2328. PlayerName.FontSize = 'Size18'
  2329. PlayerName.Text = 'Name of the color'
  2330. PlayerName.BackgroundColor3 = Color3.new(255,255,255)
  2331. PlayerName.TextColor3 = Color3.new(0,0,0)
  2332. PlayerName.TextWrapped = true
  2333.  
  2334. local ColTex2 = Instance.new('TextBox', Body)
  2335. ColTex2.Name = 'ColTex2'
  2336. ColTex2.BorderSizePixel = 0
  2337. ColTex2.Position = UDim2.new(0,318.5,0,10)
  2338. ColTex2.Size = UDim2.new(0,135,0,30)
  2339. ColTex2.Font = 'SourceSans'
  2340. ColTex2.FontSize = 'Size18'
  2341. ColTex2.Text = 'Song id'
  2342. ColTex2.BackgroundColor3 = Color3.new(255,255,255)
  2343. ColTex2.TextColor3 = Color3.new(0,0,0)
  2344. ColTex2.TextWrapped = true
  2345.  
  2346. local ColTex3 = Instance.new('TextBox', Body)
  2347. ColTex3.Name = 'ColTex3'
  2348. ColTex3.BorderSizePixel = 2
  2349. ColTex3.Position = UDim2.new(0,10,0,130)-- 72,5
  2350. ColTex3.Size = UDim2.new(0,57.5,0,30)
  2351. ColTex3.Font = 'SourceSans'
  2352. ColTex3.FontSize = 'Size10'
  2353. ColTex3.Text = 'Shirt id'
  2354. ColTex3.BackgroundColor3 = Color3.new(255,255,255)
  2355. ColTex3.TextColor3 = Color3.new(0,0,0)
  2356. ColTex3.TextWrapped = true
  2357.  
  2358. local ColTex4 = Instance.new('TextBox', Body)
  2359. ColTex4.Name = 'ColTex4'
  2360. ColTex4.BorderSizePixel = 2
  2361. ColTex4.Position = UDim2.new(0,10,0,170)-- 72,5
  2362. ColTex4.Size = UDim2.new(0,57.5,0,30)
  2363. ColTex4.Font = 'SourceSans'
  2364. ColTex4.FontSize = 'Size10'
  2365. ColTex4.Text = 'Pants id'
  2366. ColTex4.BackgroundColor3 = Color3.new(255,255,255)
  2367. ColTex4.TextColor3 = Color3.new(0,0,0)
  2368. ColTex4.TextWrapped = true
  2369.  
  2370. local Chattext = Instance.new('TextBox', Body)
  2371. Chattext.Name = 'Chattext'
  2372. Chattext.BorderSizePixel = 2
  2373. Chattext.Position = UDim2.new(0,125,0,-45)-- 72,5
  2374. Chattext.Size = UDim2.new(0,157.5,0,40)
  2375. Chattext.Font = 'SourceSans'
  2376. Chattext.FontSize = 'Size12'
  2377. Chattext.Text = 'Beter chat ^-^ '
  2378. Chattext.BackgroundColor3 = Color3.new(255,255,255)
  2379. Chattext.TextColor3 = Color3.new(0,0,0)
  2380. Chattext.TextWrapped = true
  2381. Chattext.BorderColor3 = Color3.new(97/255,97/255,97/255)
  2382.  
  2383. local God = Instance.new('TextButton', Body)
  2384. God.Name = 'God'
  2385. God.BackgroundColor3 = Color3.new(21/255,142/255,255)
  2386. God.BackgroundTransparency = 0
  2387. God.BorderSizePixel = 2
  2388. God.Position = UDim2.new(0,10,0,50)
  2389. God.Size = UDim2.new(0,57.5,0,30) -- 135/2 = 57,5
  2390. God.Font = 'SourceSansBold'
  2391. God.FontSize = 'Size18'
  2392. God.Text = 'Skin col'
  2393. God.TextColor3 = Color3.new(255,255,255)
  2394. God.TextWrapped = true
  2395. God.BorderColor3 = Color3.new(97/255,97/255,97/255)
  2396. God.TextStrokeTransparency = 1
  2397. -- =====================================================================
  2398. local Saypress = God:Clone()
  2399. Saypress.Name = 'Saypress'
  2400. Saypress.Parent = Body
  2401. Saypress.Position = UDim2.new(0,285.5,0,-35)
  2402. Saypress.Text = 'Say'
  2403. Saypress.BackgroundColor3 = Color3.new(.5,1,.5)
  2404. -- =====================================================================
  2405. local TpTo = God:Clone()
  2406. TpTo.Name = 'TpTo'
  2407. TpTo.Parent = Body
  2408. TpTo.Position = UDim2.new(0,468.5,0,10)
  2409. TpTo.Text = 'Play'
  2410. TpTo.BackgroundColor3 = Color3.new(.5,1,.5)
  2411. -- =====================================================================
  2412. local KillPlr = God:Clone()
  2413. KillPlr.Name = 'Shirtcol'
  2414. KillPlr.Parent = Body
  2415. KillPlr.Position = UDim2.new(0,10,0,90)
  2416. KillPlr.Text = 'Shirt col'
  2417. KillPlr.Size = UDim2.new(0,130,0,30)
  2418. -- =====================================================================
  2419. local Haircol = God:Clone()
  2420. Haircol.Name = 'Haircol'
  2421. Haircol.Parent = Body
  2422. Haircol.Position = UDim2.new(0,82.5,0,50)
  2423. Haircol.Text = 'Hair col'
  2424. -- ===================================================================== 164
  2425.  
  2426. local TpMe = God:Clone()
  2427. TpMe.Name = 'Hat'
  2428. TpMe.Parent = Body
  2429. TpMe.Position = UDim2.new(0,164,0,90)
  2430. TpMe.Text = 'Hat 1'
  2431. TpMe.Size = UDim2.new(0,57.5,0,30)
  2432. TpMe.FontSize = 'Size18'
  2433. -- =====================================================================
  2434. local TpMe2 = God:Clone()
  2435. TpMe2.Name = 'Hair'
  2436. TpMe2.Parent = Body
  2437. TpMe2.Position = UDim2.new(0,236.5,0,50)
  2438. TpMe2.Text = 'Hair 1'
  2439. TpMe2.Size = UDim2.new(0,57.5,0,30)
  2440. TpMe2.FontSize = 'Size18'
  2441. -- =====================================================================
  2442. local G36K = God:Clone()
  2443. G36K.Name = 'SpawnG36k'
  2444. G36K.Parent = Body
  2445. G36K.Position = UDim2.new(0,162,0,10)
  2446. G36K.Text = 'Idle Pose'
  2447. G36K.Size = UDim2.new(0,135,0,30)
  2448. G36K.BackgroundColor3 = Color3.new(1,.5,.5)
  2449. G36K.FontSize = 'Size28'
  2450. -- =====================================================================
  2451. local Tail = God:Clone()
  2452. Tail.Name = 'Tail'
  2453. Tail.Parent = Body
  2454. Tail.Position = UDim2.new(0,164,0,50)
  2455. Tail.Text = 'Tail 0'
  2456. -- =====================================================================
  2457. local Torso2 = God:Clone()
  2458. Torso2.Name = 'Hair'
  2459. Torso2.Parent = Body
  2460. Torso2.Position = UDim2.new(0,236.5,0,90)
  2461. Torso2.Text = 'Torso 2'
  2462. Torso2.Size = UDim2.new(0,57.5,0,30)
  2463. Torso2.FontSize = 'Size18'
  2464. -- =====================================================================
  2465. local Bkit = God:Clone()
  2466. Bkit.Name = 'Bkit'
  2467. Bkit.Parent = Body
  2468. Bkit.Position = UDim2.new(0,164,0,130)
  2469. Bkit.Text = 'Bkit 0'
  2470. Bkit.Size = UDim2.new(0,57.5,0,30)
  2471. Bkit.FontSize = 'Size18'
  2472. -- =====================================================================
  2473. local Mouth = God:Clone()
  2474. Mouth.Name = 'Mouth'
  2475. Mouth.Parent = Body
  2476. Mouth.Position = UDim2.new(0,164,0,170)
  2477. Mouth.Text = 'Mouth 2'
  2478. Mouth.FontSize = 'Size18'
  2479. -- ===================================================================== (0,318.5,0,10)
  2480. local Eyes = God:Clone()
  2481. Eyes.Name = 'Eyes'
  2482. Eyes.Parent = Body
  2483. Eyes.Position = UDim2.new(0,236,0,130)
  2484. Eyes.Text = 'Eye 3'
  2485. Eyes.FontSize = 'Size18'
  2486. -- =====================================================================(0,391,0,10)
  2487. local mask = God:Clone()
  2488. mask.Name = 'mask'
  2489. mask.Parent = Body
  2490. mask.Position = UDim2.new(0,236,0,170)
  2491. mask.Text = 'Shy'
  2492. mask.FontSize = 'Size18'
  2493. mask.BackgroundColor3 = Color3.new(1,.5,.5)
  2494. -- =====================================================================
  2495. local Shirtset = God:Clone()
  2496. Shirtset.Name = 'Shirtset'
  2497. Shirtset.Parent = Body
  2498. Shirtset.Position = UDim2.new(0,82.5,0,130)
  2499. Shirtset.Text = 'Set'
  2500. -- =====================================================================
  2501. local Pantsset = God:Clone()
  2502. Pantsset.Name = 'Pantsset'
  2503. Pantsset.Parent = Body
  2504. Pantsset.Position = UDim2.new(0,82.5,0,170)
  2505. Pantsset.Text = 'Set'
  2506.  
  2507. -- ===================================================================== 81,5
  2508. local Bunny = God:Clone()
  2509. Bunny.Name = 'Bunny'
  2510. Bunny.Parent = Body
  2511. Bunny.Position = UDim2.new(0,318.5,0,50)
  2512. Bunny.Text = 'Bunny'
  2513. -- ===================================================================== 81,5
  2514. local Noob = God:Clone()
  2515. Noob.Name = 'Noob'
  2516. Noob.Parent = Body
  2517. Noob.Position = UDim2.new(0,318.5,0,90)
  2518. Noob.Text = 'Noob'
  2519. -- ===================================================================== 81,5
  2520. local Kitty = God:Clone()
  2521. Kitty.Name = 'Kitty'
  2522. Kitty.Parent = Body
  2523. Kitty.Position = UDim2.new(0,318.5,0,130)
  2524. Kitty.Text = 'Kitty'
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538. -- *********************************************************************
  2539.  
  2540. Saypress.MouseButton1Down:connect(function()
  2541. local ChatService = game:GetService("Chat")
  2542. ChatService:Chat(char.Head, "" .. Chattext.Text)       
  2543. end)
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553. God.MouseButton1Down:connect(function()
  2554.     BC.HeadColor = BrickColor.new(PlayerName.Text)
  2555.     BC.LeftArmColor = BrickColor.new(PlayerName.Text)
  2556.     BC.LeftLegColor = BrickColor.new(PlayerName.Text)
  2557.     BC.RightArmColor = BrickColor.new(PlayerName.Text)
  2558.     BC.RightLegColor = BrickColor.new(PlayerName.Text)
  2559. pn3.BrickColor = BrickColor.new(PlayerName.Text)
  2560. pn4.BrickColor = BrickColor.new(PlayerName.Text)
  2561. skin.BrickColor = BrickColor.new(PlayerName.Text)
  2562. end)
  2563. -- =====================================================================
  2564. KillPlr.MouseButton1Down:connect(function()
  2565. pn.BrickColor = BrickColor.new(PlayerName.Text)
  2566. p.BrickColor = BrickColor.new(PlayerName.Text)
  2567. pn0.BrickColor = BrickColor.new(PlayerName.Text)
  2568. BC.TorsoColor = BrickColor.new(PlayerName.Text)
  2569. hat2.BrickColor = BrickColor.new(PlayerName.Text)
  2570. hat3.BrickColor = BrickColor.new(PlayerName.Text)
  2571. pn5.BrickColor = BrickColor.new(PlayerName.Text)
  2572. pn7.BrickColor = BrickColor.new(PlayerName.Text)
  2573. pn8.BrickColor = BrickColor.new(PlayerName.Text)
  2574. pn9.BrickColor = BrickColor.new(PlayerName.Text)
  2575. tail3.BrickColor = BrickColor.new(PlayerName.Text)
  2576. end)
  2577. -- =====================================================================
  2578. TpTo.MouseButton1Down:connect(function()
  2579.  if Playing == false and Pressed == false then 
  2580. TpTo.BackgroundColor3 = Color3.new(1,.5,.5)
  2581. TpTo.Text = 'Stop'
  2582. Pressed = true
  2583. radio.Transparency = 0     
  2584. GlowParticle.Transparency = NumberSequence.new(.3,.8)      
  2585. GlowParticle2.Transparency = NumberSequence.new(.3,.8)         
  2586. GlowParticle3.Transparency = NumberSequence.new(.3,.8) 
  2587. wait()
  2588.     sound:Play()
  2589.     Playing = true
  2590. end
  2591.  if Playing == true and Pressed == false then
  2592. TpTo.BackgroundColor3 = Color3.new(.5,1,.5)
  2593. TpTo.Text = 'Play'
  2594. Pressed = true
  2595. radio.Transparency = 1     
  2596. GlowParticle.Transparency = NumberSequence.new(1)      
  2597. GlowParticle2.Transparency = NumberSequence.new(1)         
  2598. GlowParticle3.Transparency = NumberSequence.new(1) 
  2599. wait()
  2600.     sound:Stop()
  2601.     Playing = false
  2602. end
  2603. wait()
  2604. Pressed = false
  2605. end)
  2606. -- =====================================================================
  2607. TpMe.MouseButton1Down:connect(function()
  2608. if Hat1 == true and Pressed == false then
  2609. TpMe.Text = 'Hat 2'
  2610. pn0.Transparency = 1
  2611. hat2.Transparency = 0
  2612. Pressed = true
  2613. wait()
  2614. Hat1 = false
  2615. Hat2 = true
  2616. end
  2617. if Hat2 == true and Pressed == false then
  2618. TpMe.Text = 'Hat 3'
  2619. hat2.Transparency = 1
  2620. hat3.Transparency = 0
  2621. Pressed = true
  2622. wait()
  2623. Hat2 = false
  2624. Hat3 = true
  2625. end
  2626. if Hat3 == true and Pressed == false then
  2627. TpMe.Text = 'Hat 0'
  2628. hat3.Transparency = 1
  2629. Pressed = true
  2630. wait()
  2631. Hat3 = false
  2632. Hat0 = true
  2633. end
  2634. if Hat0 == true and Pressed == false then
  2635. TpMe.Text = 'Hat 1'
  2636. pn0.Transparency = 0
  2637. Pressed = true
  2638. wait()
  2639. Hat3 = false
  2640. Hat1 = true
  2641. end
  2642. wait()
  2643. Pressed = false
  2644. end)
  2645. -- =====================================================================
  2646. G36K.MouseButton1Down:connect(function()
  2647.  if Anim2 == false and Pressed == false then
  2648. G36K.BackgroundColor3 = Color3.new(1,.5,.5)
  2649. Pressed = true
  2650. wait()
  2651. Anim2 = true
  2652. end
  2653. if Anim2 == true and Pressed == false then
  2654. G36K.BackgroundColor3 = Color3.new(.5,1,.5)
  2655. Pressed = true
  2656. wait()
  2657. Anim2 = false
  2658. end
  2659. wait()
  2660. Pressed = false
  2661. end)
  2662. -- =====================================================================
  2663. TpMe2.MouseButton1Down:connect(function()
  2664. if Hair1 == true and Pressed == false then
  2665. TpMe2.Text = 'Hair 2'
  2666. Hood.Transparency = 1
  2667. pn6.Transparency = 1
  2668. hair2.Transparency = 0
  2669. Pressed = true
  2670. wait()
  2671. Hair1 = false
  2672. Hair2 = true
  2673. end
  2674. if Hair2 == true and Pressed == false then
  2675. TpMe2.Text = 'Hair 3'
  2676. Hood.Transparency = 0
  2677. pn6.Transparency = 1
  2678. hair2.Transparency = 1
  2679. Pressed = true
  2680. wait()
  2681. Hair2 = false
  2682. Hair3 = true
  2683. end
  2684. if Hair3 == true and Pressed == false then
  2685. TpMe2.Text = 'Hair 0'
  2686. Hood.Transparency = 1
  2687. pn6.Transparency = 1
  2688. hair2.Transparency = 1
  2689. Pressed = true
  2690. wait()
  2691. Hair3 = false
  2692. Hair0 = true
  2693. end
  2694. if Hair0 == true and Pressed == false then
  2695. TpMe2.Text = 'Hair 1'
  2696. Hood.Transparency = 0
  2697. pn6.Transparency = 0
  2698. hair2.Transparency = 0
  2699. Pressed = true
  2700. wait()
  2701. Hair0 = false
  2702. Hair1 = true
  2703. end
  2704. wait()
  2705. Pressed = false
  2706. end)
  2707. -- =====================================================================
  2708. Haircol.MouseButton1Down:connect(function()
  2709. hair2.BrickColor = BrickColor.new(PlayerName.Text)
  2710. Hood.BrickColor = BrickColor.new(PlayerName.Text)
  2711. pn6.BrickColor = BrickColor.new(PlayerName.Text)
  2712. end)
  2713. -- =====================================================================
  2714. Tail.MouseButton1Down:connect(function()
  2715. if Tail1 == true and Pressed == false then
  2716. Tail.Text = 'Tail 2'
  2717. pn5.Transparency = 1
  2718. pn7.Transparency = 1
  2719. pn8.Transparency = 1
  2720. pn9.Transparency = 1
  2721. tail2.Transparency = 0
  2722. Pressed = true
  2723. wait()
  2724. Tail1 = false
  2725. Tail2 = true
  2726. end
  2727. if Tail2 == true and Pressed == false then
  2728. Tail.Text = 'Tail 3'
  2729. tail2.Transparency = 1
  2730. tail3.Transparency = 0
  2731. Pressed = true
  2732. wait()
  2733. Tail2 = false
  2734. Tail3 = true
  2735. end
  2736. if Tail3 == true and Pressed == false then
  2737. Tail.Text = 'Tail 0'
  2738. tail3.Transparency = 1
  2739. Pressed = true
  2740. wait()
  2741. Tail3 = false
  2742. Tail0 = true
  2743. end
  2744. if Tail0 == true and Pressed == false then
  2745. Tail.Text = 'Tail 1'
  2746. pn5.Transparency = 0
  2747. pn7.Transparency = 0
  2748. pn8.Transparency = 0
  2749. pn9.Transparency = 0
  2750. Pressed = true
  2751. wait()
  2752. Tail0 = false
  2753. Tail1 = true
  2754. end
  2755. wait()
  2756. Pressed = false
  2757. end)
  2758. -- =====================================================================
  2759. Torso2.MouseButton1Down:connect(function()
  2760. if torso1 == true and Pressed == false then
  2761. Pressed = true
  2762. M69.MeshId = "rbxassetid://456901040"
  2763. M69.Scale = Vector3.new( 1, 1, 1)
  2764. Torso2.Text = 'Torso 2'
  2765. wait()
  2766. torso1 = false
  2767. torso2 = true
  2768. end
  2769. if torso2 == true and Pressed == false then
  2770. Pressed = true
  2771. M69.MeshId = "rbxassetid://48112070"
  2772. M69.Scale = Vector3.new( 1.093, 1, 1)
  2773. Torso2.Text = 'Torso 1'
  2774. wait()
  2775. torso1 = true
  2776. torso2 = false
  2777. end
  2778. wait()
  2779. Pressed = false
  2780. end)
  2781. -- =====================================================================
  2782. Bkit.MouseButton1Down:connect(function()
  2783. if bkit1 == true and Pressed == false then
  2784. Pressed = true
  2785. p.Transparency = 0
  2786. pn.Transparency = 0
  2787. pn3.Transparency = 1
  2788. pn4.Transparency = 1
  2789. skin.Transparency = 1
  2790. Bkit.Text = 'Bkit 2'
  2791. wait()
  2792. bkit1 = false
  2793. bkit2 = true
  2794. end
  2795. if bkit2 == true and Pressed == false then
  2796. Pressed = true
  2797. p.Transparency = 1
  2798. pn.Transparency = 1
  2799. pn3.Transparency = 1
  2800. pn4.Transparency = 1
  2801. skin.Transparency = 1
  2802. Bkit.Text = 'Bkit 0'
  2803. wait()
  2804. bkit2 = false
  2805. bkit0 = true
  2806. end
  2807. if bkit0 == true and Pressed == false then
  2808. Pressed = true
  2809. p.Transparency = 0
  2810. pn.Transparency = 0
  2811. pn3.Transparency = 0
  2812. pn4.Transparency = 0
  2813. skin.Transparency = 0
  2814. Bkit.Text = 'Bkit 1'
  2815. wait()
  2816. bkit0 = false
  2817. bkit1 = true
  2818. end
  2819. wait()
  2820. Pressed = false
  2821. end)
  2822. -- =====================================================================
  2823. Mouth.MouseButton1Down:connect(function()
  2824. ----2-----
  2825. if mouth1 == true and Pressed == false then
  2826. Mouth.Text = 'Mouth 2'
  2827. newface.Texture = "rbxassetid://186681690"
  2828. Orbd.Transparency = 1
  2829. Pressed = true
  2830. wait()
  2831. mouth1 = false
  2832. mouth2 = true
  2833. end
  2834. ----3-----
  2835. if mouth2 == true and Pressed == false then
  2836. Mouth.Text = 'Mouth 3'
  2837. newface.Texture = "rbxassetid://322781877"
  2838. Orbd.Transparency = 1
  2839. Pressed = true
  2840. wait()
  2841. mouth2 = false
  2842. mouth3 = true
  2843. end
  2844. ----4-----
  2845. if mouth3 == true and Pressed == false then
  2846. Mouth.Text = 'Mouth 4'
  2847. newface.Texture = "rbxassetid://186682603"
  2848. Orbd.Transparency = 1
  2849. Pressed = true
  2850. wait()
  2851. mouth3 = false
  2852. mouth4 = true
  2853. end
  2854. ----5-----
  2855. if mouth4 == true and Pressed == false then
  2856. Mouth.Text = 'Mouth 5'
  2857. newface.Texture = "rbxassetid://133379869"
  2858. Orbd.Transparency = 1
  2859. Pressed = true
  2860. wait()
  2861. mouth4 = false
  2862. mouth5 = true
  2863. end
  2864. ----6-----
  2865. if mouth5 == true and Pressed == false then
  2866. Mouth.Text = 'Mouth 6'
  2867. newface.Texture = "rbxassetid://186683091"
  2868. Orbd.Transparency = 1
  2869. Pressed = true
  2870. wait()
  2871. mouth5 = false
  2872. mouth6 = true
  2873. end
  2874. ----7-----
  2875. if mouth6 == true and Pressed == false then
  2876. Mouth.Text = 'Mouth 7'
  2877. newface.Texture = "rbxassetid://186682277"
  2878. Orbd.Transparency = 1
  2879. Pressed = true
  2880. wait()
  2881. mouth6 = false
  2882. mouth7 = true
  2883. end
  2884. ----1-----
  2885. if mouth7 == true and Pressed == false then
  2886. Mouth.Text = 'Mouth 1'
  2887. newface.Texture = "rbxassetid://"
  2888. Orbd.Transparency = 0
  2889. Pressed = true
  2890. wait()
  2891. mouth6 = false
  2892. mouth1 = true
  2893. end
  2894. ----------
  2895. wait()
  2896. Pressed = false
  2897. end)
  2898. -- =====================================================================
  2899. Eyes.MouseButton1Down:connect(function()
  2900. if eye3 == true and Pressed == false then
  2901. Pressed = true
  2902. char.Head.face.Texture = "rbxassetid://176204308"
  2903. Eyes.Text = 'Eye 1'
  2904. wait()
  2905. eye3 = false
  2906. eye1 = true
  2907. end
  2908. if eye1 == true and Pressed == false then
  2909. Pressed = true
  2910. char.Head.face.Texture = "rbxassetid://176210835"
  2911. Eyes.Text = 'Eye 2'
  2912. wait()
  2913. eye1 = false
  2914. eye2 = true
  2915. end
  2916. if eye2 == true and Pressed == false then
  2917. Pressed = true
  2918. char.Head.face.Texture = "rbxassetid://176206791"
  2919. Eyes.Text = 'Eye 3'
  2920. wait()
  2921. eye2 = false
  2922. eye3 = true
  2923. end
  2924. wait()
  2925. Pressed = false
  2926. end)
  2927. -- =====================================================================
  2928. mask.MouseButton1Down:connect(function()
  2929. if MaskOn == true and Pressed == false then
  2930. Mask.Transparency = 1
  2931. Pressed = true
  2932. mask.BackgroundColor3 = Color3.new(1,.5,.5)
  2933. wait()
  2934. MaskOn = false
  2935. MaskOff = true
  2936. end
  2937. if MaskOff == true and Pressed == false then
  2938. Mask.Transparency = 0
  2939. Pressed = true
  2940. mask.BackgroundColor3 = Color3.new(.5,1,.5)
  2941. wait()
  2942. MaskOn = true
  2943. MaskOff = false
  2944. end
  2945. wait()
  2946. Pressed = false
  2947. end)
  2948. -- =====================================================================
  2949. Shirtset.MouseButton1Down:connect(function()
  2950. char049.Shirt.ShirtTemplate = "rbxassetid://" .. ColTex3.Text
  2951. end)
  2952. -- =====================================================================
  2953. Pantsset.MouseButton1Down:connect(function()
  2954. char049.Pants.PantsTemplate = "rbxassetid://" .. ColTex4.Text
  2955. end)
  2956. -- =====================================================================
  2957. Bunny.MouseButton1Down:connect(function()
  2958. --------------
  2959. MaskOn = true
  2960. MaskOff = false
  2961. --------------
  2962. Anim2 = false
  2963. --------------
  2964. eye1 = true
  2965. eye2 = false
  2966. eye3 = false
  2967. --------------
  2968. mouth1 = false
  2969. mouth2 = false
  2970. mouth3 = false
  2971. mouth4 = true
  2972. mouth5 = false
  2973. mouth6 = false
  2974. mouth7 = false
  2975. --------------
  2976. bkit0 = false
  2977. bkit1 = true
  2978. bkit2 = false
  2979. --------------
  2980. torso1 = true
  2981. torso2 = false
  2982. --------------
  2983. Tail0 = false
  2984. Tail1 = false
  2985. Tail2 = true
  2986. Tail3 = false
  2987. --------------
  2988. Hair0 = false
  2989. Hair1 = false
  2990. Hair2 = true
  2991. Hair3 = false
  2992. --------------
  2993. Hat0 = false
  2994. Hat1 = false
  2995. Hat2 = true
  2996. Hat3 = false
  2997. --------------
  2998. char.Head.face.Texture = "rbxassetid://176204308"
  2999. Eyes.Text = 'Eye 1'
  3000. --------------
  3001. Mouth.Text = 'Mouth 4'
  3002. newface.Texture = "rbxassetid://186682603"
  3003. Orbd.Transparency = 1
  3004. --------------
  3005. p.Transparency = 0
  3006. pn.Transparency = 0
  3007. pn3.Transparency = 0
  3008. pn4.Transparency = 0
  3009. skin.Transparency = 0
  3010. Bkit.Text = 'Bkit 1'
  3011. --------------
  3012. M69.MeshId = "rbxassetid://48112070"
  3013. M69.Scale = Vector3.new( 1.093, 1, 1)
  3014. Torso2.Text = 'Torso 1'
  3015. --------------
  3016. Tail.Text = 'Tail 2'
  3017. pn5.Transparency = 1
  3018. pn7.Transparency = 1
  3019. pn8.Transparency = 1
  3020. pn9.Transparency = 1
  3021. tail2.Transparency = 0
  3022. tail3.Transparency = 1
  3023. --------------
  3024. hair2.BrickColor = BrickColor.new("Cool yellow")
  3025. Hood.BrickColor = BrickColor.new("Cool yellow")
  3026. pn6.BrickColor = BrickColor.new("Cool yellow")
  3027. --------------
  3028. TpMe2.Text = 'Hair 2'
  3029. Hood.Transparency = 1
  3030. pn6.Transparency = 1
  3031. hair2.Transparency = 0
  3032. --------------
  3033. TpMe.Text = 'Hat 2'
  3034. pn0.Transparency = 1
  3035. hat2.Transparency = 0
  3036. hat3.Transparency = 1
  3037. --------------
  3038. pn.BrickColor = BrickColor.new("Really black")
  3039. p.BrickColor = BrickColor.new("Really black")
  3040. pn0.BrickColor = BrickColor.new("Really black")
  3041. BC.TorsoColor = BrickColor.new("Really black")
  3042. hat2.BrickColor = BrickColor.new("Really black")
  3043. hat3.BrickColor = BrickColor.new("Really black")
  3044. pn5.BrickColor = BrickColor.new("Really black")
  3045. pn7.BrickColor = BrickColor.new("Really black")
  3046. pn8.BrickColor = BrickColor.new("Really black")
  3047. pn9.BrickColor = BrickColor.new("Really black")
  3048. tail3.BrickColor = BrickColor.new("Really black")
  3049. --------------
  3050. BC.HeadColor = BrickColor.new("Pastel brown")
  3051. BC.LeftArmColor = BrickColor.new("Pastel brown")
  3052. BC.LeftLegColor = BrickColor.new("Pastel brown")
  3053. BC.RightArmColor = BrickColor.new("Pastel brown")
  3054. BC.RightLegColor = BrickColor.new("Pastel brown")
  3055. pn3.BrickColor = BrickColor.new("Pastel brown")
  3056. pn4.BrickColor = BrickColor.new("Pastel brown")
  3057. skin.BrickColor = BrickColor.new("Pastel brown")
  3058. --------------
  3059. char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556"
  3060. char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=145038586"
  3061. --------------
  3062. Mask.Transparency = 0
  3063. mask.BackgroundColor3 = Color3.new(.5,1,.5)
  3064. --------------
  3065. G36K.BackgroundColor3 = Color3.new(.5,1,.5)
  3066. end)
  3067. -- =====================================================================
  3068.  
  3069. Noob.MouseButton1Down:connect(function()
  3070. --------------
  3071. MaskOn = true
  3072. MaskOff = false
  3073. --------------
  3074. Anim2 = true
  3075. --------------
  3076. eye1 = false
  3077. eye2 = false
  3078. eye3 = true
  3079. --------------
  3080. mouth1 = false
  3081. mouth2 = true
  3082. mouth3 = false
  3083. mouth4 = false
  3084. mouth5 = false
  3085. mouth6 = false
  3086. mouth7 = false
  3087. --------------
  3088. bkit0 = true
  3089. bkit1 = false
  3090. bkit2 = false
  3091. --------------
  3092. torso1 = false
  3093. torso2 = true
  3094. --------------
  3095. Tail0 = true
  3096. Tail1 = false
  3097. Tail2 = false
  3098. Tail3 = false
  3099. --------------
  3100. Hair0 = true
  3101. Hair1 = false
  3102. Hair2 = false
  3103. Hair3 = false
  3104. --------------
  3105. Hat0 = true
  3106. Hat1 = false
  3107. Hat2 = false
  3108. Hat3 = false
  3109. --------------
  3110. char.Head.face.Texture = "rbxassetid://176206791"
  3111. Eyes.Text = 'Eye 3'
  3112. --------------
  3113. Mouth.Text = 'Mouth 2'
  3114. newface.Texture = "rbxassetid://186681690"
  3115. Orbd.Transparency = 1
  3116. --------------
  3117. p.Transparency = 1
  3118. pn.Transparency = 1
  3119. pn3.Transparency = 1
  3120. pn4.Transparency = 1
  3121. skin.Transparency = 1
  3122. Bkit.Text = 'Bkit 0'
  3123. --------------
  3124. M69.MeshId = "rbxassetid://456901040"
  3125. M69.Scale = Vector3.new( 1, 1, 1)
  3126. Torso2.Text = 'Torso 2'
  3127. --------------
  3128. Tail.Text = 'Tail 0'
  3129. pn5.Transparency = 1
  3130. pn7.Transparency = 1
  3131. pn8.Transparency = 1
  3132. pn9.Transparency = 1
  3133. tail2.Transparency = 1
  3134. tail3.Transparency = 1
  3135. --------------
  3136. hair2.BrickColor = BrickColor.new("Black")
  3137. Hood.BrickColor = BrickColor.new("Black")
  3138. pn6.BrickColor = BrickColor.new("Black")
  3139. --------------
  3140. TpMe2.Text = 'Hair 0'
  3141. Hood.Transparency = 1
  3142. pn6.Transparency = 1
  3143. hair2.Transparency = 1
  3144. --------------
  3145. TpMe.Text = 'Hat 0'
  3146. pn0.Transparency = 1
  3147. hat2.Transparency = 1
  3148. hat3.Transparency = 1
  3149. --------------
  3150. pn.BrickColor = BrickColor.new("Deep blue")
  3151. p.BrickColor = BrickColor.new("Deep blue")
  3152. pn0.BrickColor = BrickColor.new("Deep blue")
  3153. BC.TorsoColor = BrickColor.new("Deep blue")
  3154. hat2.BrickColor = BrickColor.new("Deep blue")
  3155. hat3.BrickColor = BrickColor.new("Deep blue")
  3156. pn5.BrickColor = BrickColor.new("Deep blue")
  3157. pn7.BrickColor = BrickColor.new("Deep blue")
  3158. pn8.BrickColor = BrickColor.new("Deep blue")
  3159. pn9.BrickColor = BrickColor.new("Deep blue")
  3160. tail3.BrickColor = BrickColor.new("Deep blue")
  3161. --------------
  3162. BC.HeadColor = BrickColor.new("Bright yellow")
  3163. BC.LeftArmColor = BrickColor.new("Bright yellow")
  3164. BC.LeftLegColor = BrickColor.new("Br. yellowish green")
  3165. BC.RightArmColor = BrickColor.new("Bright yellow")
  3166. BC.RightLegColor = BrickColor.new("Br. yellowish green")
  3167. pn3.BrickColor = BrickColor.new("Bright yellow")
  3168. pn4.BrickColor = BrickColor.new("Bright yellow")
  3169. skin.BrickColor = BrickColor.new("Bright yellow")
  3170. --------------
  3171. char049.Shirt.ShirtTemplate = "rbxassetid://"
  3172. char049.Pants.PantsTemplate = "rbxassetid://"
  3173. --------------
  3174. Mask.Transparency = 1
  3175. mask.BackgroundColor3 = Color3.new(1,.5,.5)
  3176. --------------
  3177. G36K.BackgroundColor3 = Color3.new(1,.5,.5)
  3178. end)
  3179.  
  3180. -- =====================================================================
  3181. Kitty.MouseButton1Down:connect(function()
  3182.  
  3183. --------------
  3184. MaskOn = true
  3185. MaskOff = false
  3186. --------------
  3187. Anim2 = false
  3188. --------------
  3189. eye1 = false
  3190. eye2 = true
  3191. eye3 = false
  3192. --------------
  3193. mouth1 = false
  3194. mouth2 = false
  3195. mouth3 = false
  3196. mouth4 = true
  3197. mouth5 = false
  3198. mouth6 = false
  3199. mouth7 = false
  3200. --------------
  3201. bkit0 = false
  3202. bkit1 = true
  3203. bkit2 = false
  3204. --------------
  3205. torso1 = true
  3206. torso2 = false
  3207. --------------
  3208. Tail0 = false
  3209. Tail1 = false
  3210. Tail2 = false
  3211. Tail3 = true
  3212. --------------
  3213. Hair0 = false
  3214. Hair1 = true
  3215. Hair2 = false
  3216. Hair3 = false
  3217. --------------
  3218. Hat0 = false
  3219. Hat1 = false
  3220. Hat2 = false
  3221. Hat3 = true
  3222. --------------
  3223. char.Head.face.Texture = "rbxassetid://176210835"
  3224. Eyes.Text = 'Eye 2'
  3225. --------------
  3226. Mouth.Text = 'Mouth 4'
  3227. newface.Texture = "rbxassetid://186682603"
  3228. Orbd.Transparency = 1
  3229. --------------
  3230. p.Transparency = 0
  3231. pn.Transparency = 0
  3232. pn3.Transparency = 0
  3233. pn4.Transparency = 0
  3234. skin.Transparency = 0
  3235. Bkit.Text = 'Bkit 1'
  3236. --------------
  3237. M69.MeshId = "rbxassetid://48112070"
  3238. M69.Scale = Vector3.new( 1.093, 1, 1)
  3239. Torso2.Text = 'Torso 1'
  3240. --------------
  3241. Tail.Text = 'Tail 3'
  3242. pn5.Transparency = 1
  3243. pn7.Transparency = 1
  3244. pn8.Transparency = 1
  3245. pn9.Transparency = 1
  3246. tail2.Transparency = 1
  3247. tail3.Transparency = 0
  3248. --------------
  3249. hair2.BrickColor = BrickColor.new("White")
  3250. Hood.BrickColor = BrickColor.new("White")
  3251. pn6.BrickColor = BrickColor.new("White")
  3252. --------------
  3253. TpMe2.Text = 'Hair 1'
  3254. Hood.Transparency = 0
  3255. pn6.Transparency = 0
  3256. hair2.Transparency = 0
  3257. --------------
  3258. TpMe.Text = 'Hat 3'
  3259. pn0.Transparency = 1
  3260. hat2.Transparency = 1
  3261. hat3.Transparency = 0
  3262. --------------
  3263. pn.BrickColor = BrickColor.new("Really black")
  3264. p.BrickColor = BrickColor.new("Really black")
  3265. pn0.BrickColor = BrickColor.new("Really black")
  3266. BC.TorsoColor = BrickColor.new("Really black")
  3267. hat2.BrickColor = BrickColor.new("Really black")
  3268. hat3.BrickColor = BrickColor.new("Really black")
  3269. pn5.BrickColor = BrickColor.new("Really black")
  3270. pn7.BrickColor = BrickColor.new("Really black")
  3271. pn8.BrickColor = BrickColor.new("Really black")
  3272. pn9.BrickColor = BrickColor.new("Really black")
  3273. tail3.BrickColor = BrickColor.new("Really black")
  3274. --------------
  3275. BC.HeadColor = BrickColor.new("Fossil")
  3276. BC.LeftArmColor = BrickColor.new("Fossil")
  3277. BC.LeftLegColor = BrickColor.new("Fossil")
  3278. BC.RightArmColor = BrickColor.new("Fossil")
  3279. BC.RightLegColor = BrickColor.new("Fossil")
  3280. pn3.BrickColor = BrickColor.new("Fossil")
  3281. pn4.BrickColor = BrickColor.new("Fossil")
  3282. skin.BrickColor = BrickColor.new("Fossil")
  3283. --------------
  3284. char049.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=147949556"
  3285. char049.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=78589488"
  3286. --------------
  3287. Mask.Transparency = 0
  3288. mask.BackgroundColor3 = Color3.new(.5,1,.5)
  3289. --------------
  3290. G36K.BackgroundColor3 = Color3.new(.5,1,.5)
  3291. end)
  3292.  
  3293. -- =====================================================================
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303. Close.MouseButton1Down:connect(function()
  3304. if Body.Visible == true then
  3305. Body.Visible = false
  3306. Close.Text = '+'
  3307. Title.FontSize = 'Size24'
  3308. Pull.Size = UDim2(0,125,0,12.5)
  3309. elseif Body.Visible == false then
  3310. Body.Visible = true
  3311. Close.Text = 'X'
  3312. Title.FontSize = 'Size48'
  3313. Graf_f.Size = UDim2(0,500,0,50)
  3314. end
  3315. end)
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321. ---------------------------------------------------------------------------------
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330. local mesh = Instance.new("SpecialMesh",radio)
  3331. mesh.MeshId = "http://www.roblox.com/asset/?id=151760030"
  3332. mesh.TextureId = "rbxassetid://151760072"
  3333. mesh.Scale = Vector3.new(.7, .7, .7)
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350. ColTex2.Changed:connect(function()
  3351.     sound.SoundId = "rbxassetid://" .. ColTex2.Text
  3352. end)
  3353.  
  3354.  
  3355.  
  3356. while true do
  3357.     if Playing then
  3358.    
  3359.                
  3360.                
  3361.                
  3362.        
  3363.        
  3364.         mesh.Scale = Vector3.new(.71, .71, .71)
  3365.         wait(.000001)          
  3366.         mesh.Scale = Vector3.new(.709, .709, .709)
  3367.         wait(.000001)
  3368.         mesh.Scale = Vector3.new(.708, .708, .708)
  3369.         wait(.000001)  
  3370.         mesh.Scale = Vector3.new(.707, .707, .707)
  3371.         wait(.000001)
  3372.         mesh.Scale = Vector3.new(.706, .706, .706)
  3373.         wait(.000001)  
  3374.         mesh.Scale = Vector3.new(.705, .705, .705)
  3375.         wait(.000001)  
  3376.         mesh.Scale = Vector3.new(.704, .704, .704)
  3377.         wait(.000001)  
  3378.         mesh.Scale = Vector3.new(.703, .703, .703)
  3379.         wait(.000001)  
  3380.         mesh.Scale = Vector3.new(.702, .702, .702)
  3381.         wait(.000001)
  3382.         mesh.Scale = Vector3.new(.701, .701, .701)
  3383.         wait(.000001)
  3384.        
  3385.        
  3386.        
  3387.        
  3388.         mesh.Scale = Vector3.new(.7, .7, .7)
  3389.     end
  3390.     wait(.2)
  3391.  
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top