TheProNoob2004

Mechanic pet dragon

Jun 24th, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. --[[Made By ace28545.]]--
  2. --[[Description:First script Yay! :D]]--
  3.  
  4. Player = Game.Players.LocalPlayer
  5. Character = Player.Character
  6.  
  7.  
  8. local m = Instance.new("Model",Character)
  9. m.Name = "Mechanic Dragon"
  10.  
  11. local p = Instance.new("Part",m)
  12. p.Material = "SmoothPlastic"
  13. p.Name = "Head"
  14. p.Shape = "Ball"
  15. p.Position = Character.Torso.Position
  16. p.Size = Vector3.new(1,1,1)
  17. p.Anchored = true
  18.  
  19. local pmsh = Instance.new("SpecialMesh",p)
  20. pmsh.MeshType = "FileMesh"
  21. pmsh.MeshId = "http://www.roblox.com/asset/?id=147949093"
  22. pmsh.TextureId = "http://www.roblox.com/asset/?id=147949192"
  23. pmsh.Scale = Vector3.new(1,1,1)
  24.  
  25. local phum = Instance.new("Humanoid",m)
  26. phum.MaxHealth = 0
  27. phum.Health = 0
  28.  
  29. local plight = Instance.new("PointLight",p)
  30. plight.Brightness = 10
  31. plight.Range = 10
  32.  
  33. Hover = 0 --By Aleksa(my friend)c:
  34. game:service'RunService'.RenderStepped:connect(function()
  35. Hover = Hover + 0.1
  36. p.CFrame = Character.Torso.CFrame * (CFrame.new(2.5,3+math.sin(Hover/3),0)) * CFrame.Angles(-math.rad(10),0,0)
  37. end)
  38.  
  39. Player.Chatted:connect(function(Msg)
  40. game:service("Chat"):Chat(p, Msg, Enum.ChatColor.Blue)
  41. end)
  42.  
  43. print("Mechanic Dragon pet by ace28545")
Add Comment
Please, Sign In to add comment