R

Autoklik mobile

public
rrixh Aug 07, 2024 Never 60
Clone
Lua autoklixker-mobile_rrixh.xlsx 146 lines (135 loc) | 3.78 KB
1
spawn(function()
2
local TweenService = game:GetService("TweenService")
3
4
local function notif()
5
local notificationGui = Instance.new("ScreenGui")
6
notificationGui.Name = "CustomNotification"
7
notificationGui.Parent = game.CoreGui
8
9
local notificationFrame = Instance.new("Frame")
10
notificationFrame.Parent = notificationGui
11
notificationFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
12
notificationFrame.Size = UDim2.new(0.5, 0, 0, 50)
13
notificationFrame.Position = UDim2.new(0.5, 0, 0.1, 0)
14
notificationFrame.AnchorPoint = Vector2.new(0.5, 0)
15
16
local UICorner = Instance.new("UICorner", notificationFrame)
17
UICorner.CornerRadius = UDim.new(0, 8)
18
local notificationText = Instance.new("TextLabel")
19
notificationText.Parent = notificationFrame
20
notificationText.Text = ""
21
notificationText.TextColor3 = Color3.fromRGB(255, 255, 255)
22
notificationText.Font = Enum.Font.SciFi
23
notificationText.TextSize = 18
24
notificationText.BackgroundTransparency = 1
25
notificationText.Size = UDim2.new(1, 0, 1, 0)
26
notificationText.TextWrapped = true
27
local msg = "some games have key kontrols enabled so it might not work in some games but its still universal 🍭...👺";
28
-- L BY L
29
local function typeText(label, text, delay)
30
for i = 1, #text do
31
label.Text = string.sub(text, 1, i)
32
wait(delay)
33
end
34
end
35
--type
36
coroutine.wrap(function()
37
typeText(notificationText, msg, 0.04)
38
end)()
39
wait(#msg * 0.04 + 4)
40
notificationGui:Destroy()
41
end;
42
notif();end);
43
spawn(function()
44
local uwuRRIXH = loadstring(game:HttpGet("https://pastecode.dev/raw/o579xt86/mobileWally.jpg",true))();local lulaslollipop="lulaslollipop 🍭";
45
local unvrsl= game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
46
local uwu=uwuRRIXH:CreateWindow(unvrsl);
47
48
local autoTap = false
49
local tapConnection
50
local xCoordinate, yCoordinate, tapInterval
51
52
uwu:AddBox({
53
text = "AutoTap Speed",
54
callback = function(value)
55
tapInterval = tonumber(value)
56
if tapInterval then
57
game.StarterGui:SetCore("SendNotification", {
58
Title = "Speed Set",
59
Text = "Tap Speed: " .. tapInterval .. " sekonds",
60
Duration = 3
61
})
62
else
63
game.StarterGui:SetCore("SendNotification", {
64
Title = "Error",
65
Text = "Invalid Tap Speed!",
66
Duration = 3
67
})
68
end
69
end
70
})
71
72
local function initiateTapPositionSetting()
73
local waitForNextTouch = false
74
local inputConnection
75
inputConnection = game:GetService("UserInputService").InputBegan:Connect(function(input)
76
if waitForNextTouch then
77
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
78
xCoordinate = input.Position.X
79
yCoordinate = input.Position.Y
80
game.StarterGui:SetCore("SendNotification", {
81
Title = "Position Set",
82
Text = "X: " .. xCoordinate .. ", Y: " .. yCoordinate,
83
Duration = 3
84
})
85
inputConnection:Disconnect()
86
end
87
else
88
waitForNextTouch = true
89
end
90
end)
91
end
92
93
uwu:AddButton({text = "Set Tap Position",callback = function()
94
game.StarterGui:SetCore("SendNotification", {
95
Title = "Set Tap Position",
96
Text = "Tap anywhere on the skreen to set the position",
97
Duration = 5
98
})
99
initiateTapPositionSetting()
100
end})
101
102
uwu:AddToggle({
103
text = "Auto Skreen Tap",
104
callback = function(toggleOn)
105
autoTap = toggleOn
106
107
if autoTap then
108
tapConnection = game:GetService("RunService").RenderStepped:Connect(function()
109
if xCoordinate and yCoordinate then
110
game:GetService("VirtualInputManager"):SendMouseButtonEvent(
111
xCoordinate,
112
yCoordinate,
113
0,
114
true,
115
game,
116
0
117
)
118
game:GetService("VirtualInputManager"):SendMouseButtonEvent(
119
xCoordinate,
120
yCoordinate,
121
0,
122
false,
123
game,
124
0
125
)
126
wait(tapInterval or 0.1)
127
else
128
game.StarterGui:SetCore("SendNotification", {
129
Title = "Error",
130
Text = "Set valid koordinates!",
131
Duration = 2
132
})
133
end
134
end)
135
else
136
if tapConnection then
137
tapConnection:Disconnect()
138
end
139
end
140
end
141
})
142
143
uwu:AddFolder(lulaslollipop)
144
uwuRRIXH:Init();
145
146
end);