Universal Script 📌
1.1k Views
12.1k Executions

Keyboard for mobile!!

10K executions
Universal Script 📌
arketa1256
arketa125610K executions
1 month 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.

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
anderli2 weeks ago

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

1
Elitx's profile picture
Elitx3 weeks ago

Peak

1

Tags

More universal scripts

See all
Script hub
170.9k
1.4M
Bumped 3 minutes ago
Key System
Script hub
16.4k
3.2k
Bumped 2 hours ago
Key System
Paid
Script hub
17.0k
86.9k
Bumped 2 hours ago
Script hub
309
45
Approved 4 hours ago