lafur

Untitled

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