Advertisement
Beeish

Untitled

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