Advertisement
ManlyMemeScripter

Bollet

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