Advertisement
Dark_EccentricYT

Untitled

Dec 29th, 2018
4,804
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 KB | None | 0 0
  1.  
  2. -- Bullet!Bill --
  3. wait()
  4. LoudVolume = false
  5. Submerged = false
  6. Music = true
  7. script.Name = "BulletBill" -- or Morty.
  8. Player = game.Players.LocalPlayer
  9. c = game.Players.LocalPlayer.Character
  10. Head = c.Head
  11. anim = c.Humanoid.Animator
  12. Humanoid = c:findFirstChild("Humanoid")Humanoid.Name = "InfiniteBeing"
  13. b23 = Instance.new("BoolValue",c)b23.Name = "InfiniteHuman"
  14. rage = false
  15. p = game.Players.LocalPlayer
  16. Music = false
  17.  
  18. local Effects = {}
  19. attack = false
  20. local attacking = false
  21. vt = Vector3.new
  22. bc = BrickColor.new
  23. br = BrickColor.random
  24. it = Instance.new
  25. cf = CFrame.new
  26. euler = CFrame.fromEulerAnglesXYZ
  27. angles = CFrame.Angles
  28. matr = math.random
  29. mouse = Player:GetMouse()
  30.  
  31. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  32. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  33. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  34. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  35. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  36. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  37. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  38. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  39. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  40. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  41. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  42. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  43. RS = c.Torso:FindFirstChild("Right Shoulder")
  44. LS = c.Torso:FindFirstChild("Left Shoulder")
  45. RH = c.Torso:FindFirstChild("Right Hip")
  46. LH = c.Torso:FindFirstChild("Left Hip")
  47. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  48. N = c.Torso:FindFirstChild("Neck")
  49. cf = CFrame.new
  50. ang = CFrame.Angles
  51. rd = math.rad
  52. rd2 = math.random
  53.  
  54.  
  55. function NukeShockwaves(Size, CFramez)
  56. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0.5 Shock.Size = Vector3.new(0.2,0.2,0.2) Shock.Anchored = true
  57. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Medium stone grey") local SM = Instance.new("SpecialMesh",Shock)
  58. SM.MeshId = "rbxassetid://20329976" SM.Scale = Vector3.new(Size,5,Size) Shock.CFrame = CFramez*CFrame.new(0,1,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  59. Spawn(function()
  60. for i = 1,math.huge do
  61. if Shock.Transparency >= 1 then break end
  62. Shock.Transparency = Shock.Transparency + 0.025
  63. wait()
  64. end
  65. end)
  66. end
  67.  
  68. function swait(num)
  69. if num==0 or num==nil then
  70. game:service'RunService'.Heartbeat:wait(0)
  71. else
  72. for i=0,num do
  73. game:service'RunService'.Heartbeat:wait(0)
  74. end
  75. end
  76. end
  77. for i,v in pairs (c:children()) do
  78. if v.ClassName == "Accessory" then
  79. for i,v2 in pairs (v:children()) do
  80. if v2.ClassName == "Part" then
  81. v2.Transparency = 1
  82. end
  83. end
  84. end
  85. if v.ClassName == "Part" then
  86. v.Transparency = 1
  87. end
  88. end
  89. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,3,0)
  90. local P = Instance.new("Part",c)P.Size = Vector3.new(3,3,3)local W = Instance.new("Weld",c.HumanoidRootPart)W.Part0 = c.HumanoidRootPart W.Part1 = P
  91. W.C0 = CFrame.Angles(0,math.rad(90),0) local SM = Instance.new("SpecialMesh",P)SM.MeshId = "rbxassetid://431159713" SM.TextureId = "rbxassetid://431159716" SM.Scale = Vector3.new(0.005,0.005,0.005)
  92. W.C0 = W.C0*CFrame.Angles(math.rad(-90),0,0)local Par = Instance.new("ParticleEmitter",P)Par.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
  93. Par.Speed = NumberRange.new(0)Par.Rate = 250 Par.Lifetime = NumberRange.new(0.25,0.5)
  94. s = Instance.new("Sound",P) s.SoundId = "rbxassetid://273108936" s.Volume = 0.5 s.Looped = true s:Play()
  95. Hit = false
  96. P.Touched:connect(function(Hit)
  97. if Hit == false then return end
  98. if Hit == c or Hit.Parent == c then return end
  99. for i,v in pairs(game.Workspace:children()) do
  100. if v:findFirstChild("Head")~= nil and v ~= c then
  101. if (v.Head.Position-c.HumanoidRootPart.Position).magnitude <= 25 then
  102. v:remove()
  103. end
  104. end
  105. end
  106. Hit = true c.Parent = nil
  107. local Shock = Instance.new("Part",game.Workspace)Shock.Transparency = 0 Shock.Size = Vector3.new(1,1,1) Shock.Anchored = true
  108. Shock.CanCollide = false Shock.BrickColor = BrickColor.new("Bright orange") Shock.Material = "Neon" local SM = Instance.new("SpecialMesh",Shock)
  109. Shock.CFrame = CFrame.new(P.Position) SM.MeshType = "Sphere"
  110. P:remove()
  111. local Pos = Shock.Position
  112. local Sound = Instance.new("Sound",Shock) Sound.SoundId = "rbxassetid://258057783" Sound.Volume = 4 Sound.Parent = Shock Sound.PlaybackSpeed = 0.4 Sound:Play()
  113. for i = 1,4 do
  114. SM.Scale = SM.Scale + Vector3.new(i*2,i*2,i*2)
  115. NukeShockwaves(i*6,CFrame.new(Shock.Position))
  116. wait()
  117. end
  118. for i = 1,30 do
  119. Shock.Transparency = Shock.Transparency + 1/30
  120. SM.Scale = SM.Scale + Vector3.new(i*0.025,i*0.025,i*0.025)
  121. wait()
  122. end
  123. end)
  124.  
  125. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  126. if hit.Parent==nil then
  127. return
  128. end
  129. local h=hit.Parent:FindFirstChild("Humanoid")
  130. for _,v in pairs(hit.Parent:children()) do
  131. if v:IsA("Humanoid") then
  132. h=v
  133. end
  134. end
  135. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  136. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  137. end
  138. if hit.Parent.className=="Hat" then
  139. hit=hit.Parent.Parent:findFirstChild("Head")
  140. end
  141. if h~=nil and hit.Parent.Name~=c.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  142. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  143. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  144. return
  145. end]]
  146. -- hs(hit,1.2)
  147. local c=Instance.new("ObjectValue")
  148. c.Name="creator"
  149. c.Value=game:service("Players").LocalPlayer
  150. c.Parent=h
  151. game:GetService("Debris"):AddItem(c,.5)
  152. local Damage=math.random(minim,maxim)
  153. -- h:TakeDamage(Damage)
  154. local blocked=false
  155. local block=hit.Parent:findFirstChild("Block")
  156. if block~=nil then
  157. print(block.className)
  158. if block.className=="NumberValue" then
  159. if block.Value>0 then
  160. blocked=true
  161. if decreaseblock==nil then
  162. block.Value=block.Value-1
  163. end
  164. end
  165. end
  166. if block.className=="IntValue" then
  167. if block.Value>0 then
  168. blocked=true
  169. if decreaseblock~=nil then
  170. block.Value=block.Value-1
  171. end
  172. end
  173. end
  174. end
  175. if blocked==false then
  176. -- h:TakeDamage(Damage)
  177. h.Health=h.Health-Damage
  178. else
  179. h.Health=h.Health-(Damage/2)
  180. end
  181. if Type=="Knockdown" then
  182. local hum=hit.Parent.Humanoid
  183. hum.PlatformStand=true
  184. coroutine.resume(coroutine.create(function(HHumanoid)
  185. swait(1)
  186. HHumanoid.PlatformStand=false
  187. end),hum)
  188. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  189. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  190. local bodvol=Instance.new("BodyVelocity")
  191. bodvol.velocity=angle*knockback
  192. bodvol.P=5000
  193. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  194. bodvol.Parent=hit
  195. local rl=Instance.new("BodyAngularVelocity")
  196. rl.P=3000
  197. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  198. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  199. rl.Parent=hit
  200. game:GetService("Debris"):AddItem(bodvol,.5)
  201. game:GetService("Debris"):AddItem(rl,.5)
  202. elseif Type=="Normal" then
  203. local vp=Instance.new("BodyVelocity")
  204. vp.P=500
  205. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  206. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  207. if KnockbackType==1 then
  208. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  209. elseif KnockbackType==2 then
  210. vp.velocity=Property.CFrame.lookVector*knockback
  211. end
  212. if knockback>0 then
  213. vp.Parent=hit.Parent.Torso
  214. end
  215. game:GetService("Debris"):AddItem(vp,.5)
  216. elseif Type=="Up" then
  217. local bodyVelocity=Instance.new("BodyVelocity")
  218. bodyVelocity.velocity=vt(0,60,0)
  219. bodyVelocity.P=5000
  220. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  221. bodyVelocity.Parent=hit
  222. game:GetService("Debris"):AddItem(bodyVelocity,1)
  223. local rl=Instance.new("BodyAngularVelocity")
  224. rl.P=3000
  225. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  226. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  227. rl.Parent=hit
  228. game:GetService("Debris"):AddItem(rl,.5)
  229. elseif Type=="Snare" then
  230. local bp=Instance.new("BodyPosition")
  231. bp.P=2000
  232. bp.D=100
  233. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  234. bp.position=hit.Parent.Torso.Position
  235. bp.Parent=hit.Parent.Torso
  236. game:GetService("Debris"):AddItem(bp,1)
  237. elseif Type=="Target" then
  238. local Targetting = false
  239. if Targetting==false then
  240. ZTarget=hit.Parent.Torso
  241. coroutine.resume(coroutine.create(function(Part)
  242. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  243. swait(5)
  244. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  245. end),ZTarget)
  246. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  247. local targetgui=Instance.new("BillboardGui")
  248. targetgui.Parent=ZTarget
  249. targetgui.Size=UDim2.new(10,100,10,100)
  250. local targ=Instance.new("ImageLabel")
  251. targ.Parent=targetgui
  252. targ.BackgroundTransparency=1
  253. targ.Image="rbxassetid://4834067"
  254. targ.Size=UDim2.new(1,0,1,0)
  255. cam.CameraType="Scriptable"
  256. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  257. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  258. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  259. Targetting=true
  260. RocketTarget=ZTarget
  261. for i=1,Property do
  262. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  263. if Humanoid.Health>0 and c.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  264. swait()
  265. end
  266. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  267. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  268. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  269. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  270. end
  271. Targetting=false
  272. RocketTarget=nil
  273. targetgui.Parent=nil
  274. cam.CameraType="Custom"
  275. end
  276. end
  277. c=Instance.new("ObjectValue")
  278. c.Name="creator"
  279. c.Value=Player
  280. c.Parent=h
  281. game:GetService("Debris"):AddItem(c,.5)
  282. end
  283. end
  284.  
  285. function MagniDamage(Part,dis,mind,maxd,force,knock)
  286. for _,c in pairs(workspace:children()) do
  287. local hum=c:findFirstChild("Humanoid")
  288. if hum~=nil then
  289. local head=c:findFirstChild("Torso")
  290. if head~=nil then
  291. local targ=head.Position-Part.Position
  292. local mag=targ.magnitude
  293. if mag<=dis and c.Name~=c.Name then
  294. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,c.HumanoidRootPart,.2,1)
  295. end
  296. end
  297. end
  298. end
  299. end
  300.  
  301. game:GetService("RunService").RenderStepped:connect(function()
  302. Humanoid.MaxHealth = Humanoid.MaxHealth*2
  303. Humanoid.Health = Humanoid.MaxHealth*2
  304. c.HumanoidRootPart.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  305. c.HumanoidRootPart.CFrame = c.HumanoidRootPart.CFrame*CFrame.new(0,0,-2)
  306. W.C0 = W.C0 * CFrame.Angles(math.rad(3),0,0)
  307. for i,v in pairs (c:children()) do
  308. if v.ClassName == "Part" then
  309. v.Velocity = Vector3.new(0,0,0)
  310. end
  311. end
  312. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement