Advertisement
blazerscript

Untitled

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