Guest User

animation gui

a guest
Jan 22nd, 2020
158
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --FE Animation Gui Made by Dark Magic Rblx in ROBLOX Studio, please give credits if you use this.
  2. --You can use all and me in the Name Here Section!
  3. gui = Instance.new("ScreenGui",game.CoreGui)
  4. gui.Name = "FE Animation Gui by Dark Magic Rblx"
  5. box = Instance.new("Frame",gui)
  6. box.Size = UDim2.new(0,400,0,100)
  7. box.Position = UDim2.new(0,800,0,500)
  8. box.BackgroundTransparency = 0
  9. box.BackgroundColor3 = Color3.new(167,0,0)
  10. box.BorderSizePixel = 5
  11. box.BorderColor3 = Color3.new(27,42,53)
  12.  
  13. o = Instance.new("TextBox",gui)
  14. o.Name = "Speed Here"
  15. o.Size = UDim2.new(0,150,0,15)
  16. o.Position = UDim2.new(0,1000,0,590)
  17. o.BackgroundTransparency = 0
  18. o.BackgroundColor3 = Color3.new(0,0,0)
  19. o.BorderSizePixel = 0
  20. o.Font = "Arcade"
  21. o.TextColor3 = Color3.new(255,255,255)
  22. o.TextScaled = true
  23. o.TextWrapped = true
  24. o.Text = "Speed Here"
  25.  
  26. a = Instance.new("TextBox",gui)
  27. a.Name = "ID Here"
  28. a.Size = UDim2.new(0,300,0,25)
  29. a.Position = UDim2.new(0,900,0,530)
  30. a.BackgroundTransparency = 0
  31. a.BackgroundColor3 = Color3.new(0,0,0)
  32. a.BorderSizePixel = 0
  33. a.Font = "Arcade"
  34. a.TextColor3 = Color3.new(255,255,255)
  35. a.TextScaled = true
  36. a.TextWrapped = true
  37. a.Text = "ID Here"
  38.  
  39. b = Instance.new("TextBox",gui)
  40. b.Name = "Namehere"
  41. b.Size = UDim2.new(0,300,0,25)
  42. b.Position = UDim2.new(0,900,0,560)
  43. b.BackgroundTransparency = 0
  44. b.BackgroundColor3 = Color3.new(0,0,0)
  45. b.BorderSizePixel = 0
  46. b.Font = "Arcade"
  47. b.TextColor3 = Color3.new(255,255,255)
  48. b.TextScaled = true
  49. b.TextWrapped = true
  50. b.Text = "Name here"
  51.  
  52. c = Instance.new("TextButton",gui)
  53. c.Name = "Animation"
  54. c.Size = UDim2.new(0,100,0,40)
  55. c.Position = UDim2.new(0,800,0,520)
  56. c.BackgroundTransparency = 0
  57. c.BackgroundColor3 = Color3.new(0,0,0)
  58. c.BorderSizePixel = 0
  59. c.Font = "Arcade"
  60. c.TextColor3 = Color3.new(255,255,255)
  61. c.TextScaled = true
  62. c.TextWrapped = true
  63. c.Text = "Animation"
  64.  
  65. d = Instance.new("TextButton",gui)
  66. d.Name = "Player"
  67. d.Size = UDim2.new(0,100,0,40)
  68. d.Position = UDim2.new(0,800,0,560)
  69. d.BackgroundTransparency = 0
  70. d.BackgroundColor3 = Color3.new(0,0,0)
  71. d.BorderSizePixel = 0
  72. d.Font = "Arcade"
  73. d.TextColor3 = Color3.new(255,255,255)
  74. d.TextScaled = true
  75. d.TextWrapped = true
  76. d.Text = "Player"
  77.  
  78. cred = Instance.new("TextLabel",gui)
  79. cred.Name = "Credits"
  80. cred.Size = UDim2.new(0,400,0,20)
  81. cred.Position = UDim2.new(0,800,0,500)
  82. cred.BackgroundTransparency = 0
  83. cred.BackgroundColor3 = Color3.new(0,0,0)
  84. box.BorderSizePixel = 5
  85. box.BorderColor3 = Color3.new(27,42,53)
  86. cred.Font = "Arcade"
  87. cred.FontSize = "Size24"
  88. cred.TextColor3 = Color3.new(255,255,255)
  89. cred.Text = "FE Animation Gui by Dark Magic Rblx!"
  90. cred.TextSize = 19
  91.  
  92. c.MouseButton1Down:connect(function()
  93. local AnimationId = gui["ID Here"].Text
  94. local Anim = Instance.new("Animation")
  95. Anim.AnimationId = "rbxassetid://"..AnimationId
  96. local Player = game.Players:FindFirstChild(gui.Namehere.Text)
  97. if Player ~= nil then
  98. local k = Player.Character.Humanoid:LoadAnimation(Anim)
  99. k:Play()
  100. k:AdjustSpeed(gui["Speed Here"].Text)
  101. end
  102. if gui.Namehere.Text =="me" then
  103. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  104. k:Play()
  105. k:AdjustSpeed(gui["Speed Here"].Text)
  106. end
  107. if gui.Namehere.Text =="all" then
  108. for i,v in pairs(game.Players:GetChildren()) do
  109. local k = v.Character.Humanoid:LoadAnimation(Anim)
  110. k:Play()
  111. k:AdjustSpeed(gui["Speed Here"].Text)
  112. end
  113. end
  114. end)
  115.  
  116.  
  117. d.MouseButton1Down:connect(function()
  118. local AnimationId = gui["ID Here"].Text
  119. local Anim = Instance.new("Animation")
  120. Anim.AnimationId = "rbxassetid://"..AnimationId
  121. local Player = game.Players:FindFirstChild(gui.Namehere.Text)
  122. if Player ~= nil then
  123. local k = Player.Character.Humanoid:LoadAnimation(Anim)
  124. k:Play()
  125. k:AdjustSpeed(gui["Speed Here"].Text)
  126. end
  127. if gui.Namehere.Text =="me" then
  128. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  129. k:Play()
  130. k:AdjustSpeed(gui["Speed Here"].Text)
  131. end
  132. if gui.Namehere.Text =="all" then
  133. for i,v in pairs(game.Players:GetChildren()) do
  134. local k = v.Character.Humanoid:LoadAnimation(Anim)
  135. k:Play()
  136. k:AdjustSpeed(gui["160"].Text)
  137. end
  138. end
  139. end)
RAW Paste Data