Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- This is a script that makes an anchored brick rotate!
- Just resize the brick to your desired size!
- This script was made by ProjectTwo
- Free for anyone to use!
- ]]
- character = game.Players.LocalPlayer.Character
- local model = Instance.new("Model")
- model.Parent = character
- local p = Instance.new("Part")
- p.Name = "Potion"
- p.Transparency = 0
- p.FormFactor = Enum.FormFactor.Custom
- p.CanCollide = false
- p.Size = Vector3.new(2,2,2)
- p.TopSurface = Enum.SurfaceType.Smooth
- p.BottomSurface = Enum.SurfaceType.Smooth
- p.Anchored = true
- p.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) -- So it won't weigh down the player
- p.Parent = model
- local p2 = Instance.new("Part")
- p2.Name = "Potion2"
- p2.Transparency = 0.5
- p2.FormFactor = Enum.FormFactor.Custom
- p2.CanCollide = false
- p2.Size = Vector3.new(6,6,6)
- p2.TopSurface = Enum.SurfaceType.Smooth
- p2.BottomSurface = Enum.SurfaceType.Smooth
- p2.Anchored = true
- p2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) -- So it won't weigh down the player
- p2.Parent = model
- while true do
- wait()
- p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
- p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/100, 0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement