Universal Script 📌
1.2k Views
16.7k Executions

Keyboard for mobile!!

10K executions
Universal Script 📌
arketa1256
arketa125610K executions
2 months ago · Updated

Reviewed by QueueSpeedDemonPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

This script works for mobile players: it has a full keyboard that is similar to a regular real keyboard, and you can walk, jump, etc.

Updates

  1. Script edited: Edited during review before approval

View Raw
local CoreGui = game:GetService("CoreGui")
local Players = game:GetService("Players")
local VirtualInputManager = game:GetService("VirtualInputManager")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local Player = Players.LocalPlayer

pcall(function()
    StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
end)

if CoreGui:FindFirstChild("MobileKeyboard") then
    CoreGui.MobileKeyboard:Destroy()
end

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "MobileKeyboard"
ScreenGui.ResetOnSpawn = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.Parent = CoreGui

local function makeDraggable(guiObject)
    local dragging, dragInput, dragStart, startPos

    guiObject.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
            dragging = true
            dragStart = input.Position
            startPos = guiObject.Position
            
            input.Changed:Connect(function()
                if input.UserInputState == Enum.UserInputState.End then
                    dragging = false
                end
            end)
        end
    end)

    guiObject.InputChanged:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseMovement then


Comments

2
Log in to join the conversation. Login
anderli's profile picture
anderli1 month ago

The majority of people are interested solely in using the keyboard.

1
Elitx's profile picture
Elitx1 month ago

Peak

1

Tags

More universal scripts

See all
Universal Script 📌
6.9k
319.0k
Bumped 5 hours ago
Script hub
29.4k
242.8k
Bumped 5 hours ago
Script hub
7.0k
101.5k
Bumped 6 hours ago

Script hub

SAGAZx Hub

Script hub
280.2k
190.0k
Bumped 7 hours ago
Key System
Script hub
419
510
Bumped 8 hours ago

Script hub

Blythe

Script hub
9.1k
57.2k
Bumped 9 hours ago
Key System