text
stringlengths
52
99.8k
--[[ Cam Hook Allows for clicking and viewing a part Phoenix ]] local Remote = game:GetService("ReplicatedStorage").Game.Events.Game.CameraListener return function(Environment, ID, Settings) script = Environment local Settings = require(Settings) local Players = {} script.Parent.MouseClick:Connect(funct...
--///////////////// Internal-Use Methods --////////////////////////////////////// --DO NOT REMOVE THIS. Chat must be filtered or your game will face --moderation. function methods:InternalApplyRobloxFilter(speakerName, message, toSpeakerName) --// USES FFLAG if _SETTINGS.DisableSafeChat == true then return message...
--[[Drivetrain]] Tune.Config = "AWD" --"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) ...
-- services local HttpService = game:GetService("HttpService")
--changing transparency for index, child in pairs(character:GetChildren()) do if child:IsA("BasePart") and child.Name ~= "Head" then child:GetPropertyChangedSignal("LocalTransparencyModifier"):Connect(function() child.LocalTransparencyModifier = child.Transparency end) end end
-- Start of barrier visualization functions local function getPositionFromVertexList(vertexList) return ((vertexList[4] + vertexList[1]) / 2) + ((vertexList[2] - vertexList[1]) / 2) end
-- Max angle the wheels will reach when turning -- Higher number means sharper turning, but too high means the wheels might hit the car base local MAX_TURN_ANGLE = 30
-- / Configuration / -- local Configuration = script.Configuration
-- MUSIC/SOUNDS AmbienceSoundEnabled = true MusicLobbyEnabled = true GuidingLightMusicEnabled = true EndingMusicEnabled = true ElevatorJamMusicEnabled = true UnhingedMusicEnabled = true
-- Implements Javascript's `Array.prototype.map` as defined below -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some return function<T, U>(t: Array<T>, callback: callbackFn<T> | callbackFnWithThisArg<T, U>, thisArg: U?): boolean if typeof(t) ~= "table" then error(string....
------------------------------------------------ local function Panned(input, processed) if not processed and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Delta panDeltaMouse = Vector2.new(-delta.y, -delta.x) end end
--------------| SYSTEM SETTINGS |-------------- Prefix = ";"; -- The character you use before every command (e.g. ';jump me'). SplitKey = " "; -- The character inbetween command arguments (e.g. setting it to '/' would change ';jump me' to ';jump/me'). BatchKey = ""; -- The character inbetween batch com...
-- local TITLE_INDENT = ' ' -- local MESSAGE_INDENT = ' ' local STACK_INDENT = " "
--------------------------CHARACTER CONTROL------------------------------- local CurrentIgnoreList: {Model} local CurrentIgnoreTag = nil local TaggedInstanceAddedConnection: RBXScriptConnection? = nil local TaggedInstanceRemovedConnection: RBXScriptConnection? = nil local function GetCharacter(): Model return Play...
--[[ Discord - Roblox hookup ConfidentCoding Do not touch this script. --]] local webHook = {} webHook.__index = webHook function webHook.new(id,key) local mt = setmetatable({id=id,key=key}, webHook) return mt end function webHook:post(config,host) local data = nil local success = pcall(function() data ...
-- Death Messages - Message handler @ JDLENL 3/22/20 -- Please consider accrediting me in the description! It'd be nice of you. -- This is the part that shows the death messages in chat game:GetService("ReplicatedStorage"):WaitForChild("DeathMessage").OnClientEvent:Connect(function(Message) local s = game:GetServic...
--Rainbow Sparkling Trail-- local function AttachParticleControl(source_part) local prtc = nil local function Start() prtc = script.Sparkle:clone() prtc.Parent = source_part end local function Update() end local function Stop() if prtc ~= nil then prtc:destroy() prtc = nil end end ...
-- ROBLOX DEVIATION: Ignore enableComponentStackLocations -- local ReactFeatureFlags = require(script.Parent.ReactFeatureFlags) -- local enableComponentStackLocations = ReactFeatureFlags.enableComponentStackLocations local ReactSymbols = require(script.Parent.ReactSymbols) local REACT_SUSPENSE_TYPE = ReactSymbols.RE...
----------------- --| Functions |-- ----------------- local function OnActivated() local myModel = MyPlayer.Character if Tool.Enabled and myModel and myModel:FindFirstChild('Humanoid') and myModel.Humanoid.Health > 0 then Tool.Enabled = false -- Create a clone of Rocket and set its color local rocketClone =...
-- Each note takes up exactly 8 seconds in audio. i.e C2 lasts 8 secs, C2# lasts 8 secs, C3 lasts 8 secs, C3# lasts 8 secs etc. for each audio -- These are the IDs of the piano sounds. settings.SoundSource = Piano.Keys.KeyBox settings.CameraCFrame = CFrame.new( (Box.CFrame * CFrame.new(0, 0, 1)).p, -- +z is toward...
-- events REMOTES.Melee.OnServerEvent:connect(function(player, action, item, ...) local character = player.Character if character then local equipped = character.Equipped.Value if item == equipped then if action == "Init" then local index = ... local animation = item.Animations["Attack" .. tostr...
-- Boat settings local BoatSpeed = 6 local TurnSpeed = 0.9 local TiltPower = 4.5*(10^6) function Examine(Number) if Number == 1 then return 1 elseif Number == -1 then return 1 else return Number end end while wait() do
--[[ Roblox Services ]] -- local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local UserGameSettings = UserSettings():GetService("UserGameSettings")
------------------------------- local tool = script.Parent local player = game.Players.LocalPlayer while player.Character == nil do wait() end local char = player.Character while char:FindFirstChild("Humanoid") == nil do wait() end local hum = char:FindFirstChild("Humanoid") local enabled = true local equipped = fa...
--[=[ Constructs a new Signal @return Signal ]=] function Signal.new<T...>(): Signal<T...> local self = setmetatable({ _handlerListHead = false, _proxyHandler = nil, }, Signal) return self end
-- initialize to idle playAnimation("idle", 0.1, AnimController) pose = "Standing" while Figure.Parent~=nil do local _, time = wait(0.1) move(time) end
--[[ AntiGravityCoil Tool that isn't Tree'd Phoenix ]] local Tool = script.Parent local Player = Tool.Parent.Parent local Died = nil local Equipped = false local IsAlive = function() if Player.Character then if Player.Character:FindFirstChild("Humanoid") then if Player.Character:FindFirstChild("Humanoid")...
--//# Graphics+ --//# Version: 1.14 | Featuring Terrain+
-- Register explorer pane toggling hotkeys AssignHotkey({ 'LeftShift', 'H' }, ToggleExplorer) AssignHotkey({ 'RightShift', 'H' }, ToggleExplorer)
-- FIXME: This should be updated to be closer to the actual -- `Object.preventExtensions` functionality in JS. This requires additional -- support from the VM local function preventExtensions<T>(t: T & (Object | Array<any>)): T local name = tostring(t) return ( setmetatable(t :: any, { __newindex = function(s...
--[[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...
--[[Engine]] --Torque Curve Tune.Horsepower = 505 -- [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 = 550...
--////////////////////////////// Methods --////////////////////////////////////// local methods = {} methods.__index = methods local function CreateGuiObjects() local BaseFrame = Instance.new("Frame") BaseFrame.Selectable = false BaseFrame.Size = UDim2.new(1, 0, 1, 0) BaseFrame.BackgroundTransparency = 1 local...
-- Variables that will be used globally (throughout) the script -- Services local TweenService = game:GetService("TweenService") local ContextActionService = game:GetService("ContextActionService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Gu...
---[[ Font Settings ]] module.DefaultFont = Enum.Font.Antique module.ChatBarFont = Enum.Font.Antique
-- Decompiled with the Synapse X Luau decompiler. script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Visible = not script.Parent.Parent.Visible script.Parent.Parent.Parent.Frame.Visible = not script.Parent.Parent.Parent.Frame.Visible end);
--if script.Parent.Storage.CurrentGear.Value == 1 then carSeat.Parent.Parent.Wheels.FL.FLDisk.CanCollide = false carSeat.Parent.Parent.Wheels.FR.FRDisk.CanCollide = false carSeat.Parent.Parent.Wheels.RL.RLDisk.CanCollide = false carSeat.Parent.Parent.Wheels.RR.RRDisk.CanCollide = false
------------------------------------------------------------------------ -- returns a suitably-formatted chunk name or id -- * from lobject.c, used in llex.c and ldebug.c -- * the result, out, is returned (was first argument) ------------------------------------------------------------------------ function luaX:chunk...
--[[ A method called by consumers of Roact to create a new component class. Components can not be extended beyond this point, with the exception of PureComponent. ]] function Component:extend(name) if config.typeChecks then assert(Type.of(self) == Type.StatefulComponentClass, "Invalid `self` argument to `extend...
------------------ ------------------ function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end local Figure = script.Parent local Torso = waitForChild(Figure, "Torso") local RightShoulder = wai...
-- Far lands local fardistance = 20000 local turnorien = 5
-- Reference the button and the GUI local button = script.Parent local gui4567 = script.Parent.Parent
--m3.Volume = 0 m2.Looped = false m2.Playing = false script.Parent.Parent:WaitForChild("Drive").Locotrol.Event:connect(function(data) if data["Horn"] == true then m2.Volume = 0 m2.Looped = false m2:Stop() m2.Playing = false --m3.Volume = 0 --m3.Stop() m1.Volume = 1 m1:Play() --wait(m1.TimeLength) -...
--Main function local function AttachAuraControl(source_part, eff_cont) --(source_part, effect_container) local AnimObj local function Start() AnimObj = {} AnimObj["LastUpdate"] = tick() AnimObj["Parts"] = {} for i = 1, 10 do local np = EFFECT_LIB.NewInvisiblePart() np.Transparency = 0.5 ...
--[[Engine]] --Torque Curve Tune.Horsepower = 973 -- [TORQUE CURVE VISUAL] Tune.IdleRPM = 1100 -- https://www.desmos.com/calculator/2uo3hqwdhf Tune.PeakRPM = 8250 -- Use sliders to manipulate values Tune.Redline = 8750 -- Copy and paste slider values into the respective tune values Tune.EqPoint = 52...
--[ Get Items ]-- local Crouch = script:WaitForChild("Crouch"):Clone() Crouch.Disabled = false
-- UAEmaple function onTouch(part) local human = part.Parent:findFirstChild("Humanoid") if human ~= nil then part.Parent:findFirstChild("Head").Transparency = 1 part.Parent:findFirstChild("Torso").Transparency = 1 part.Parent:findFirstChild("Left Arm").Transparency = 1 part.Parent:findFirstChild("Right Arm")...
--Touch Controls --I wanted to use the MasterControl module, but the rules for the magnitude of GetMoveVector() --seem arbitary and unclear, so it's hooked into the ui itself. function RunTouchControls() local TouchGui = Player.PlayerGui:FindFirstChild("TouchGui") local StickOuter = TouchGui.TouchControlFrame.Thum...
--- Returns a table containing the parsed values for all of the arguments. function Command:GatherArgumentValues () local values = {} for i = 1, #self.ArgumentDefinitions do local arg = self.Arguments[i] if arg then values[i] = arg:GetValue() else values[i] = self.ArgumentDefinitions[i].Default end ...
-- variables local player = game.Players.LocalPlayer local character = player.Character local humanoid = character.Humanoid local camera = workspace.CurrentCamera camera.FieldOfView = 90 humanoid.CameraOffset = Vector3.new(0, 0, -1)
--[[ 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...
-- Applying text filter local function getTextObject(message, fromPlayerId) local textObject local success, errorMessage = pcall(function() textObject = TextService:FilterStringAsync(message, fromPlayerId, Enum.TextFilterContext.PublicChat) end) if success then return textObject elseif errorMessage then pr...
--Listen for new seats Remotes.NewSeat.OnClientEvent:Connect(function(Seat) print("Seat add received") Seats[Seat] = Seat Seat.AncestryChanged:connect(function() if not Seat:IsDescendantOf(game) then --Removed Seats[Seat] = nil end end) end)
-- local function deletePropertyWin32(_target: unknown, key: unknown) -- error("not implemented") --[[ ROBLOX TODO: Unhandled node for type: ForInStatement ]] --[[ for (const name in real) { -- if (real.hasOwnProperty(name)) { -- if (typeof key === 'string') { -- if (name.toLowerCase() === ke...
-- << Raycasting functions >>-- function cross(vector1, vector2) return Vector3.new(vector1.y * vector2.z - vector2.y * vector1.z, vector1.z * vector2.x - vector1.x * vector2.z, vector1.x * vector2.y - vector2.x * vector1.y) end function dot(vector1, vector2) return (vector1.x * vector2.x + vector1.y * vector2.y + ...
--[[Weight and CG]] Tune.Weight = 1000 -- 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 = 55 -- Weight distribution (0 - on rear wheels, 100 - on front wheel...
-- run this code in the command bar: (view -> command bar) starterPack = workspace["Terrain Pickaxe Kit v1.0"]["Ungroup in StarterPack"]:GetChildren() for i, v in pairs(starterPack) do v.Parent = game.StarterPack end starterGui = workspace["Terrain Pickaxe Kit v1.0"]["Ungroup in StarterGui"]:GetChildren() for i, v...
-- ==================== -- CAMERA SHAKING -- Make user's camera shaking when shooting -- ==================== CameraShakingEnabled = false; Intensity = 0.5; --In degree
-- declarations local Figure = script.Parent local Torso = waitForChild(Figure, "Torso") local RightShoulder = waitForChild(Torso, "Right Shoulder") local LeftShoulder = waitForChild(Torso, "Left Shoulder") local RightHip = waitForChild(Torso, "Right Hip") local LeftHip = waitForChild(Torso, "Left Hip") local Neck =...
--//Toggle event//-- script.Parent.Door.MainDoor.ClickDetector.MouseClick:Connect(function() if DoorStatus == "Closed" and Debounce == false then Debounce = true DoorMain.Open:Play() Door.HandleUno.HingeConstraint.TargetAngle=70 Door.HandleDos.HingeConstraint.TargetAngle=-70 TweenModel(script.Parent.Door, ...
-- Adjust the touch sensitivity so that sensitivity is reduced when swiping up -- or down, but stays the same when swiping towards the middle of the screen local function adjustTouchPitchSensitivity(delta: Vector2): Vector2 local camera = workspace.CurrentCamera if not camera then return delta end -- get the...
--Brakes = {} --Removed the unused brake functionality Horn = false Bell = false Engine = false Lights = false Lights2 = false Lights3 = false Lights4 = false BellPersistsAfterLeaving = true FrontCoupler = { model = nil, coupledto = nil, weld = nil, drive = nil, front = true, Reversed = false, GetControls = ni...
-- Settings local key = Enum.KeyCode.E -- key to trigger dash local velocity = 1000 -- dash speed local debounce = false -- debounce, do not set to true local cooldown = 5 -- cooldown after dash local duration = 0.2 -- dash duration
--[[Status Vars]] local _IsOn = _Tune.AutoStart if _Tune.AutoStart then script.Parent.IsOn.Value=true end local _GSteerT=0 local _GSteerC=0 local _GThrot=0 local _GBrake=0 local _ClutchOn = true local _ClPressing = false local _RPM = 0 local _HP = 0 local _OutTorque = 0 local _CGear = 0 local _PGear...
-- Constructor/Destructor function WaypointPath.new(player, startPos, endPos) local self = setmetatable({}, WaypointPath) -- Player variables self.player = player self.character = player.Character or player.CharacterAdded:wait() self.humanoid = self.character:WaitForChild("Humanoid") self.humanoidRoot = self.c...
--[[Wheel Alignment]] --[Don't physically apply alignment to wheels] --[Values are in degrees] Tune.FCamber = -14 Tune.RCamber = -9 Tune.FToe = 0 Tune.RToe = 0
--[[** ensures value is a number where value < max @param max The maximum to use @returns A function that will return true iff the condition is passed **--]] function t.numberMaxExclusive(max) return function(value) local success, errMsg = t.number(value) if not success then return false, errMsg or "" ...
--[[]] -- xx.Deselected:connect(function(mouse) FlyOff() end) xx.Selected:connect(function(mouse) mouse.Button1Down:connect(function() FlyOn() end) end)
--also don't forgot to like this script and leave a comment <3
-- Ambient settings -- Morning morning_Brightness = 1.2 morning_Ambient = Color3.new(75/255, 83/255, 78/255) morning_OutdoorAmbient = Color3.new(113/255, 128/255, 119/255) morning_FogColor = Color3.new(207/255, 226/255, 201/255) morning_FogEnd = 2500 -- Sunset sunset_Brightness = 0.8 sunset_Ambient = Color3...
--[[ Updates the value stored in this State object. If `force` is enabled, this will skip equality checks and always update the state object and any dependents - use this with care as this can lead to unnecessary updates. ]] function class:set(newValue: any, force: boolean?) -- if the value hasn't changed, no n...
-- ok? probably not if running on a 32-bit int Lua number type platform function M.tobit(x) return x % 2^32 end M.cast = M.tobit M.bxor = make_bitop {[0]={[0]=0,[1]=1},[1]={[0]=1,[1]=0}, n=4} local bxor = M.bxor function M.bnot(a) return MODM - a end local bnot = M.bnot function M.band(a,b) return ((a+b) - b...
-- ROBLOX deviation: expected does not have string | RegExp type annotation function formatReceived( label: string, thrown: Thrown, -- ROBLOX FIXME: narrowing | nil, key: string, expected: any -- ROBLOX FIXME: narrowing string | RegExp ) if thrown == nil then return "" end if key == "message" then local m...
--[[* * Expose "picomatch" ]] return picomatch
--Green Liquid-- local function GEAR_EFFECT_SERVER(gear_server_functions, effect_data) local GSF = gear_server_functions local ED = effect_data --Effect variables local EV = {} --Server effect functions --Server effect object functions local function Start() EV["StartTime"] = tick() end local f...
--Also, we need a way to force a debounce on the destination teleporter script.Parent.ForceSetBusy.Event:connect(function() if (isBusy) then return end glowPart.Transparency = 1 indicator.BrickColor = BrickColor.new("Really red") isBusy = true wait(7.5) glowPart.Transparency = 0 indicator.BrickColor = BrickCol...
--[=[ Destroys the ClientComm object. ]=] function ClientComm:Destroy() end return ClientComm
--[[Run]] --Print Version local ver=require(car["A-Chassis Tune"].README) print("//INSPARE: AC6 Loaded - Build "..ver) --Runtime Loops -- ~60 c/s game["Run Service"].Stepped:connect(function() --Steering Steering() --RPM RPM() --Update External Values _IsOn = script.Parent.IsOn.Value _I...
--[=[ Constructs a new Signal that wraps around an RBXScriptSignal. @param rbxScriptSignal RBXScriptSignal -- Existing RBXScriptSignal to wrap @return Signal For example: ```lua local signal = Signal.Wrap(workspace.ChildAdded) signal:Connect(function(part) print(part.Name .. " added") end) Instance.new("Part"...
-- Deprecated in favour of GetMessageModeTextButton -- Retained for compatibility reasons. function methods:GetMessageModeTextLabel() return self:GetMessageModeTextButton() end function methods:IsFocused() -- Temporary hack while reparenting is necessary. if not self.GuiObject:IsDescendantOf(game) then if self....
------------------------------- local tool = script.Parent local player = game.Players.LocalPlayer while player.Character == nil do wait() end local char = player.Character while char:FindFirstChild("Humanoid") == nil do wait() end local hum = char:FindFirstChild("Humanoid") local rs = char:FindFirstChild("Torso"):F...
--Sets the current frame. function ControllerGroups:SetSelectedFrame(NewFrame) if LastActiveGroup and ControllerConnected() and LastActiveGroup:FrameInGroup(NewFrame) then LastFrame = NewFrame GuiService.SelectedObject = NewFrame UpdateActiveButton() end end
-- Decompiled with the Synapse X Luau decompiler. return { Name = "var", Aliases = {}, Description = "Gets a stored variable.", Group = "DefaultUtil", AutoExec = { "alias \"init-edit|Edit your initialization script\" edit ${var init} \\\\\n && var= init ||", "alias \"init-edit-global|Edit the initialization...
-- Libraries local ListenForManualWindowTrigger = require(Tool.Core:WaitForChild('ListenForManualWindowTrigger')) local Roact = require(Vendor:WaitForChild('Roact')) local ColorPicker = require(UI:WaitForChild('ColorPicker'))
--Sam local rap = script.Parent.RightArmParts:GetChildren() local lap = script.Parent.LeftArmParts:GetChildren() local rlp = script.Parent.RightLegParts:GetChildren() local llp = script.Parent.LeftLegParts:GetChildren() local hp = script.Parent.HeadParts:GetChildren() local tp = script.Parent.TorsoParts:GetChildren(...
-- ROBLOX deviation: omitted external type NewPlugin local PrettyFormat = require(Packages.PrettyFormat) type Config = PrettyFormat.Config type Printer = PrettyFormat.Printer type Refs = PrettyFormat.Refs local function serialize( val: any, config: Config, indentation: string, depth: number, refs: Refs, printe...
-- Smooth Interpolation Curve Generator -- @author Validark -- @original https://github.com/gre/bezier-easing -- Copyright (c) 2014 Gaëtan Renaudeau, MIT License (see bottom for full license) -- @testsite http://cubic-bezier.com/ -- @testsite http://greweb.me/bezier-easing-editor/example/
--- Returns a new CommandContext, an object which is created for every command validation. -- This is also what's passed as the context to the "Run" functions in commands function Command.new (options) local self = { Dispatcher = options.Dispatcher; -- The dispatcher that created this command context Cmdr = opti...
--Casts the mouse's position to 3D space. local function Get3DPosition(X,Y) local MouseRay = Camera:ScreenPointToRay(X,Y,1000) local EndPos = MouseRay.Origin + MouseRay.Direction return CastRay(Camera.CFrame.p,(EndPos - Camera.CFrame.p).unit,1000) end
------------------------- while true do Puerta1.BodyVelocity.velocity = Vector3.new(0, 0, -0.5) Puerta2.BodyVelocity.velocity = Vector3.new(0, 0, 0.5) wait(8) Puerta1.BodyVelocity.velocity = Vector3.new(0, 0, 0) Puerta2.BodyVelocity.velocity = Vector3.new(0, 0, 0) break end
--[[ Creats a beam between two parts. --]] local function JoinPartsAtOffset(Part1,Part2,Offset1,Offset2,Rotation,Width1,Width2) --Create the attachments. local Attachment1 = Instance.new("Attachment") Attachment1.Position = Offset1 Attachment1.Orientation = Rotation Attachment1.Parent = Part1 local Attachmen...
--functions function coverdown() shutter.TextLabel.Visible = false shutter:TweenPosition(UDim2.new(0, 0,0.525, 0), "Out", "Sine", 1, true) end function coverup() shutter:TweenPosition(UDim2.new(0, 0,0.145, 0), "Out", "Sine", 1, true) shutter.TextLabel.Visible = true end function menuoneappear() for _,v in pai...
--[===[ DO NOT edit ANYTHING below! ]===] local isOn = false script.Parent.ClickDetector.MouseClick:connect(function(Player) local Character = Player.Character Character.Animate.Disabled = true wait() local root = Character.HumanoidRootPart:findFirstChild("RootJoint") and Character.HumanoidRootPart.RootJo...
--[[Running Logic]] -- local equipped = false local rayparts = {} local ColorChoices = {BrickColor.new('Really red'),BrickColor.new('Lime green'),BrickColor.new('Toothpaste')} local StartOffset = {Vector3.new(-.45,0,0),Vector3.new(0,0,0),Vector3.new(.45,0,0)} local oldC0 =nil local nweld
-- 2450^2 voxels @ 4 studs/voxel is the default size local _mapSize = Conf.map_size or (2450 * 4) local _minimapWidth = Conf.minimap_width or 0.3 local _minimapHeight = Conf.minimap_height or 0.3 local _worldmapWidth = Conf.worldmap_width or 0.9 local _worldmapHeight = Conf.worldmap_height or 0.9 local _isCurrentlyMi...
-- -- Go through each valid target to see if within field of view and if there is -- -- clear line of sight. Field of view treated as wedge in front of character. -- for _, character in pairs(characters) do -- local toTarget = (character.HumanoidRootPart.Position - model.HumanoidRootPart.Position) -- toTarg...
-- Copied from Grimgold Periastron Beta local Tool = script.Parent local Sword = Tool.Handle local vCharacter local myTorso local myHumanoid local equipped = false local debris = game:GetService("Debris") function tagHumanoid(humanoid, player) if humanoid then local creatorTag = Instance.new("ObjectValue") ...
-- ROBLOX deviation: expected does not have Error type annotation function toThrowExpectedObject( matcherName: string, options: JestMatcherUtils.MatcherHintOptions, thrown: Thrown | nil, expected: Error ): SyncExpectationResult local pass = thrown ~= nil and thrown.message == expected.message local message if...
--Leonlai Fog Script. :D game.Lighting.FogStart = 10 game.Lighting.FogEnd = 120 game.Lighting.FogColor = Color3.new(0,0,0) game.Lighting.TimeOfDay = "00:00"
--[=[ @return ... any @yields Yields the current thread until the signal is fired, and returns the arguments fired from the signal. Yielding the current thread is not always desirable. If the desire is to only capture the next event fired, using `Once` might be a better solution. ```lua task.spawn(function() ...