Advertisement
FE-SCRIPT-STUDIOS

FE SCP-096 SCRIPT V1

Feb 15th, 2024 (edited)
5,951
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 1 0
  1. -- Made by FE SCRIPT STUDIOS
  2. local gui = Instance.new("ScreenGui")
  3. gui.Parent = game.Players.LocalPlayer.PlayerGui
  4.  
  5. local frame = Instance.new("Frame")
  6. frame.Size = UDim2.new(0, 150, 0, 150)
  7. frame.Position = UDim2.new(0, 10, 0, 10)
  8. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  9. frame.Parent = gui
  10.  
  11. local title = Instance.new("TextLabel")
  12. title.Text = "SCP-096 Menu"
  13. title.TextColor3 = Color3.new(1, 1, 1)
  14. title.Size = UDim2.new(0, 150, 0, 20)
  15. title.Position = UDim2.new(0, 0, 0, 0)
  16. title.Parent = frame
  17.  
  18. local idleButton = Instance.new("TextButton")
  19. idleButton.Text = "Idle"
  20. idleButton.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  21. idleButton.TextColor3 = Color3.new(0, 0, 0)
  22. idleButton.Size = UDim2.new(0, 120, 0, 30)
  23. idleButton.Position = UDim2.new(0, 15, 0, 30)
  24. idleButton.Parent = frame
  25.  
  26. local chaseButton = Instance.new("TextButton")
  27. chaseButton.Text = "Chase"
  28. chaseButton.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  29. chaseButton.TextColor3 = Color3.new(0, 0, 0)
  30. chaseButton.Size = UDim2.new(0, 120, 0, 30)
  31. chaseButton.Position = UDim2.new(0, 15, 0, 70)
  32. chaseButton.Parent = frame
  33.  
  34. local despawnButton = Instance.new("TextButton")
  35. despawnButton.Text = "Despawn"
  36. despawnButton.BackgroundColor3 = Color3.new(0.6, 0.6, 0.6)
  37. despawnButton.TextColor3 = Color3.new(0, 0, 0)
  38. despawnButton.Size = UDim2.new(0, 120, 0, 30)
  39. despawnButton.Position = UDim2.new(0, 15, 0, 110)
  40. despawnButton.Parent = frame
  41.  
  42. -- Function to play animation
  43. local function playAnimation(player, animId, loop, speed)
  44. local Anim = Instance.new("Animation")
  45. Anim.AnimationId = animId
  46. local track = player.Character.Humanoid:LoadAnimation(Anim)
  47. track.Looped = loop
  48. track:Play()
  49. track:AdjustSpeed(speed)
  50. return track
  51. end
  52.  
  53. -- Function to stop all animations
  54. local function stopAnimations(player)
  55. local humanoid = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
  56. if humanoid then
  57. humanoid:Move(Vector3.new()) -- This will stop all animations
  58. humanoid.WalkSpeed = 0 -- Stop player movement
  59. end
  60. end
  61.  
  62. -- Connect button actions
  63. local chaseAnimTrack = nil
  64.  
  65. idleButton.MouseButton1Click:Connect(function()
  66. if chaseAnimTrack then
  67. chaseAnimTrack:Stop()
  68. end
  69. playAnimation(game.Players.LocalPlayer, "rbxassetid://180612465", false, 0.1) -- Idle animation ID, set to loop very fast
  70. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  71. end)
  72.  
  73. chaseButton.MouseButton1Click:Connect(function()
  74. if chaseAnimTrack then
  75. chaseAnimTrack:Stop()
  76. end
  77. chaseAnimTrack = playAnimation(game.Players.LocalPlayer, "rbxassetid://33169583", false, 0.1) -- Chase animation ID, set to loop very fast
  78. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 33 -- Set player's speed to 33
  79. end)
  80.  
  81. despawnButton.MouseButton1Click:Connect(function()
  82. stopAnimations(game.Players.LocalPlayer)
  83. if chaseAnimTrack then
  84. chaseAnimTrack:Stop()
  85. end
  86. wait(0.1) -- Wait a short moment to ensure animations stop
  87.  
  88. -- Reset humanoid properties
  89. local humanoid = game.Players.LocalPlayer.Character.Humanoid
  90. humanoid.Health = humanoid.MaxHealth
  91. humanoid.WalkSpeed = humanoid.WalkSpeed
  92. humanoid.JumpHeight = humanoid.JumpHeight
  93.  
  94. -- Reset animations
  95. for _, anim in ipairs(game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()) do
  96. anim:Stop()
  97. end
  98. end)
  99.  
  100. wait(0.2)
  101.  
  102. loadstring(game:HttpGet("https://raw.githubusercontent.com/0Ben1/fe./main/Fling%20GUI"))()
  103.  
  104. wait(0.2)
  105.  
  106. local gui = Instance.new("ScreenGui")
  107. gui.Parent = game.Players.LocalPlayer.PlayerGui
  108.  
  109. local frame = Instance.new("Frame")
  110. frame.Size = UDim2.new(0, 200, 0, 50)
  111. frame.Position = UDim2.new(1, -220, 1, -60) -- Bottom right corner
  112. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  113. frame.BackgroundTransparency = 0.5 -- Semi-transparent background
  114. frame.BorderSizePixel = 0
  115. frame.Parent = gui
  116.  
  117. local textLabel = Instance.new("TextLabel")
  118. textLabel.Text = "Made by BlockyYT"
  119. textLabel.TextColor3 = Color3.fromRGB(255, 255, 0) -- Yellow text color
  120. textLabel.Size = UDim2.new(1, 0, 1, 0)
  121. textLabel.Position = UDim2.new(0, 0, 0, 0)
  122. textLabel.BackgroundTransparency = 1
  123. textLabel.Font = Enum.Font.SourceSans
  124. textLabel.TextSize = 20
  125. textLabel.Parent = frame
  126.  
  127. -- Function to hide the GUI after 2 seconds
  128. local function hideGUI()
  129. wait(2)
  130. gui:Destroy()
  131. end
  132.  
  133. -- Start the function to hide the GUI
  134. hideGUI()
  135.  
  136.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement