rayiahmadjuhandi

FE Animation Gui script

Oct 12th, 2025 (edited)
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. -- Script Lua FE GUI Draggable: "AnimationLoader" - Loadstring Animation GUI (Anti-Error for Slap Battles)
  2. -- Buatan heckes15 - Persistent, Anti-Crash, Handle Respawn & Nil Checks
  3. -- Fitur: GUI bisa digeser, tombol X untuk tutup, tombol Load Animation untuk jalankan loadstring FE Animation (Universal, kerja di Slap Battles).
  4.  
  5. local Players = game:GetService("Players")
  6. local TweenService = game:GetService("TweenService")
  7.  
  8. local player = Players.LocalPlayer
  9. local playerGui = player:WaitForChild("PlayerGui")
  10.  
  11. -- Loadstring FE Animation (dari trusted source, universal R6/R15 - Kerja di Slap Battles)
  12. local animationLoadstring = 'loadstring(game:HttpGet("https://pastebin.com/raw/xYbpZ8Z7"))()'
  13.  
  14. -- Fungsi load animation (anti-error: pcall loadstring, handle HttpGet fail)
  15. local function loadAnimation()
  16. local success = pcall(function()
  17. loadstring(game:HttpGet("https://pastebin.com/raw/xYbpZ8Z7"))()
  18. end)
  19. if success then
  20. print("FE Animation loaded successfully! Gunakan di Slap Battles untuk custom anim. 🎭")
  21. else
  22. warn("Gagal load animation (cek koneksi atau HttpGet block). Coba executor lain.")
  23. end
  24. end
  25.  
  26. -- Fungsi buat GUI Loader utama (anti-error creation)
  27. local function createGUI()
  28. local success = pcall(function()
  29. -- Hapus GUI lama
  30. local oldGui = playerGui:FindFirstChild("AnimationLoader")
  31. if oldGui then oldGui:Destroy() end
  32.  
  33. -- Buat ScreenGui
  34. local screenGui = Instance.new("ScreenGui")
  35. screenGui.Name = "AnimationLoader"
  36. screenGui.Parent = playerGui
  37. screenGui.ResetOnSpawn = false
  38.  
  39. -- Frame utama
  40. local mainFrame = Instance.new("Frame")
  41. mainFrame.Name = "MainFrame"
  42. mainFrame.Size = UDim2.new(0, 300, 0, 200)
  43. mainFrame.Position = UDim2.new(0.5, -150, 0.5, -100)
  44. mainFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  45. mainFrame.BorderSizePixel = 0
  46. mainFrame.Active = true
  47. mainFrame.Draggable = true
  48. mainFrame.Parent = screenGui
  49.  
  50. local corner = Instance.new("UICorner")
  51. corner.CornerRadius = UDim.new(0, 10)
  52. corner.Parent = mainFrame
  53.  
  54. -- Title Bar
  55. local titleBar = Instance.new("Frame")
  56. titleBar.Size = UDim2.new(1, 0, 0, 30)
  57. titleBar.Position = UDim2.new(0, 0, 0, 0)
  58. titleBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  59. titleBar.BorderSizePixel = 0
  60. titleBar.Parent = mainFrame
  61.  
  62. local titleCorner = Instance.new("UICorner")
  63. titleCorner.CornerRadius = UDim.new(0, 10)
  64. titleCorner.Parent = titleBar
  65.  
  66. -- Title Text
  67. local title = Instance.new("TextLabel")
  68. title.Size = UDim2.new(1, -30, 1, 0)
  69. title.Position = UDim2.new(0, 5, 0, 0)
  70. title.BackgroundTransparency = 1
  71. title.Text = "🎭 AnimationLoader GUI (Slap Battles) 🎭"
  72. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  73. title.TextScaled = true
  74. title.Font = Enum.Font.SourceSansBold
  75. title.Parent = titleBar
  76.  
  77. -- Tombol Close (X)
  78. local closeButton = Instance.new("TextButton")
  79. closeButton.Size = UDim2.new(0, 25, 0, 25)
  80. closeButton.Position = UDim2.new(1, -30, 0, 2.5)
  81. closeButton.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
  82. closeButton.BorderSizePixel = 0
  83. closeButton.Text = "X"
  84. closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  85. closeButton.TextScaled = true
  86. closeButton.Font = Enum.Font.SourceSansBold
  87. closeButton.Parent = titleBar
  88.  
  89. local closeCorner = Instance.new("UICorner")
  90. closeCorner.CornerRadius = UDim.new(0, 5)
  91. closeCorner.Parent = closeButton
  92.  
  93. -- Hover efek close
  94. closeButton.MouseEnter:Connect(function()
  95. TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 0, 0)}):Play()
  96. end)
  97. closeButton.MouseLeave:Connect(function()
  98. TweenService:Create(closeButton, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(255, 50, 50)}):Play()
  99. end)
  100.  
  101. -- Tombol Load Animation
  102. local loadButton = Instance.new("TextButton")
  103. loadButton.Size = UDim2.new(1, -20, 0, 50)
  104. loadButton.Position = UDim2.new(0, 10, 0, 50)
  105. loadButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
  106. loadButton.BorderSizePixel = 0
  107. loadButton.Text = "🎭 LOAD FE ANIMATION (ANTI-ERROR)"
  108. loadButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  109. loadButton.TextScaled = true
  110. loadButton.Font = Enum.Font.SourceSansBold
  111. loadButton.Parent = mainFrame
  112.  
  113. local loadCorner = Instance.new("UICorner")
  114. loadCorner.CornerRadius = UDim.new(0, 5)
  115. loadCorner.Parent = loadButton
  116.  
  117. -- Label info
  118. local infoLabel = Instance.new("TextLabel")
  119. infoLabel.Size = UDim2.new(1, -20, 0, 50)
  120. infoLabel.Position = UDim2.new(0, 10, 0, 110)
  121. infoLabel.BackgroundTransparency = 1
  122. infoLabel.Text = "Klik untuk load FE Animation universal!\n(Kerja di Slap Battles - Custom anim slap, idle, dll. Anti-error pcall)"
  123. infoLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
  124. infoLabel.TextScaled = true
  125. infoLabel.Font = Enum.Font.SourceSans
  126. infoLabel.TextWrapped = true
  127. infoLabel.Parent = mainFrame
  128.  
  129. -- Label kredit
  130. local creditLabel = Instance.new("TextLabel")
  131. creditLabel.Size = UDim2.new(1, -20, 0, 20)
  132. creditLabel.Position = UDim2.new(0, 10, 1, -25)
  133. creditLabel.BackgroundTransparency = 1
  134. creditLabel.Text = "Made by heckes15 🔥 (Anti-Error Oct 2025)"
  135. creditLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
  136. creditLabel.TextScaled = true
  137. creditLabel.Font = Enum.Font.SourceSansBold
  138. creditLabel.Parent = mainFrame
  139.  
  140. -- Event load button
  141. loadButton.MouseButton1Click:Connect(function()
  142. loadAnimation()
  143. infoLabel.Text = "Animation loaded! Cek GUI animation baru atau console. 🎭"
  144. infoLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
  145. loadButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  146. loadButton.Text = "✅ LOADED"
  147. end)
  148.  
  149. -- Event close
  150. closeButton.MouseButton1Click:Connect(function()
  151. local tweenOut = TweenService:Create(mainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back), {Size = UDim2.new(0, 0, 0, 0)})
  152. tweenOut:Play()
  153. tweenOut.Completed:Connect(function()
  154. screenGui:Destroy()
  155. end)
  156. end)
  157.  
  158. -- Direct show (anti-tween error)
  159. mainFrame.Size = UDim2.new(0, 300, 0, 200)
  160. end)
  161.  
  162. if success then
  163. print("AnimationLoader loaded (anti-error for Slap Battles)! Klik load untuk FE anim. 🎭")
  164. else
  165. warn("Gagal load GUI, coba ulang executor.")
  166. end
  167. end
  168.  
  169. -- Jalankan
  170. createGUI()
  171.  
  172. -- Persistent respawn
  173. player.CharacterAdded:Connect(function()
  174. wait(1)
  175. createGUI()
  176. end)
Advertisement
Add Comment
Please, Sign In to add comment