-
What do you want to achieve?
Advanced ATM machines can use someone else’s credit card -
What is the issue?
I have searched many articles but not about this -
What solutions have you tried so far?
nothing now… ah
in sciprt’s line 15 what should be filled in if there is no data in the database
scirpt
local replicatedstorage = game:GetService("ReplicatedStorage")
local ccnnb = replicatedstorage:FindFirstChild("CCnb")
local datastoreservervice = game:GetService("DataStoreService")
local CC = datastoreservervice:GetDataStore("CC")
local Tool = game.Players.LocalPlayer.Backpack["credit card"].Value.Value
ccnnb.OnServerEvent:Connect(function(player)
local playerUserId = player.UserId
local CCnbget
local success, errormessage = pcall(function()
CCnbget = CC:GetAsync(playerUserId)
end)
if CCnbget = then
Tool = playerUserId
end
end)