MaxproGlitcher

script emote fe

Jun 9th, 2022 (edited)
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.57 KB | None | 0 0
  1. local animations = {
  2. ["Dophin Dance"] = 5918726674,
  3. ["Applaud"] = 5915693819,
  4. ["Country Line Dance"] = 5915712534,
  5. ["Floss Dance"] = 5917459365,
  6. ["Panini Dance"] = 5915713518,
  7. ["Rock On"] = 5915714366,
  8. ["Rodeo Dance"] = 5918728267,
  9. ["Break Dance"] = 5915648917,
  10. ["High Wave"] = 5915690960,
  11. ["Holiday Dance"] = 5937558680,
  12. ["Old Town Road Dance"] = 5937560570,
  13. ["Around Town"] = 3303391864,
  14. ["Top Rock"] = 3361276673,
  15. ["Fashionable"] = 3333331310,
  16. ["Robot"] = 3338025566,
  17. ["Twirl"] = 3334968680,
  18. ["Jacks"] = 3338066331,
  19. ["T"] = 3338010159,
  20. ["Shy"] = 3337978742,
  21. ["Monkey"] = 3333499508,
  22. ["Borock's Rage"] = 3236842542,
  23. ["Ud'zal's Summoning"] = 3303161675,
  24. ["Hype Dance"] = 3695333486,
  25. ["Godlike"] = 3337994105,
  26. ["Swoosh"] = 3361481910,
  27. ["Sneaky"] = 3334424322,
  28. ["Side to Side"] = 3333136415,
  29. ["Greatest"] = 3338042785,
  30. ["Louder"] = 3338083565,
  31. ["Beckon"] = 5230598276,
  32. ["Bored"] = 5230599789,
  33. ["Cower"] = 4940563117,
  34. ["Tantrum"] = 5104341999,
  35. ["Hero Landing"] = 5104344710,
  36. ["Confused"] = 4940561610,
  37. ["Jumping Wave"] = 4940564896,
  38. ["Keeping Time"] = 4555808220,
  39. ["Agree"] = 4841397952,
  40. ["Power Blast"] = 4841403964,
  41. ["Disagree"] = 4841401869,
  42. ["Sleep"] = 4686925579,
  43. ["Sad"] = 4841407203,
  44. ["Happy"] = 4841405708,
  45. ["Chicken Dance"] = 4841399916,
  46. ["Bunny Hop"] = 4641985101,
  47. ["Air Dance"] = 4555782893,
  48. ["Curtsy"] = 4555816777,
  49. ["Zombie"] = 4210116953,
  50. ["Fast Hands"] = 4265701731,
  51. ["Baby Dance"] = 4265725525,
  52. ["Celebrate"] = 3338097973,
  53. ["Fancy Feet"] = 3333432454,
  54. ["Y"] = 4349285876,
  55. ["Shuffle"] = 4349242221,
  56. ["Bodybuilder"] = 3333387824,
  57. ["Sandwich Dance"] = 4406555273,
  58. ["Dorky Dance"] = 4212455378,
  59. ["Heisman Pose"] = 3695263073,
  60. ["Superhero Reveal"] = 3695373233,
  61. ["Dizzy"] = 3361426436,
  62. ["Get Out"] = 3333272779,
  63. ["Fishing"] = 3334832150,
  64. ["Tree"] = 4049551434,
  65. ["Line Dance"] = 4049037604,
  66. ["Idol"] = 4101966434,
  67. ["Haha"] = 3337966527,
  68. ["Salute"] = 3333474484,
  69. ["Hello"] = 3344650532,
  70. ["Air Guitar"] = 3695300085,
  71. ["Cha Cha"] = 3695322025,
  72. ["Shrug"] = 3334392772,
  73. ["Point2"] = 3344585679,
  74. ["Tilt"] = 3334538554,
  75. ["Stadium"] = 3338055167
  76. }
  77.  
  78. local plr = game.Players.LocalPlayer
  79. local LoganWS = Instance.new('Folder', game)
  80. LoganWS.Name = 'LoganWS'
  81.  
  82. local buttonHolder = Instance.new('Folder', LoganWS)
  83. buttonHolder.Name = "Buttons"
  84.  
  85.  
  86. local Animations = Instance.new("ScreenGui")
  87. local MainFrame = Instance.new("Frame")
  88. local UIGradient = Instance.new("UIGradient")
  89. local Title = Instance.new("TextLabel")
  90. local SearchBox = Instance.new("TextBox")
  91. local Container = Instance.new("ScrollingFrame")
  92. local Button = Instance.new("TextButton")
  93. local UIListLayout = Instance.new("UIListLayout")
  94. local UIListLayout2 = Instance.new("UIListLayout")
  95. local UIListLayout3 = Instance.new("UIListLayout")
  96. local StopAnim = Instance.new("TextButton")
  97. local PauseAnim = Instance.new("TextButton")
  98. local ReplayAnim = Instance.new("TextButton")
  99. local ReverseAnim = Instance.new("TextButton")
  100. local Exit = Instance.new("TextButton")
  101. local Mini = Instance.new("TextButton")
  102. local titleFrame = Instance.new("Frame")
  103. local slideFrame = Instance.new("Frame")
  104. local SlideBar = Instance.new("Frame")
  105. local SlideButton = Instance.new("TextButton")
  106. local creds = Instance.new("TextLabel")
  107.  
  108. Animations.Name = "Animations"
  109. Animations.Parent = plr:WaitForChild("PlayerGui")
  110.  
  111. MainFrame.Name = "MainFrame"
  112. MainFrame.Parent = Animations
  113. MainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  114. MainFrame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  115. MainFrame.BorderSizePixel = 0
  116. MainFrame.Position = UDim2.new(0.4, 0, 0.2, 0)
  117. MainFrame.Size = UDim2.new(0.135, 0, 0.6, 0)
  118.  
  119. titleFrame.Name = "TitleFrame"
  120. titleFrame.Parent = MainFrame
  121. titleFrame.BorderSizePixel = 0
  122. titleFrame.LayoutOrder = 0
  123. titleFrame.BackgroundTransparency = 1
  124. titleFrame.Size = UDim2.new(1, 0, 0.05, 0)
  125.  
  126. slideFrame.Name = "SlideFrame"
  127. slideFrame.Parent = MainFrame
  128. slideFrame.BorderSizePixel = 0
  129. slideFrame.LayoutOrder = 3
  130. slideFrame.BackgroundTransparency = 1
  131. slideFrame.Size = UDim2.new(1, 0, 0.05, 0)
  132.  
  133. UIListLayout3.Parent = titleFrame
  134. UIListLayout3.FillDirection = Enum.FillDirection.Horizontal
  135. UIListLayout3.SortOrder = Enum.SortOrder.LayoutOrder
  136.  
  137. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(102, 45, 113)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(197, 66, 110))}
  138. UIGradient.Parent = MainFrame
  139.  
  140. Title.Name = "Title"
  141. Title.Parent = titleFrame
  142. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  143. Title.BackgroundTransparency = 1.000
  144. Title.Size = UDim2.new(0.8, 0, 1, 0)
  145. Title.Font = Enum.Font.GothamSemibold
  146. Title.Text = "Emotes"
  147. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  148. Title.TextScaled = true
  149. Title.TextSize = 14.000
  150. Title.TextWrapped = true
  151. Title.LayoutOrder = 0
  152.  
  153. creds.Name = "Creds"
  154. creds.Parent = MainFrame
  155. creds.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  156. creds.BackgroundTransparency = 1.000
  157. creds.Size = UDim2.new(1, 0, 0.05, 0)
  158. creds.Font = Enum.Font.GothamSemibold
  159. creds.Text = "By LoganRMX and Maku"
  160. creds.TextColor3 = Color3.fromRGB(255, 255, 255)
  161. creds.TextScaled = true
  162. creds.TextSize = 14.000
  163. creds.TextWrapped = true
  164. creds.LayoutOrder = 8
  165.  
  166. SearchBox.Name = "SearchBox"
  167. SearchBox.Parent = MainFrame
  168. SearchBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  169. SearchBox.BackgroundTransparency = 0.750
  170. SearchBox.BorderSizePixel = 0
  171. SearchBox.Size = UDim2.new(1, 0, 0.045, 0)
  172. SearchBox.Font = Enum.Font.GothamSemibold
  173. SearchBox.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  174. SearchBox.PlaceholderText = "Search bar..."
  175. SearchBox.Text = ""
  176. SearchBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  177. SearchBox.TextScaled = true
  178. SearchBox.TextSize = 14.000
  179. SearchBox.TextWrapped = true
  180. SearchBox.LayoutOrder = 1
  181.  
  182. Container.Name = "Container"
  183. Container.Parent = MainFrame
  184. Container.Active = true
  185. Container.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  186. Container.BackgroundTransparency = 0.750
  187. Container.BorderSizePixel = 0
  188. Container.Size = UDim2.new(1, 0, 0.5, 0)
  189. Container.ScrollBarThickness = 5
  190. Container.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  191. Container.LayoutOrder = 2
  192.  
  193. Button.Name = "Button"
  194. Button.Parent = LoganWS
  195. Button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  196. Button.BackgroundTransparency = 0.850
  197. Button.BorderSizePixel = 0
  198. Button.Size = UDim2.new(1, 0, 0, 38)
  199. Button.Font = Enum.Font.GothamSemibold
  200. Button.Text = "Test"
  201. Button.TextColor3 = Color3.fromRGB(255, 255, 255)
  202. Button.TextScaled = true
  203. Button.TextSize = 14.000
  204. Button.TextWrapped = true
  205.  
  206. UIListLayout.Parent = Container
  207. UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  208. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  209. UIListLayout.Padding = UDim.new(0, 5)
  210.  
  211. UIListLayout2.Parent = MainFrame
  212. UIListLayout2.HorizontalAlignment = Enum.HorizontalAlignment.Center
  213. UIListLayout2.SortOrder = Enum.SortOrder.LayoutOrder
  214. UIListLayout2.Padding = UDim.new(0, 5)
  215.  
  216. ReverseAnim.Name = "ReverseAnim"
  217. ReverseAnim.Parent = MainFrame
  218. ReverseAnim.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  219. ReverseAnim.BackgroundTransparency = 0.750
  220. ReverseAnim.BorderColor3 = Color3.fromRGB(27, 42, 53)
  221. ReverseAnim.BorderSizePixel = 0
  222. ReverseAnim.LayoutOrder = 4
  223. ReverseAnim.Size = UDim2.new(0.85, 0, 0.06, 0)
  224. ReverseAnim.Font = Enum.Font.GothamSemibold
  225. ReverseAnim.Text = "Reverse animation"
  226. ReverseAnim.TextColor3 = Color3.fromRGB(255, 255, 255)
  227. ReverseAnim.TextScaled = true
  228. ReverseAnim.TextSize = 14.000
  229. ReverseAnim.TextWrapped = true
  230.  
  231. StopAnim.Name = "StopAnim"
  232. StopAnim.Parent = MainFrame
  233. StopAnim.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  234. StopAnim.BackgroundTransparency = 0.750
  235. StopAnim.BorderColor3 = Color3.fromRGB(27, 42, 53)
  236. StopAnim.BorderSizePixel = 0
  237. StopAnim.LayoutOrder = 5
  238. StopAnim.Size = UDim2.new(0.85, 0, 0.06, 0)
  239. StopAnim.Font = Enum.Font.GothamSemibold
  240. StopAnim.Text = "Stop animation"
  241. StopAnim.TextColor3 = Color3.fromRGB(255, 255, 255)
  242. StopAnim.TextScaled = true
  243. StopAnim.TextSize = 14.000
  244. StopAnim.TextWrapped = true
  245.  
  246. PauseAnim.Name = "PauseAnim"
  247. PauseAnim.Parent = MainFrame
  248. PauseAnim.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  249. PauseAnim.BackgroundTransparency = 0.750
  250. PauseAnim.BorderColor3 = Color3.fromRGB(27, 42, 53)
  251. PauseAnim.BorderSizePixel = 0
  252. PauseAnim.Size = UDim2.new(0, 219, 0, 28)
  253. PauseAnim.Font = Enum.Font.GothamSemibold
  254. PauseAnim.Text = "Pause Game Animations"
  255. PauseAnim.TextColor3 = Color3.fromRGB(255, 255, 255)
  256. PauseAnim.TextScaled = true
  257. PauseAnim.TextSize = 14.000
  258. PauseAnim.TextWrapped = true
  259. PauseAnim.LayoutOrder = 6
  260.  
  261. ReplayAnim.Name = "ReplayAnim"
  262. ReplayAnim.Parent = MainFrame
  263. ReplayAnim.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  264. ReplayAnim.BackgroundTransparency = 0.750
  265. ReplayAnim.BorderColor3 = Color3.fromRGB(27, 42, 53)
  266. ReplayAnim.BorderSizePixel = 0
  267. ReplayAnim.Size = UDim2.new(0, 219, 0, 28)
  268. ReplayAnim.Font = Enum.Font.GothamSemibold
  269. ReplayAnim.Text = "Replay Game Animations"
  270. ReplayAnim.TextColor3 = Color3.fromRGB(255, 255, 255)
  271. ReplayAnim.TextScaled = true
  272. ReplayAnim.TextSize = 14.000
  273. ReplayAnim.TextWrapped = true
  274. ReplayAnim.LayoutOrder = 7
  275.  
  276. Exit.Name = "Exit"
  277. Exit.Parent = titleFrame
  278. Exit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  279. Exit.BackgroundTransparency = 1.000
  280. Exit.Size = UDim2.new(0.1, 0, 0.7, 0)
  281. Exit.Font = Enum.Font.GothamSemibold
  282. Exit.Text = "X"
  283. Exit.TextColor3 = Color3.fromRGB(255, 255, 255)
  284. Exit.TextScaled = true
  285. Exit.TextSize = 14.000
  286. Exit.TextWrapped = true
  287. Exit.LayoutOrder = 2
  288.  
  289. Mini.Name = "Mini"
  290. Mini.Parent = titleFrame
  291. Mini.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  292. Mini.BackgroundTransparency = 1.000
  293. Mini.Size = UDim2.new(0.1, 0, 0.7, 0)
  294. Mini.Font = Enum.Font.GothamSemibold
  295. Mini.Text = "-"
  296. Mini.TextColor3 = Color3.fromRGB(255, 255, 255)
  297. Mini.TextScaled = true
  298. Mini.TextSize = 14.000
  299. Mini.TextWrapped = true
  300. Mini.LayoutOrder = 1
  301.  
  302. SlideBar.Name = "SlideBar"
  303. SlideBar.Parent = slideFrame
  304. SlideBar.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  305. SlideBar.BackgroundTransparency = 0.750
  306. SlideBar.BorderSizePixel = 0
  307. SlideBar.Size = UDim2.new(1, 0, 0.3, 0)
  308. SlideBar.AnchorPoint = Vector2.new(0.5,0.5)
  309. SlideBar.Position = UDim2.new(0.5,0,0.5,0)
  310.  
  311.  
  312. SlideButton.Name = "SlideButton"
  313. SlideButton.Parent = SlideBar
  314. SlideButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  315. SlideButton.BorderSizePixel = 0
  316. SlideButton.Position = UDim2.new(0.5, 0, -1.5, 0)
  317. SlideButton.Size = UDim2.new(0, 10, 0, 26)
  318. SlideButton.Font = Enum.Font.SourceSans
  319. SlideButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  320. SlideButton.TextSize = 14.000
  321. SlideButton.TextTransparency = 1.000
  322.  
  323. MainFrame.Active = true
  324. MainFrame.Draggable = true
  325.  
  326. local LayOut = 0
  327. local CurrentAni = nil
  328. local neg = false
  329.  
  330.  
  331. function StopAnims()
  332. for _,v in pairs(animations) do
  333. v:Stop()
  334. end
  335. end
  336.  
  337. function LoadAnims()
  338. for i,v in pairs(animations) do
  339. local Anim = Instance.new("Animation", LoganWS)
  340. Anim.AnimationId = "rbxassetid://"..v
  341. animations[i] = plr.Character.Humanoid:LoadAnimation(Anim)
  342. CreateButton(i)
  343. end
  344. end
  345.  
  346. function Snap(number, factor)
  347. if factor == 0 then
  348. return number
  349. else
  350. return math.floor(number/factor+0.5)*factor
  351. end
  352. end
  353.  
  354. function AutoScale()
  355. local number = (#Container:GetChildren()-1)*38
  356. number = number + (#Container:GetChildren()-1)*5
  357. Container.CanvasSize = UDim2.new(0,0,0,number)
  358. end
  359.  
  360.  
  361.  
  362. function CreateButton(AnimationName)
  363. local ButtonClone = Button:Clone()
  364. ButtonClone.LayoutOrder = LayOut
  365. LayOut = LayOut + 1
  366. ButtonClone.Parent = buttonHolder
  367. ButtonClone.Name = AnimationName
  368. ButtonClone.Text = AnimationName
  369. ButtonClone.MouseButton1Click:Connect(function()
  370. StopAnims()
  371. CurrentAni = animations[ButtonClone.Name]
  372. CurrentAni:Play()
  373. end)
  374. end
  375.  
  376. function FindAnim()
  377. local text = string.lower(SearchBox.Text)
  378. if SearchBox.Text == "" or SearchBox.Text == nil then
  379. for _,v in pairs(buttonHolder:GetChildren()) do
  380. v.Parent = Container
  381. end
  382. else
  383. for i,v in pairs(buttonHolder:GetChildren()) do
  384. if string.find(string.lower(v.Name), text) then
  385. v.Parent = Container
  386. end
  387. end
  388. for i,v in pairs(Container:GetChildren()) do
  389. if not string.find(string.lower(v.Name), text) and v.Name ~= "UIListLayout" then
  390. v.Parent = buttonHolder
  391. end
  392. end
  393. end
  394. end
  395.  
  396. ReverseAnim.MouseButton1Click:Connect(function()
  397. neg = not neg
  398. end)
  399. StopAnim.MouseButton1Click:Connect(StopAnims)
  400. PauseAnim.MouseButton1Click:Connect(function()
  401. plr.Character.Animate.Disabled = true
  402. end)
  403. ReplayAnim.MouseButton1Click:Connect(function()
  404. plr.Character.Animate.Disabled = false
  405. end)
  406.  
  407. local TS = game:GetService("TweenService")
  408. local tweenclose = TS:Create(MainFrame, TweenInfo.new(1), {Size = UDim2.new(0.135, 0, 0.03, 0)})
  409. local tweenclose2 = TS:Create(titleFrame, TweenInfo.new(1), {Size = UDim2.new(1, 0, 1, 0)})
  410. local tweenopen = TS:Create(MainFrame, TweenInfo.new(1), {Size = UDim2.new(0.135, 0, 0.6, 0)})
  411. local tweenopen2 = TS:Create(titleFrame, TweenInfo.new(1), {Size = UDim2.new(1, 0, 0.05, 0)})
  412. local open = true
  413. Mini.MouseButton1Click:Connect(function()
  414. if open then
  415. Mini.Text = "o"
  416. for _,v in pairs(MainFrame:GetChildren()) do
  417. if v.Name ~= titleFrame.Name and not string.find(v.Name, "UI") then
  418. v.Visible = false
  419. end
  420. end
  421. tweenclose:Play()
  422. tweenclose2:Play()
  423. else
  424. Mini.Text = "-"
  425. for _,v in pairs(MainFrame:GetChildren()) do
  426. if not string.find(v.Name, "UI") then
  427. v.Visible = true
  428. end
  429. end
  430. tweenopen:Play()
  431. tweenopen2:Play()
  432. end
  433. open = not open
  434. end)
  435.  
  436. LoadAnims()
  437.  
  438.  
  439.  
  440. local held = false
  441. SlideButtonPos = SlideButton.Position
  442. local UIS = game:GetService("UserInputService")
  443. local RuS = game:GetService("RunService")
  444. local step = 0.01
  445. local percentage = 0
  446.  
  447. UIS.InputEnded:connect(function(input, processed)
  448. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  449. held = false
  450. end
  451. end)
  452.  
  453. SlideButton.MouseButton1Down:Connect(function()
  454. held = true
  455. end)
  456.  
  457. local con = RuS.RenderStepped:connect(function()
  458. if held then
  459. local MousePos = UIS:GetMouseLocation().X
  460. local BtnPos = SlideButton.Position
  461. local SliderSize = SlideBar.AbsoluteSize.X
  462. local SliderPos = SlideBar.AbsolutePosition.X
  463. local pos = Snap((MousePos-SliderPos)/SliderSize,step)
  464. percentage = math.clamp(pos,0,0.96)
  465. SlideButton.Position = UDim2.new(percentage,0,BtnPos.Y.Scale, BtnPos.Y.Offset)
  466. end
  467. local axis = SlideButton.Position.X.Scale*2
  468. if neg then
  469. axis = -axis
  470. end
  471. if CurrentAni ~= nil then
  472. CurrentAni:AdjustSpeed(axis)
  473. end
  474. FindAnim()
  475. AutoScale()
  476. end)
  477.  
  478. Exit.MouseButton1Click:Connect(function()
  479. StopAnims()
  480. plr.Character.Animate.Disabled = false
  481. Animations:Destroy()
  482. LoganWS:Destroy()
  483. con:Disconnect()
  484. end)
Add Comment
Please, Sign In to add comment