The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Spooky Simulator script pastebin roblox
By LINK GAME on 2024-09-20 08:00 am | Syntax: LUA | Views: 10



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1.  _G.autoa = true
  2. while _G.autoa == true do
  3. wait()
  4. pcall(function()
  5. for i,v in pairs(game.Workspace:GetDescendants()) do
  6.    if v.Name == "Door" and v.Area.Value == 1 then --Change 1 to any area number u can farm in--
  7.        wait()
  8.    if v.Open.Value == true then
  9.        wait(2)
  10.        game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  11.    if game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.OtherFrames.FullStorage.Visible == true then
  12.        wait(0.5)
  13. game:GetService("ReplicatedStorage").Events.SellCandy:FireServer(game.Workspace.Locations.SellAreas.Sell)
  14. game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.OtherFrames.FullStorage.Visible = false
  15. end
  16. else
  17.    if game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.OtherFrames.Tricked.Visible == true then
  18. wait(1)
  19. game:GetService("ReplicatedStorage").Events.FightEnemy:FireServer()
  20. game:GetService("Players").LocalPlayer.PlayerGui.ScreenGui.OtherFrames.Tricked.Visible = false
  21. wait(4)
  22. if game.Workspace:WaitForChild("Monsters") then
  23. _G.kill = true
  24. while _G.kill == true do
  25.        wait()
  26.            wait()
  27. if game.Workspace:FindFirstChild("Monsters"):FindFirstChildOfClass("Model").HumanoidRootPart then      
  28. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Monsters:FindFirstChildOfClass("Model").HumanoidRootPart.CFrame-Vector3.new(0,16,0)
  29. if  game.Workspace.Monsters:FindFirstChildOfClass("Model").HP.Value >= 0 then
  30.    game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  31.    game.Workspace.Monsters:FindFirstChildOfClass("Model").HumanoidRootPart.Anchored = true
  32.    local v = game.Workspace.Monsters:FindFirstChildOfClass("Model")
  33.    game:GetService("ReplicatedStorage").Events.HitEnemy:InvokeServer(v)
  34.    wait(1)
  35.     game.Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  36. end
  37. end
  38. end
  39. end
  40. end
  41. end
  42. end
  43. end
  44. end)
  45. end