Advertisement
teotv202

Untitled

Jun 29th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.          
  6.         local ran,err = ypcall(function()
  7.         plr = game:service'Players'.LocalPlayer
  8.         char = plr.Character
  9.         mouse = plr:GetMouse()
  10.         humanoid = char:findFirstChild("Humanoid")
  11.         torso = char:findFirstChild("Torso")
  12.         head = char.Head
  13.         ra = char:findFirstChild("Right Arm")
  14.         la = char:findFirstChild("Left Arm")
  15.         rl = char:findFirstChild("Right Leg")
  16.         ll = char:findFirstChild("Left Leg")
  17.         rs = torso:findFirstChild("Right Shoulder")
  18.         ls = torso:findFirstChild("Left Shoulder")
  19.         rh = torso:findFirstChild("Right Hip")
  20.         lh = torso:findFirstChild("Left Hip")
  21.         neck = torso:findFirstChild("Neck")
  22.         gc = char:GetChildren()
  23.         for i=1, #gc do
  24.         if gc[i].ClassName == "Hat" or gc[i].ClassName == "Accessory" then
  25.         gc[i]:Destroy()
  26.         end
  27.         end
  28.         rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  29.         anim = char:findFirstChild("Animate")
  30.         rootpart = char:findFirstChild("HumanoidRootPart")
  31.         camera = workspace.CurrentCamera
  32.         do --Removing ROBLOX's new Looped bug >_>
  33.             local function rec(x)
  34.                 for i,v in pairs(x:children()) do
  35.                     if v:IsA'Animation' then
  36.                         v.AnimationId = 'rbxassetid://28159255'
  37.                     end
  38.                     rec(v)
  39.                 end
  40.             end
  41.             rec(anim) --the Animate script
  42.         end
  43.  
  44.         humanoid.Jump = true
  45.  
  46.         wait(.4)
  47.  
  48.  
  49.         if anim then
  50.         anim:Destroy()
  51.         end
  52.          
  53.          
  54.         rj.C0 = CFrame.new()
  55.         rj.C1 = CFrame.new()
  56.          
  57.          
  58.         super_annoying = Instance.new("Sound", head)
  59.         super_annoying.SoundId = "http://www.roblox.com/asset/?id=130816003"
  60.         super_annoying.Volume = 0.6
  61.         super_annoying.Looped = true
  62.         barrel_roll = Instance.new("Sound", head)
  63.         barrel_roll.SoundId = "http://www.roblox.com/asset/?id=130791919"
  64.         barrel_roll.Volume = 1
  65.         barrel_roll.Looped = true
  66.         dubstep_gun = Instance.new("Sound", head)
  67.         dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=130855491"
  68.         dubstep_gun.Volume = 0.6
  69.         dubstep_gun.Looped = true
  70.         you_are_pirate = Instance.new("Sound", head)
  71.         you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=130888577"
  72.         you_are_pirate.Volume = 0.6
  73.         you_are_pirate.Looped = true
  74.         cant_touch = Instance.new("Sound", head)
  75.         cant_touch.SoundId = "http://www.roblox.com/asset/?id=131280929"
  76.         cant_touch.Volume = 1
  77.         cant_touch.Looped = true
  78.         gangy_style = Instance.new("Sound", head)
  79.         gangy_style.SoundId = "http://www.roblox.com/asset/?id=130844430"
  80.         gangy_style.Volume = 0.6
  81.         gangy_style.Looped = true
  82.         fox_say = Instance.new("Sound", head)
  83.         fox_say.SoundId = "http://www.roblox.com/asset/?id=130797915"
  84.         fox_say.Volume = 0.5
  85.         fox_say.Looped = true
  86.         durk = Instance.new("Sound", head)
  87.         durk.SoundId = "http://www.roblox.com/asset/?id=130776787"
  88.         durk.Volume = 0.8
  89.         durk.Looped = true
  90.         sax_guy = Instance.new("Sound", head)
  91.         sax_guy.SoundId = "http://www.roblox.com/asset/?id=130794684"
  92.         sax_guy.Volume = 0.6
  93.         sax_guy.Looped = true
  94.         heman = Instance.new("Sound", head)
  95.         heman.SoundId = "http://www.roblox.com/asset/?id=131102548"
  96.         heman.Volume = 1
  97.         heman.Looped = true
  98.         justin = Instance.new("Sound", head)
  99.         justin.SoundId = "http://www.roblox.com/asset/?id=130841252"
  100.         justin.Volume = 0.8
  101.         justin.Looped = true
  102.         brony_music = Instance.new("Sound", head)
  103.         brony_music.SoundId = "http://www.roblox.com/asset/?id=145105874"
  104.         brony_music.Volume = 1
  105.         brony_music.Looped = true
  106.         spitfire = Instance.new("Sound", head)
  107.         spitfire.SoundId = "http://www.roblox.com/asset/?id=129490596"
  108.         spitfire.Volume = 0.8
  109.         spitfire.Looped = true
  110.         burn_dem = Instance.new("Sound", head)
  111.         burn_dem.SoundId = "http://www.roblox.com/asset/?id=132399469"
  112.         burn_dem.Volume = 1
  113.         burn_dem.Looped = true
  114.         aj = Instance.new("Sound", head)
  115.         aj.SoundId = "rbxassetid://177732780"
  116.         aj.Volume = 1
  117.         aj.Looped = true
  118.          
  119.          
  120.          
  121.          
  122.          
  123.         --minimize
  124.         rh.Parent = nil
  125.         lh.Parent = nil
  126.         rs.Parent = nil
  127.         ls.Parent = nil
  128.         neck.Parent = nil
  129.         rj.Parent = nil
  130.          
  131.          
  132.         rl.FormFactor = "Custom"
  133.         ll.FormFactor = "Custom"
  134.         ra.FormFactor = "Custom"
  135.         la.FormFactor = "Custom"
  136.         torso.FormFactor = "Custom"
  137.         head.FormFactor = "Custom"
  138.         rootpart.FormFactor = "Custom"
  139.          
  140.          
  141.          
  142.          
  143.         rootpart.Size = Vector3.new(.4, .4, .2)
  144.         rl.Size = Vector3.new(.2, .4, .2)
  145.         ll.Size = Vector3.new(.2, .4, .2)
  146.         ra.Size = Vector3.new(.2, .4, .2)
  147.         la.Size = Vector3.new(.2, .4, .2)
  148.         torso.Size = Vector3.new(.4, .4, .2)
  149.         head.Size = Vector3.new(.4, .2, .2)
  150.          
  151.         rh.Parent = torso
  152.         lh.Parent = torso
  153.         rs.Parent = torso
  154.         ls.Parent = torso
  155.         neck.Parent = torso
  156.         rj.Parent = rootpart
  157.          
  158.          
  159.         if torso:findFirstChild("roblox") then
  160.             local p = Instance.new("Part", char)
  161.             p.FormFactor = "Custom"
  162.             p.Size = torso.Size
  163.             p.Transparency = 1
  164.             p:BreakJoints()
  165.             local w = Instance.new("Weld", char)
  166.             w.Part0 = p
  167.             w.Part1 = torso
  168.             torso:findFirstChild("roblox").Parent = p
  169.         end
  170.          
  171.          
  172.         --[[mesh1 = Instance.new("SpecialMesh", torso)
  173.         mesh1.Name = "Mesh"
  174.         mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  175.         mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  176.         mesh2 = Instance.new("SpecialMesh", la)
  177.         mesh2.Name = "Mesh"
  178.         mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  179.         mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  180.         mesh3 = Instance.new("SpecialMesh", ra)
  181.         mesh3.Name = "Mesh"
  182.         mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  183.         mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  184.         mesh4 = Instance.new("SpecialMesh", ll)
  185.         mesh4.Name = "Mesh"
  186.         mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  187.         mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  188.         mesh5 = Instance.new("SpecialMesh", rl)
  189.         mesh5.Name = "Mesh"
  190.         mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  191.         mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]]
  192.          
  193.          
  194.         --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1
  195.          
  196.         ls.C0 = CFrame.new(-.3,.1,0)
  197.         ls.C1 = CFrame.new(0,.1,0)
  198.         rs.C0 = CFrame.new(.3,.1,0)
  199.         rs.C1 = CFrame.new(0,.1,0)
  200.         rh.C0 = CFrame.new(.1,-.2,0)
  201.         rh.C1 = CFrame.new(0, .2, 0)
  202.         lh.C0 = CFrame.new(-.1,-.2,0)
  203.         lh.C1 = CFrame.new(0, .2, 0)
  204.         neck.C0 = CFrame.new(0,.2,0)
  205.         neck.C1 = CFrame.new(0,-.1,0)
  206.          
  207.         bodyc = char:findFirstChild("Body Colors")
  208.         if bodyc then
  209.             bodyc:Destroy()
  210.         end
  211.      
  212.         wait(1)
  213.          
  214.         local body = {}
  215.         for i,v in pairs(char:children()) do
  216.             if v:IsA'BasePart' then
  217.             print(v.Name)
  218.                 body[v.Name] = {Color = v.BrickColor}
  219.             end
  220.         end
  221.      
  222.         print(body.Torso)
  223.         function restorecolors()
  224.             for _,bp in pairs(char:children()) do
  225.                 if bp:IsA("BasePart") then
  226.                     bp.BrickColor = body[bp.Name].Color
  227.                 end
  228.             end
  229.         end
  230.      
  231.          
  232.         local LightForTorso = Instance.new("PointLight", head)
  233.         LightForTorso.Color = torso.BrickColor.Color
  234.         LightForTorso.Range = 7
  235.         LightForTorso.Brightness = 1.5
  236.          
  237.          
  238.          
  239.          
  240.         local slidecount = 0
  241.         local slidecountmax = 0
  242.         local anim = ""
  243.         local lastanim = anim
  244.         local speed = 0
  245.         local looking = false
  246.         local dancing = false
  247.         local superannoying = false
  248.         local barrelroll = false
  249.         local dubstepgun = false
  250.         local foxie = false
  251.         local durka = false
  252.         local saxguy = false
  253.         local heya = false
  254.         local jb = false
  255.         local bronymusic = false
  256.         local sheddy = false
  257.         local burndem = false
  258.         local global_wait = 0
  259.          
  260.         count = 0
  261.         countspeed = 1
  262.         sine = 0
  263.         sinespeed = 1
  264.          
  265.          
  266.          
  267.         humanoid.WalkSpeed = 11
  268.          
  269.          
  270.          
  271.          
  272.         local colors = {"White", "Really black"}
  273.          
  274.         humanoid.Died:connect(function()
  275.             for cframe_parts = 0, 100 do
  276.                 local p = Instance.new("Part")
  277.                 p.FormFactor = "Custom"
  278.                 p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  279.                 p.Size = Vector3.new(1, 1, 1)
  280.                 Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  281.                 p.Locked = true
  282.                 p.CanCollide = false
  283.                 p.Anchored = true
  284.                 p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  285.                 p.Parent = workspace
  286.             game:service'Debris':AddItem(p, 5)
  287.             coroutine.wrap(function()
  288.             while wait() do
  289.                 if p ~= nil then
  290.                     p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  291.                     p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  292.                     p.Transparency = p.Transparency + 0.015
  293.                 else
  294.                     break
  295.                 end
  296.             end
  297.         end)()
  298.         end
  299.         for _,v in pairs(char:children()) do
  300.             if v:IsA("Part") then
  301.                 v:Destroy()
  302.             end
  303.         end
  304.          
  305.         end)
  306.          
  307.          
  308.         mouse.KeyDown:connect(function(k)
  309.            
  310.             if k == "p" then
  311.                
  312.                 if dancing then return end
  313.                 sitting = not sitting
  314.                 if sitting then
  315.                         local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  316.                 local hitz,enz = workspace:FindPartOnRay(ray, char)
  317.            
  318.                
  319.                      if hitz then
  320.                 humanoid.WalkSpeed = 0
  321.                     coroutine.wrap(function()
  322.                         while wait() do
  323.                             humanoid.PlatformStand = true
  324.                             if sitting == false then humanoid.PlatformStand = false break end
  325.                         end
  326.                     end)()
  327.                 rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  328.                 lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  329.                 rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  330.                 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  331.                 rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  332.                
  333.                       miniweld = Instance.new("Weld", char)
  334.                         miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  335.                         miniweld.Part0 = hitz
  336.                         miniweld.Part1 = rootpart
  337.                     else
  338.                         sitting = false
  339.                         return
  340.                         end
  341.             else
  342.                 if miniweld then
  343.                     miniweld:Destroy()
  344.                 end
  345.                 humanoid.PlatformStand = false
  346.                 humanoid.WalkSpeed = 11
  347.             end
  348.         end
  349.          
  350.             if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  351.                 superannoying = false
  352.                 barrelroll = false
  353.                 heya = false
  354.                 dubstepgun = false
  355.                 youpirate = false
  356.                 canttouch = false
  357.                 gangnam = false
  358.                 sheddy = false
  359.                 durka = false
  360.                 saxguy = false
  361.                 foxie = false
  362.                 burndem = false
  363.                 bronymusic = false
  364.                 brony_music:stop()
  365.                 fox_say:stop()
  366.                 spitfire:stop()
  367.                 heman:stop()
  368.                 justin:stop()
  369.                 jb = false
  370.                 durk:stop()
  371.                         restorecolors()
  372.                 burn_dem:stop()
  373.                 if hat then
  374.                 hat:Destroy()
  375.             end
  376.             sax_guy:stop()
  377.                 gangy_style:stop()
  378.                 cant_touch:stop()
  379.                 you_are_pirate:stop()
  380.                 dubstep_gun:stop()
  381.                 super_annoying:stop()
  382.                 barrel_roll:stop()
  383.                 dancing = false
  384.                 global_wait = 0
  385.                 LightForTorso.Color = torso.BrickColor.Color
  386.             end
  387.            
  388.         if k == "z" then
  389.         if dancing then return end
  390.             if not sitting then
  391.             dancing = true
  392.             superannoying = true
  393.             super_annoying:play()
  394.             end
  395.         end
  396.         if k == "k" then
  397.             if dancing then return end
  398.             if not sitting then
  399.                 dancing = true
  400.                 sheddy = true
  401.                 spitfire:play()
  402.             end
  403.         end
  404.          
  405.         if k == "n" then
  406.         if dancing then return end
  407.             if not sitting then
  408.                 dancing = true
  409.                 gangnam = true
  410.                 gangy_style:play()
  411.             end
  412.         end
  413.          
  414.         if k == "r" then
  415.             if dancing then return end
  416.             if not sitting then
  417.                 dancing = true
  418.                 burndem = true
  419.                 burn_dem:play()
  420.             end
  421.         end
  422.          
  423.          
  424.         if k == "x" then
  425.         if dancing then return end
  426.             if not sitting then
  427.                 dancing = true
  428.             barrelroll = true
  429.             barrel_roll:play()
  430.             hat = Instance.new("Part", char)
  431.             hat.FormFactor = "Custom"
  432.             hat.CanCollide = false
  433.             hat.Size = torso.Size
  434.             hat.Locked = true
  435.             hat:breakJoints()
  436.             local hatmesh = Instance.new("SpecialMesh", hat)
  437.             hatmesh.MeshId = "http://www.roblox.com/asset/?id=29873142"
  438.             hatmesh.TextureId = "http://www.roblox.com/asset/?id=31467063"
  439.             hatmesh.Scale = Vector3.new(.22, .2, .22)
  440.             local hatweld = Instance.new("Weld", hat)
  441.             hatweld.Part0 = hat
  442.             hatweld.Part1 = torso
  443.         end
  444.         end
  445.         if k == "h" then
  446.               if dancing then return end
  447.             if not sitting then
  448.                 dancing = true
  449.                 heman:play()
  450.                 heya = true
  451.             hat = Instance.new("Part", char)
  452.             hat.FormFactor = "Custom"
  453.             hat.CanCollide = false
  454.             hat.Size = torso.Size + Vector3.new(0.01, 0.01, 0.01)
  455.             hat.Locked = true
  456.             hat.BrickColor = BrickColor.new("Hot pink")
  457.             hat:breakJoints()
  458.             local hatweld = Instance.new("Weld", hat)
  459.             hatweld.Part0 = hat
  460.             hatweld.Part1 = torso
  461.         end
  462.         end
  463.         if k == "j" then
  464.             if dancing then return end
  465.             if not sitting then
  466.                 dancing = true
  467.                 justin:play()
  468.                 jb = true
  469.             hat = Instance.new("Part", char)
  470.             hat.FormFactor = "Custom"
  471.             hat.CanCollide = false
  472.             hat.Size = head.Size
  473.             hat.Locked = true
  474.             hat.BrickColor = BrickColor.new("Hot pink")
  475.             hat:breakJoints()
  476.                 local hatmesh = Instance.new("SpecialMesh", hat)
  477.             hatmesh.MeshId = "http://www.roblox.com/asset/?id=19999424"
  478.             hatmesh.TextureId = "http://www.roblox.com/asset/?id=20571982"
  479.             hatmesh.Scale = Vector3.new(.23, .23, .23)
  480.             local hatweld = Instance.new("Weld", hat)
  481.             hatweld.Part0 = hat
  482.             hatweld.Part1 = head
  483.             hatweld.C0 = CFrame.new(0.025, -0.05, 0)
  484.         end
  485.         end
  486.         if k == "c" then
  487.         if dancing then return end
  488.             if not sitting then
  489.                 dancing = true
  490.                 dubstepgun = true
  491.                 dubstep_gun:play()
  492.             end
  493.         end
  494.         if k == "v" then
  495.         if dancing then return end
  496.                 if not sitting then
  497.         dancing = true
  498.         youpirate = true
  499.         you_are_pirate:play()
  500.             hat = Instance.new("Part", char)
  501.             hat.FormFactor = "Custom"
  502.             hat.CanCollide = false
  503.             hat.Size = head.Size
  504.             hat.Locked = true
  505.             hat:breakJoints()
  506.             local hatmesh = Instance.new("SpecialMesh", hat)
  507.             hatmesh.MeshId = "http://www.roblox.com/asset/?id=1028848"
  508.             hatmesh.TextureId = "http://www.roblox.com/asset/?id=1028847"
  509.             hatmesh.Scale = Vector3.new(.2, .2, .2)
  510.             local hatweld = Instance.new("Weld", hat)
  511.             hatweld.Part0 = hat
  512.             hatweld.Part1 = head
  513.             hatweld.C0 = CFrame.new(0, -0.15, 0)
  514.         end
  515.         end
  516.         if k == "m" then
  517.         if dancing then return end
  518.             if not sitting then
  519.             dancing = true
  520.             canttouch = true
  521.             cant_touch:play()
  522.         end
  523.         end
  524.         if k == "b" then
  525.             if dancing then return end
  526.             if not sitting then
  527.                 dancing = true
  528.                 bronymusic = true
  529.                 brony_music:play()
  530.                 for _,bp in pairs(char:children()) do
  531.                     if bp:IsA("BasePart") then
  532.                         bp.BrickColor = BrickColor.new("Lavender")
  533.                     end
  534.             end
  535.             hat = Instance.new("Part", char)
  536.             hat.FormFactor = "Custom"
  537.             hat.CanCollide = false
  538.             hat.Size = head.Size
  539.             hat.Locked = true
  540.             hat.BrickColor = BrickColor.new("Lavender")
  541.             hat:breakJoints()
  542.             local hatmesh = Instance.new("SpecialMesh", hat)
  543.             hatmesh.MeshId = "http://www.roblox.com/asset/?id=118186643"
  544.             hatmesh.Scale = Vector3.new(.1, .2, .1)
  545.             local hatweld = Instance.new("Weld", hat)
  546.             hatweld.Part0 = hat
  547.             hatweld.Part1 = head
  548.             hatweld.C0 = CFrame.new(0, -0.1, 0.05)
  549.             end
  550.         end
  551.          
  552.         if k == "l" then
  553.         if dancing then return end
  554.         if not sitting then
  555.             dancing = true
  556.             foxie = true
  557.             fox_say:play()
  558.             hat = Instance.new("Part", char)
  559.             hat.FormFactor = "Custom"
  560.             hat.CanCollide = false
  561.             hat.Size = head.Size
  562.             hat.Locked = true
  563.             hat:breakJoints()
  564.             local hatmesh = Instance.new("SpecialMesh", hat)
  565.             hatmesh.MeshId = "http://www.roblox.com/asset/?id=25266225"
  566.             hatmesh.TextureId = "http://www.roblox.com/asset/?id=25266210"
  567.             hatmesh.Scale = Vector3.new(.2, .2, .2)
  568.             local hatweld = Instance.new("Weld", hat)
  569.             hatweld.Part0 = hat
  570.             hatweld.Part1 = head
  571.             hatweld.C0 = CFrame.new(0, -0.1, 0)
  572.             end
  573.            
  574.         end
  575.         if k == "f" then
  576.         if dancing then return end
  577.             if not sitting then
  578.             dancing = true
  579.             durka = true
  580.             durk:play()
  581.         end
  582.         end
  583.         if k == "g" then
  584.             if dancing then return end
  585.             if not sitting then
  586.                 dancing = true
  587.                 saxguy = true
  588.                 sax_guy:play()
  589.                     hat = Instance.new("Part", char)
  590.             hat.FormFactor = "Custom"
  591.             hat.CanCollide = false
  592.             hat.Size = head.Size
  593.             hat.Locked = true
  594.             hat:breakJoints()
  595.             local hatmesh = Instance.new("SpecialMesh", hat)
  596.             hatmesh.MeshId = "http://www.roblox.com/asset/?id=44410178"
  597.             hatmesh.TextureId = "http://www.roblox.com/asset/?id=44410320"
  598.             hatmesh.Scale = Vector3.new(.25, .25, .25)
  599.             local hatweld = Instance.new("Weld", hat)
  600.             hatweld.Part0 = hat
  601.             hatweld.Part1 = la
  602.             hatweld.C0 = CFrame.new(-0.18, -0.05, .04) * CFrame.Angles(math.pi - math.rad(18), 0, math.pi/4)
  603.             end
  604.         end
  605.          
  606.            
  607.          
  608.          
  609.             if k == "q" then
  610.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  611.                 if sitting then return end
  612.                 looking = true
  613.                 rj.C0 = CFrame.new(-math.pi/6, 0,0) * CFrame.Angles(0, 0, math.pi/4)
  614.             end
  615.             if k == "e" then
  616.                 if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then return end
  617.                 if sitting then return end
  618.                         looking = true
  619.                 rj.C0 = CFrame.new(math.pi/6, 0,0) * CFrame.Angles(0, 0, -math.pi/4)
  620.             end
  621.             if k == "t" then
  622.                 if dancing then return end
  623.                 if sitting then return end
  624.                 dancing = true
  625.                 aj:play()
  626.             end
  627.             if k == "y" then
  628.                         if sitting then return end
  629.                 humanoid.WalkSpeed = 18
  630.             end
  631.             if k == "=" then
  632.                 if sitting then return end
  633.                 humanoid.WalkSpeed = 6
  634.                 end
  635.         end)
  636.          
  637.         mouse.KeyUp:connect(function(k)
  638.             if k == "u" then
  639.                 if sitting then return end
  640.                 humanoid.WalkSpeed = 11
  641.             end
  642.             if k == "w" or k == "a" or k == "s" or k == "d" or string.byte(k) == 32 then
  643.                 superannoying = false
  644.                 barrelroll = false
  645.                 heya = false
  646.                 dubstepgun = false
  647.                 youpirate = false
  648.                 canttouch = false
  649.                 gangnam = false
  650.                 sheddy = false
  651.                 durka = false
  652.                 saxguy = false
  653.                 foxie = false
  654.                 burndem = false
  655.                 bronymusic = false
  656.                 aj:stop()
  657.                 brony_music:stop()
  658.                 fox_say:stop()
  659.                 spitfire:stop()
  660.                 heman:stop()
  661.                 justin:stop()
  662.                 jb = false
  663.                 durk:stop()
  664.                         restorecolors()
  665.                 burn_dem:stop()
  666.                 if hat then
  667.                 hat:Destroy()
  668.             end
  669.             sax_guy:stop()
  670.                 gangy_style:stop()
  671.                 cant_touch:stop()
  672.                 you_are_pirate:stop()
  673.                 dubstep_gun:stop()
  674.                 super_annoying:stop()
  675.                 barrel_roll:stop()
  676.                 dancing = false
  677.                 global_wait = 0
  678.                 LightForTorso.Color = torso.BrickColor.Color
  679.             end
  680.            
  681.            
  682.                 if k == "q" then
  683.                     if looking then
  684.                 if sitting then return end
  685.                 rj.C0 = CFrame.new()
  686.                 looking = false
  687.                 end
  688.             end
  689.            
  690.                 if k == "e" then
  691.                     if looking then
  692.                 if sitting then return end
  693.                 rj.C0 = CFrame.new()
  694.                         looking = false
  695.                 end
  696.             end
  697.         end)
  698.          
  699.          
  700.         game:service'RunService'.Stepped:connect(function()
  701.             count = (count % 100) + (countspeed/2)
  702.             angle = math.pi * math.sin(math.pi*2/100*count)
  703.          
  704.             if slidecount < slidecountmax then
  705.             slidecount = slidecount + speed
  706.             end
  707.             if slidecount > slidecountmax then
  708.             slidecount = slidecount - speed
  709.             end  
  710.         if global_wait == 380 then global_wait = 0 end
  711.          
  712.         sine = sine + sinespeed
  713.         if not dancing then
  714.                 if not sitting then
  715.                     local ray = Ray.new(rootpart.Position, Vector3.new(0, -1, 0))
  716.             local hitz, enz = workspace:FindPartOnRay(ray, char)
  717.                 if not hitz then
  718.                         ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + angle*0.05, 0, 0)
  719.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles((math.pi/8/5*slidecount) + math.pi + -angle*0.05, 0, 0)
  720.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, 0)
  721.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, 0)
  722.             if not looking then
  723.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  724.             end
  725.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  726.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  727.            
  728.         -- idle anim
  729.          
  730.         anim = "Idle"
  731.         if anim ~= lastanim then
  732.             if lastanim == "Walking" then
  733.                 speed = 0.5
  734.                 slidecount = 1
  735.                 slidecountmax = 0
  736.             elseif lastanim == "Running" then
  737.                 speed = 2.5
  738.                 slidecount = 5
  739.                 slidecountmax = 0
  740.             else
  741.         slidecount = 0
  742.         slidecountmax = 0
  743.         end
  744.         end
  745.         countspeed = 1
  746.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.02, 0, 0)
  747.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.02, 0, 0)
  748.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.01, 0, 0)
  749.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.01, 0, 0)
  750.             if not looking then
  751.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  752.             end
  753.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  754.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 14 then
  755.             looking = false
  756.         -- walk anim
  757.         anim = "Walking"
  758.         if anim ~= lastanim then
  759.         speed = 0.2
  760.         slidecount = 0
  761.         slidecountmax = 1
  762.             if lastanim == "Running" then
  763.                 slidecount = 5
  764.                 end
  765.         end
  766.         countspeed = 6
  767.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.3, 0, math.abs(angle*0.02))
  768.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.3, 0, -math.abs(angle*0.02))
  769.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.28, 0, -math.abs(angle*0.01))
  770.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.28, 0, math.abs(angle*0.01))
  771.             rj.C0 = CFrame.new(0, math.abs(-angle*0.035), 0) * CFrame.Angles(-math.pi/8/5*slidecount, 0, 0)
  772.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  773.         elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 14 then
  774.             --run anim
  775.             anim = "Running"
  776.         if anim ~= lastanim then
  777.         speed = 1
  778.         slidecount = 0
  779.         slidecountmax = 5
  780.             if lastanim == "Walking" then
  781.                 slidecount = 1
  782.             end
  783.         end
  784.          
  785.         looking = false
  786.         countspeed = 9
  787.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(angle*0.4, 0, math.abs(angle*0.07))
  788.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-angle*0.4, 0, -math.abs(angle*0.07))
  789.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-angle*0.38, 0, -math.abs(angle*0.03))
  790.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(angle*0.38, 0, math.abs(angle*0.03))
  791.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.pi/8/5*slidecount, 0, 0)
  792.             rj.C0 = CFrame.new(0, math.abs(-angle*.055), 0) * CFrame.Angles(-math.pi/8/5*slidecount, math.sin(angle*0.05), 0)
  793.         end
  794.          
  795.         lastanim = anim
  796.         else
  797.         countspeed = 1
  798.                     local ray = Ray.new(rootpart.Position, Vector3.new(0, -2, 0))
  799.             local hitz, enz = workspace:FindPartOnRay(ray, char)
  800.                 if not hitz then
  801.                 rj.C0 = CFrame.new(0, -0.5, 0) * CFrame.Angles(-math.pi/2, 0, 0)
  802.                 lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.rad(30), 0, -math.pi/16)
  803.                 rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.rad(30), 0, math.pi/16)
  804.                 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, -math.pi/10)
  805.                 rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.pi-math.rad(30), 0, math.pi/10)
  806.                 else
  807.                 rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  808.                 lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  809.                 rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  810.                 ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  811.                 rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  812.             end
  813.            
  814.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(angle*0.055, 0, 0)
  815.         end
  816.         else
  817.         if superannoying then
  818.         countspeed = 5
  819.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  820.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  821.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  822.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  823.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  824.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  825.         elseif barrelroll then
  826.             countspeed = 5
  827.             sinespeed = 0.1
  828.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.07))
  829.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.07))
  830.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, 0, -math.abs(angle*0.03))
  831.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, 0, math.abs(angle*0.03))
  832.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  833.             rj.C0 = CFrame.new(math.sin(sine)*2.5, 0, 0) * CFrame.Angles(-math.pi/2, math.sin(sine)*4.5, 0)
  834.         elseif dubstepgun then
  835.         global_wait = (global_wait % 380) + 1
  836.             countspeed = 5
  837.             if global_wait < 249 - 40 then
  838.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.27))
  839.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.27))
  840.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  841.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  842.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  843.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  844.         elseif global_wait > 249 - 40 then
  845.                 ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.4, 0, math.abs(angle*0.11))
  846.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  847.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.09))
  848.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.09))
  849.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  850.             rj.C0 = CFrame.new(0, math.abs(-angle*.075), 0) * CFrame.Angles(0, math.pi/3 + math.sin(angle*0.15), 0)
  851.             end
  852.         elseif youpirate then
  853.         global_wait = (global_wait % 380) + 1
  854.             countspeed = 5
  855.             if global_wait < 79 then
  856.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  857.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  858.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  859.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  860.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  861.             rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  862.         elseif global_wait < 299 then
  863.                 ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + angle*0.2, 0, math.abs(angle*0.11))
  864.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, 0, -math.abs(angle*0.11))
  865.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.2, 0, -math.abs(angle*0.1))
  866.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.2, 0, math.abs(angle*0.1))
  867.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), math.sin(angle*0.19), 0)
  868.             rj.C0 = CFrame.new(0, math.abs(-angle*.055+0.2), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  869.         elseif global_wait > 299 then
  870.                 ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, -math.abs(angle*0.07))
  871.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.2, 0, math.abs(angle*0.07))
  872.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  873.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  874.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  875.             rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, math.sin(angle*0.15), 0)
  876.             end
  877.         elseif canttouch then
  878.             countspeed = 5
  879.         global_wait = (global_wait % 160) + 1
  880.         if global_wait == 160 then global_wait = 0 end
  881.             if global_wait < 39 then
  882.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  883.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  884.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  885.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  886.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  887.             rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, -math.pi/6, 0)
  888.         elseif global_wait < 79 then
  889.              ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + angle*0.2, 0, -math.abs(angle*0.07))
  890.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, 0, math.abs(angle*0.07))
  891.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.03))
  892.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.1, 0, math.abs(angle*0.03))
  893.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  894.             rj.C0 = CFrame.new(0, math.abs(-angle*.03), 0) * CFrame.Angles(0, math.pi/6, 0)
  895.         elseif global_wait < 119 then
  896.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(0.01, 0, 0.17)
  897.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  898.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  899.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  900.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  901.             rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  902.             torso.CFrame = torso.CFrame * CFrame.new(0.05, 0, 0)
  903.         elseif global_wait > 119 then
  904.                 ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(0.01, 0, 0.17)
  905.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(0.01, 0, -0.17)
  906.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(0, -math.abs(angle*0.05), -math.abs(angle*0.06))
  907.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(0, -math.abs(angle*0.05), math.abs(angle*0.06))
  908.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  909.             rj.C0 = CFrame.new(0, math.abs(-angle*.02), 0) * CFrame.Angles(0, 0, 0)
  910.             torso.CFrame = torso.CFrame * CFrame.new(-0.05, 0, 0)
  911.         end
  912.         elseif gangnam then
  913.         countspeed = 5
  914.         if global_wait == 180 then global_wait = 0 end
  915.         global_wait = (global_wait % 180) + 1
  916.         if global_wait < 89 then
  917.             ls.C0 = CFrame.new(-.2,.1,-.1)  * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  918.             rs.C0 = CFrame.new(.2,.1,-.1) * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, -math.pi/3 + -math.abs(angle*0.05))
  919.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  920.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  921.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  922.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  923.             elseif global_wait > 89 then
  924.             ls.C0 = CFrame.new(-.2,.1,-.1)  * CFrame.Angles(math.pi/2.5 + math.abs(angle*0.2), 0, math.pi/3 + math.abs(angle*0.05))
  925.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.sin(angle*0.1), 0, -math.sin(angle*0.1))
  926.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  927.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  928.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  929.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  930.         end
  931.         elseif foxie then
  932.         countspeed = 5
  933.         global_wait = (global_wait % 380) + 2
  934.         if global_wait < 89 then
  935.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, -math.abs(angle*0.2))
  936.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + math.abs(angle*0.1), 0, math.abs(angle*0.2))
  937.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  938.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  939.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  940.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.rad(global_wait*4), 0)
  941.             elseif global_wait > 89 then
  942.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.05))
  943.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, -math.abs(angle*0.05))
  944.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(math.abs(angle*0.1), 0, -math.abs(angle*0.03))
  945.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, math.abs(angle*0.03))
  946.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, math.sin(angle*0.1))
  947.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  948.         end
  949.         elseif durka then
  950.         countspeed = 2
  951.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + math.abs(angle*0.2), 0, math.abs(angle*0.07))
  952.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(angle*0.1, 0, -math.abs(angle*0.07))
  953.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, 0, -math.abs(angle*0.03))
  954.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, 0, math.abs(angle*0.03))
  955.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  956.             rj.C0 = CFrame.new(0, math.abs(-angle*.035), 0) * CFrame.Angles(0, math.sin(angle*0.05), 0)
  957.         elseif saxguy then
  958.             countspeed = 5
  959.             ls.C0 = CFrame.new(-.25,.1,-.1)  * CFrame.Angles(math.pi/2.5, 0, math.pi/4)
  960.             rs.C0 = CFrame.new(.25,.1,-.1) * CFrame.Angles(math.rad(60), 0, -math.pi/4)
  961.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(-math.abs(angle*0.1), 0, -0.06)
  962.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-math.abs(angle*0.1), 0, 0.06)
  963.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(0, 0, 0)
  964.             rj.C0 = CFrame.new(0, -math.abs(angle*0.01), math.abs(angle*0.01)) * CFrame.Angles(math.abs(angle*0.1), 0, 0)
  965.         elseif heya then
  966.              countspeed = 5
  967.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi + -angle*0.2, -angle*0.1, 0)
  968.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi + angle*0.2, angle*0.1, 0)
  969.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  970.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  971.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  972.             rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.sin(angle*0.07), 0)
  973.         elseif jb then
  974.                  countspeed = 5
  975.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/2 + -angle*0.2, -angle*0.1, 0)
  976.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/2 + angle*0.2, angle*0.1, 0)
  977.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  978.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  979.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  980.             rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  981.         elseif bronymusic then
  982.                      countspeed = 5
  983.             ls.C0 = CFrame.new(-.1,.1,-.15)  * CFrame.Angles(math.pi/2 + -angle*0.1, -angle*0.1, 0)
  984.             rs.C0 = CFrame.new(.1,.1,-.15) * CFrame.Angles(math.pi/2 + angle*0.1, angle*0.1, 0)
  985.             lh.C0 = CFrame.new(-.1,-.25,0)  * CFrame.Angles(math.pi/2 + angle*0.1, 0, 0)
  986.             rh.C0 = CFrame.new(.1,-.25,0) * CFrame.Angles(math.pi/2 + -angle*0.1, 0, 0)
  987.             neck.C0 = CFrame.new(0,.25,0) * CFrame.Angles(math.pi/2 + math.abs(angle*0.25), 0, 0)
  988.             rj.C0 = CFrame.new(0, -0.2 + math.abs(angle*0.05), 0) * CFrame.Angles(-math.rad(85), 0, 0)
  989.         elseif sheddy then
  990.             countspeed = 7
  991.                 ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  992.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  993.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  994.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  995.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  996.             rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  997.         elseif burndem then
  998.             countspeed = 4
  999.              ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -angle*0.4, -angle*0.1, 0)
  1000.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + angle*0.4, angle*0.1, 0)
  1001.             lh.C0 = CFrame.new(-.1,-.2,0)  * CFrame.Angles(angle*0.05, angle*0.1, -0.06)
  1002.             rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(-angle*0.05, -angle*0.1, 0.06)
  1003.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  1004.             rj.C0 = CFrame.new(0, math.abs(angle*0.05), 0) * CFrame.Angles(0, math.abs(angle*0.1), 0)
  1005.         elseif aj.IsPlaying then
  1006.             countspeed = 5
  1007.             ls.C0 = CFrame.new(-.3,.1,0)  * CFrame.Angles(math.pi/4 + -(angle)*0.4, -angle*0.1, 0)
  1008.             rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(math.pi/4 + (angle)*0.4, -angle*0.1, 0)
  1009.             lh.C0 = CFrame.new(-.1,-.2 - math.cos(count*.025)*.02,0)  * CFrame.Angles(angle*0.05, 0, -0.06)
  1010.             rh.C0 = CFrame.new(.1,-.2+math.cos(count*.025)*.02,0) * CFrame.Angles(-angle*0.05, 0, 0.06)
  1011.             neck.C0 = CFrame.new(0,.2,0) * CFrame.Angles(math.abs(0.2), 0, 0)
  1012.             rj.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.cos(angle*0.1), 0)
  1013.         end
  1014.         end
  1015.         end)
  1016.          
  1017.         Instance.new("ForceField",owner.Character).Visible = false
  1018.         char.Humanoid.MaxHealth = "inf"
  1019.         char.Humanoid.Health = "inf"
  1020.         char.Humanoid.JumpPower = 25
  1021.         plr.Chatted:connect(function(msg)
  1022.             game:service'Chat':Chat(head, msg, 1)
  1023.             if msg == "die/" then
  1024.                 char:breakJoints()
  1025.             end
  1026.         end)
  1027.          
  1028.         end)
  1029.         if not ran and err then
  1030.             print(err)
  1031.         end
  1032. local remote = NLS ([==[
  1033. while wait() do
  1034. --owner.Character.HumanoidRootPart.CFrame = owner.Character.Torso.CFrame
  1035. game:GetService("Workspace").CurrentCamera.CameraSubject = owner.Character.Head
  1036. end
  1037. ]==], owner.Character):WaitForChild 'ServerRemote';
  1038. mouse = owner:GetMouse ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement