From e34ee7821b7fae4c7c7fc16e949d61e6c4a196ce Mon Sep 17 00:00:00 2001 From: ezekieltem <82738698+ezekieltem@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:00:47 -0600 Subject: [PATCH 1/3] Fix bug with mobile flight Fixed bug with mobile flight preventing them from flying forwards or backwards when looking directly up or directly down --- src/IncludedCommands/UsefulFun/fly.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IncludedCommands/UsefulFun/fly.lua b/src/IncludedCommands/UsefulFun/fly.lua index 1827b9e..5436e4b 100644 --- a/src/IncludedCommands/UsefulFun/fly.lua +++ b/src/IncludedCommands/UsefulFun/fly.lua @@ -328,10 +328,10 @@ return { Flight.KeysDown[Enum.KeyCode.D] = false end - if Y <= -0.5 then + if Y <= -0.1 then Flight.KeysDown[Enum.KeyCode.S] = true Flight.KeysDown[Enum.KeyCode.W] = false - elseif Y >= 0.5 then + elseif Y >= 0.1 then Flight.KeysDown[Enum.KeyCode.S] = false Flight.KeysDown[Enum.KeyCode.W] = true else @@ -353,7 +353,7 @@ return { table.insert(Flight.Events, Flight.Humanoid:GetPropertyChangedSignal("MoveDirection"):Connect(function() -- Stop the flight movement when the Humanoid has no Movement Direction local MoveDirection = Flight.Humanoid.MoveDirection - if MoveDirection.X < 0.5 and MoveDirection.X > -0.5 and MoveDirection.Z < 0.5 and MoveDirection.Z > -0.5 then + if MoveDirection.X < 0.5 and MoveDirection.X > -0.5 and MoveDirection.Z < 0.1 and MoveDirection.Z > -0.1 then Flight.KeysDown[Enum.KeyCode.W] = false Flight.KeysDown[Enum.KeyCode.S] = false Flight.KeysDown[Enum.KeyCode.A] = false From 0b81e980501e5e0abd1c02b9936722efde6ca1cb Mon Sep 17 00:00:00 2001 From: ezekieltem <82738698+ezekieltem@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:11:50 -0600 Subject: [PATCH 2/3] Update included-feature-flags.md Adding missing included feature flags `PreformSoftShutdownOnClose`, `UseBeamsWhenTracking`, `AllowFlyingThroughMap`. Fixed spelling mistake under `UseNativeHintGui` Fixed typo under `UseNativeNotificationGui` --- docs/included-feature-flags.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/included-feature-flags.md b/docs/included-feature-flags.md index 06b6a22..1d94fc9 100644 --- a/docs/included-feature-flags.md +++ b/docs/included-feature-flags.md @@ -9,12 +9,12 @@ If true, the native messages GUI will be displayed when is displayed intended for the developer to replace. ## UseNativeHintGui (default: `true`) -If true, the native hits GUI will be displayed when +If true, the native hints GUI will be displayed when `Messages:DisplayHint()` is used. If false, no GUI is displayed intended for the developer to replace. ## UseNativeNotificationGui (default: `true`) -If true, the native hits GUI will be displayed when +If true, the native notification GUI will be displayed when `Messages:DisplayNotification()` is used. If false, no GUI is displayed intended for the developer to replace. @@ -30,3 +30,15 @@ prefixes used. If false, chat executing will be ignored. ## AllowDroppingSwords (default: `true`) If true, players will be able to drop swords. If false, they won't. + +## PreformSoftShutdownOnClose (default: `true`) +If true, the server will automaticly preform a SoftShutdown on `game:BindToClose()`. +If false, it will not. + +## UseBeamsWhenTracking (default: `true`) +If true, beams will be drawn to each player's character when running `:track`. +If false, no beams will be drawn. + +## AllowFlyingThroughMap (default: `true`) +If true, players will be able to fly through the map when using `:fly`. +If false, they won't. From f6a191c95fae3826e37263c8491f29d67ef93987 Mon Sep 17 00:00:00 2001 From: ezekieltem <82738698+ezekieltem@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:18:01 -0600 Subject: [PATCH 3/3] Update api.md Added missing argument `Player: Player` under `:Messages:DisplayNotification()` --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index e847d68..aecb913 100644 --- a/docs/api.md +++ b/docs/api.md @@ -220,7 +220,7 @@ Displays a full-screen message to the specified player. #### `Messages:DisplayNotification(TopText: string, Message: string, DisplayTime: number?): ()` *Client-Only* Displays a slide-in notification to the local player. -#### `Messages:DisplayNotification(TopText: string, Message: string, DisplayTime: number?): ()` *Server-Only* +#### `Messages:DisplayNotification(Player: Player, TopText: string, Message: string, DisplayTime: number?): ()` *Server-Only* Displays a slide-in notification to the specified player. ### `Types`