Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print"Loading"
- -- << SUPER SOAKER FEEL >> --
- local UIS = game:GetService("UserInputService")
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- function GetCharacter()
- return game.Players.LocalPlayer.Character
- end
- function Teleport(pos)
- local Char = GetCharacter()
- if Char then
- Char:MoveTo(pos)
- end
- end
- UIS.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
- Teleport(Mouse.Hit.p)
- end
- end)
- local source = [[ypcall(function()
- local play = game.Players.LocalPlayer
- local char = game.Workspace:WaitForChild(play.Name)
- local cam = game.Workspace.CurrentCamera
- local mouse = play:GetMouse()
- local root = char:WaitForChild("HumanoidRootPart")
- local hum = char:WaitForChild("Humanoid")
- function returncam()
- cam.FieldOfView = 70
- cam.CameraType = "Custom"
- cam.CameraSubject = hum
- end
- --if game:GetService("MarketplaceService"):PlayerOwnsAsset(play, 457667510) then
- script.Run.AnimationId = "https://www.roblox.com/item.aspx?id=458506542"
- --end
- local runanim = hum:LoadAnimation(script.Run)
- local crouchanim = hum:LoadAnimation(script.Crouch)
- local userinput = game:GetService("UserInputService")
- local shift = false
- local s = false
- local running = false
- local ishit = false
- local idleanim
- local straits = play.Backpack:WaitForChild("ServerTraits")
- local tol
- hum.NameOcclusion = 2
- local crouching = false
- char.DescendantAdded:connect(function(ch)
- if ch:IsA("BodyVelocity") and ch.Name ~= "oho" then
- --hum.Health = 0
- end
- end)
- char.DescendantAdded:connect(function(ch)
- if ch:IsA("BodyGyro") then
- --hum.Health = 0
- end
- end)
- userinput.InputBegan:connect(function(input)
- if userinput:GetFocusedTextBox() ~= nil then
- return
- end
- if char:findFirstChild("Action") then
- return
- end
- 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
- shift = true
- runanim:Play(0.1, 1, 1.2)
- running = true
- end
- if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Thumbstick1 and 0.1 > input.Position.Y then
- s = true
- runanim:Stop()
- running = false
- end
- if (input.KeyCode == Enum.KeyCode.E or input.KeyCode == Enum.KeyCode.ButtonL1) and tol ~= nil then
- straits.Finish:FireServer(tol)
- end
- if input.KeyCode == Enum.KeyCode.LeftControl and hum.Sit == false and hum.PlatformStand == false then
- crouching = true
- crouchanim:Play(0.1, 1, 1)
- straits.Crouch:FireServer(true)
- end
- end)
- userinput.InputEnded:connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.ButtonL3 then
- shift = false
- runanim:Stop()
- running = false
- end
- if input.KeyCode == Enum.KeyCode.LeftControl then
- crouching = false
- straits.Crouch:FireServer(false)
- crouchanim:Stop()
- end
- if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Thumbstick1 and input.Position.Y > 0.1 then
- s = false
- end
- end)
- function ray(startpos, endpos, dis, ign)
- local test = Ray.new(startpos, CFrame.new(startpos, endpos).lookVector * dis)
- local hit, pos, sf = game.Workspace:FindPartOnRay(test, ign)
- return hit, pos, sf
- end
- char.ChildAdded:connect(function(ch)
- if ch:IsA("Tool") then
- tol = ch
- straits.Tool:FireServer(tol)
- if tol:findFirstChild("Idle") then
- if idleanim ~= nil then
- idleanim:Stop()
- end
- idleanim = hum:LoadAnimation(tol.Idle)
- idleanim:Play()
- end
- end
- end)
- char.ChildRemoved:connect(function(ch)
- if tol ~= nil and tol.Parent ~= char then
- tol = nil
- straits.Tool:FireServer(tol)
- if idleanim ~= nil then
- idleanim:Stop()
- end
- end
- end)
- local anim
- function doanim(ani, spd)
- if spd == nil then
- spd = 1
- end
- if anim ~= nil then
- anim:Stop()
- end
- local anim = hum:LoadAnimation(ani)
- anim:Play(0.1, 1, spd)
- end
- local on = 1
- local change = 0
- local en = true
- mouse.Idle:connect(function()
- local targ = mouse.Target
- if targ and targ:findFirstChild("ClickDetector") then
- mouse.Icon = "rbxgameasset://Images/MouseCIon"
- else
- mouse.Icon = ""
- end
- end)
- local timerz = 0
- userinput.TouchStarted:connect(function()
- timerz = game.Workspace.DistributedGameTime
- end)
- userinput.TouchEnded:connect(function()
- if game.Workspace.DistributedGameTime - timerz > 0.3 and tol ~= nil then
- straits.Finish:FireServer(tol)
- end
- end)
- userinput.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.KeyCode == Enum.KeyCode.ButtonR2 or input.UserInputType == Enum.UserInputType.Touch then
- if char:findFirstChild("Action") then
- return
- end
- local targ = mouse.Target
- play.PlayerGui.ScreenGui.TextLabel.Text = "action pressed"
- if input.KeyCode == Enum.KeyCode.ButtonR2 then
- play.PlayerGui.ScreenGui.TextLabel.Text = "R2 pressed"
- targ = ray(cam.CFrame.p, cam.CFrame.p + cam.CFrame.lookVector * 10, 40, char)
- end
- play.PlayerGui.ScreenGui.TextLabel.Text = "targ is " .. targ.Name
- if tol ~= nil and ishit == false and straits.Stam.Value > 0 and hum.PlatformStand == false and (not targ or not targ:findFirstChild("ClickDetector")) then
- shift = false
- if char:findFirstChild(tol.Name) and tol:findFirstChild("Info") and tol:findFirstChild("Running") then
- if not en then
- return
- end
- en = false
- if not tol:findFirstChild("Punch" .. on .. "") then
- on = 1
- end
- if 10 < root.Velocity.magnitude and running then
- local spd = 1
- if tol.Info:findFirstChild("AnimSpeed") then
- spd = tol.Info:findFirstChild("AnimSpeed").Value
- end
- doanim(tol.Running, 1)
- else
- local spd = 1
- if tol.Info:findFirstChild("AnimSpeed") then
- spd = tol.Info:findFirstChild("AnimSpeed").Value
- end
- doanim(tol["Punch" .. on .. ""], spd)
- end
- local t = tol.Handle
- if tol.Name == "Punch" then
- local namey = tol["Punch" .. on .. ""].Namer.Value
- t = char[namey]
- else
- t = tol.Handle
- end
- on = on + 1
- change = change + 1
- Spawn(function()
- local lon = change
- wait(0.8)
- if change == lon then
- on = 1
- change = 0
- end
- end)
- straits.Touch:FireServer(t, tol, running)
- wait(tol.Info.Cooldown.Value)
- en = true
- end
- else
- play.PlayerGui.ScreenGui.TextLabel.Text = "use clickdetector"
- local targ = mouse.Target
- local go = false
- local p
- p = mouse.Hit.p
- if input.KeyCode == Enum.KeyCode.ButtonR2 then
- play.PlayerGui.ScreenGui.TextLabel.Text = "R2 pressed V2"
- targ, heh = ray(cam.CFrame.p, cam.CFrame.p + cam.CFrame.lookVector * 10, 40, char)
- p = heh
- end
- if input.KeyCode == Enum.KeyCode.ButtonR2 then
- go = true
- play.PlayerGui.ScreenGui.TextLabel.Text = "xbox cant shiftlock lol"
- end
- if targ ~= nil then
- local h, p = ray(char.Head.Position, mouse.Hit.p, 10, char)
- if h == targ then
- go = true
- end
- end
- play.PlayerGui.ScreenGui.TextLabel.Text = "targ changed 2 " .. targ.Name
- if go == false then
- play.PlayerGui.ScreenGui.TextLabel.Text = "something in way"
- end
- if targ:findFirstChild("ClickDetector") then
- play.PlayerGui.ScreenGui.TextLabel.Text = "CD found"
- if root.Position - p.magnitude <= targ.ClickDetector.MaxActivationDistance then
- play.PlayerGui.ScreenGui.TextLabel.Text = "CD within distance"
- else
- play.PlayerGui.ScreenGui.TextLabel.Text = "CD out distance"
- end
- else
- play.PlayerGui.ScreenGui.TextLabel.Text = "CD NOT found"
- end
- if targ ~= nil and go and targ:findFirstChild("ClickDetector") and root.Position - p.magnitude <= targ.ClickDetector.MaxActivationDistance then
- play.PlayerGui.ScreenGui.TextLabel.Text = "within distance"
- if targ.ClickDetector:findFirstChild("RemoteEvent") then
- play.PlayerGui.ScreenGui.TextLabel.Text = "remote fired"
- targ.ClickDetector.RemoteEvent:FireServer()
- end
- if targ.Name == "Peep" then
- cam.CameraType = "Scriptable"
- cam.CoordinateFrame = CFrame.new(targ.Position + targ.CFrame.lookVector * 0.5, targ.Position + targ.CFrame.lookVector * 2 - Vector3.new(0, 0.5, 0))
- cam.FieldOfView = 120
- local opos = root.Position
- while true do
- wait()
- if root.Position - opos.magnitude > 0.2 then
- returncam()
- break
- end
- end
- end
- end
- end
- end
- end)
- hum.ChildAdded:connect(function(ch)
- wait()
- if ch:findFirstChild("Info") then
- ishit = true
- doanim(script["Hit" .. math.random(1, 3) .. ""])
- wait(0.1)
- ishit = false
- end
- end)
- function ray(startpos, endpos, dis, ignore)
- local test = Ray.new(startpos, CFrame.new(startpos, endpos).lookVector * dis)
- local hit, pos, sf = game.Workspace:FindPartOnRay(test, ignore)
- return hit, pos, sf
- end
- local waterwalk = true
- local p = Instance.new("Part")
- p.Anchored = true
- p.Transparency = 1
- p.Size = Vector3.new(4, 0, 4)
- local cc = Instance.new("ColorCorrectionEffect")
- cc.Parent = nil
- cc.Enabled = true
- cc.TintColor = Color3.new(0.39215686274509803, 0.24313725490196078, 1)
- cc.Saturation = -0.81
- local opos = root.Position
- game:GetService("RunService").RenderStepped:connect(function()
- if straits.Stam.Value <= 0 and not root:findFirstChild("Wet") then
- hum.JumpPower = 50
- else
- hum.JumpPower = 50
- end
- if opos.magnitude - root.Position.magnitude > 5 then
- --root.CFrame = CFrame.new(opos)
- else
- local h = ray(opos, root.Position, opos.magnitude - root.Position.magnitude, char)
- if h and h.CanCollide == true and h.Anchored == true then
- root.CFrame = CFrame.new(opos)
- end
- opos = root.Position
- end
- if root.Velocity.magnitude < 10 or shift == false and running == true or straits.Stam.Value <= 0 or s == true then
- runanim:Stop()
- running = false
- if straits.Stam.Value <= 0 then
- shift = false
- end
- elseif running == false and shift and s == false then
- runanim:Play(0.1, 1, 1.2)
- running = true
- end
- if char:findFirstChild("KO") then
- hum.PlatformStand = true
- hum.Sit = false
- end
- local ws = 16
- if running then
- ws = 50
- end
- if crouching then
- crouchanim:AdjustSpeed((root.Velocity * Vector3.new(1, 0, 1)).magnitude / 8)
- ws = ws
- end
- if ishit then
- ws = ws
- end
- if char:findFirstChild("Action") then
- ws = ws
- end
- hum.WalkSpeed = ws
- end)
- local tabl = {
- Text = "Type /mute to mute all boomboxes",
- Color = Color3.new(1, 1, 1),
- FontSize = Enum.FontSize.Size18
- }
- game.StarterGui:SetCore("ChatMakeSystemMessage", tabl)
- local tabl = {
- Text = "Type /unmute to unmute all boomboxes",
- Color = Color3.new(1, 1, 1),
- FontSize = Enum.FontSize.Size18
- }
- game.StarterGui:SetCore("ChatMakeSystemMessage", tabl)
- function find(a, b)
- for i, z in pairs(a:GetChildren()) do
- if z:IsA("Model") then
- find(z, b)
- elseif z.Name == "BoomBox" then
- z.Handle.Sound.Volume = b
- end
- end
- end
- play.Chatted:connect(function(msg)
- if msg == "/mute" then
- find(game.Workspace, 0)
- elseif msg == "/unmute" then
- find(game.Workspace, 0.5)
- end
- end)
- end)]]
- function run()
- loadstring(source)()
- end
- function bypass()
- local s = game.Players.LocalPlayer.PlayerGui.LocalScript
- s.Disabled = true
- for i,v in pairs(s:children())do
- if v then
- v = v:Clone()
- v.Parent = script
- end
- end
- wait()
- s:Destroy()
- wait()
- run()
- end
- bypass()
- game.Players.LocalPlayer.CharacterAdded:Connect(bypass)
Add Comment
Please, Sign In to add comment