Advertisement
Animescapetower

Untitled

Mar 2nd, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. --[[
  2.  
  3. This is a script that makes an anchored brick rotate!
  4. Just resize the brick to your desired size!
  5. This script was made by ProjectTwo
  6. Free for anyone to use!
  7. ]]
  8. character = game.Players.LocalPlayer.Character
  9. local model = Instance.new("Model")
  10. model.Parent = character
  11.  
  12. local p = Instance.new("Part")
  13. p.Name = "Potion"
  14. p.Transparency = 0
  15. p.FormFactor = Enum.FormFactor.Custom
  16. p.CanCollide = false
  17. p.Size = Vector3.new(2,2,2)
  18. p.TopSurface = Enum.SurfaceType.Smooth
  19. p.BottomSurface = Enum.SurfaceType.Smooth
  20. p.Anchored = true
  21. p.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) -- So it won't weigh down the player
  22. p.Parent = model
  23. local p2 = Instance.new("Part")
  24. p2.Name = "Potion2"
  25. p2.Transparency = 0.5
  26. p2.Material = Enum.Material.Neon
  27. p2.FormFactor = Enum.FormFactor.Custom
  28. p2.BrickColor = BrickColor.Red()
  29. p2.CanCollide = false
  30. p2.Size = Vector3.new(6,6,6)
  31. p2.TopSurface = Enum.SurfaceType.Smooth
  32. p2.BottomSurface = Enum.SurfaceType.Smooth
  33. p2.Anchored = true
  34. p2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) -- So it won't weigh down the player
  35. p2.Parent = model
  36.  
  37. fire = Instance.new("Fire")
  38. fire.SecondaryColor = character.Head.Color
  39. fire.Color = character.Torso.Color
  40. fire.Size = 30
  41. fire.Heat = 20
  42. fire.Parent = p2
  43.  
  44. while true do
  45. wait(0.3)
  46. p2.CFrame = p2.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/200, 0)
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement