1Xayd1
(1xayd1)
September 8, 2024, 2:09pm
#1
About
Ever wanted lock on feature like in popular battlegrounds games? Well, EzLockOn is a very perfomant and customizable way to implement lock on feature to your fighting game.
API
local Lock = require(game:GetService("ReplicatedStorage"):WaitForChild("Lock"))
--Starts the module
Lock.start()
Tips/How to use
Inside the module you can find settings module
return{
--//[[Main Settings]]\\--
--Self explanotory[Default = 75]
ActivationKeys = {Enum.KeyCode.X, Enum.KeyCode.V};
--Self explanotory[Default = 75]
LockOnFieldOfView = 75;
--Self explanotory[Default = 50]
RayDistance = 50;
--Easing style of camera movement[Default = Enum.EasingStyle.Sine]
EasingStyle = Enum.EasingStyle.Sine;
--Self explanotory[Default = Vector3.new(3, 3.5, 5)]
LockOnCameraOffset = Vector3.new(3, 3.5, 5);
--//[[Misc Settings]]\\--
--Self explanotory[Default = true]
BillboardGUIEnabled = true;
--Self explanotory[Default = false]
BillboardGUIRotation = false;
}
Also inside the module you can find LockBillboardUI, you can edit the image inside of it or with ```
BillboardGUIRotation set to false create your own custom crosshairs with frames and everything else that your mighty soul want.
Showcase
Features
Auto disabling Lock On when died (both characters main and targeted one)
Highly customizeable settings
Optimized tracking/script use managment
Links
testplace.rbxl (70,3 КБ)
Or click on image to get module
16 Likes
SaintImmor
(SaintImmor)
October 14, 2024, 11:17pm
#3
Great Resource! Unfortunately, I wasnt able to get it working.
I had a Model, with a part inside of it that had a humanoid.
Required and did the .start() method.
Not working, no errors too
do you know why?
1Xayd1
(1xayd1)
October 15, 2024, 5:37pm
#4
Did you press buttons listed in your config while hovering your mouse over the target?
1Xayd1
(1xayd1)
October 15, 2024, 5:40pm
#5
Also it can be that module targets the Head object:
SaintImmor
(SaintImmor)
October 15, 2024, 5:48pm
#6
AHHHH OKAY, i didnt check.
Is there a test place i could use? it would be easier for people to set this up if so.
Also im going to implement smooth camera motion instead so its not as jittery.
SaintImmor
(SaintImmor)
October 15, 2024, 5:53pm
#8
THANK YOU!
Can you include it in the post? Only if youd like of course
1Xayd1
(1xayd1)
October 15, 2024, 5:54pm
#9
If you’re interesed i just released fixer for blurry accessories:
Before:
[изображение]
After:
[изображение]
Code example:
local AccessoryFixer = require(game.ServerScriptService.AccessoryFixer)
local Fixer = AccessoryFixer.new()
Fixer:startListen()
Enviroment:
Server only.
15.10.2024
SaintImmor
(SaintImmor)
October 15, 2024, 5:56pm
#10
Yeah i actually just got that model, seems really useful for the garbage roblox is pulling on the r6 avater.
(Literally why, its your most iconic feature.)