getting local player roblox
local Players = game:GetService("Players")
local player = Players.LocalPlayer
getting local player roblox
local Players = game:GetService("Players")
local player = Players.LocalPlayer
what does local mean in roblox
-- A local variable is accessible only in the block where it’s declared.
-- Local variables are declared using the local statement:
function add(number)
local myNumber = 50
myNumber = myNumber + number -- This will work because is Inside the code Block
end
myNumber = myNumber + 10 -- This wont work because we cannot access it
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us