AlxeBoii

aaa

Jul 6th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.12 KB | None | 0 0
  1. print"Loading"
  2.  
  3. -- << SUPER SOAKER FEEL >> --
  4.  
  5.  
  6.  
  7. local UIS = game:GetService("UserInputService")
  8.  
  9. local Player = game.Players.LocalPlayer
  10. local Mouse = Player:GetMouse()
  11.  
  12.  
  13. function GetCharacter()
  14. return game.Players.LocalPlayer.Character
  15. end
  16.  
  17. function Teleport(pos)
  18. local Char = GetCharacter()
  19. if Char then
  20. Char:MoveTo(pos)
  21. end
  22. end
  23.  
  24.  
  25. UIS.InputBegan:Connect(function(input)
  26. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  27. Teleport(Mouse.Hit.p)
  28. end
  29. end)
  30.  
  31.  
  32.  
  33.  
  34. local source = [[ypcall(function()
  35. local play = game.Players.LocalPlayer
  36. local char = game.Workspace:WaitForChild(play.Name)
  37. local cam = game.Workspace.CurrentCamera
  38. local mouse = play:GetMouse()
  39. local root = char:WaitForChild("HumanoidRootPart")
  40. local hum = char:WaitForChild("Humanoid")
  41. function returncam()
  42. cam.FieldOfView = 70
  43. cam.CameraType = "Custom"
  44. cam.CameraSubject = hum
  45. end
  46. --if game:GetService("MarketplaceService"):PlayerOwnsAsset(play, 457667510) then
  47. script.Run.AnimationId = "https://www.roblox.com/item.aspx?id=458506542"
  48. --end
  49. local runanim = hum:LoadAnimation(script.Run)
  50. local crouchanim = hum:LoadAnimation(script.Crouch)
  51. local userinput = game:GetService("UserInputService")
  52. local shift = false
  53. local s = false
  54. local running = false
  55. local ishit = false
  56. local idleanim
  57. local straits = play.Backpack:WaitForChild("ServerTraits")
  58. local tol
  59. hum.NameOcclusion = 2
  60. local crouching = false
  61. char.DescendantAdded:connect(function(ch)
  62. if ch:IsA("BodyVelocity") and ch.Name ~= "oho" then
  63. --hum.Health = 0
  64. end
  65. end)
  66. char.DescendantAdded:connect(function(ch)
  67. if ch:IsA("BodyGyro") then
  68. --hum.Health = 0
  69. end
  70. end)
  71. userinput.InputBegan:connect(function(input)
  72. if userinput:GetFocusedTextBox() ~= nil then
  73. return
  74. end
  75. if char:findFirstChild("Action") then
  76. return
  77. end
  78. if (input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.ButtonL3) and s == false and straits.Stam.Value > 0 and hum.Sit == false and hum.PlatformStand == false then
  79. shift = true
  80. runanim:Play(0.1, 1, 1.2)
  81. running = true
  82. end
  83. if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Thumbstick1 and 0.1 > input.Position.Y then
  84. s = true
  85. runanim:Stop()
  86. running = false
  87. end
  88. if (input.KeyCode == Enum.KeyCode.E or input.KeyCode == Enum.KeyCode.ButtonL1) and tol ~= nil then
  89. straits.Finish:FireServer(tol)
  90. end
  91. if input.KeyCode == Enum.KeyCode.LeftControl and hum.Sit == false and hum.PlatformStand == false then
  92. crouching = true
  93. crouchanim:Play(0.1, 1, 1)
  94. straits.Crouch:FireServer(true)
  95. end
  96. end)
  97. userinput.InputEnded:connect(function(input)
  98. if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.ButtonL3 then
  99. shift = false
  100. runanim:Stop()
  101. running = false
  102. end
  103. if input.KeyCode == Enum.KeyCode.LeftControl then
  104. crouching = false
  105. straits.Crouch:FireServer(false)
  106. crouchanim:Stop()
  107. end
  108. if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Thumbstick1 and input.Position.Y > 0.1 then
  109. s = false
  110. end
  111. end)
  112. function ray(startpos, endpos, dis, ign)
  113. local test = Ray.new(startpos, CFrame.new(startpos, endpos).lookVector * dis)
  114. local hit, pos, sf = game.Workspace:FindPartOnRay(test, ign)
  115. return hit, pos, sf
  116. end
  117. char.ChildAdded:connect(function(ch)
  118. if ch:IsA("Tool") then
  119. tol = ch
  120. straits.Tool:FireServer(tol)
  121. if tol:findFirstChild("Idle") then
  122. if idleanim ~= nil then
  123. idleanim:Stop()
  124. end
  125. idleanim = hum:LoadAnimation(tol.Idle)
  126. idleanim:Play()
  127. end
  128. end
  129. end)
  130. char.ChildRemoved:connect(function(ch)
  131. if tol ~= nil and tol.Parent ~= char then
  132. tol = nil
  133. straits.Tool:FireServer(tol)
  134. if idleanim ~= nil then
  135. idleanim:Stop()
  136. end
  137. end
  138. end)
  139. local anim
  140. function doanim(ani, spd)
  141. if spd == nil then
  142. spd = 1
  143. end
  144. if anim ~= nil then
  145. anim:Stop()
  146. end
  147. local anim = hum:LoadAnimation(ani)
  148. anim:Play(0.1, 1, spd)
  149. end
  150. local on = 1
  151. local change = 0
  152. local en = true
  153. mouse.Idle:connect(function()
  154. local targ = mouse.Target
  155. if targ and targ:findFirstChild("ClickDetector") then
  156. mouse.Icon = "rbxgameasset://Images/MouseCIon"
  157. else
  158. mouse.Icon = ""
  159. end
  160. end)
  161. local timerz = 0
  162. userinput.TouchStarted:connect(function()
  163. timerz = game.Workspace.DistributedGameTime
  164. end)
  165. userinput.TouchEnded:connect(function()
  166. if game.Workspace.DistributedGameTime - timerz > 0.3 and tol ~= nil then
  167. straits.Finish:FireServer(tol)
  168. end
  169. end)
  170. userinput.InputBegan:connect(function(input)
  171. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.KeyCode == Enum.KeyCode.ButtonR2 or input.UserInputType == Enum.UserInputType.Touch then
  172. if char:findFirstChild("Action") then
  173. return
  174. end
  175. local targ = mouse.Target
  176. play.PlayerGui.ScreenGui.TextLabel.Text = "action pressed"
  177. if input.KeyCode == Enum.KeyCode.ButtonR2 then
  178. play.PlayerGui.ScreenGui.TextLabel.Text = "R2 pressed"
  179. targ = ray(cam.CFrame.p, cam.CFrame.p + cam.CFrame.lookVector * 10, 40, char)
  180. end
  181. play.PlayerGui.ScreenGui.TextLabel.Text = "targ is " .. targ.Name
  182. if tol ~= nil and ishit == false and straits.Stam.Value > 0 and hum.PlatformStand == false and (not targ or not targ:findFirstChild("ClickDetector")) then
  183. shift = false
  184. if char:findFirstChild(tol.Name) and tol:findFirstChild("Info") and tol:findFirstChild("Running") then
  185. if not en then
  186. return
  187. end
  188. en = false
  189. if not tol:findFirstChild("Punch" .. on .. "") then
  190. on = 1
  191. end
  192. if 10 < root.Velocity.magnitude and running then
  193. local spd = 1
  194. if tol.Info:findFirstChild("AnimSpeed") then
  195. spd = tol.Info:findFirstChild("AnimSpeed").Value
  196. end
  197. doanim(tol.Running, 1)
  198. else
  199. local spd = 1
  200. if tol.Info:findFirstChild("AnimSpeed") then
  201. spd = tol.Info:findFirstChild("AnimSpeed").Value
  202. end
  203. doanim(tol["Punch" .. on .. ""], spd)
  204. end
  205. local t = tol.Handle
  206. if tol.Name == "Punch" then
  207. local namey = tol["Punch" .. on .. ""].Namer.Value
  208. t = char[namey]
  209. else
  210. t = tol.Handle
  211. end
  212. on = on + 1
  213. change = change + 1
  214. Spawn(function()
  215. local lon = change
  216. wait(0.8)
  217. if change == lon then
  218. on = 1
  219. change = 0
  220. end
  221. end)
  222. straits.Touch:FireServer(t, tol, running)
  223. wait(tol.Info.Cooldown.Value)
  224. en = true
  225. end
  226. else
  227. play.PlayerGui.ScreenGui.TextLabel.Text = "use clickdetector"
  228. local targ = mouse.Target
  229. local go = false
  230. local p
  231. p = mouse.Hit.p
  232. if input.KeyCode == Enum.KeyCode.ButtonR2 then
  233. play.PlayerGui.ScreenGui.TextLabel.Text = "R2 pressed V2"
  234. targ, heh = ray(cam.CFrame.p, cam.CFrame.p + cam.CFrame.lookVector * 10, 40, char)
  235. p = heh
  236. end
  237. if input.KeyCode == Enum.KeyCode.ButtonR2 then
  238. go = true
  239. play.PlayerGui.ScreenGui.TextLabel.Text = "xbox cant shiftlock lol"
  240. end
  241. if targ ~= nil then
  242. local h, p = ray(char.Head.Position, mouse.Hit.p, 10, char)
  243. if h == targ then
  244. go = true
  245. end
  246. end
  247. play.PlayerGui.ScreenGui.TextLabel.Text = "targ changed 2 " .. targ.Name
  248. if go == false then
  249. play.PlayerGui.ScreenGui.TextLabel.Text = "something in way"
  250. end
  251. if targ:findFirstChild("ClickDetector") then
  252. play.PlayerGui.ScreenGui.TextLabel.Text = "CD found"
  253. if root.Position - p.magnitude <= targ.ClickDetector.MaxActivationDistance then
  254. play.PlayerGui.ScreenGui.TextLabel.Text = "CD within distance"
  255. else
  256. play.PlayerGui.ScreenGui.TextLabel.Text = "CD out distance"
  257. end
  258. else
  259. play.PlayerGui.ScreenGui.TextLabel.Text = "CD NOT found"
  260. end
  261. if targ ~= nil and go and targ:findFirstChild("ClickDetector") and root.Position - p.magnitude <= targ.ClickDetector.MaxActivationDistance then
  262. play.PlayerGui.ScreenGui.TextLabel.Text = "within distance"
  263. if targ.ClickDetector:findFirstChild("RemoteEvent") then
  264. play.PlayerGui.ScreenGui.TextLabel.Text = "remote fired"
  265. targ.ClickDetector.RemoteEvent:FireServer()
  266. end
  267. if targ.Name == "Peep" then
  268. cam.CameraType = "Scriptable"
  269. cam.CoordinateFrame = CFrame.new(targ.Position + targ.CFrame.lookVector * 0.5, targ.Position + targ.CFrame.lookVector * 2 - Vector3.new(0, 0.5, 0))
  270. cam.FieldOfView = 120
  271. local opos = root.Position
  272. while true do
  273. wait()
  274. if root.Position - opos.magnitude > 0.2 then
  275. returncam()
  276. break
  277. end
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end)
  284. hum.ChildAdded:connect(function(ch)
  285. wait()
  286. if ch:findFirstChild("Info") then
  287. ishit = true
  288. doanim(script["Hit" .. math.random(1, 3) .. ""])
  289. wait(0.1)
  290. ishit = false
  291. end
  292. end)
  293. function ray(startpos, endpos, dis, ignore)
  294. local test = Ray.new(startpos, CFrame.new(startpos, endpos).lookVector * dis)
  295. local hit, pos, sf = game.Workspace:FindPartOnRay(test, ignore)
  296. return hit, pos, sf
  297. end
  298. local waterwalk = true
  299. local p = Instance.new("Part")
  300. p.Anchored = true
  301. p.Transparency = 1
  302. p.Size = Vector3.new(4, 0, 4)
  303. local cc = Instance.new("ColorCorrectionEffect")
  304. cc.Parent = nil
  305. cc.Enabled = true
  306. cc.TintColor = Color3.new(0.39215686274509803, 0.24313725490196078, 1)
  307. cc.Saturation = -0.81
  308. local opos = root.Position
  309. game:GetService("RunService").RenderStepped:connect(function()
  310. if straits.Stam.Value <= 0 and not root:findFirstChild("Wet") then
  311. hum.JumpPower = 50
  312. else
  313. hum.JumpPower = 50
  314. end
  315. if opos.magnitude - root.Position.magnitude > 5 then
  316. --root.CFrame = CFrame.new(opos)
  317. else
  318. local h = ray(opos, root.Position, opos.magnitude - root.Position.magnitude, char)
  319. if h and h.CanCollide == true and h.Anchored == true then
  320. root.CFrame = CFrame.new(opos)
  321. end
  322. opos = root.Position
  323. end
  324. if root.Velocity.magnitude < 10 or shift == false and running == true or straits.Stam.Value <= 0 or s == true then
  325. runanim:Stop()
  326. running = false
  327. if straits.Stam.Value <= 0 then
  328. shift = false
  329. end
  330. elseif running == false and shift and s == false then
  331. runanim:Play(0.1, 1, 1.2)
  332. running = true
  333. end
  334. if char:findFirstChild("KO") then
  335. hum.PlatformStand = true
  336. hum.Sit = false
  337. end
  338. local ws = 16
  339. if running then
  340. ws = 50
  341. end
  342. if crouching then
  343. crouchanim:AdjustSpeed((root.Velocity * Vector3.new(1, 0, 1)).magnitude / 8)
  344. ws = ws
  345. end
  346. if ishit then
  347. ws = ws
  348. end
  349. if char:findFirstChild("Action") then
  350. ws = ws
  351. end
  352. hum.WalkSpeed = ws
  353. end)
  354. local tabl = {
  355. Text = "Type /mute to mute all boomboxes",
  356. Color = Color3.new(1, 1, 1),
  357. FontSize = Enum.FontSize.Size18
  358. }
  359. game.StarterGui:SetCore("ChatMakeSystemMessage", tabl)
  360. local tabl = {
  361. Text = "Type /unmute to unmute all boomboxes",
  362. Color = Color3.new(1, 1, 1),
  363. FontSize = Enum.FontSize.Size18
  364. }
  365. game.StarterGui:SetCore("ChatMakeSystemMessage", tabl)
  366. function find(a, b)
  367. for i, z in pairs(a:GetChildren()) do
  368. if z:IsA("Model") then
  369. find(z, b)
  370. elseif z.Name == "BoomBox" then
  371. z.Handle.Sound.Volume = b
  372. end
  373. end
  374. end
  375. play.Chatted:connect(function(msg)
  376. if msg == "/mute" then
  377. find(game.Workspace, 0)
  378. elseif msg == "/unmute" then
  379. find(game.Workspace, 0.5)
  380. end
  381. end)
  382. end)]]
  383.  
  384.  
  385. function run()
  386. loadstring(source)()
  387. end
  388.  
  389.  
  390. function bypass()
  391. local s = game.Players.LocalPlayer.PlayerGui.LocalScript
  392. s.Disabled = true
  393. for i,v in pairs(s:children())do
  394. if v then
  395. v = v:Clone()
  396. v.Parent = script
  397. end
  398. end
  399. wait()
  400. s:Destroy()
  401. wait()
  402. run()
  403. end
  404.  
  405. bypass()
  406. game.Players.LocalPlayer.CharacterAdded:Connect(bypass)
Add Comment
Please, Sign In to add comment