kaualima12

thwfaffchdg346g

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