Advertisement
Guest User

Dance gui by HeandersBees (for funny, and very good friend)

a guest
Aug 1st, 2019
6,226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.51 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Danceguinotvirusandattack = Instance.new("ScreenGui")
  5. local TextButton = Instance.new("TextButton")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9. local TextButton_2 = Instance.new("TextButton")
  10. local TextButton_3 = Instance.new("TextButton")
  11. local TextButton_4 = Instance.new("TextButton")
  12. local TextLabel_3 = Instance.new("TextLabel")
  13. --Properties:
  14. Danceguinotvirusandattack.Name = "Dance gui (not virus and attack)"
  15. Danceguinotvirusandattack.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16.  
  17. TextButton.Parent = Danceguinotvirusandattack
  18. TextButton.AnchorPoint = Vector2.new(0.5, 0.5)
  19. TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
  20. TextButton.BorderColor3 = Color3.new(0.239216, 0.72549, 0)
  21. TextButton.Position = UDim2.new(0.0826330632, 0, 0.965139449, 0)
  22. TextButton.Size = UDim2.new(0, 106, 0, 23)
  23. TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  24. TextButton.Font = Enum.Font.SourceSans
  25. TextButton.Text = "Open dance gui"
  26. TextButton.TextColor3 = Color3.new(0, 0, 0)
  27. TextButton.TextSize = 14
  28.  
  29. Frame.Parent = Danceguinotvirusandattack
  30. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  31. Frame.BackgroundColor3 = Color3.new(0.596078, 0.596078, 0.596078)
  32. Frame.BorderSizePixel = 3
  33. Frame.Position = UDim2.new(0.0826330557, 0, 0.731075704, 0)
  34. Frame.Size = UDim2.new(0, 106, 0, 175)
  35. Frame.Visible = false
  36.  
  37. TextLabel.Parent = Frame
  38. TextLabel.AnchorPoint = Vector2.new(0.5, 0.5)
  39. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  40. TextLabel.BackgroundTransparency = 1
  41. TextLabel.Position = UDim2.new(0.495507658, 0, 0.936209559, 0)
  42. TextLabel.Size = UDim2.new(0, 83, 0, 22)
  43. TextLabel.Font = Enum.Font.SourceSans
  44. TextLabel.Text = "By HeandersBees"
  45. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  46. TextLabel.TextScaled = true
  47. TextLabel.TextSize = 14
  48. TextLabel.TextWrapped = true
  49.  
  50. TextLabel_2.Parent = Frame
  51. TextLabel_2.AnchorPoint = Vector2.new(0.5, 0.5)
  52. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  53. TextLabel_2.BackgroundTransparency = 1
  54. TextLabel_2.Position = UDim2.new(0.495507658, 0, 0.0619238615, 0)
  55. TextLabel_2.Size = UDim2.new(0, 83, 0, 22)
  56. TextLabel_2.Font = Enum.Font.SourceSans
  57. TextLabel_2.Text = "Dance gui"
  58. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  59. TextLabel_2.TextScaled = true
  60. TextLabel_2.TextSize = 14
  61. TextLabel_2.TextWrapped = true
  62.  
  63. TextButton_2.Parent = Frame
  64. TextButton_2.AnchorPoint = Vector2.new(0.5, 0.5)
  65. TextButton_2.BackgroundColor3 = Color3.new(0.741176, 0.741176, 0.741176)
  66. TextButton_2.BorderSizePixel = 0
  67. TextButton_2.Position = UDim2.new(0.495507628, 0, 0.252077371, 0)
  68. TextButton_2.Size = UDim2.new(0, 83, 0, 21)
  69. TextButton_2.Font = Enum.Font.SourceSans
  70. TextButton_2.Text = "Dance roblox"
  71. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  72. TextButton_2.TextSize = 14
  73.  
  74. TextButton_3.Parent = Frame
  75. TextButton_3.AnchorPoint = Vector2.new(0.5, 0.5)
  76. TextButton_3.BackgroundColor3 = Color3.new(0.741176, 0.741176, 0.741176)
  77. TextButton_3.BorderSizePixel = 0
  78. TextButton_3.Position = UDim2.new(0.495507628, 0, 0.417791665, 0)
  79. TextButton_3.Size = UDim2.new(0, 83, 0, 21)
  80. TextButton_3.Font = Enum.Font.SourceSans
  81. TextButton_3.Text = "Hello!"
  82. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  83. TextButton_3.TextSize = 14
  84.  
  85. TextButton_4.Parent = Frame
  86. TextButton_4.AnchorPoint = Vector2.new(0.5, 0.5)
  87. TextButton_4.BackgroundColor3 = Color3.new(0.741176, 0.741176, 0.741176)
  88. TextButton_4.BorderSizePixel = 0
  89. TextButton_4.Position = UDim2.new(0.495507628, 0, 0.583505929, 0)
  90. TextButton_4.Size = UDim2.new(0, 83, 0, 21)
  91. TextButton_4.Font = Enum.Font.SourceSans
  92. TextButton_4.Text = "Fortnite dance"
  93. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  94. TextButton_4.TextSize = 14
  95.  
  96. TextLabel_3.Parent = Frame
  97. TextLabel_3.AnchorPoint = Vector2.new(0.5, 0.5)
  98. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  99. TextLabel_3.BackgroundTransparency = 1
  100. TextLabel_3.BorderColor3 = Color3.new(0.368627, 0.572549, 0.721569)
  101. TextLabel_3.BorderSizePixel = 0
  102. TextLabel_3.Position = UDim2.new(1.58051896, 0, 0.492071688, 0)
  103. TextLabel_3.Size = UDim2.new(0, 105, 0, 174)
  104. TextLabel_3.Font = Enum.Font.GothamBold
  105. TextLabel_3.Text = "Description: This is my first emote gui and the creator of HeandersBees, to turn off the animation you need, click on the button that you clicked to turn on the animation, and the animation will turn off! And in this emote gui you can combine animations, just click on them!"
  106. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  107. TextLabel_3.TextScaled = true
  108. TextLabel_3.TextSize = 14
  109. TextLabel_3.TextStrokeColor3 = Color3.new(0.388235, 0.388235, 0.580392)
  110. TextLabel_3.TextStrokeTransparency = 0
  111. TextLabel_3.TextWrapped = true
  112. -- Scripts:
  113. function SCRIPT_XUAH75_FAKESCRIPT() -- TextButton.LocalScript
  114.     local script = Instance.new('LocalScript')
  115.     script.Parent = TextButton
  116.     script.Parent.MouseButton1Down:Connect(function()
  117.         if script.Parent.Parent.Frame.Visible == false then
  118.             script.Parent.Parent.Frame.Visible = true
  119.         else
  120.             script.Parent.Parent.Frame.Visible = false
  121.         end
  122.     end)
  123.  
  124. end
  125. coroutine.resume(coroutine.create(SCRIPT_XUAH75_FAKESCRIPT))
  126. function SCRIPT_ZFUQ90_FAKESCRIPT() -- TextButton_2.LocalScript
  127.     local script = Instance.new('LocalScript')
  128.     script.Parent = TextButton_2
  129.     local player = game.Players.LocalPlayer
  130.     local character = player.Character
  131.     repeat wait()
  132.         character = player.Character
  133.     until character
  134.     local hum = character:WaitForChild("Humanoid")
  135.     local emote = hum:LoadAnimation(script.Parent.Emote)
  136.     playing = false
  137.    
  138.     script.Parent.MouseButton1Click:connect(function()
  139.         if playing == false then
  140.             script.Parent.Sound.Playing = true
  141.             emote:Play()
  142.             hum.WalkSpeed = 0
  143.             hum.JumpPower = 0
  144.             playing = true
  145.         elseif playing == true then
  146.             script.Parent.Sound.Playing = false
  147.             emote:Stop()
  148.             hum.WalkSpeed = 16
  149.             hum.JumpPower = 50
  150.             playing = false
  151.         end
  152.     end)
  153.  
  154. end
  155. coroutine.resume(coroutine.create(SCRIPT_ZFUQ90_FAKESCRIPT))
  156. function SCRIPT_ZCXP77_FAKESCRIPT() -- TextButton_3.LocalScript
  157.     local script = Instance.new('LocalScript')
  158.     script.Parent = TextButton_3
  159.     local player = game.Players.LocalPlayer
  160.     local character = player.Character
  161.     repeat wait()
  162.         character = player.Character
  163.     until character
  164.     local hum = character:WaitForChild("Humanoid")
  165.     local emote = hum:LoadAnimation(script.Parent.Emote)
  166.     playing = false
  167.    
  168.     script.Parent.MouseButton1Click:connect(function()
  169.         if playing == false then
  170.             emote:Play()
  171.             hum.WalkSpeed = 0
  172.             hum.JumpPower = 0
  173.             playing = true
  174.         elseif playing == true then
  175.             emote:Stop()
  176.             hum.WalkSpeed = 16
  177.             hum.JumpPower = 50
  178.             playing = false
  179.         end
  180.     end)
  181.  
  182. end
  183. coroutine.resume(coroutine.create(SCRIPT_ZCXP77_FAKESCRIPT))
  184. function SCRIPT_ALAX65_FAKESCRIPT() -- TextButton_4.LocalScript
  185.     local script = Instance.new('LocalScript')
  186.     script.Parent = TextButton_4
  187.     local player = game.Players.LocalPlayer
  188.     local character = player.Character
  189.     repeat wait()
  190.         character = player.Character
  191.     until character
  192.     local hum = character:WaitForChild("Humanoid")
  193.     local emote = hum:LoadAnimation(script.Parent.Emote)
  194.     playing = false
  195.    
  196.     script.Parent.MouseButton1Click:connect(function()
  197.         if playing == false then
  198.             script.Parent.Sound.Playing = true
  199.             emote:Play()
  200.             hum.WalkSpeed = 0
  201.             hum.JumpPower = 0
  202.             playing = true
  203.         elseif playing == true then
  204.             script.Parent.Sound.Playing = false
  205.             emote:Stop()
  206.             hum.WalkSpeed = 16
  207.             hum.JumpPower = 50
  208.             playing = false
  209.         end
  210.     end)
  211.  
  212. end
  213. coroutine.resume(coroutine.create(SCRIPT_ALAX65_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement