Advertisement
Guest User

no

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