Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Game: https://www.roblox.com/games/2998714569/UPDATE-Snap-Simulator
- --Edited/made by brianops1
- --Execute this a few times and you will have an insta kill (pretty much) per click
- function define()
- player = game.Players.LocalPlayer
- clickEvent = game.ReplicatedStorage.Eventos.Herramienta.ClickEvent
- InvocarTiempo = game.ReplicatedStorage.Eventos.Boosts.RecogeReloadTimeBoost
- tool = game.Workspace[player.Name]:FindFirstChildOfClass("Tool")
- script = tool:FindFirstChild("LocalScript")
- ping = false
- mouse = player:GetMouse()
- CantiGiro = Vector3.new(0, 40, 0)
- Key53 = 8186484168865098
- Key14 = 4887
- end
- local inv256
- define()
- local function Encode(str)
- define()
- if not inv256 then
- inv256 = {}
- for M = 0, 127 do
- local inv = -1
- repeat
- inv = inv + 2
- until inv * (2 * M + 1) % 256 == 1
- inv256[M] = inv
- end
- end
- local K, F = Key53, 16384 + Key14
- return (str:gsub(".", function(m)
- local L = K % 274877906944
- local H = (K - L) / 274877906944
- local M = H % 128
- m = m:byte()
- local c = (m * inv256[M] - (H - M) / 128) % 256
- K = L * F + H + c + m
- return ("%02x"):format(c)
- end))
- end
- local function onClick(player, clickLocation, ParteTocada)
- define()
- if ParteTocada:FindFirstChild("Stats") and ParteTocada:FindFirstChild("Stats"):FindFirstChild("Alive") and ParteTocada:FindFirstChild("Stats").Alive.Value == true then
- local encripta
- if ParteTocada.Parent.Name == "Workspace" then
- encripta = Encode("TUTORIAL" .. "#" .. ParteTocada.Parent.Name .. "#" .. ParteTocada.aquenosabesparaquesesto.Value .. "#" .. ParteTocada.Name)
- else
- encripta = Encode(ParteTocada.Parent.Parent.Name .. "#" .. ParteTocada.Parent.Name .. "#" .. ParteTocada.aquenosabesparaquesesto.Value .. "#" .. ParteTocada.Parent.Parent.Parent.Name)
- end
- clickEvent:FireServer(ParteTocada, script.Parent, encripta)
- script.Parent.Dedos.Orientation = script.Parent.Dedos.Orientation + CantiGiro
- script.Parent.Handle.Boom:Play()
- script.Parent.Dedos.Orientation = script.Parent.Dedos.Orientation - CantiGiro
- end
- end
- tool.Equipped:Connect(function()
- define()
- local character = player.Character
- local Root = character:FindFirstChild("HumanoidRootPart")
- if Root then
- script.Parent.Dedos.BrickColor = character.Head.BrickColor
- script.Parent.Handle.BrickColor = character.Head.BrickColor
- character.RightHand.Transparency = 1
- end
- end)
- tool.Unequipped:Connect(function()
- define()
- local character = player.Character
- local Root = character:FindFirstChild("HumanoidRootPart")
- if Root then
- character.RightHand.Transparency = 0
- end
- end)
- tool.Activated:Connect(function()
- define()
- if ping == false then
- ping = true
- local clickLocation = mouse.Hit
- local ray = Ray.new(tool.Handle.CFrame.p, (mouse.Hit.p - tool.Handle.CFrame.p).unit * 5000)
- local part, position = workspace:FindPartOnRay(ray, player.Character, false, true)
- if part ~= nil then
- for i = 1,10 do
- onClick(player, clickLocation, part.Parent)
- end
- wait()
- end
- local Players = game:GetService("Players")
- local plr = Players.LocalPlayer
- local GUI = plr:WaitForChild("PlayerGui"):WaitForChild("ReloadingHand")
- GUI.Enabled = true
- GUI.Frame.ColorBg.Size = UDim2.new(0, 0, 0.6, 0)
- local willTween = GUI.Frame.ColorBg:TweenSize(UDim2.new(0.9, 0, 0.6, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, Tiempo, true)
- GUI.Enabled = false
- GUI.Frame.ColorBg.Size = UDim2.new(0, 0, 0.6, 0)
- ping = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment