#💬 red_axolotl8ʹs Feedback
1 messages · Page 1 of 1 (latest)
Cloning the part form replicated storage, giving it velocity and using debris service to get rid of the velocity
@wooden dagger
Ok ty
@desert sedge Also whats the diferernce between velocity and magnitude?
Also you used remoteEvent, right?
depends on how you summon the part
ooohhhhhh
okay, so after using a lcoal script trashing wher the mouse position for the projectile part to go
in the SERVER script where the event inside the tool is called
make the part clone from repstorage
and parent it into workspace
after, weld the invisible hitbox with the part
make sure the part is massless true and can collide true
also
it doesnt need a hitbox right?
in the server script
yes
i cna just use the part itself
hitbox is optional
as the hitbox
yeah
oh ok
anyway
and then game:debris?
jn the server script
make an instand.new
body velocity
parent the body velocity to the part
and then call debris service
and delete the body velocity
like this kinda
Alr
Debris:AddItem(BodyVelocity variable name, 10) -- HOW LONG THE BODY VELOCITY SHOULD LAST FOR
@wooden dagger
maek sure to also call the debris get service too
so the part doesnt go infinitely
you cna also add another debris add item too
ujst itentify the part within the script too
alr, good luck
also
instead of using z like u did in gui
I can just do Tool.Activated right?
@desert sedge
yes
k
@wooden dagger
oh
but i can still use Activated right?
it doesnt mattrer right
because i still get mousePos when activated
@desert sedge
use the tool.ADvitaed in the local script
then after the mouse pos is itentifyed
fire a temote event inside the tool
after, make a server script
in the tool
that detects a "Onserver event"
ye
ok
one sec let me look back at my script
event:FireServer(mousePos)
end```
yes
correct
u can use it
local mouse = player:GetMouse()
local mousePos = mouse.Hit and mouse.Hit.Position or nil
hmm
um
yes
typeof(target) = "Vector3"
use this too
vector3 will help you
well
its needed
lmao
yes
ok
@wooden dagger i wish u the best of luck pal (:
ty
Good