Post by ziggadyzig on Mar 28, 2022 18:09:43 GMT
I have created 2 scripts using snap and play. Would anyone be willing to give me an example of how to combine them so they show up on a menu screen with radial dials to select which of these game modes a user would want to select? Below are the 2 scripts (unedited)
SCRIPT 1 (file name "mystery.luar":
----- created by AnkuLua snap and play script ------
immersive = true
setImmersiveMode(immersive)
genVersion = "9.0.2-pro2-hide"
setAutoGameArea = true
pcall (autoGameArea, setAutoGameArea)
scriptDimension = 1080
Settings:setScriptDimension(true, scriptDimension)
Settings:setCompareDimension(true, scriptDimension)
local index = 1
touchList = {}
waitList = {}
------ 1 -----
touchList[index] = {target = "4.png", region = Region(839, 2023, 152, 152), id = "4", action = 'click'}
index = index + 1
------ 2 -----
touchList[index] = {target = "1.png", region = Region(514, 1853, 152, 152), id = "1", action = 'click'}
index = index + 1
------ 3 -----
touchList[index] = {target = "2.png", region = Region(476, 2099, 152, 152), id = "2", action = 'click'}
index = index + 1
------ 4 -----
touchList[index] = {target = "3.png", region = Region(486, 2090, 152, 152), id = "3", action = 'click'}
index = index + 1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SCRIPT 2 (file name "players.luar"
----- created by AnkuLua snap and play script ------
immersive = true
setImmersiveMode(immersive)
genVersion = "9.0.2-pro2-hide"
setAutoGameArea = true
pcall (autoGameArea, setAutoGameArea)
scriptDimension = 1080
Settings:setScriptDimension(true, scriptDimension)
Settings:setCompareDimension(true, scriptDimension)
local index = 1
touchList = {}
waitList = {}
------ 1 -----
touchList[index] = {target = "2.png", region = Region(502, 2099, 152, 152), id = "2", action = 'click'}
index = index + 1
------ 2 -----
touchList[index] = {target = "1.png", region = Region(446, 2095, 152, 152), id = "1", action = 'click'}
index = index + 1
------ 3 -----
touchList[index] = {target = "3.png", region = Region(482, 2085, 152, 152), id = "3", action = 'click'}
index = index + 1
------ 4 -----
touchList[index] = {target = "4.png", region = Region(482, 2089, 152, 152), id = "4", action = 'click'}
index = index + 1
SCRIPT 1 (file name "mystery.luar":
----- created by AnkuLua snap and play script ------
immersive = true
setImmersiveMode(immersive)
genVersion = "9.0.2-pro2-hide"
setAutoGameArea = true
pcall (autoGameArea, setAutoGameArea)
scriptDimension = 1080
Settings:setScriptDimension(true, scriptDimension)
Settings:setCompareDimension(true, scriptDimension)
local index = 1
touchList = {}
waitList = {}
------ 1 -----
touchList[index] = {target = "4.png", region = Region(839, 2023, 152, 152), id = "4", action = 'click'}
index = index + 1
------ 2 -----
touchList[index] = {target = "1.png", region = Region(514, 1853, 152, 152), id = "1", action = 'click'}
index = index + 1
------ 3 -----
touchList[index] = {target = "2.png", region = Region(476, 2099, 152, 152), id = "2", action = 'click'}
index = index + 1
------ 4 -----
touchList[index] = {target = "3.png", region = Region(486, 2090, 152, 152), id = "3", action = 'click'}
index = index + 1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SCRIPT 2 (file name "players.luar"
----- created by AnkuLua snap and play script ------
immersive = true
setImmersiveMode(immersive)
genVersion = "9.0.2-pro2-hide"
setAutoGameArea = true
pcall (autoGameArea, setAutoGameArea)
scriptDimension = 1080
Settings:setScriptDimension(true, scriptDimension)
Settings:setCompareDimension(true, scriptDimension)
local index = 1
touchList = {}
waitList = {}
------ 1 -----
touchList[index] = {target = "2.png", region = Region(502, 2099, 152, 152), id = "2", action = 'click'}
index = index + 1
------ 2 -----
touchList[index] = {target = "1.png", region = Region(446, 2095, 152, 152), id = "1", action = 'click'}
index = index + 1
------ 3 -----
touchList[index] = {target = "3.png", region = Region(482, 2085, 152, 152), id = "3", action = 'click'}
index = index + 1
------ 4 -----
touchList[index] = {target = "4.png", region = Region(482, 2089, 152, 152), id = "4", action = 'click'}
index = index + 1