Advertisement
aksels101

Untitled

Aug 12th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. name = "princesswolf222"
  2.  
  3. me = game.Players[princesswolf222]
  4. char = me.Character
  5. selected = false
  6.  
  7. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  8. part.Parent = parent
  9. part.formFactor = form
  10. part.CanCollide = collide
  11. part.Transparency = tran
  12. part.Reflectance = ref
  13. part.Size = Vector3.new(x,y,z)
  14. part.BrickColor = BrickColor.new(color)
  15. part.TopSurface = 0
  16. part.BottomSurface = 0
  17. part.Anchored = anchor
  18. part.Locked = true
  19. part:BreakJoints()
  20. end
  21.  
  22. function weld(w, p, p1, a, b, c, x, y, z)
  23. w.Parent = p
  24. w.Part0 = p
  25. w.Part1 = p1
  26. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  27. end
  28.  
  29. function mesh(mesh, parent, x, y, z, type)
  30. mesh.Parent = parent
  31. mesh.Scale = Vector3.new(x, y, z)
  32. mesh.MeshType = type
  33. end
  34.  
  35. sword = Instance.new("Model",me.Character)
  36. sword.Name = "Eyes"
  37.  
  38. --Parts-------------------------Parts-------------------------Parts-------------------------Parts----------------------
  39.  
  40. head = char:findFirstChild("Head")
  41. torso = char:findFirstChild("Torso")
  42.  
  43. bg = Instance.new("BodyGyro",nil)
  44. bg.P = 2000
  45. bg.maxTorque = Vector3.new(0,math.huge,0)
  46.  
  47. trail1 = Instance.new("Part")
  48. prop(trail1,nil,false,0.4,0,0.1,0.1,1,"Bright red",true,"Custom")
  49. local t1 = Instance.new("SpecialMesh",trail1)
  50. t1.MeshType = "Brick"
  51.  
  52. trail2 = Instance.new("Part")
  53. prop(trail2,nil,false,0.4,0,0.1,0.1,1,"Bright red",true,"Custom")
  54. local t2 = Instance.new("SpecialMesh",trail2)
  55. t2.MeshType = "Brick"
  56.  
  57. local fb = Instance.new("Part")
  58. prop(fb,nil,false,1,0,0.1,0.1,0.1,"Bright red",true,"Custom")
  59. local fi = Instance.new("Fire",fb)
  60. fi.Name = "LolFire"
  61. fi.Size = 2
  62. fi.Heat = 25
  63.  
  64. t1p = Vector3.new(-0.3,0.3,-0.55)
  65. t2p = Vector3.new(0.3,0.3,-0.55)
  66.  
  67. function getp(path)
  68. local objs = {}
  69. for _,v in pairs(path:children()) do
  70. if v:IsA("BasePart") then
  71. if v:GetMass() < 30 then
  72. table.insert(objs,v)
  73. end
  74. end
  75. for _,k in pairs(v:children()) do
  76. if k:IsA("BasePart") then
  77. if k:GetMass() < 30 then
  78. table.insert(objs,k)
  79. end
  80. end
  81. for _,o in pairs(k:children()) do
  82. if o:IsA("BasePart") then
  83. if o:GetMass() < 30 then
  84. table.insert(objs,o)
  85. end
  86. end
  87. end
  88. end
  89. end
  90. return objs
  91. end
  92.  
  93. if script.Parent.className ~= "HopperBin" then
  94. h = Instance.new("HopperBin",me.Backpack)
  95. h.Name = "LazorEyez"
  96. script.Parent = h
  97. end
  98. bin = script.Parent
  99. bin.Selected:connect(function(mouse)
  100. mouse.Button1Down:connect(function()
  101. hold = true
  102. bg.Parent = torso
  103. trail1.Parent = char
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement