Hi there! I am a 20 year old Polish scripter with 3 years of experience!
I create games on Roblox because of my passion for game development and I would like to push my skills even further while working with a team!
I script for Vanity Studio.
Links to some of my projects in the past
Example of my code which uses OOP (Object-oriented programming) and loads players data
ModuleScript:
local AllPlrData = {}
AllPlrData.__index = AllPlrData
local DSS = game:GetService("DataStoreService")
local STORAGE = DSS:GetDataStore("DataStore")
local MAX_LOAD_CHANCES = 5
function AllPlrData.New(plr)
local plrData = setmetatable({},AllPlrData)
plrData.Player = plr
return plrData
end
function AllPlrData:NewData()
local newData = {
Points = 5,
}
self.Data = newData
return self.Data
end
function AllPlrData:LoadData()
local chances = 0
local success,response
repeat
success,response = pcall(STORAGE.GetAsync,STORAGE,self.Player.UserId)
if not success then
warn(response)
wait(7)
else
if response then
self.Data = response
else
response = self:NewData()
end
break
end
until chances > MAX_LOAD_CHANCES
return success,response
end
return AllPlrData
Script:
local PlayerData = require(game.ServerStorage.PlayerData)
game.Players.PlayerAdded:Connect(function(plr)
local player = PlayerData.New(plr)
local success,plrData = player:LoadData()
if success then
for i,v in pairs(plrData) do
print(i,v)
end
end
end)
I can work as a full-time programeer - we can plan out a schedule! (keep in mind that my time zone is CEST/CET).
Prices are negotiable, I don’t mind percentage/per asset payment ( or PayPal).
You can contact me here on the Developer Forum!
Thanks for reading!