Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[made by supercoolguy53]]
- circle = Instance.new("Part")
- circle.Position = Vector3.new(0,4,0) --change this to whatever. as long as it's a vector3 value you're good
- circle.Size = Vector3.new(10,.2,.2) -- change the first number to whatever DO NOT CHANGE THE LAST .2 however, change the middle number to whatever, that's how tall your circle will be
- circle.Anchored = true -- keep this true or it'll fall apart
- circle.CanCollide = false -- false means you can walk through it, true means you can't
- circle.Material = Enum.Material.Neon-- change to Material Enum (Plastic, Neon, etc.)
- circle.BrickColor = BrickColor.Random() -- change to whatever. if you dont know how color3 value works then change "BrickColor.new(1,1,1)" to "BrickColor." and options should pop up
- circle.Transparency = 0 -- change to a number between 0-1
- circle.Reflectance = 1 -- change to a number between 0-1
- circle.Name = "CirclePart" -- change purple text to whatever name you want
- --[[DONT MESS WITH ANY OF THIS UNLESS YOU KNOW WHAT YOU'RE DOING]]
- rad = circle.Size.X/2 --radius
- print('rad: '..rad)
- pi = math.pi
- circ = 2*pi*rad --circumference
- print('circ: '..circ)
- n = circ/0.2 -- how many parts in the circle
- print('n: '..n)
- rot = 180/n -- i increase the rotation of each part by this much
- print('rot: '..rot)
- -- actually making the circle
- for i = 1,n do
- wait()
- clone = circle:Clone()
- clone.BrickColor = BrickColor.Random()
- clone.Parent = workspace
- clone.CFrame = circle.CFrame*CFrame.Angles(0,math.rad(i*rot),0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement