Advertisement
lafur

Untitled

Feb 26th, 2019
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end local ran,err = ypcall(function()
  6. plr = game:service'Players'.LocalPlayer
  7. char = plr.Character
  8. mouse = plr:GetMouse()
  9. humanoid = char:findFirstChild("Humanoid")
  10. torso = char:findFirstChild("Torso")
  11. head = char.Head
  12. ra = char:findFirstChild("Right Arm")
  13. la = char:findFirstChild("Left Arm")
  14. rl = char:findFirstChild("Right Leg")
  15. ll = char:findFirstChild("Left Leg")
  16. rs = torso:findFirstChild("Right Shoulder")
  17. ls = torso:findFirstChild("Left Shoulder")
  18. rh = torso:findFirstChild("Right Hip")
  19. lh = torso:findFirstChild("Left Hip")
  20. neck = torso:findFirstChild("Neck")
  21. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  22. anim = char:findFirstChild("Animate")
  23. rootpart = char:findFirstChild("HumanoidRootPart")
  24. camera = workspace.CurrentCamera
  25. do --Removing ROBLOX's new Looped bug >_>
  26. local function rec(x)
  27. for i,v in pairs(x:children()) do
  28. if v:IsA'Animation' then
  29. v.AnimationId = 'rbxassetid://28159255'
  30. end
  31. rec(v)
  32. end
  33. end
  34. rec(anim) --the Animate script
  35. end
  36.  
  37. humanoid.Jump = true
  38.  
  39. wait(.4)
  40.  
  41.  
  42. if anim then
  43. anim:Destroy()
  44. end
  45.  
  46.  
  47. rj.C0 = CFrame.new()
  48. rj.C1 = CFrame.new()
  49.  
  50.  
  51. super_annoying = Instance.new("Sound", head)
  52. super_annoying.SoundId = "http://www.roblox.com/asset/?id=265576262"
  53. super_annoying.Volume = 0.6
  54. super_annoying.Looped = true
  55. barrel_roll = Instance.new("Sound", head)
  56. barrel_roll.SoundId = "http://www.roblox.com/asset/?id=298676114"
  57. barrel_roll.Volume = 1
  58. barrel_roll.Looped = true
  59. dubstep_gun = Instance.new("Sound", head)
  60. dubstep_gun.SoundId = "http://www.roblox.com/asset/?id=446666978"
  61. dubstep_gun.Volume = 0.6
  62. dubstep_gun.Looped = true
  63. you_are_pirate = Instance.new("Sound", head)
  64. you_are_pirate.SoundId = "http://www.roblox.com/asset/?id=404698306"
  65. you_are_pirate.Volume = 0.6
  66. you_are_pirate.Looped = true
  67. cant_touch = Instance.new("Sound", head)
  68. cant_touch.SoundId = "http://www.roblox.com/asset/?id=305234447"
  69. cant_touch.Volume = 1
  70. cant_touch.Looped = true
  71. gangy_style = Instance.new("Sound", head)
  72. gangy_style.SoundId = "http://www.roblox.com/asset/?id=333361404"
  73. gangy_style.Volume = 0.6
  74. gangy_style.Looped = true
  75. fox_say = Instance.new("Sound", head)
  76. fox_say.SoundId = "http://www.roblox.com/asset/?id=169827397"
  77. fox_say.Volume = 0.5
  78. fox_say.Looped = true
  79. durk = Instance.new("Sound", head)
  80. durk.SoundId = "http://www.roblox.com/asset/?id=222274242"
  81. durk.Volume = 0.8
  82. durk.Looped = true
  83. sax_guy = Instance.new("Sound", head)
  84. sax_guy.SoundId = "http://www.roblox.com/asset/?id=142435403"
  85. sax_guy.Volume = 0.6
  86. sax_guy.Looped = true
  87. heman = Instance.new("Sound", head)
  88. heman.SoundId = "http://www.roblox.com/asset/?id=458008883"
  89. heman.Volume = 1
  90. heman.Looped = true
  91. justin = Instance.new("Sound", head)
  92. justin.SoundId = "http://www.roblox.com/asset/?id=373307815"
  93. justin.Volume = 0.8
  94. justin.Looped = true
  95. brony_music = Instance.new("Sound", head)
  96. brony_music.SoundId = "http://www.roblox.com/asset/?id=379496294"
  97. brony_music.Volume = 1
  98. brony_music.Looped = true
  99. spitfire = Instance.new("Sound", head)
  100. spitfire.SoundId = "http://www.roblox.com/asset/?id=406250345"
  101. spitfire.Volume = 0.8
  102. spitfire.Looped = true
  103. burn_dem = Instance.new("Sound", head)
  104. burn_dem.SoundId = "http://www.roblox.com/asset/?id=143808239"
  105. burn_dem.Volume = 1
  106. burn_dem.Looped = true
  107. aj = Instance.new("Sound", head)
  108. aj.SoundId = "rbxassetid://414845336"
  109. aj.Volume = 1
  110. aj.Looped = true
  111.  
  112. Instance.new("HumanoidController", game:service'ControllerService')
  113. Instance.new("SkateboardController", game:service'ControllerService')
  114. Instance.new("VehicleController", game:service'ControllerService')
  115.  
  116.  
  117.  
  118.  
  119. --minimize
  120. rh.Parent = nil
  121. lh.Parent = nil
  122. rs.Parent = nil
  123. ls.Parent = nil
  124. neck.Parent = nil
  125. rj.Parent = nil
  126.  
  127.  
  128. rl.FormFactor = "Custom"
  129. ll.FormFactor = "Custom"
  130. ra.FormFactor = "Custom"
  131. la.FormFactor = "Custom"
  132. torso.FormFactor = "Custom"
  133. head.FormFactor = "Custom"
  134. rootpart.FormFactor = "Custom"
  135.  
  136.  
  137.  
  138.  
  139. rootpart.Size = Vector3.new(20.4, 20.4, 20.2)
  140. rl.Size = Vector3.new(20.2, 20.4, 20.2)
  141. ll.Size = Vector3.new(20.2, 20.4, 20.2)
  142. ra.Size = Vector3.new(20.2, 20.4, 20.2)
  143. la.Size = Vector3.new(20.2, 20.4, 20.2)
  144. torso.Size = Vector3.new(20.4, 20.4, 20.2)
  145. head.Size = Vector3.new(20.4, 20.2, 20.2)
  146.  
  147. rh.Parent = torso
  148. lh.Parent = torso
  149. rs.Parent = torso
  150. ls.Parent = torso
  151. neck.Parent = torso
  152. rj.Parent = rootpart
  153.  
  154.  
  155. if torso:findFirstChild("roblox") then
  156. local p = Instance.new("Part", char)
  157. p.FormFactor = "Custom"
  158. p.Size = torso.Size
  159. p.Transparency = 1
  160. p:BreakJoints()
  161. local w = Instance.new("Weld", char)
  162. w.Part0 = p
  163. w.Part1 = torso
  164. torso:findFirstChild("roblox").Parent = p
  165. end
  166.  
  167.  
  168. --[[mesh1 = Instance.new("SpecialMesh", torso)
  169. mesh1.Name = "Mesh"
  170. mesh1.Scale = torso.Size - Vector3.new(torso.Size.x/2, torso.Size.y/2, 0)
  171. mesh1.MeshId = "rbxasset://fonts/torso.mesh"
  172. mesh2 = Instance.new("SpecialMesh", la)
  173. mesh2.Name = "Mesh"
  174. mesh2.Scale = la.Size - Vector3.new(0, la.Size.y/2, 0)
  175. mesh2.MeshId = "rbxasset://fonts/leftarm.mesh"
  176. mesh3 = Instance.new("SpecialMesh", ra)
  177. mesh3.Name = "Mesh"
  178. mesh3.Scale = ra.Size - Vector3.new(0, ra.Size.y/2, 0)
  179. mesh3.MeshId = "rbxasset://fonts/rightarm.mesh"
  180. mesh4 = Instance.new("SpecialMesh", ll)
  181. mesh4.Name = "Mesh"
  182. mesh4.Scale = ll.Size - Vector3.new(0, ll.Size.y/2, 0)
  183. mesh4.MeshId = "rbxasset://fonts/leftleg.mesh"
  184. mesh5 = Instance.new("SpecialMesh", rl)
  185. mesh5.Name = "Mesh"
  186. mesh5.Scale = rl.Size - Vector3.new(0, rl.Size.y/2, 0)
  187. mesh5.MeshId = "rbxasset://fonts/rightleg.mesh"--]]
  188.  
  189.  
  190. --0.3 = 1.5, 0.1 = 0.5, 0.2 = 1
  191.  
  192. ls.C0 = CFrame.new(-.3,.1,0)
  193. ls.C1 = CFrame.new(0,.1,0)
  194. rs.C0 = CFrame.new(.3,.1,0)
  195. rs.C1 = CFrame.new(0,.1,0)
  196. rh.C0 = CFrame.new(.1,-.2,0)
  197. rh.C1 = CFrame.new(0, .2, 0)
  198. lh.C0 = CFrame.new(-.1,-.2,0)
  199. lh.C1 = CFrame.new(0, .2, 0)
  200. neck.C0 = CFrame.new(0,.2,0)
  201. neck.C1 = CFrame.new(0,-.1,0)
  202.  
  203. bodyc = char:findFirstChild("Body Colors")
  204. if bodyc then
  205. bodyc:Destroy()
  206. end
  207.  
  208. wait(1)
  209.  
  210. local body = {}
  211. for i,v in pairs(char:children()) do
  212. if v:IsA'BasePart' then
  213. print(v.Name)
  214. body[v.Name] = {Color = v.BrickColor}
  215. end
  216. end
  217.  
  218. print(body.Torso)
  219. function restorecolors()
  220. for _,bp in pairs(char:children()) do
  221. if bp:IsA("BasePart") then
  222. bp.BrickColor = body[bp.Name].Color
  223. end
  224. end
  225. end
  226.  
  227.  
  228. local LightForTorso = Instance.new("PointLight", head)
  229. LightForTorso.Color = torso.BrickColor.Color
  230. LightForTorso.Range = 7
  231. LightForTorso.Brightness = 1.5
  232.  
  233.  
  234.  
  235.  
  236. local slidecount = 0
  237. local slidecountmax = 0
  238. local anim = ""
  239. local lastanim = anim
  240. local speed = 0
  241. local looking = false
  242. local dancing = false
  243. local superannoying = false
  244. local barrelroll = false
  245. local dubstepgun = false
  246. local foxie = false
  247. local durka = false
  248. local saxguy = false
  249. local heya = false
  250. local jb = false
  251. local bronymusic = false
  252. local sheddy = false
  253. local burndem = false
  254. local global_wait = 0
  255.  
  256. count = 0
  257. countspeed = 1
  258. sine = 0
  259. sinespeed = 1
  260.  
  261.  
  262.  
  263. humanoid.WalkSpeed = 11
  264.  
  265.  
  266. local controllerService = game:GetService("ControllerService")
  267. local controller = controllerService:GetChildren()[1]
  268.  
  269.  
  270. local colors = {"White", "Really black"}
  271.  
  272. humanoid.Died:connect(function()
  273. for cframe_parts = 0, 100 do
  274. local p = Instance.new("Part")
  275. p.FormFactor = "Custom"
  276. p.BrickColor = BrickColor.new(colors[math.random(1, #colors)])
  277. p.Size = Vector3.new(1, 1, 1)
  278. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  279. p.Locked = true
  280. p.CanCollide = false
  281. p.Anchored = true
  282. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-36, 36),math.random(-36, 36),math.random(-36, 36))
  283. p.Parent = workspace
  284. game:service'Debris':AddItem(p, 5)
  285. coroutine.wrap(function()
  286. while wait() do
  287. if p ~= nil then
  288. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  289. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  290. p.Transparency = p.Transparency + 0.015
  291. else
  292. break
  293. end
  294. end
  295. end)()
  296. end
  297. for _,v in pairs(char:children()) do
  298. if v:IsA("Part") then
  299. v:Destroy()
  300. end
  301. end
  302.  
  303. end)
  304.  
  305.  
  306. mouse.KeyDown:connect(function(k)
  307.  
  308. if string.byte(k) == 50 then
  309.  
  310. if dancing then return end
  311. sitting = not sitting
  312. if sitting then
  313. local ray = Ray.new(torso.Position, Vector3.new(0, -1, 0))
  314. local hitz,enz = workspace:FindPartOnRay(ray, char)
  315.  
  316.  
  317. if hitz then
  318. controller.Parent = nil
  319. humanoid.WalkSpeed = 0
  320. coroutine.wrap(function()
  321. while wait() do
  322. humanoid.PlatformStand = true
  323. if sitting == false then humanoid.PlatformStand = false break end
  324. end
  325. end)()
  326. rj.C0 = CFrame.new(0, -0.35, 0) * CFrame.Angles(math.rad(10), 0, 0)
  327. lh.C0 = CFrame.new(-.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, -math.pi/16)
  328. rh.C0 = CFrame.new(.1,-.2,0) * CFrame.Angles(math.pi/2-math.rad(10), 0, math.pi/16)
  329. ls.C0 = CFrame.new(-.3,.1,0) * CFrame.Angles(-math.rad(10), 0, -math.pi/10)
  330. rs.C0 = CFrame.new(.3,.1,0) * CFrame.Angles(-math.rad(10), 0, math.pi/10)
  331.  
  332. miniweld = Instance.new("Weld", char)
  333. miniweld.C0 = hitz.CFrame:toObjectSpace(rootpart.CFrame)
  334. miniweld.Part0 = hitz
  335. miniweld.Part1 = rootpart
  336. else
  337. sitting = false
  338. return
  339. end
  340. else
  341. if miniweld then
  342. miniweld:Destroy()
  343. end
  344. controller.Parent = controllerService
  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 string.byte(k) == 48 or string.byte(k) == 47 then
  628. if sitting then return end
  629. humanoid.WalkSpeed = 18
  630. end
  631. if string.byte(k) == 52 then
  632. if sitting then return end
  633. humanoid.WalkSpeed = 6
  634. end
  635. end)
  636.  
  637. mouse.KeyUp:connect(function(k)
  638. if string.byte(k) == 48 or string.byte(k) == 47 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.  
  1018. plr.Chatted:connect(function(msg)
  1019. game:service'Chat':Chat(head, msg, 1)
  1020. if msg == "die/" then
  1021. char:breakJoints()
  1022. end
  1023. end)
  1024.  
  1025. end)
  1026. if not ran and err then
  1027. print(err)
  1028. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement