Advertisement
Animescapetower

Untitled

Mar 4th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. character = game.Players.LocalPlayer.Character
  2. local model = Instance.new("Model")
  3. model.Parent = character
  4.  
  5. local p = Instance.new("MeshPart")
  6. p.Name = "Potion"
  7. p.MeshId = "rbxassetid://634718746"
  8. p.TextureID = "rbxassetid://634718760"
  9. p.Transparency = 0
  10. p.FormFactor = Enum.FormFactor.Custom
  11. p.Locked = true
  12. p.BrickColor = BrickColor.Blue()
  13. p.CanCollide = false
  14. p.Size = Vector3.new(2.225, 2.75, 1.42)
  15. p.TopSurface = Enum.SurfaceType.Smooth
  16. p.BottomSurface = Enum.SurfaceType.Smooth
  17. p.Anchored = true
  18. p.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) -- So it won't weigh down the player
  19. p.Parent = model
  20.  
  21. fire = Instance.new("Fire")
  22. fire.SecondaryColor = character.Head.Color
  23. fire.Color = character.Torso.Color
  24. fire.Size = 3
  25. fire.Heat = 20
  26. fire.Parent = p
  27.  
  28. sound = Instance.new("Sound")
  29. sound.PlaybackSpeed = 1
  30. sound.Volume = 1
  31. sound.SoundId = "rbxassetid://0"--normal sound - 1343510795
  32. sound.MaxDistance = 150
  33. sound.EmitterSize = 200
  34. sound.Parent = model
  35. sound:Play()
  36. sound.Looped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement