# NYDynamics Scripting Portfolio

Hi there! I am NYDynamics but you can call me Alex! I have a strong passion for computer science and started my journey on the Roblox platform. I am quite advanced and started scripting a few years ago. One day, I hope to master Roblox scripting.

## My Work

Math

I have definitely improved in math this year! For instance, I learned cubic Bezier curves with a simple cubic formula. `(1 - t)^2 * p0 + 2 * (1 - t) * t * p1 + t^2 * p2`

``````    wait()

function cubicBezier(t, p0, p1, p2, p3)

return (1 - t)^3*p0 + 3*(1 - t)^2*t*p1 + 3*(1 - t)*t^2*p2 + t^3*p3

end

function travelCurve(p0, p1, p2, p3, moving)

for t = 0, 1, 0.01 do

wait()

local p = cubicBezier(t, p0, p1, p2, p3)

moving.Position = UDim2.new(0, p.x - script.Parent.AbsoluteSize.x/20, 0, p.y - script.Parent.AbsoluteSize.y/20)

game:GetService(&quot;RunService&quot;).RenderStepped:wait()

end

wait()

end

travelCurve(script.Parent.P0.AbsolutePosition,script.Parent.P1.AbsolutePosition,script.Parent.P2.AbsolutePosition,script.Parent.P3.AbsolutePosition,script.Parent.Parent.mover)

travelCurve(script.Parent.P3.AbsolutePosition,script.Parent.P2.AbsolutePosition,script.Parent.P1.AbsolutePosition,script.Parent.P0.AbsolutePosition,script.Parent.Parent.mover)
``````
GUI

I have improved in GUI over this year.
Place

``````--NYDynamics

local Gui = script.Parent
local holder = Gui:WaitForChild('holder')

local rs = game:GetService('ReplicatedStorage')

local temp = rs:WaitForChild('Template')

count = 0

game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false)

local Frame = temp:Clone()
Frame.Name = plr.Name
Frame.Parent = holder
Frame.Text = plr.Name

if game.Players.LocalPlayer:IsFriendsWith(plr.UserId) then
Frame.BackgroundColor3 = Color3.fromRGB(34,139,34)
if plr.Name == game.Players.LocalPlayer.Name then
Frame.BackgroundColor3 = Color3.fromRGB(0,0,255)
end
end

if Frame.TextScaled == false then
Frame.TextScaled = true
return
end
Frame:TweenPosition(UDim2.new(.943, 0,0.05  * (#holder:GetChildren()-1), 0))
end

local function remove(plr)
local Frame = holder:FindFirstChild(plr.Name)
if Frame then
Frame:TweenPosition(UDim2.new(1, 0,0.05  * (#holder:GetChildren()-1), 0))
wait(2)
Frame:Destroy()
end
end

function Update()

for i,v in pairs(game.Players:GetPlayers()) do
if holder:FindFirstChild(v.Name) then
else
end
end

for i,v in pairs(holder:GetChildren()) do
v:TweenPosition(UDim2.new(.943, 0,0.05  * (count), 0))
count = count + 1
end
count = 0
end

Update()

end)

game.Players.PlayerRemoving:Connect(function(plr)
remove(plr)
Update()
end)
``````
Lighting
`````` --NYDynamics
local module = {}

local Color = Color3.new(math.random(255),math.random(255),math.random(255))

--[[
local debounce = false

local On = false
local Off = false
--]]

function module.Color(p)
print('Runs')
if p then
if p:IsA('BasePart')then
spawn(function()
while wait() do
--game:GetService('RunService').RenderStepped:connect(function()
wait()
for i = 0,1,0.0000001 do
wait()
--print('For loop')
p.Color = p.Color:Lerp(Color, i)
--p.Color = p.Color;
end
end
end)
end
end
end

function module.RangeLightOff(v)
--for i = 0,1,0.01 do
wait()
if v then
if v:IsA('PointLight') then
for x = 25,0,-1 do
wait()
v.Range = v.Range - 0.3
print(x)
end
return
end
end
--end
end

function module.LightOff(v)
spawn(function()
for i = 0,1,0.01 do
wait()
if v then
if v:IsA('PointLight') then
--local Clone = v:Clone()
--Clone.Parent = v.Parent
--v:Destroy()
--debounce = true
if debounce == false then
--//debounce = true
for f = 10,0,-1 do
print(f)
wait()
module.RangeLightOff(v)
v.Brightness = v.Brightness - 0.1
end
wait(2)
debounce = false
return
else
--//print('debounce')
--//debounce = true
wait()
debounce = false
end
--local Clone = v:Clone()
--Clone.Parent = v.Parent
--v:Destroy()
end
end
end
end)
end

function module.RangeLightOn(v)
for i = 0,1,0.01 do
wait()
if v then
if v:IsA('PointLight') then
for x = 10,0,-1 do
wait(0.3)
v.Brightness = v.Brightness + 0.5
v.Range = v.Range + 0.1
end
if v.Range >= 22 then
break
end
end
end
end
end

function module.LightOn(v)

print('Runs')
spawn(function()
for i = 0,1,0.01 do
wait()
if v then
if v:IsA('PointLight') then
--local Clone = v:Clone()
--Clone.Parent = v.Parent
--v:Destroy()
if debounce == false then
debounce = true
for f = 50,0,-1 do
print('Run2')
wait(0.3)

module.RangeLightOn(v)
end
wait(2)
debounce = false
return
else
print('debounce')
debounce = true
wait(2)
debounce = false
end
end
end
end
end)

end

return module
``````

## Payment

For commissions, I do prefer robux. USD is not accepted.

## Commissions

I am accepting commisions at this time so I am free for hire!

## Contact Me

You can contact me here on the Developer Forum @NYDynamics or via Discord at NYDynamics#3191.

6 Likes

Instead of completely giving away your code (unless you want other people to freely take it). You could’ve put videos of you showing what they did instead.

It would also help people know exactly what the codes actually do if they’re not very experienced in programming.

1 Like

Firstly, move this post from Public Recruitment to Public Portfolios please.
Also, for your UIs, please post a screenshot as some can’t join the place now.
Finally, try providing screenshots of your lighting for people who don’t understand scripting (like me).

Demonstrating math competency is highly relevant. That is not “bragging”.

6 Likes

I think my code shouldn’t be hidden. I am completely fine if someone learns or uses my code as we are all learning.

2 Likes

You can improve this by showing what the programs do.
A simple gyazo gif or an actual roblox place like I do goes a long way in showing your scripting expertise.
If you don’t really have anything you made personally, get a commission (there are many for scripters) and when your done come back here and update the portfolio.

Also, those scripts don’t please the eye, even I as a programmer didn’t want to look at the programs. I recommend just removing them and making videos at the least.

I do read it a bit better if you see at the end of the hidden section you can see a blue thing for place or gif.

For someone who’s improved their GUI… Your post has some bad UX. As other developers have stated, a lot of people don’t even know for a second what your code does. And a gif embedded into your post would help people out greatly. Not everyone wants to sit down and look through your code. Not everyone know what they are looking at. And not everyone wants to click on your place.

Nor does everyone want to click drop downs to see “blue links” to further waste more time.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.