Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().keytoclick = "Space"
- tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = keytoclick
- tool.Activated:connect(function()
- local vim = game:service("VirtualInputManager")
- vim:SendKeyEvent(true, keytoclick, false, game)
- end)
- tool.Parent = game.Players.LocalPlayer.Backpack
- game.StarterGui:SetCore("SendNotification", {
- Title = "lulaslollipop#0140 / rrixh";
- Text = "🍭🍭🍭";
- })
- local player = game.Players.LocalPlayer
- local function connectCharacterAdded()
- player.CharacterAdded:Connect(onCharacterAdded)
- end
- connectCharacterAdded()
- player.CharacterRemoving:Connect(function()
- tool.Parent = game.Players.LocalPlayer.Backpack
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement