FlamingDrey

Block Spammer

Jun 1st, 2023
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local character = player.Character or player.CharacterAdded:Wait()
  3. local part = Instance.new("Part")
  4. part.BrickColor = BrickColor.new("Bright blue")
  5. part.Size = Vector3.new(5, 5, 5)
  6.  
  7. while true do
  8. local position = character.PrimaryPart.Position
  9. local randomOffset = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  10. part:Clone().Parent = workspace
  11. part.Position = position + randomOffset
  12. wait(0.1) -- Adjust the delay between spawns as desired
  13. end
Advertisement
Add Comment
Please, Sign In to add comment