Advertisement
TempusMoon

Untitled

May 5th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. --cum script
  2. wait(1.25)
  3.  
  4. m=game.Players.LocalPlayer:GetMouse()
  5. char=game.Players.LocalPlayer.Character
  6.  
  7. local function weld(part, offset)
  8. local w=Instance.new('Weld', char.Torso)
  9. w.Part0=char.Torso
  10. w.Part1=part
  11. w.C0=offset
  12. return w
  13. end
  14.  
  15. function createPart(size)
  16. local p=Instance.new('Part', char)
  17. p.FormFactor='Custom'
  18. p.Size=size
  19. p.TopSurface='Smooth'
  20. p.BottomSurface='Smooth'
  21. p.CanCollide=false
  22. return p
  23. end
  24.  
  25. function createSphere(size)
  26. local p=createPart(size)
  27.  
  28. Instance.new("SpecialMesh", p).MeshType=Enum.MeshType.Sphere
  29. return p
  30. end
  31.  
  32. function createTube(size)
  33. local p=createPart(size)
  34. Instance.new("CylinderMesh", p)
  35. return p
  36. end
  37.  
  38. skincolor=BrickColor.new'Pastel brown'
  39. tipcolor=BrickColor.new'Hot pink'
  40. cumcolor=BrickColor.new'Institutional white'
  41.  
  42. leftnut=createSphere(Vector3.new(0.75, 0.75, 0.75))
  43. weld(leftnut, CFrame.new(0.3, -1.1, -.5))
  44. leftnut.BrickColor=skincolor
  45.  
  46. rightnut=createSphere(Vector3.new(0.75, 0.75, 0.75))
  47. weld(rightnut, CFrame.new(-0.3, -1.1, -.5))
  48. rightnut.BrickColor=skincolor
  49.  
  50. shaft=createTube(Vector3.new(.5, 1.3, .5))
  51. weld(shaft, CFrame.new(0, -1, -1.15)*CFrame.Angles(math.pi/2,0,0))
  52. shaft.BrickColor=skincolor
  53.  
  54. head=createSphere(Vector3.new(.5, 0.5, .5))
  55. weld(head, CFrame.new(0, -1, -1.8)*CFrame.Angles(math.pi/2,0,0))
  56. head.BrickColor=tipcolor
  57. math.randomseed(tick())
  58. local lazor=Instance.new'Sound'
  59. lazor.Parent=head
  60. lazor.SoundId='rbxassetid://180204650'
  61. lazor.Volume=1
  62. m.Button1Down:connect(function()
  63. lazor:Play()
  64. local lase=Instance.new'Part'
  65. lase.Parent=char
  66. lase.FormFactor='Custom'
  67. lase.BrickColor=cumcolor
  68. local top=head.CFrame*CFrame.new(0, -.25, 0)
  69. top=top.p
  70. local ray=(m.Hit.p-top).unit
  71. local part, hit, norm = workspace:FindPartOnRay(Ray.new(top, ray*999), char)
  72. if not part then
  73. hit=m.Hit.p
  74. else
  75. if part.Anchored then
  76. local puddles={}
  77.  
  78. math.random()
  79. local lastpuddle
  80. for i=1, math.random(1, 5) do
  81. print(i)
  82. local size=(math.random(1, 30)/10)*1.5
  83. local puddle=createTube(Vector3.new(size, .2, size))
  84. puddle.BrickColor=cumcolor
  85. puddle.Name='Puddle'
  86. puddle.Anchored=true
  87. puddle.CFrame=CFrame.new(hit, hit+norm)*CFrame.Angles(math.pi/2, 0, 0)
  88. if lastpuddle then
  89. local randrot=math.random(0, 614)/100
  90. local randoffset=CFrame.Angles(0, randrot, 0)*Vector3.new(lastpuddle.Size.X/2, 0, 0)
  91. puddle.CFrame=lastpuddle.CFrame*CFrame.new(randoffset.x, 0, randoffset.z)
  92. end
  93. table.insert(puddles, puddle)
  94. lastpuddle=puddle
  95. puddle.Touched:connect(function(hit)
  96. if not char:IsAncestorOf(hit) and not hit.Anchored and hit.Name~='Puddle' then
  97. hit.Anchored=true
  98. wait(.1)
  99. hit.Anchored=false
  100. end
  101. end)
  102. game:GetService'Debris':AddItem(puddle, 7)
  103. end
  104. coroutine.wrap(function()
  105. for i=0, 1, .05 do
  106. for _, pudd in pairs(puddles) do
  107. local pcf=pudd.CFrame
  108. pudd.Size=pudd.Size+Vector3.new(.1, 0, .1)
  109. pudd.CFrame=pcf
  110. end
  111. wait(5/(1/.05))
  112. end
  113. end)()
  114. elseif m.Target then
  115. for _, p in pairs(game:GetService'Players':GetPlayers()) do
  116. if p.Character and m.Target:IsDescendantOf(p.Character) then
  117. p.Character.Torso.Velocity=Vector3.new(0,5000,0)
  118. p.Jump=true;
  119. p.PlatformStand=true
  120. end
  121. end
  122. end
  123. end
  124. lase.Size=Vector3.new(.2, .2, (hit-top).magnitude)
  125. lase.Anchored=true
  126. lase.CanCollide=false
  127. lase.CFrame=CFrame.new(top:lerp(hit, .5), top)
  128. lase.Transparency=.5
  129. for i=0.5, 1, .05 do
  130. lase.Transparency=i
  131. wait(.1)
  132. end
  133.  
  134. game:GetService'Debris':AddItem(lase, 2)
  135. end)
  136.  
  137. --[[
  138.  
  139. hl/https://code.stypi.com/raw/iSsdietety84VxXS2O3pNWyO
  140.  
  141. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement