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



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1.  a,b = pcall(function()
  2.     game:GetService("Workspace").Map:Destroy()
  3.     local decalsyeeted = true -- Leaving this on makes games look shitty but the fps goes up by at least 20.
  4.     local g = game
  5.     local w = g.Workspace
  6.     local l = g.Lighting
  7.     local t = w.Terrain
  8.     t.WaterWaveSize = 0
  9.     t.WaterWaveSpeed = 0
  10.     t.WaterReflectance = 0
  11.     t.WaterTransparency = 0
  12.     l.GlobalShadows = false
  13.     l.FogEnd = 9e9
  14.     l.Brightness = 0
  15.     settings().Rendering.QualityLevel = "Level01"
  16.     for i, v in pairs(g:GetDescendants()) do
  17.         if v:IsA("Part") or v:IsA("Union") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  18.             v.Material = "Plastic"
  19.             v.Reflectance = 0
  20.         elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
  21.             v.Transparency = 1
  22.         elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  23.             v.Lifetime = NumberRange.new(0)
  24.         elseif v:IsA("Explosion") then
  25.             v.BlastPressure = 1
  26.             v.BlastRadius = 1
  27.         elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then
  28.             v.Enabled = false
  29.         elseif v:IsA("MeshPart") then
  30.             v.Material = "Plastic"
  31.             v.Reflectance = 0
  32.             v.TextureID = 10385902758728957
  33.         end
  34.     end
  35.     for i, e in pairs(l:GetChildren()) do
  36.         if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or e:IsA("DepthOfFieldEffect") then
  37.             e.Enabled = false
  38.         end
  39.     end
  40.  
  41.  
  42.  
  43.  
  44.     spawn(function()
  45.         while wait(.1) do
  46.  
  47.             spawn(function()
  48.                 local args = {
  49.                     [1] = "attack0"
  50.                 }
  51.                 game:GetService("ReplicatedStorage").Services.Communication.event.serverRf:InvokeServer(unpack(args))
  52.             end)
  53.             spawn(function()
  54.                 -- Script generated by SimpleSpy - credits to exx#9394
  55.  
  56.                 local args = {
  57.                     [1] = "increaseMultiplier",
  58.                     [2] = "Power",
  59.                     [3] = 1
  60.                 }
  61.  
  62.                 game:GetService("ReplicatedStorage").Services.Communication.event.serverRf:InvokeServer(unpack(args))
  63.  
  64.             end)
  65.  
  66.  
  67.  
  68.         end
  69.     end)
  70.  
  71.     game.workspace.Gravity = 0
  72.     hrp = game.Players.LocalPlayer.Character.PrimaryPart
  73.     while wait() do
  74.         for i,v in pairs(workspace.NPCs:GetChildren()) do
  75.             if v:FindFirstChild('Head') and v:FindFirstChild('HumanoidRootPart') then
  76.                 oldtime = tick()
  77.                 repeat
  78.                    
  79.                     hrp.CFrame = v:FindFirstChild('HumanoidRootPart').CFrame *CFrame.new(0,9,11)
  80.                     game:GetService("RunService").RenderStepped:wait()
  81.                     local args = {
  82.                         [1] = "attack0Hit",
  83.                         [2] = v,
  84.                         [3] = CFrame.new(v:FindFirstChild('HumanoidRootPart').Position, Vector3.new(-1, -1, -1)),
  85.                         [4] = CFrame.new(v:FindFirstChild('HumanoidRootPart').Position, Vector3.new(-1, -1, -1)),
  86.                         [5] = CFrame.new(v:FindFirstChild('HumanoidRootPart').Position, Vector3.new(-1, -1, -1))
  87.                     }
  88.  
  89.                     spawn(function()
  90.                         game:GetService("ReplicatedStorage").Services.Communication.event.serverRf:InvokeServer(unpack(args))
  91.                     end)
  92.                 until not v or v:FindFirstChild('HumanoidRootPart') == nil or v:FindFirstChild('Head') == nil or v:FindFirstChild('Humanoid') == nil or v:FindFirstChild('Humanoid').Health <=1 or tick()-oldtime >=15
  93.             end
  94.         end
  95.     end
  96. end)
  97.  
  98. warn(b)