text
stringlengths
52
99.8k
-- Gets the acceleration back as a Vector3, averages it and then determines if the -- average movement is over a minimum sensitivity local function changeAcceleration(acceleration) if cooldown then return end if isInTutorial() then return end local accel = acceleration.Position local magnitude = accel.Magnitu...
--[[START]] script.Parent:WaitForChild("Car") script.Parent:WaitForChild("IsOn") script.Parent:WaitForChild("ControlsOpen") script.Parent:WaitForChild("Values")
--Steering Initial Setup-- script.Parent.HeadsUpDisplay = false script.Parent.MaxSpeed = 0 script.Parent.Torque = 0 script.Parent.TurnSpeed = 0 script.Parent.CanCollide = false lv = script.Parent.CFrame.lookVector local ref = Instance.new("Part") ref.Parent = script.Parent.Parent ref.Anchored = true ref.CanCollide...
--- DataStore local DataStore = game:GetService("DataStoreService") local SpawnPoint1 = DataStore:GetDataStore("SpawnPoint") game.Players.PlayerAdded:connect(function(Plr) local Data = Instance.new("Folder") Data.Name = "Stats" Data.Parent = Plr --- SpawnPoint local SpawnPoint = Instance.new("StringValue", Data...
-- -- THESE ARE THE CORE SETTINGS -- YOU WILL NOT BE ABLE TO CHANGE THEM IN-GAME local Settings={ --[[ Style Options ������������� ]] Flat=false; -- Enables Flat theme / Disables Aero theme ForcedColor=false; -- Forces everyone to have set color & transparency Color=Color3.new(0,0,0); -- Changes ...
--[=[ Wraps a function that yields into one that returns a Promise. Any errors that occur while executing the function will be turned into rejections. :::info `Promise.promisify` is similar to [Promise.try](#try), except the callback is returned as a callable function instead of being invoked immediately. ::: ...
-- If a reason was non-blank, the following is concatenated to the kick message. local REASON = "\nReason: %REASON%"
--edit the function below to return true when you want this response/prompt to be valid --player is the player speaking to the dialogue, and dialogueFolder is the object containing the dialogue data return function(player, dialogueFolder) local ClassInformationTable = require(game.ReplicatedStorage.Source.Modules.Ch...
------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- -- STATE CHANGE HANDLERS function onRunning(speed) local movedDuringEmote = userEmoteToRunThresholdChange and currentlyPlayingEmot...
-- TableUtil -- Stephen Leitnick -- September 13, 2017 type Table = {any} type MapPredicate = (any, any, Table) -> any type FilterPredicate = (any, any, Table) -> boolean type ReducePredicate = (number, any, any, Table) -> any type FindCallback = (any, any, Table) -> boolean type IteratorFunc = (t: Table, k: any) -...
--[[ All configurations are located in the "Settings" Module script. Please don't edit this script unless you know what you're doing. --]] local Tycoons = {} local Teams = game:GetService('Teams') local Settings = require(script.Parent.Settings) local BC = BrickColor local Storage = Instance.new('Folder', game.Ser...
-- Backpack Version 5.1 -- OnlyTwentyCharacters, SolarCrane local BackpackScript = {} BackpackScript.OpenClose = nil -- Function to toggle open/close BackpackScript.IsOpen = false BackpackScript.StateChanged = Instance.new("BindableEvent") -- Fires after any open/close, passes IsNowOpen BackpackScript.ModuleName = ...
--[[Engine]] --Torque Curve Tune.Horsepower = 2000 -- [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 values Tune.EqPoint = 55...
--// Localize os = service.Localize(os) math = service.Localize(math) table = service.Localize(table) string = service.Localize(string) coroutine = service.Localize(coroutine) Instance = service.Localize(Instance) Vector2 = service.Localize(Vector2) Vector3 = service.Localize(Vector3) CFrame = service.Localize(CFrame...
-- If the platform is too slow and moveDelay is too fast, then the platform might not reach the destination in time. hideDestinationBlocks = true -- If you set this to true, then the destination blocks will be invisible when you play.
--[[ Last synced 10/14/2020 09:33 || RoSync Loader ]] ...
--[[Transmission]] Tune.TransModes = {"Semi"} --[[ [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 default mode ...
--- Takes an array and flips its values into dictionary keys with value of true. function Util.MakeDictionary(array) local dictionary = {} for i = 1, #array do dictionary[array[i]] = true end return dictionary end
--[=[ Iterates serially over the given an array of values, calling the predicate callback on each value before continuing. If the predicate returns a Promise, we wait for that Promise to resolve before moving on to the next item in the array. :::info `Promise.each` is similar to `Promise.all`, except the Promise...
--For this script to work put this script and a mesh into the brick you want the mesh to be in and chnage the numbers that it asks you to to get it to work correctly. while true do script.Parent.Mesh.Scale = Vector3.new(1, 1, 1) --Replace the zeros with the numbers that you want the mesh scale to change to. wait(.5)...
--// # key, Priority mouse.KeyDown:connect(function(key) if key=="g" then if veh.Lightbar.middle.Priority.IsPlaying == true then veh.Lightbar.middle.Wail:Stop() veh.Lightbar.middle.Yelp:Stop() veh.Lightbar.middle.Priority:Stop() script.Parent.Parent.Sirens.Priority.BackgroundColor3 = Color3.fromRGB(62, 62...
--[[ The Module ]] -- local BaseCamera = {} BaseCamera.__index = BaseCamera function BaseCamera.new() local self = setmetatable({}, BaseCamera) -- So that derived classes have access to this self.FIRST_PERSON_DISTANCE_THRESHOLD = FIRST_PERSON_DISTANCE_THRESHOLD self.cameraType = nil self.cameraMovementMode = n...
-- << MAIN >> --Touch Pad for a,b in pairs(script.Parent:GetChildren()) do local touchPart = b:FindFirstChild("TouchPart") if touchPart then local touchDe = {} local originalColor = touchPart.Color local particles = touchPart.Particles touchPart.Touched:Connect(function(hit) local character = hit.Parent ...
------------------------------------------------------------------------------------------------------------ function configureAnimationSetOld(name, fileList) if (animTable[name] ~= nil) then for _, connection in pairs(animTable[name].connections) do connection:disconnect() end end animTable[name] = {} an...
--[[Mobile Support]] local Buttons = script.Parent:WaitForChild("Buttons") local Left = Buttons:WaitForChild("Left") local Right = Buttons:WaitForChild("Right") local Brake = Buttons:WaitForChild("Brake") local Gas = Buttons:WaitForChild("Gas") local Handbrake = Buttons:WaitForChild("Handbrake") if UserInputService...
--// F key, HornOff mouse.KeyUp:connect(function(key) if key=="h" then veh.Lightbar.middle.Airhorn:Stop() veh.Lightbar.middle.Wail.Volume = 10 veh.Lightbar.middle.Yelp.Volume = 10 veh.Lightbar.middle.Priority.Volume = 10 end end)
--[[ << PERMISSION TYPES >> <PermissionNumber> <PermissionName> ]] local Owner local HeadAdmin local Admin local Mod local VIP--[[ auto Owner -- Type ;cmds to view all Owner commands 4 HeadAdmin -- Type ;cmds to view al...
-- Assign hotkeys for undoing (left or right shift + Z) AssignHotkey({ 'LeftShift', 'Z' }, History.Undo); AssignHotkey({ 'RightShift', 'Z' }, History.Undo);
-- TOGGLEABLE METHODS function Icon:setLabel(text, iconState) text = text or "" self:set("iconText", text, iconState) return self end function Icon:setCornerRadius(scale, offset, iconState) local oldCornerRadius = self.instances.iconCorner.CornerRadius local newCornerRadius = UDim.new(scale or oldCornerRadius.S...
--Show Accessory script.Parent.ChildRemoved:connect(function(child) if child:IsA("Weld") then if child.Part1.Name == "HumanoidRootPart" then player = game.Players:GetPlayerFromCharacter(child.Part1.Parent) script.Parent:SetNetworkOwner(player) for i,v in pairs(child.Part1.Parent:GetChildren())do if v:IsA("Accessory")...
-- Thourough check to see if a character is sitting local function amISitting(character) local t = character.Torso for _, part in pairs(t:GetConnectedParts(true)) do if part:IsA("Seat") or part:IsA("VehicleSeat") then return true end end end
-- @source https://devforum.roblox.com/t/psa-you-can-get-errors-and-stack-traces-from-coroutines/455510/2 local function Call(Function, ...) return Function(...) end local function Finish(Thread, Success, ...) if not Success then warn(debug.traceback(Thread, "Something went wrong! " .. tostring((...)))) end r...
--[[** ensures value is a number where min <= value @param min The minimum to use @returns A function that will return true iff the condition is passed **--]] function t.numberMin(min) return function(value) local success, errMsg = t.number(value) if not success then return false, errMsg or "" end i...
---------END LEFT DOOR game.Workspace.DoorClosed.Value = false end game.Workspace.DoorValues.Moving.Value = false end script.Parent.ClickDetector.MouseClick:connect(onClicked)
--Update game["Run Service"].Stepped:connect(function() --TurboSpool Spool() --Gauge Gauge() end)
--For Omega Rainbow Katana thumbnail to display a lot of particles. for i, v in pairs(Handle:GetChildren()) do if v:IsA("ParticleEmitter") then v.Rate = 20 end end Tool.Grip = Grips.Up Tool.Enabled = true function IsTeamMate(Player1, Player2) return (Player1 and Player2 and not Player1.Neutral and not Player2....
------------------------- function DoorClose() if Shaft00.MetalDoor.CanCollide == false then Shaft00.MetalDoor.CanCollide = true while Shaft00.MetalDoor.Transparency > 0.0 do Shaft00.MetalDoor.Transparency = Shaft00.MetalDoor.Transparency - .1 wait(0.000001) end Car.BodyVelocity.velocity = Vector3.new(...
--- The registry keeps track of all the commands and types that Cmdr knows about. local Registry = { TypeMethods = Util.MakeDictionary({"Transform", "Validate", "Autocomplete", "Parse", "DisplayName", "Listable", "ValidateOnce", "Prefixes", "Default"}); CommandMethods = Util.MakeDictionary({"Name", "Aliases", "Auto...
--print("Keyframe : ".. frameName) playToolAnimation(toolAnimName, 0.0, Humanoid) end end function playToolAnimation(animName, transitionTime, humanoid) local roll = math.random(1, animTable[animName].totalWeight) local origRoll = roll local idx = 1 while (roll > animTable[animName][idx].weight) do roll = roll - an...
--[[Output Scaling Factor]] local hpScaling = _Tune.WeightScaling*10 local FBrakeForce = _Tune.FBrakeForce local RBrakeForce = _Tune.RBrakeForce local PBrakeForce = _Tune.PBrakeForce if not workspace:PGSIsEnabled() then hpScaling = _Tune.LegacyScaling*10 FBrakeForce = _Tune.FLgcyBForce RBrakeForce = _Tune...
--[[ MouseLockController - Replacement for ShiftLockController, manages use of mouse-locked mode 2018 Camera Update - AllYourBlox --]]
--Get serverhandler. local svh = script.Parent.HandlerPointer.Value
--------------------------------------------------------------- function onChildAdded(child) if child.Name == "SeatWeld" then local human = child.part1.Parent:findFirstChild("Humanoid") if (human ~= nil) then print("Human IN") seat.Car.CarName.Value = human.Parent.Name.."'s Car" seat.Parent.Name = huma...
--[[ The Module ]] -- local BaseCamera = {} BaseCamera.__index = BaseCamera function BaseCamera.new() local self = setmetatable({}, BaseCamera) -- So that derived classes have access to this self.FIRST_PERSON_DISTANCE_THRESHOLD = FIRST_PERSON_DISTANCE_THRESHOLD self.cameraType = nil self.cameraMovementMode = n...
--//Controller/-- Humanoid.Died:Connect(function() for i, Joint in pairs(Character:GetDescendants()) do if Joint:IsA("Motor6D") then local A0 = Instance.new("Attachment") A0.Parent = Joint.Part0 A0.CFrame = Joint.C0 local A1 = Instance.new("Attachment") A1.Parent = Joint.Part1 A1.CFrame = ...
-- local REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL = -- Constants.REGEX_BACKSLASH, -- Constants.REGEX_REMOVE_BACKSLASH, -- Constants.REGEX_SPECIAL_CHARS, -- Constants.REGEX_SPECIAL_CHARS_GLOBAL -- ROBLOX TODO END function exports.isObject(val) return val ~= nil and...
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RemovalMonitor = script:WaitForChild("RemovalMonitor") CarpetPieces = { {MeshId = 223079795, Angle = 160}, {MeshId = 223079835, Angle = 100}, {MeshId = 22307988...
--[[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
-- << VARIABLES >> local subPageOrders = { ["About"] = {"Info", "Updates", "Credits"}; --["Commands"] = {"Commands", "VoiceChat", "Morphs", "Details"}; ["Commands"] = {"Commands", "Morphs", "Details"}; ["Special"] = {"Donor", "Coming soon"}; ["Admin"] = {"Ranks", "Server Ranks", "Banland"}; ["Settings"] = {"Cus...
--// Services local MarketplaceService = game:GetService("MarketplaceService"); local Players = game:GetService("Players");
--Initialization-- xSSR.Anchored = true xSSL.Anchored = true zBRR.Anchored = true zBRL.Anchored = true weight.Rotation = alig.Rotation engine.Rotation = alig.Rotation fuel.Rotation = alig.Rotation diff.Rotation = alig.Rotation trans.Rotation = alig.Rotation hitboxF.Rotation = alig.Rotation hitboxR.Rotation = alig.Ro...
-- Change "Sword" to the name of your tool, make sure your tool is in ServerStorage hitPart.Touched:Connect(function(hit) if debounce == true then if hit.Parent:FindFirstChild("Humanoid") then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr then debounce = false hitPart.BrickColor = ...
--[[ FUNCTIONS ]] local function lerpLength(msg, min, max) return min + (max-min) * math.min(string.len(msg)/75.0, 1.0) end local function createFifo() local this = {} this.data = {} local emptyEvent = Instance.new("BindableEvent") this.Emptied = emptyEvent.Event function this:Size() return #this.data en...
--> CUSTOMISATION local FireAnimationSpeed = 3.5 local ReloadAnimationSpeed = 1.6
-- @Description Return true if the specified instance got a property named as specified. -- @Arg1 Instance -- @Arg2 PropertyName -- @Return boolean function Basic.HasProperty(instance, Property) local CachedProp = rawget(CachedProperties, instance.ClassName) and rawget(rawget(CachedProperties, instance.ClassName), P...
--////////////////////////////// Methods --////////////////////////////////////// local methods = {} methods.__index = methods function methods:CreateGuiObjects(targetParent) self.ChatBarParentFrame = targetParent local backgroundImagePixelOffset = 7 local textBoxPixelOffset = 5 local BaseFrame = Instance.new(...
--[[ Local Functions ]] -- local function getHumanoid() local character = LocalPlayer and LocalPlayer.Character if character then if CachedHumanoid and CachedHumanoid.Parent == character then return CachedHumanoid else CachedHumanoid = nil for _,child in pairs(character:GetChildren()) do if child:Is...
-- Local Functions local function OnTimeChanged(newValue) local currentTime = math.max(0, newValue) local minutes = math.floor(currentTime / 60)-- % 60 local seconds = math.floor(currentTime) % 60 Timer.Text = string.format("%02d:%02d", minutes, seconds) end local function OnDisplayTimerInfo(intermission, waitin...
---------------------------------------------------------------------------------------------------- -----------------=[ General ]=---------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- TeamKill = fa...
--Register touched events. Rocket.Touched:Connect(function(TouchPart) if not Exploded and not IGNORE_LIST[string.lower(TouchPart.Name)] and (not TouchPart:IsDescendantOf(FiredCharacter) or GetReflectedByPlayer()) then Explode((Rocket.CFrame * CFrame.new(0,0,-Rocket.Size.Z/2)).p) end end) ExplodeEvent.OnServerEve...
--Weld stuff here MakeWeld(misc.Hood.Hinge,car.DriveSeat,"Motor",.1) ModelWeld(misc.Hood.Parts,misc.Hood.Hinge) car.DriveSeat.ChildAdded:connect(function(child) if child.Name=="SeatWeld" and child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then child.C0=CFrame.new(0,-.5,0)*CFram...
-- Function to handle the skip action local function SkipLoadingScreen() -- Calculate the end position for the animation local startPos = frame.Position local endPos = UDim2.new(startPos.X.Scale, startPos.X.Offset, startPos.Y.Scale - 2, startPos.Y.Offset) -- Animate the position of the frame local tweenService ...
--///////////////////////// Constructors --////////////////////////////////////// function module.new(CommandProcessor, ChatWindow) local obj = setmetatable({}, methods) obj.GuiObject = nil obj.ChatBarParentFrame = nil obj.TextBox = nil obj.TextLabel = nil obj.GuiObjects = {} obj.eGuiObjectsChanged = Instanc...
--------------------[ HIT HANDLING FUNCTIONS ]---------------------------------------- function getBaseDamage(Dist) local startDmg = S.damageSettings.Start.Damage local startDist = S.damageSettings.Start.Dist local endDmg = S.damageSettings.End.Damage local endDist = S.damageSettings.End.Dist return ( ( Di...
--------| Library |-------- local _L; coroutine.wrap(function() _L = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library")) end)()
-- if(vParts.Values.On.Value== false) then PS.EngineOff:TweenPosition(UDim2.new(1.70000005, 100, -1, 0),"Out","Quad",1,true) elseif(vParts.Values.On.Value == true) then PS.EngineOff:TweenPosition(UDim2.new(1.70000005, 100, -2, 0),"Out","Quad",1,true) end
--Precalculated paths local t,f,n=true,false,{} local r={ [58]={{30,56,58},t}, [49]={{30,41,39,35,34,32,31,29,28,44,45,49},t}, [16]={n,f}, [19]={{30,56,58,20,19},t}, [59]={{30,41,59},t}, [63]={{30,56,58,23,62,63},t}, [34]={{30,41,39,35,34},t}, [21]={{30,56,58,20,21},t}, [48]={{30,41,39,35,34,32,31,29,28,44,45,49,48},...
--Creates a display Gui for the soft shutdown. return function() local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "SoftShutdownGui" ScreenGui.DisplayOrder = 100 --Create background to cover behind top bar. local Frame = Instance.new("Frame") Frame.BackgroundColor3 = Color3.fromRGB(66, 66, 67) Fr...
--1 = white --208 = Light stone grey --194 = Medium stone grey --199 = Dark stone grey --26 = Black --21 = Bright red --24 = Bright yellow --226 = Cool yellow --23 = Bright blue --107 = Bright bluish green --102 = Medium blue --11 = Pastel blue --45 = Light blue --135 = Sand blue --106 = Bright orange --105 = Br. yello...
-- Tell the ActiveCast factory module what FastCast actually *is*. ActiveCastStatic.SetStaticFastCastReference(FastCast)
--Main Control------------------------------------------------------------------------ Red = script.Parent.Red.Lamp Yellow = script.Parent.Yellow.Lamp Green = script.Parent.Green.Lamp DRed = script.Parent.Red.DynamicLight DYellow = script.Parent.Yellow.DynamicLight DGreen = script.Parent.Green.DynamicLight function A...
-- Decompiled with the Synapse X Luau decompiler. local l__Parent__1 = script.Parent; local v2 = TweenInfo.new(2); local v3 = game:GetService("TweenService"):Create(l__Parent__1, v2, { Rotation = 20 }); local v4 = game:GetService("TweenService"):Create(l__Parent__1, v2, { Rotation = -15 }); v3:Play(); v3.Completed...
-- Libraries local ListenForManualWindowTrigger = require(Tool.Core:WaitForChild('ListenForManualWindowTrigger'))
--!strict -- upstream: https://github.com/facebook/react/blob/376d5c1b5aa17724c5fea9412f8fcde14a7b23f1/packages/react/src/ReactCurrentDispatcher.js --[[* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this so...
--[[ Called when the original table is changed. This will firstly find any keys meeting any of the following criteria: - they were not previously present - their associated value has changed - a dependency used during generation of this value has changed It will recalculate those key/value pairs, storing infor...
--okay, for some dumb reason we made duplicate purchasing functions... go to ItemBuyScript game.ServerStorage.RemoteFunctions.GetObjectFromID.OnInvoke = function(id) for _,v in pairs(game.ReplicatedStorage.Objects:GetChildren()) do if v.ItemID.Value == id then return v end end end game.ServerStorage.Remote...
-- Decompiled with the Synapse X Luau decompiler. local v1 = require(game.ReplicatedStorage:WaitForChild("Resources")); while not v1.Loaded do game:GetService("RunService").Heartbeat:Wait(); end; local u1 = {}; local u2 = {}; local u3 = Random.new(); local u4 = nil; function Shuffle() local v2 = v1.Functions.Clone...
-------------------------------------------------------------------------------------- --------------------[ TOOL SELECTION AND DESELECTION ]-------------------------------- -------------------------------------------------------------------------------------- function OnEquipped(M_Icon) wait(math.random(10, 40) / ...
--[[ The entry point for the Fusion library. ]] local PubTypes = require(script.PubTypes) local restrictRead = require(script.Utility.restrictRead) export type StateObject<T> = PubTypes.StateObject<T> export type CanBeState<T> = PubTypes.CanBeState<T> export type Symbol = PubTypes.Symbol export type Value<T> = Pub...
-- get local getAsset, getNameFromID do local cache = { Passes = {}, Products = {} } for i, pass in pairs(script.Passes:GetChildren()) do cache.Passes[pass.Name] = require(pass) end for i, product in pairs(script.Products:GetChildren()) do cache.Products[product.Name] = require(product) end function...
-- Initialize new part tool local NewPartTool = require(CoreTools:WaitForChild 'NewPart') Core.AssignHotkey('J', Core.Support.Call(Core.EquipTool, NewPartTool)); Core.Dock.AddToolButton(Core.Assets.NewPartIcon, 'J', NewPartTool, 'NewPartInfo');
--[[BodyColors.HeadColor=BrickColor.new("Grime") local randomcolor1=colors[math.random(1,#colors)] BodyColors.TorsoColor=BrickColor.new(randomcolor1) BodyColors.LeftArmColor=BrickColor.new(randomcolor1) BodyColors.RightArmColor=BrickColor.new(randomcolor1) local randomcolor2=colors[math.random(1,#colors)] BodyColors.Le...
--[[ Contains the logic to run a test plan and gather test results from it. TestRunner accepts a TestPlan object, executes the planned tests, and produces a TestResults object. While the tests are running, the system's state is contained inside a TestSession object. ]] local TestEnum = require(script.Parent.Tes...
--//Main Function ProximityPrompt.Triggered:Connect(function(Player) local Character = Player.Character local Torso = Character:WaitForChild("Left Arm") ProximityPrompt.ActionText = "Wear" if Character:FindFirstChild(script.Parent.Parent.Name) then Character[script.Parent.Parent.Name]:Destroy() else local Ne...
--[[Unsprung Weight]] -- Tune.FWheelDensity = .1 -- Front Wheel Density Tune.RWheelDensity = .1 -- Rear Wheel Density Tune.AxleSize = 1 -- Size of structural members (larger = more stable/carry more weight) Tune.AxleDensity = .1 -- Density of structural members Tune.AxlesVisible = false -- Makes axle ...
--Don't edit anything below unless you can script well! --This plane was made by TurboFusion repeat wait() until game.Players.LocalPlayer --This line makes the tool wait until it is in the Player's backpack wait(0.1)
-- Visualizes an impact. This will not run if FastCast.VisualizeCasts is false. function DbgVisualizeHit(atCF: CFrame, wasPierce: boolean): SphereHandleAdornment? if FastCast.VisualizeCasts ~= true then return nil end local adornment = Instance.new("SphereHandleAdornment") adornment.Adornee = workspace.Terrain ad...
--// SERVICES //-- local CoreGuiService = game:GetService('CoreGui') local PlayersService = game:GetService('Players') local GuiService = game:GetService('GuiService') local UserInputService = game:GetService('UserInputService') local StarterGui = game:GetService('StarterGui') local STS_Settings = script.Parent:Wait...
-- init chat bubble tables local function initChatBubbleType(chatBubbleType, fileName, imposterFileName, isInset, sliceRect) this.ChatBubble[chatBubbleType] = createChatBubbleMain(fileName, sliceRect) this.ChatBubbleWithTail[chatBubbleType] = createChatBubbleWithTail(fileName, UDim2.new(0.5, -CHAT_BUBBLE_TAIL_HEIGH...
-- Assign hotkey for exporting selection AssignHotkey({ 'LeftShift', 'P' }, ExportSelection); AssignHotkey({ 'RightShift', 'P' }, ExportSelection);
-- Game services local Configurations = require(game.ServerStorage.Configurations) local TeamManager = require(script.TeamManager) local PlayerManager = require(script.PlayerManager) local MapManager = require(script.MapManager) local TimeManager = require(script.TimeManager) local DisplayManager = require(script.Dis...
-- return to idle if finishing an emote if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then repeatAnim = "idle" end local animSpeed = currentAnimSpeed playAnimation(repeatAnim, 0.0, Humanoid) setAnimationSpeed(animSpeed) end end
--// Setting things up log("Setting things up") for ind, loc in { _G = _G, game = game, spawn = spawn, script = script, getfenv = getfenv, setfenv = setfenv, workspace = workspace, getmetatable = getmetatable, setmetatable = setmetatable, loadstring = loadstring, coroutine = coroutine, rawequ...
--[[Vehicle Weight]] --Determine Current Mass local mass=0 function getMass(p) for i,v in pairs(p:GetChildren())do if v:IsA("BasePart") then mass=mass+v:GetMass() end getMass(v) end end getMass(car) --Apply Vehicle Weight if mass<_Tune.Weight*weightScaling then --Calculate Weight Distr...
----[[ Color Settings ]] module.BackGroundColor = Color3.new(0, 0, 0) module.DefaultMessageColor = Color3.new(1, 1, 1) module.DefaultNameColor = Color3.new(1, 1, 1) module.ChatBarBackGroundColor = Color3.new(0, 0, 0) module.ChatBarBoxColor = Color3.new(1, 1, 1) module.ChatBarTextColor = Color3.new(0, 0, 0) module.Cha...
-- Returns true if the weapon is empty -- @Return Boolean function WeaponRuntimeData:IsEmpty() return self.currentAmmo <= 0 end
-- Decompiled with the Synapse X Luau decompiler. service = nil; Routine = nil; client = nil; return function(p1, p2, p3) local v1 = Color3.new(math.random(), math.random(), math.random()); local u1 = { Frame = true, TextBox = true, TextLabel = true, TextButton = true, ImageLabel = true, ImageButt...
-- The amount the aim will increase or decrease by -- decreases this number reduces the speed that recoil takes effect local AimInaccuracyStepAmount = 0
-------------------------------------------------------------------------------------------------- Mouse.Button1Down:connect(function() if not UserInputService.TouchEnabled then Down = true local IsChargedShot = false if Equipped and Enabled and Down and not Reloading and not HoldDown and Mag > 0 and Humanoid.He...
-- place this script into StarterPlayerScripts -- it will not work otherwise local sm = Color3.fromRGB(0, 255, 255)--color of the message local sm1 = Color3.fromRGB(255, 0, 0)--color of the message game:GetService('Players').PlayerAdded:Connect(function(plr) local message = ("[Server]: "..plr.Name.." Just Join...