Advertisement
Abejaron23

Untitled

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