Advertisement
cobblecorn

Untitled

Jun 1st, 2018
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.48 KB | None | 0 0
  1. sound=nil local range=40000 local stype=script.ClassName
  2. owner=owner or game:service'Players'.pawel630
  3. local tool=Instance.new("Tool",owner:FindFirstChildOfClass("Backpack"))
  4. tool.Name="loominerty"hold=false tool.RequiresHandle=nil sound=nil
  5. ID="1587423574"local part=nil local pos=CFrame.new(0,0,0)local oldp=pos local MotBLaser=false local RES=10
  6. local Handle=Instance.new("Part",tool)Handle.Name="Handle"Handle.CanCollide=false
  7. Handle.Shape="Ball"
  8. Handle.Size = Vector3.new(1,1,1)
  9. Handle.Material = Enum.Material.Neon
  10. local cR=0
  11. local cG=255
  12. local cB=0
  13. local flg5=1 local omgidk=1
  14. local add=10
  15. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  16. if omgidk>1000 then omgidk=0 end
  17. omgidk=omgidk+1
  18. if cR>=115 then flg5=1 end
  19. if cG>=255 then flg5=2 end
  20. if cB>=115 then flg5=3 end
  21. if flg5==1 then cR=cR-add cG=cG+add end
  22. if flg5==2 then cG=cG-add cB=cB+add end
  23. if flg5==3 then cB=cB-add cR=cR+add end
  24. color=Color3.fromRGB(cR,cG,cB)
  25. Handle.Color = color
  26. end)
  27. local equip=false local Effects=Instance.new("Folder",workspace)
  28. local time=0 local Vol=10
  29. local PL=owner
  30. local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=PL.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=PL.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end return humanoid end
  31. local KILLTEXT="OH YEE"
  32. local w=function(t)
  33. if t then for i=1,t do game:service'RunService'.Heartbeat:wait()end
  34. else game:service'RunService'.Heartbeat:wait()
  35. end return 1 end
  36. local Col=Color3.new(1)
  37. tool.Equipped:connect(function(Mouse)
  38. equip=true
  39. hold=nil
  40. tool.Activated:connect(function()hold=1 end)
  41. tool.Deactivated:connect(function()hold=nil end)
  42.  
  43. while w()and equip do
  44. if stype~="Script"then if Mouse and equip then oldp=pos pos=Mouse.Hit end end
  45. if owner:FindFirstChild"MousePointCF"then oldp=pos pos=owner.MousePointCF.Value
  46. end
  47.  
  48. end
  49.  
  50. end)
  51.  
  52. tool.Unequipped:connect(function()equip=false hold=nil end)
  53. owner.Chatted:connect(function(m)
  54. if m:sub(1,3)==".id"then ID=tostring(m:sub(4))print("id set to : "..tostring(m:sub(4)))time=0 end
  55. if m:sub(1,4)==".vol"then Vol=tonumber(m:sub(5))print("vol set to : "..tostring(m:sub(5)))end
  56. if m:sub(1,8)==".MotionB"then MotBLaser=not MotBLaser end
  57. if m:sub(1,5)==".MRES"then RES=tonumber(m:sub(6))or RES end
  58. end)
  59. game:service'RunService'.Heartbeat:connect(function()
  60. if not Effects.Parent then Effects=Instance.new("Folder",workspace) end Effects:ClearAllChildren()
  61. if hold then
  62. local h,p=workspace:FindPartOnRayWithIgnoreList(Ray.new(Handle.CFrame.p,CFrame.new(Handle.CFrame.p,pos.p).lookVector*range),{owner.Character,Effects},nil,1)
  63. if not MotBLaser then
  64. local part=Instance.new("Part",owner.Character)part.Material="Neon"part.CanCollide=false part.Anchored=true
  65. local mesh=Instance.new("BlockMesh",part)part.Size=Vector3.new(0.45,0.45,(p-Handle.CFrame.p).magnitude)
  66. mesh.Scale=part.Size*20 part.Size=Vector3.new()touchCounter = 0
  67. local cR=0
  68. local cG=255
  69. local cB=0
  70. local flg5=1 local omgidk=1
  71. local add=25
  72. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  73. if omgidk>10000 then omgidk=0 end
  74. omgidk=omgidk+1
  75. if cR>=255 then flg5=1 end
  76. if cG>=255 then flg5=2 end
  77. if cB>=255 then flg5=3 end
  78. if flg5==1 then cR=cR-add cG=cG+add end
  79. if flg5==2 then cG=cG-add cB=cB+add end
  80. if flg5==3 then cB=cB-add cR=cR+add end
  81. color=Color3.fromRGB(cR,cG,cB)
  82. part.Color = color
  83. end)
  84. part.CFrame=CFrame.new(Handle.CFrame.p,p)*CFrame.new(0,0,-(p-Handle.CFrame.p).magnitude/2)
  85. spawn(function()for i=0,1,.2 do part.Transparency=i w()end part:Destroy()end)
  86. else
  87. local h2,p2=workspace:FindPartOnRayWithIgnoreList(Ray.new(Handle.CFrame.p,CFrame.new(Handle.CFrame.p,oldp.p).lookVector*range),{owner.Character,Effects},nil,1)
  88. for i=0,1,1/RES do
  89. local part=Instance.new("Part",Effects)part.Material="Neon"part.CanCollide=false part.Anchored=true
  90. local mesh=Instance.new("BlockMesh",part)part.Size=Vector3.new(0.45,0.45,((p:lerp(p2,i))-Handle.CFrame.p).magnitude)
  91. mesh.Scale=part.Size*20 part.Size=Vector3.new()touchCounter = 0
  92. local cR=0
  93. local cG=255
  94. local cB=0
  95. local flg5=1 local omgidk=1
  96. local add=25
  97. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  98. if omgidk>10000 then omgidk=0 end
  99. omgidk=omgidk+1
  100. if cR>=255 then flg5=1 end
  101. if cG>=255 then flg5=2 end
  102. if cB>=255 then flg5=3 end
  103. if flg5==1 then cR=cR-add cG=cG+add end
  104. if flg5==2 then cG=cG-add cB=cB+add end
  105. if flg5==3 then cB=cB-add cR=cR+add end
  106. color=Color3.fromRGB(cR,cG,cB)
  107. part.Color = color
  108. end)
  109. part.CFrame=CFrame.new(Handle.CFrame.p,p:lerp(p2,i))*CFrame.new(0,0,-((p:lerp(p2,i))-Handle.CFrame.p).magnitude/2)
  110. part.Transparency=i
  111. end
  112. end
  113. if h then local hu=FindHumanoid(h)
  114. if hu then
  115. if hu.MaxHealth==1/0 or hu.Health==1/0 then hu.MaxHealth=100 hu.Health=.5 end
  116. local dmg=9e99
  117. if hu.Health-dmg<=0 and hu.Health>0 then if hu.Parent then hu.Parent:BreakJoints() print("rip "..hu.Parent.Name..".")end hu.Health=0 hu.Parent:Destroy()
  118. local pa=Instance.new("Part",workspace)pa.Transparency=1 pa.Size=Vector3.new()pa.CFrame=CFrame.new(p)pa.Anchored=1
  119. local b=Instance.new("BillboardGui",pa)b.AlwaysOnTop=1 b.Size=UDim2.new(64,0,5,0)
  120. local t=Instance.new("TextBox",b)t.Text=KILLTEXT
  121. t.BackgroundTransparency=1 t.TextScaled=1 t.Size=UDim2.new(1,0,1,0)
  122. t.TextStrokeTransparency=0 touchCounter = 0
  123. local cR=0
  124. local cG=255
  125. local cB=0
  126. local flg5=1 local omgidk=1
  127. local add=25
  128. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  129. if omgidk>10000 then omgidk=0 end
  130. omgidk=omgidk+1
  131. if cR>=255 then flg5=1 end
  132. if cG>=255 then flg5=2 end
  133. if cB>=255 then flg5=3 end
  134. if flg5==1 then cR=cR-add cG=cG+add end
  135. if flg5==2 then cG=cG-add cB=cB+add end
  136. if flg5==3 then cB=cB-add cR=cR+add end
  137. color=Color3.fromRGB(cR,cG,cB)
  138. t.TextColor3 = color
  139. end)spawn(function()for i=0,1,.005 do t.TextTransparency=i t.TextStrokeTransparency=i w()end pa:Destroy()end)end hu.Health=hu.Health-dmg
  140. end end
  141. local part=Instance.new("Part",owner.Character)part.Material="Neon"part.CanCollide=false part.Anchored=true
  142. local mesh=Instance.new("BlockMesh",part)part.Size=Vector3.new(3,3,3)
  143. mesh.Scale=part.Size*20 part.Size=Vector3.new()touchCounter = 0
  144. local cR=0
  145. local cG=255
  146. local cB=0
  147. local flg5=1 local omgidk=1
  148. local add=25
  149. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  150. if omgidk>10000 then omgidk=0 end
  151. omgidk=omgidk+1
  152. if cR>=255 then flg5=1 end
  153. if cG>=255 then flg5=2 end
  154. if cB>=255 then flg5=3 end
  155. if flg5==1 then cR=cR-add cG=cG+add end
  156. if flg5==2 then cG=cG-add cB=cB+add end
  157. if flg5==3 then cB=cB-add cR=cR+add end
  158. color=Color3.fromRGB(cR,cG,cB)
  159. part.Color = color
  160. end)
  161. part.CFrame=CFrame.new(p)*CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),0)
  162. spawn(function()for i=0,1,.05 do part.Transparency=i w()end part:Destroy()end)
  163. if not sound then sound=Instance.new("Sound",Handle)sound.TimePosition=time sound.Looped=1 sound.SoundId="rbxassetid://"..ID sound.Volume=Vol sound:Play()else time=sound.TimePosition end
  164. else
  165. if sound then sound:Destroy()sound=nil end
  166. end
  167.  
  168. end)
  169. hum = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  170. hum.MaxHealth = math.huge
  171. hum.Health = math.huge
  172. hum.Name = "vuictroairachristophe!!"
  173. char = game:GetService("Players").LocalPlayer.Character
  174. Instance.new("ForceField",char).Visible = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement