Advertisement
BobMe

Untitled

Jan 1st, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ----------------------------------------
  2. -- Originally made by Alfederate :D --
  3. -- And Edited By Memo1332 So Fucks Given--
  4. ----------------------------------------
  5.  
  6. -- there's no time to explain! --
  7.  
  8. --- THE BELOW WILL FILTER ALL OBJS THAT APPEAR IN WORKSPACE WITH A TEXT PROPERTY
  9. do
  10. local filteredMessages = { ['___'] = '___' };
  11. local onPropertyChanged = function (obj)
  12. if (obj:isDescendantOf (workspace)) then
  13. local objText = obj.Text;
  14.  
  15. if (objText ~= '___' and objText:find '(%S)') then
  16. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  17. obj.Text = filteredMessages [objText];
  18. elseif (not filteredMessages [objText]) then
  19. obj.Text = '___';
  20.  
  21. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
  22.  
  23. filteredMessages [objText] = filtered;
  24. filteredMessages [filtered] = filtered;
  25.  
  26. obj.Text = filtered;
  27. end;
  28. end;
  29. end;
  30. end;
  31.  
  32. local newInstance = Instance.new;
  33. Instance = {
  34. new = function (class, parent)
  35. local obj = newInstance (class, parent);
  36.  
  37. if (pcall (function()return obj.Text;end)) then
  38. obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  39. obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  40. end;
  41.  
  42. return obj;
  43. end;
  44. };
  45. end;
  46. --- THE ABOVE
  47.  
  48. local plr = game.Players.LocalPlayer
  49. Instance.new("ForceField",plr.Character).Visible = false
  50.  
  51. local Mouse = game.Players.LocalPlayer:GetMouse()
  52. local Plr = game.Players.LocalPlayer
  53. local plr = game.Players.LocalPlayer
  54. local s = Instance.new("Sound")
  55.  
  56. base = Instance.new("ScreenGui",plr.PlayerGui)
  57. bbg = Instance.new("BillboardGui",plr.Character.Head)
  58. bbg.Size = UDim2.new(0,200,0,50)
  59. bbg.StudsOffset = Vector3.new(0,3,0)
  60. bbgTl = Instance.new("TextLabel",bbg)
  61. bbgTl.BackgroundTransparency = 1
  62. bbgTl.Size = UDim2.new(10,0,1,0)
  63. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  64. bbgTl.Font = "Code"
  65. bbgTl.Text = " "
  66. bbgTl.TextSize = 25
  67. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  68. bbgTl.TextColor3 = Color3.new(0.99,0,0.95)
  69. bbgTl.TextStrokeTransparency = 0
  70. bbgTl.TextWrapped = true
  71. plr.Chatted:connect(function(msg)
  72. bbgTl.Text = msg
  73. wait(5)
  74. if bbgTl.Text == msg then
  75. bbgTl.Text = " "
  76. end
  77. end)
  78.  
  79. Mouse.KeyDown:connect(function(KeyDown)
  80. if KeyDown == "0" then
  81. s.Name = "Sound"
  82. s.SoundId = "http://www.roblox.com/asset/?id=1135550512"
  83. s.Volume = 8
  84. s.Looped = true
  85. s.Archivable = false
  86. s.Looped = true
  87. s.Parent = game.Workspace
  88. s:Play()
  89. Plr.Character.Humanoid.WalkSpeed = 135
  90. end
  91. end)
  92.  
  93. Mouse.KeyUp:connect(function(KeyUp)
  94. if KeyUp == "0" then
  95. Plr.Character.Humanoid.WalkSpeed = 16
  96. s:Stop()
  97. end
  98. end)
  99.  
  100. local new=Instance.new
  101. local rad=math.rad
  102. local cf=CFrame.new
  103. local v3=Vector3.new
  104. local ang=function(x,y,z)
  105. return CFrame.Angles(rad(x),rad(y),rad(z))
  106. end
  107. local player=game:service'Players'.LocalPlayer
  108. local char=player.Character
  109. local cam=workspace.Camera
  110. local mouse=player:GetMouse()
  111. local weld=function(a,b,c0,c1)
  112. m=Instance.new('Motor',a)
  113. m.Part0=a
  114. m.Part1=b
  115. m.C0=c0
  116. m.C1=c1
  117. return m
  118. end
  119.  
  120. snd='rbxassetid://259048528'
  121. beamm=Instance.new('Model',workspace)
  122. beamm.Name='beam'
  123.  
  124. laser=false
  125.  
  126. rs=Instance.new('Part',char)
  127. rs.Transparency=1
  128. rs.CanCollide=false
  129. rs.BrickColor=BrickColor.new('Forest green')
  130. rs.TopSurface,rs.BottomSurface=0,0
  131. rs.FormFactor=3
  132. rs.Size=Vector3.new(.5,.5,2)
  133.  
  134. ls=rs:Clone()
  135. ls.Parent=char
  136.  
  137. rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf())
  138. lsw=weld(ls,char.Torso,cf(1,-.5,0),cf())
  139. raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8))
  140. law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43))
  141.  
  142. s1=Instance.new('Sound',char)
  143. s1.Volume=20
  144. s1.Pitch=1.3
  145. s1.Looped=true
  146. s1.SoundId=snd
  147.  
  148. particles={}
  149.  
  150. local wep=new('Part',char)
  151. wep.FormFactor=3
  152. wep.CanCollide=false
  153. wep.Size=v3(1.3,6,1.3)
  154. wep.BrickColor=BrickColor.new('Hot pink')
  155. wep.Material='Neon'
  156. wep.TopSurface,wep.BottomSurface=0,0
  157. local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8))
  158.  
  159. local beam=wep:Clone()
  160. beam:ClearAllChildren()
  161. beam.Material='Neon'
  162. beam.BrickColor=BrickColor.new('Pink')
  163. beam.Size=Vector3.new(3,3,1)
  164. beam.Transparency=.5
  165. beam.Anchored=true
  166. local ms=Instance.new('BlockMesh',beam)
  167. local inner=beam:Clone()
  168. inner.Transparency=0
  169. inner.Material='SmoothPlastic'
  170. inner.BrickColor=BrickColor.new('Pink')
  171. local ms2=inner.Mesh
  172.  
  173. local expl=inner:Clone()
  174. expl.Mesh:Destroy()
  175. expl.Material='Neon'
  176. expl.BrickColor=BrickColor.new('Hot pink')
  177. expl.Size=Vector3.new(11,11,11)
  178. expl.Transparency=.55
  179. pl=Instance.new('PointLight',expl)
  180. pl.Color=expl.BrickColor.Color
  181. pl.Range=pl.Range*2
  182. pl.Name='light'
  183. local br=pl.Range
  184.  
  185. local exa=expl:Clone()
  186. exa.Size=Vector3.new(4,4,4)
  187. pl2=exa.light
  188.  
  189. local part=exa:Clone()
  190. part.Size=Vector3.new(1.5,1.5,1.5)
  191. pl3=part.light
  192. pms=Instance.new('BlockMesh',part)
  193.  
  194. char.Humanoid.Died:connect(function()
  195. laser=false
  196. beam.Parent=nil
  197. inner.Parent=nil
  198. expl.Parent=nil
  199. exa.Parent=nil
  200. s1:stop()
  201. end)
  202.  
  203. mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then
  204. laser=true
  205. s1.Volume=0.1
  206. s1:play()
  207. end end)
  208. mouse.Button1Up:connect(function()
  209. laser=false
  210. beam.Parent=nil
  211. inner.Parent=nil
  212. expl.Parent=nil
  213. exa.Parent=nil
  214. s1:stop()
  215. end)
  216.  
  217. parti=0
  218. game:service'RunService'.Stepped:connect(function()
  219. parti=parti+1
  220. for i,v in pairs(particles) do
  221. v.CFrame=v.CFrame*CFrame.new(0,0,-.3)
  222. v.Transparency=v.Transparency+.08
  223. if v.Transparency >= 1 then
  224. v:Destroy()
  225. table.remove(particles,i)
  226. else
  227. v.Parent=beamm
  228. end
  229. end
  230. a=cam.CoordinateFrame.p
  231. b=mouse.Hit.p
  232. mhitr=Ray.new(a,(b-a).unit*999)
  233. mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
  234. raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8)
  235. law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43)
  236. if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then
  237. char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z))
  238. end
  239. if laser then
  240. beamm.Parent=workspace
  241. beam.Parent=beamm
  242. inner.Parent=beamm
  243. expl.Parent=beamm
  244. exa.Parent=beamm
  245. s1.Volume=s1.Volume-0
  246.  
  247. ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999)
  248. hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
  249.  
  250. if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .000003 and parti/8==math.floor(parti/8) then
  251. Instance.new('Explosion',workspace).Position=pos
  252. end
  253. if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then
  254. e=Instance.new('Explosion',workspace)
  255. e.Position=pos
  256. e.BlastRadius=14
  257. e.BlastPressure=1e4
  258. end
  259. if hit and not hit.Anchored and not (hit:GetMass()>1e4) then
  260. hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(0*s1.Volume*hit:GetMass())
  261. end
  262.  
  263. if parti==math.floor(parti) then
  264. par=part:Clone()
  265. table.insert(particles,par)
  266. par.Parent=beamm
  267. par.Transparency=1-s1.Volume
  268. par.light.Range=br*s1.Volume
  269. par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10)
  270. end
  271.  
  272. mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude
  273. ms.Scale=v3(s1.Volume,s1.Volume,mag)
  274. ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag))
  275. beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180))
  276. inner.CFrame=beam.CFrame
  277. pl.Range=br*s1.Volume
  278. pl2.Range=br*s1.Volume
  279. expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume
  280. expl.Transparency=math.random(40,60)/100
  281. expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  282. exa.Size=v3(4,4,4)*s1.Volume
  283. exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180))
  284. char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(0*s1.Volume)
  285. end
  286. end)
  287.  
  288. local UserInputService = game:GetService("UserInputService")
  289. local localPlayer = game.Players.LocalPlayer
  290. local character
  291. local humanoid
  292.  
  293. local canDoubleJump = false
  294. local hasDoubleJumped = false
  295. local oldPower
  296. local TIME_BETWEEN_JUMPS = 0.2
  297. local DOUBLE_JUMP_POWER_MULTIPLIER = 2
  298.  
  299. function onJumpRequest()
  300. if not character or not humanoid or not character:IsDescendantOf(workspace) or
  301. humanoid:GetState() == Enum.HumanoidStateType.Dead then
  302. return
  303. end
  304.  
  305. if canDoubleJump and not hasDoubleJumped then
  306. hasDoubleJumped = true
  307. humanoid.JumpPower = oldPower * DOUBLE_JUMP_POWER_MULTIPLIER
  308. humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  309. end
  310. end
  311.  
  312. local function characterAdded(newCharacter)
  313. character = newCharacter
  314. humanoid = newCharacter:WaitForChild("Humanoid")
  315. hasDoubleJumped = false
  316. canDoubleJump = false
  317. oldPower = humanoid.JumpPower
  318.  
  319. humanoid.StateChanged:connect(function(old, new)
  320. if new == Enum.HumanoidStateType.Landed then
  321. canDoubleJump = false
  322. hasDoubleJumped = false
  323. humanoid.JumpPower = oldPower
  324. elseif new == Enum.HumanoidStateType.Freefall then
  325. wait(TIME_BETWEEN_JUMPS)
  326. canDoubleJump = true
  327. end
  328. end)
  329. end
  330.  
  331. if localPlayer.Character then
  332. characterAdded(localPlayer.Character)
  333. end
  334.  
  335. while true do
  336. wait()
  337. Workspace.Memo1332.Humanoid.MaxHealth = math.huge
  338. end
  339.  
  340. localPlayer.CharacterAdded:connect(characterAdded)
  341. UserInputService.JumpRequest:connect(onJumpRequest)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement