mradermacher/Luau-coder-v2-3B-base-32k-i1-GGUF
3B • Updated • 79
text stringlengths 52 99.8k |
|---|
--("IsAHumanoid")
pl=game.Players:GetPlayerFromCharacter(w.Part1.Parent)
if pl~=nil then |
-- NEW V13.1.0 - PartCache tie-in. If you use the PartCache module to create cosmetic bullets, you can now directly tie that in.
-- Ensure you're using the latest version of PartCache.
local CosmeticPartProvider = PartCacheModule.new(CosmeticBullet, 100, CosmeticBulletsFolder)
|
-- Récupérez le joueur local
local player = game.Players.LocalPlayer
|
-- loop through all the arm parts and make them visible in first person
local function visiblearms(bool)
if armsvisible then
local castshadow = not bool
for i, part in ipairs(armparts) do
part.LocalTransparencyModifier = armtransparency
part.CanCollide = false
part.CastShadow = castshadow
end
end
end... |
-- Setup animation objects
function scriptChildModified(child)
local fileList = animNames[child.Name]
if (fileList ~= nil) then
configureAnimationSet(child.Name, fileList)
end
end
script.ChildAdded:connect(scriptChildModified)
script.ChildRemoved:connect(scriptChildModified)
for name, fileList in pairs(animN... |
-- In build mode, after every time you change this script, copy the script, delete it, and paste it back into your hat, if you don't,
-- nothing will change, I don't know why, but this is how I make my givers.
|
--[[[Default Controls]]
--Peripheral Deadzones
Tune.Peripherals = {
MSteerWidth = 67 , -- Mouse steering control width (0 - 100% of screen width)
MSteerDZone = 10 , -- Mouse steering deadzone (0 - 100%)
ControlLDZone = 5 , -- Controller steering L-deadzone (0 - 100%)
ControlRDZone = 5 , -... |
--[[[Default Controls]]
--Peripheral Deadzones
Tune.Peripherals = {
MSteerWidth = 67 , -- Mouse steering control width (0 - 100% of screen width)
MSteerDZone = 10 , -- Mouse steering deadzone (0 - 100%)
ControlLDZone = 5 , -- Controller steering L-deadzone (0 - 100%)
ControlRDZone = 5 , -... |
--[[Drivetrain Initialize]]
local Drive={}
--Power Front Wheels
if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
for i,v in pairs(car.Wheels:GetChildren()) do
if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
table.insert(Drive,v)
end
end
end
--Power Rear Wheels
if _Tune.Config == "RW... |
--!strict
local ClientBridge = require(script.ClientBridge)
local ClientIdentifiers = require(script.ClientIdentifiers)
local ClientProcess = require(script.ClientProcess)
local Types = require(script.Parent.Types)
local Client = {}
function Client.start()
ClientProcess.start()
ClientIdentifiers.start()
end
func... |
--[[Flip]]
function Flip()
--Detect Orientation
if (car.DriveSeat.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector.y > .1 or FlipDB then
FlipWait=tick()
--Apply Flip
else
if tick()-FlipWait>=3 then
FlipDB=true
local gyro = car.DriveSeat.Flip
gyro.maxTorque = Vector3.new(10000,0,10000)
... |
--[[ NON-STATIC METHODS ]]
--
function Path:Destroy()
for _, event in ipairs(self._events) do
event:Destroy()
end
self._events = nil
if rawget(self, "_visualWaypoints") then
self._visualWaypoints = destroyVisualWaypoints(self._visualWaypoints)
end
self._path:Destroy()
setmetatable(self, nil)
for k, _ in pa... |
--[[Wheel Alignment]]
--[Don't physically apply alignment to wheels]
--[Values are in degrees]
Tune.FCamber = -1
Tune.RCamber = -1
Tune.FToe = 0
Tune.RToe = 0
|
---[[ Channel Settings ]]
module.GeneralChannelName = "All" -- You can set to nil to turn off echoing to a general channel. |
--[[Steering]]
local function Steering()
local SteerLocal = script.Parent.Values.SteerC.Value
--Mouse Steer
if _MSteer then
local msWidth = math.max(1,mouse.ViewSizeX*_Tune.Peripherals.MSteerWidth/200)
local mdZone = _Tune.Peripherals.MSteerDZone/100
local mST = ((mouse.X-mouse.ViewSizeX/2)/msWidth)
if ma... |
--// Stances
function Prone()
L_87_:FireServer("Prone")
L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
CameraOffset = Vector3.new(0, -3, 0)
}):Play()
L_3_:WaitForChild("Humanoid").WalkSpeed = 4
L_127_ = 4
L_126_ = 0.025
L_47_ = true
L_67_ = 0.01
L_66_ = -0.05
L_68_ = 0.05
Pr... |
-- Stuff (do not edit below)
local configModel = script.Parent.Config
local scoreBlock = script.Parent.ScoreBlock
local uS = configModel.UploadScore
local rS = configModel.RemoteScore
local lSU = configModel.LocalScoreUpdate
uS.Refresh.Value = SCORE_UPDATE
rS.Score.Value = NAME_OF_STAT
rS.Original.Value = PLAYER_S... |
-- tween engine sound volume when we start driving
local engineStartTween = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 0, false, 0)
local Remotes = Vehicle:WaitForChild("Remotes")
local SetThrottleRemote = Remotes:WaitForChild("SetThrottle")
local SetThrottleConnection = nil
local EngineSou... |
--------------------- TEMPLATE ASSAULT RIFLE WEAPON ---------------------------
-- Waits for the child of the specified parent
local function WaitForChild(parent, childName)
while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
return parent[childName]
end
|
--[[
A simplistic spring implementation.
]]
local e=2.718281828459045
local function posvel(d,s,p0,v0,p1,v1,x)
if s==0 then
return p0
elseif d<1-1e-8 then
local h=(1-d*d)^0.5
local c1=(p0-p1+2*d/s*v1)
local c2=d/h*(p0-p1)+v0/(h*s)+(2*d*d-1)/(h*s)*v1
local co=math.cos(h*s*x)
local si=math.sin(h*s*x)
... |
--p.Ground(part"because cframe and position", zone size, size of part, number how many part spawn, time delay and remove)
--P.Ground(script.parent,độ mở của vòng tròn rock,Size Rock,số rock spawm,Thời gian rock còn trên mặt đất)
|
--// Tracer Vars
TracerTransparency = 0;
TracerLightEmission = 1;
TracerTextureLength = 0.1;
TracerLifetime = 0.05;
TracerFaceCamera = true;
TracerColor = BrickColor.new('White');
|
--[[ Services ]]
--
local PlayersService = game:GetService('Players')
local VRService = game:GetService("VRService")
|
--[[Brakes]]
Tune.ABSEnabled = true -- Implements ABS
Tune.ABSThreshold = 20 -- Slip speed allowed before ABS starts working (in SPS)
Tune.FBrakeForce = 1500 -- Front brake force
Tune.RBrakeForce = 1000 -- Rear brake force
Tune.PBrakeForce = 5000 -- Handbrake force
Tune.FLgcyBForce = 15000 -- Front b... |
-- << CUSTOM >>
-- Theme
local ratio = 6.1/#themeColors
local themeFrame = pages.custom["AB ThemeSelection"]
local themeDe = true
local function updateThemeSelection(themeName, themeColor)
if themeName == nil then
for i,v in pairs(themeColors) do
if v[1] == main.pdata.Theme then
themeName = v[1]
themeCo... |
-- a better alternative implementation for the wait function
function wait_time(duration)
local start = tick()
local Heartbeat = game:GetService("RunService").Heartbeat
repeat Heartbeat:Wait() until (tick() - start) >= duration
return (tick() - start)
end
|
--Library
local DataStoreCache = {}
local DataStore2 = {}
local combinedDataStoreInfo = {}
|
--------------------------------------------------------------------------------------
--------------------[ GUN SETUP ]-----------------------------------------------------
--------------------------------------------------------------------------------------
serverMain:WaitForChild("Plyr").Value = Player
local gu... |
-- Make the chat work when the top bar is off
module.ChatOnWithTopBarOff = false
module.ScreenGuiDisplayOrder = 6 -- The DisplayOrder value for the ScreenGui containing the chat.
module.ShowFriendJoinNotification = true -- Show a notification in the chat when a players friend joins the game.
|
--[[
berezaa's method of saving data (from the dev forum):
What I do and this might seem a little over-the-top but it's fine as long as you're not using datastores excessively elsewhere is have a datastore and an ordereddatastore for each player. When you perform a save, add a key (can be anything) with the value of... |
---------------------------------------------------
This = script.Parent
Elevator = This.Parent.Parent.Parent
CustomLabel = require(This.Parent.Parent.Parent.CustomLabel)
Characters = require(script.Characters)
CustomText = CustomLabel["CUSTOMFLOORLABEL"]
Elevator:WaitForChild("Floor").Changed:connect(function(flo... |
--------------------[ KEYBOARD FUNCTIONS ]--------------------------------------------
function keyDown(K)
local Key = string.lower(K)
if Key == S.Keys.lowerStance and S.canChangeStance then
if (not Running) then
if Stance == 0 then
if S.stanceSettings.Stances.Crouch then
Crouch()
elseif S.stan... |
--[[**
ensures value is a number where value < 0
@returns A function that will return true iff the condition is passed
**--]]
t.numberNegative = t.numberMaxExclusive(0)
|
-- Removes any old creator tags and applies a new one to the target
local function ApplyTags(target)
while target:FindFirstChild('creator') do
target.creator:Destroy()
end
local creatorTagClone = CreatorTag:Clone()
DebrisService:AddItem(creatorTagClone, 1.5)
creatorTagClone.Parent = target
end
|
----------------------------------
------------FUNCTIONS-------------
----------------------------------
function UnDigify(digit)
if digit < 1 or digit > 61 then
return ""
elseif digit == 1 then
return "1"
elseif digit == 2 then
return "!"
elseif digit == 3 then
return "2"
elseif digit == 4 then
retur... |
--Variables--
local Enabled = true
local mouse = Player:GetMouse()
local ButtonDown = false
local Key = nil
local cooldown = 5
local Debounce = 1
|
--[[Drivetrain]]
Tune.Config = "RWD" --"FWD" , "RWD" , "AWD"
--Differential Settings
Tune.FDiffSlipThres = 50 -- 1 - 100% (Max threshold of applying full lock determined by deviation from avg speed)
Tune.FDiffLockThres = 50 -- 0 - 100% (0 - Bias toward slower wheel, 100 - Bias toward faster wheel)
... |
-- initiate
for _, drop in pairs(DROPS:GetChildren()) do
HandleDrop(drop)
end
local t = 0
RunService.Stepped:connect(function(_, deltaTime)
t = t + deltaTime
for drop, dropInfo in pairs(drops) do
local offset = drop.Position - CAMERA.CFrame.p
if math.abs(offset.X) < UPDATE_RANGE and math.abs(offset.Y) < ... |
--[[
Returns the platform / user input of the client.
]]
local function getClientPlatform()
-- TODO: Get input, and return Keyboard, Controller, or Touch
return "Keyboard"
end
|
-- Util
-- Stephen Leitnick
-- April 29, 2022
type AnyTable = { [any]: any }
local Util = {}
Util.None = newproxy()
|
--[[Steering]]
Tune.SteerInner = 58 -- Inner wheel steering angle (in degrees)
Tune.SteerOuter = 58 -- Outer wheel steering angle (in degrees)
Tune.SteerSpeed = .5 -- Steering increment per tick (in degrees)
Tune.ReturnSpeed = .5 -- Steering increment per tick (in degrees)
Tune.SteerDecay = 325 -- Speed... |
-- Decompiled with the Synapse X Luau decompiler.
local v1 = {
Died = 0,
Running = 1,
Swimming = 2,
Climbing = 3,
Jumping = 4,
GettingUp = 5,
FreeFalling = 6,
FallingDown = 7,
Landing = 8,
Splash = 9
};
local v2 = nil;
local v3 = {};
local l__ReplicatedStorage__4 = game:GetService("ReplicatedStora... |
-- Decompiled with the Synapse X Luau decompiler.
local l__Ice__1 = game.Players.LocalPlayer:WaitForChild("Data"):WaitForChild("Ice");
local l__Parent__1 = script.Parent;
l__Ice__1.Changed:Connect(function()
if l__Ice__1.Value <= 0.9 and l__Ice__1.Value >= 1 then
l__Parent__1.Crackle.Volume = 0.1;
return;
end;... |
--[[Transmission]]
Tune.TransModes = {"Auto", "Semi", "Manual"} --[[
[Modes]
"Auto" : Automatic shifting
"Semi" : Clutchless manual shifting, dual clutch transmission
"Manual" : Manual shifting with clutch
>Include within brackets
eg: {"Semi"} or {"Auto", "Manual"}
>First mode is d... |
--BOV--
script.Parent.Parent.Values.RPM.Changed:connect(function()
local t = 0
t = (totalPSI*20)
BOVact = math.floor(t)
end)
script.Parent.Parent.Values.RPM.Changed:connect(function()
wait(0.1)
local t2 = 0
t2 = (totalPSI*20)
BOVact2 = math.floor(t2)
end)
script.Parent.Parent.Values.RPM.Changed:connect(functio... |
--Formula secreta del crustacio kaskarudo
local RebirthFormule = game:GetService("ReplicatedStorage").GameProperties.RebirthFormule
local Formula = RebirthFormule.Value + (RebirthFormule.Value * Multiplier.Value)
local MultiplierFormule = game:GetService("ReplicatedStorage").GameProperties.MultiplierFormule |
--[[Wheel Stabilizer Gyro]]
Tune.FGyroDamp = 100 -- Front Wheel Non-Axial Dampening
Tune.RGyroDamp = 100 -- Rear Wheel Non-Axial Dampening
|
--[[ The Module ]]
--
local MouseLockController = {}
MouseLockController.__index = MouseLockController
function MouseLockController.new()
local self = setmetatable({}, MouseLockController)
self.isMouseLocked = false
self.savedMouseCursor = nil
self.boundKeys = {Enum.KeyCode.Z} -- defaults
self.mouseLockToggled... |
--[[
UI to select the surface art to place onto the canvas.
]]
local SurfaceArtSelector = Roact.Component:extend("SurfaceArtSelector")
SurfaceArtSelector.defaultProps = {
numItemsPerPage = 3,
}
function SurfaceArtSelector:init()
self.isAnimating = false
self.position, self.updatePosition = Roact.createBinding(0... |
--[[**
ensures Roblox Instance type
@param value The value to check against
@returns True iff the condition is satisfied, false otherwise
**--]]
t.Instance = primitive("Instance")
|
-- METHODS
function IconController.setGameTheme(theme)
IconController.gameTheme = theme
local icons = IconController.getIcons()
for _, icon in pairs(icons) do
icon:setTheme(theme)
end
end
function IconController.setDisplayOrder(value)
value = tonumber(value) or TopbarPlusGui.DisplayOrder
TopbarPlusGui.Displa... |
-- Don't edit below unless you know what you're doing.
local O = true
function onClicked()
if O == true then
O = false
One()
elseif O == false then
O = true
Two()
end
end
script.Parent.MouseButton1Down:connect(onClicked)
|
--[=[
@interface Service
.Name string
.Client ServiceClient
.KnitComm Comm
.[any] any
@within KnitServer
]=]
type Service = {
Name: string,
Client: ServiceClient,
KnitComm: any,
[any]: any,
}
|
--// Dev Vars
CameraGo = true; -- No touchy
FirstPersonOnly = false; -- SET THIS TO FALSE TO ENABLE THIRD PERSON, TRUE FOR FIRST PERSON ONLY
TPSMouseIcon = 1415957732; -- Image used as the third person reticle
|
--RUNNING SCRIPT--
-------------------------------
local RunSpeed = 23 -- Change this to the speed you want the player to go
local AfterSpeed = 16 -- Best if you leave this alone. This is the speed the player will be after pressing shift.
|
--[[
Returns true if a table/dictionary contains userdata (somewhat deep)
Functions.HasUserdata(
table, <-- |REQ| Table/dictionary
)
--]]
return function(tbl)
--- Variables
local found = false
--- Scan local function
local function Scan(v)
--- Already found userdata
if found then
retur... |
-- Libraries
local Support = require(Libraries:WaitForChild 'SupportLibrary')
|
--//Handling//--
SteeringAngle = 40 --{Steering angle in degrees}
SteerSpeed = 0.05 --{.01 being slow, 1 being almost instantly}
TiresFront = 2 --{1 = eco, 2 = road, 3 = sport}
TiresRear = 2 --{1 = eco, 2 = road, 3 = sport}
DownforceF = 0 --{[0-5] Provides downforce to the front at the cost of drag}
DownforceR = 0 --... |
--[[
param targetFps Task scheduler won't run a task if it'd make the FPS drop below this amount
(WARNING) this only holds true if it is used properly. If you try to complete 10 union operations
at once in a single task then of course your FPS is going to drop -- queue the union operations
up one at... |
-- Position the frames and sizes for the Backpack GUI elements
UpdateBackpackLayout()
|
-- Setup animation objects
for name, fileList in pairs(animNames) do
animTable[name] = {}
animTable[name].count = 0
animTable[name].totalWeight = 0
-- check for config values
local config = script:FindFirstChild(name)
if (config ~= nil) then |
--[[Brakes]]
--
Tune.FBrakeForce = 300 -- Front brake force
Tune.RBrakeForce = 250 -- Rear brake force
Tune.PBrakeForce = 500 -- Parking brake force
Tune.LinkedBrakes = true -- Links brakes up, uses both brakes while braking
Tune.BrakesRatio = 60 -- The ratio of the brakes (0 = rear brake; 100 = front... |
-----------------------
Queue._gameMode = Conf.default_game_mode
Queue._destinationId = Conf.modes[Queue._gameMode].gameplay_place
Queue._timeoutEnabled = true
|
--[[START]]
_BuildVersion = require(script.Parent.README)
|
--// Extras
WalkAnimEnabled = true; -- Set to false to disable walking animation, true to enable
SwayEnabled = true; -- Set to false to disable sway, true to enable
TacticalModeEnabled = false; -- SET THIS TO TRUE TO TURN ON TACTICAL MODEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
-- Decompiled with the Synapse X Luau decompiler.
local u1 = nil;
coroutine.wrap(function()
u1 = require(game.ReplicatedStorage:WaitForChild("Resources"));
end)();
local v1 = {
New = function(p1, p2, p3, p4)
p2 = p2 or Color3.new(0.2, 0.2, 0.2);
p3 = p3 or Enum.Font.FredokaOne;
p4 = p4 or Enum.FontSize.Size1... |
-- Compiled with roblox-ts v1.3.3
local function fields(defaults)
if defaults == nil then
defaults = {}
end
return function(input)
local _object = {}
for _k, _v in pairs(defaults) do
_object[_k] = _v
end
if type(input) == "table" then
for _k, _v in pairs(input) do
_object[_k] = _v
end
end
... |
--[[Weight Scaling]]
--[Cubic stud : pounds ratio]
--[STANDARDIZED: Don't touch unless needed]
Tune.WeightScaling = 1/50 --Default = 1/50 (1 cubic stud = 50 lbs)
Tune.LegacyScaling = 1/10 --Default = 1/10 (1 cubic stud = 10 lbs) [PGS OFF]
return Tune
|
--Variables--
local set = script.Settings
local sp = set.Speed
local enabled = set.Enabled
local loop = set.Loop
local debug_ = set.Debug
local hum = script.Parent:WaitForChild("Humanoid")
if debug_.Value == true then
if hum then
print("Success")
else
print("No Humanoid")
end
end
local humanim = hum:LoadAnimat... |
--Tuck in
R6TorsoTuckIn = .5
R6RightArmTuckIn = .2
R6LeftArmTuckIn = .2
|
-- ====================
-- CHARGED SHOT
-- Make a gun charging before firing. Useful for a gun like "Railgun" or "Laser Cannon"
-- ====================
ChargedShotEnabled = false;
ChargingTime = 1;
|
--This module is for any client FX related to the DoubleDoor
local DoorFX = {}
local tweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
function DoorFX.OPEN(door)
if not door then return end
for i = 1, 2 do
tweenService:Create... |
--[=[
Initializes the service bag and ensures recursive initialization
can occur
]=]
function ServiceBag:Init()
assert(not self._initializing, "Already initializing")
assert(self._serviceTypesToInitializeSet, "Already initialized")
self._initializing = true
while next(self._serviceTypesToInitializeSet) do
lo... |
--[[Transmission]]
Tune.TransModes = {"Auto", "Semi", "Manual"} --[[
[Modes]
"Auto" : Automatic shifting
"Semi" : Clutchless manual shifting, dual clutch transmission
"Manual" : Manual shifting with clutch
>Include within brackets
eg: {"Semi"} or {"Auto", "Manual"}
>First mode is d... |
--[[Weight and CG]]
Tune.Weight = 3000 -- Total weight (in pounds)
Tune.WeightBSize = { -- Size of weight brick (dimmensions in studs ; larger = more stable)
--[[Width]] 6 ,
--[[Height]] 3.5 ,
--[[Length]] 14 }
Tune.WeightDist = 50 -- Weight distribution (0 - on rear wheels, 100 - on front wheel... |
-- server side setup
local Pcolors = {{255, 255, 255}, {255, 180, 161}, {226, 231, 255}}
local Lcolors = {{255, 255, 255}, {255, 237, 199}, {205, 227, 255}}
local INDcolor = {255, 130, 80}
local plactive = false
local prevChild
F.Setup = function(light_type, popups, tb, fog_color)
event.IndicatorsAfterLeave.Disab... |
--[[Engine]]
--Torque Curve
Tune.Horsepower = script.Tune_HorsePower.Value -- [TORQUE CURVE VISUAL]
Tune.IdleRPM = 700 -- https://www.desmos.com/calculator/2uo3hqwdhf
Tune.PeakRPM = 6000 -- Use sliders to manipulate values
Tune.Redline = 6700 -- Copy and paste slider values into the respective tune va... |
-- you can mess with these settings
CanToggleMouse = {allowed = true; activationkey = Enum.KeyCode.F;} -- lets you move your mouse around in firstperson
CanViewBody = true -- whether you see your body
Sensitivity = 0.6 -- anything higher would make looking up and down harder; recommend anything between 0~1
Smoothn... |
-- Module 3
function NpcModule.Walk(Npc, Pos, PathParams, Return)
local Path = NpcModule.GetPath(Npc, Pos, PathParams)
local Humanoid = Npc:FindFirstChild("Humanoid")
if Path ~= false then
if Humanoid then
for I, Waypoint in pairs(Path:GetWaypoints()) do
Humanoid:MoveTo(Waypoint.Position)
Humanoid.Mo... |
--[[ Services ]]
--
local PlayersService = game:GetService('Players')
local VRService = game:GetService("VRService")
local CameraInput = require(script.Parent:WaitForChild("CameraInput"))
local Util = require(script.Parent:WaitForChild("CameraUtils"))
|
-- Local player
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
local humanoid = character:WaitForChild("Humanoid")
local PlayerGui = player:WaitForChild("PlayerGui") |
-- functions
function onRunning(speed)
if speed>0 then
pose = "Running"
else
pose = "Standing"
end
end
function onDied()
pose = "Dead"
end
function onJumping()
pose = "Jumping"
end
function onClimbing()
pose = "Climbing"
end
function onGettingUp()
pose = "GettingUp"
end
function onFreeFall()
pose = ... |
--Functions (Needed to organize)
local function AddRecentApp(App)
if RecentAppEnabled == true then
local sameapp = false
if home:FindFirstChild(App) then
if side.RecentApps:FindFirstChild(App) then
sameapp = true
end
side.Status:TweenPosition(UDim2.new(0.094,0,0.638,0), "InOut", "Quint", 0.5, true)
sid... |
-- << VARIABLES >>
local frame = main.gui.MainFrame.Pages.Settings
local pages = {
custom = frame.Custom;
}
local themeColors = main.settings.ThemeColors or {
{"Red", Color3.fromRGB(150, 0, 0), };
{"Orange", Color3.fromRGB(150, 75, 0), };
{"Brown", Color3.fromRGB(120, 80, 30), };
{"Yellow", Color3.fromRGB(... |
-- Make the ScrollingFrame, which holds the rest of the Slots (however many)
ScrollingFrame = NewGui('ScrollingFrame', 'ScrollingFrame')
ScrollingFrame.Selectable = false
ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
ScrollingFrame.Parent = InventoryFrame
UIGridFrame = NewGui('Frame', 'UIGridFrame')
UIGridFrame.... |
--bp.Position = shelly.PrimaryPart.Position
if not shellyGood then bp.Parent,bg.Parent= nil,nil return end
bp.Parent = nil
wait(math.random(3,8))
end
local soundBank = game.ServerStorage.Sounds.NPC.Shelly:GetChildren()
shelly.Health.Changed:connect(function()
if shellyGood then
bp.Parent,bg.Parent= nil,nil
shelly.... |
---Creator function return object keys
local KEY_BASE_FRAME = "BaseFrame"
local KEY_BASE_MESSAGE = "BaseMessage"
local KEY_UPDATE_TEXT_FUNC = "UpdateTextFunction"
local KEY_GET_HEIGHT = "GetHeightFunction"
local KEY_FADE_IN = "FadeInFunction"
local KEY_FADE_OUT = "FadeOutFunction"
local KEY_UPDATE_ANIMATION = "Update... |
-- Left Leg
character:FindFirstChild("UpperTorso").LocalTransparencyModifier = 0
character:FindFirstChild("LowerTorso").LocalTransparencyModifier = 0 |
--[[
Returns a snapshot of this component given the current props and state. Must
be overridden by consumers of Roact and should be a pure function with
regards to props and state.
TODO (#199): Accept props and state as arguments.
]]
function Component:render()
local internalData = self[InternalData]
local me... |
-- Sounds
local footstepsSound = rootPart:WaitForChild("Footsteps")
|
-- ====================
-- MISCELLANEOUS
-- Etc. settings for the gun
-- ====================
DualWeldEnabled = false; --Enable the user to hold two guns instead one. In order to make this setting work, you must clone its PrimaryHandle and name it like SecondaryHandle. NOTE: Enabling "CustomGripEnabled" won't make... |
--Basic stuff for the GUI interface
vSpeed = math.sqrt((vParts.Seat.Velocity.x)^2+(vParts.Seat.Velocity.y)^2+(vParts.Seat.Velocity.z)^2)
PS.Coords.Text =" Coords: " .."("..math.ceil(vParts.Seat.Position.x)..","..math.ceil(vParts.Seat.Position.z)..")"
PS.Alt.Text =" Altitude: ".. math.ceil(vParts.Seat.Position.y)..... |
--[END]]
--[[ Last synced 10/14/2020 09:23 || RoSync Loader ]]
... |
--[=[
@param fn (player: Player, ...: any) -> nil -- The function to connect
@return Connection
Connect a function to the signal. Anytime a matching ClientRemoteSignal
on a client fires, the connected function will be invoked with the
arguments passed by the client.
]=]
function RemoteSignal:Connect(fn)
if self... |
--["Walk"] = "rbxassetid://1136173829",
["Walk"] = "http://www.roblox.com/asset/?id=507767714",
["Idle"] = "http://www.roblox.com/asset/?id=507766666",
["SwingTool"] = "rbxassetid://1262318281"
}
local anims = {}
for animName,animId in next,preAnims do
local anim = Instance.new("Animation")
anim.AnimationId = animId
... |
--// All global vars will be wiped/replaced except script
return function(data, env)
if env then
setfenv(1, env)
end
local playergui = service.PlayerGui
local localplayer = service.Players.LocalPlayer
local scr = client.UI.Prepare(script.Parent.Parent)
local window = scr.Window
local msg = data.Message
lo... |
--[[Shutdown]]
bike.DriveSeat.ChildRemoved:connect(function(child)
--[[if child.Name=="SeatWeld" and child:IsA("Weld") then
script.Parent:Destroy()
end]]
bike.Body.bal.LeanGyro.D = 0
bike.Body.bal.LeanGyro.MaxTorque = Vector3.new(0,0,0)
bike.Body.bal.LeanGyro.P = 0
bike.RearSection.Axle.HingeConstrai... |
--------------------------------------------------------------
-- You DO NOT need to add yourself to any of these lists!!! --
--------------------------------------------------------------
local Owners={} -- Can set SuperAdmins, & use all the commands
local SuperAdmins={} -- Can set permanent admins, & shutdow... |
--these are for button checks. It's kinda ugly so if you have a better way pm me
ha=false
hd=false
hs=false
hw=false
imgassets ={
hazardoff="http://www.roblox.com/asset/?id=216957891",
hazardon = "http://www.roblox.com/asset/?id=216957887",
leftyoff = "http://www.roblox.com/asset/?id=216957962",
leftyon = "http:/... |
--[[Misc]]
Tune.LoadDelay = .1 -- Delay before initializing chassis (in seconds)
Tune.AutoStart = true -- Set to false if using manual ignition plugin
Tune.AutoFlip = true -- Set to false if using manual flip plugin
|
This dataset is based on Roblox/luau_corpus test+train splits, merged for a single train split, and a single column (text) to train an LLM for better Roblox luau generation.
We are not related in any way to the Roblox corporation, this is a community dataset which is based on the official Roblox luau corpus.
dataset_info:
features:
- name: text
dtype: string
splits:
- name: train
num_bytes: 43464877
num_examples: 27602
download_size: 17221708
dataset_size: 43464877
configs:
- config_name: default
data_files:
- split: train
path: data/train-*