Advertisement
wamandnj

Untitled

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