How to make a gun in Roblox Studio 2023

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 482

  • @polarisprog
    @polarisprog  ปีที่แล้ว +16

    Get all of my project files on my patreon:
    bit.ly/3SOBP6J
    JOIN THE DISCORD!
    discord.gg/cztJHYSfVE

    • @ShurikenYoutube
      @ShurikenYoutube ปีที่แล้ว +8

      How do i get the plugin you said in desc and its not in desc

    • @ShurikenYoutube
      @ShurikenYoutube ปีที่แล้ว

      nvm

    • @Jaccogamescollects
      @Jaccogamescollects ปีที่แล้ว

      I've done literally everything, I saw on some forums that Enum.RaycastFilterType.Blacklist was Replaced with Enum.RaycastFilterType.Exclude and I saw a few typos I had made, but other than that everything is the same but it doesn't seem to work. The bullets just don't fire, I have no idea which part of the code actually fires the bullets and what could be wrong or if something changed but if you can help that would be amazing

    • @batts77
      @batts77 ปีที่แล้ว +2

      where tf's the link??? for the tool grip??!!

    • @jester3183
      @jester3183 ปีที่แล้ว

      @@Jaccogamescollects I have same problem

  • @skill.issue.
    @skill.issue. ปีที่แล้ว +159

    Note to everyone: If you get an error saying "blacklist is depricated" Replace it with Exclude

  • @c461a
    @c461a ปีที่แล้ว +14

    I used to use free models but now i can just do this to every gun that i want to make thanks so so much for this video!!

    • @Tucnak337
      @Tucnak337 6 หลายเดือนก่อน

      my guns not shooting bullets idk why

    • @TheAwesomeGamerYT
      @TheAwesomeGamerYT 4 หลายเดือนก่อน +1

      So Did I🤣

    • @Vehemenspoltergeist
      @Vehemenspoltergeist 2 หลายเดือนก่อน

      @@Tucnak337 is your bullet one part or a group?

  • @ItsYaBoiCloudGod
    @ItsYaBoiCloudGod ปีที่แล้ว +9

    you said the 'tool grip' thing will be in description... where is it? (1:35)

    • @cnstntn-1
      @cnstntn-1 5 หลายเดือนก่อน

      In your case, your gonna want to name the mesh "gun," then insert a part, name it "Handle," put "gun" inside of "Handle," add a "WeldConstraint" to "Handle," set Part0 of the WeldConstraint to "Handle", and set Part1 to "gun." Keep moving and rotating the Mesh until it fits properly.

  • @trifori
    @trifori ปีที่แล้ว +6

    Honestly I didn't want a gun I just wanted to see if id learn anything new and I did on how a remote event works, Thanks!

  • @reyifx
    @reyifx ปีที่แล้ว +10

    How do I make it so there is limited ammo and I have to reload, and a gui showing how much ammo is left

  • @probably_jackyi23
    @probably_jackyi23 ปีที่แล้ว +10

    Can you make an updated tutorial with reloads, bolting the gun, sounds, and animations?

    • @realzacch
      @realzacch ปีที่แล้ว +11

      at that point just make your own

    • @HayFatYT
      @HayFatYT ปีที่แล้ว +4

      @@realzacch fr

    • @ey4d..
      @ey4d.. ปีที่แล้ว +6

      reloading is hard indeed, but sounds and animation is easy. at this point if you can't modify the gun to add these then I think you shouldn't make a gun, start with basics

    • @MKuber
      @MKuber ปีที่แล้ว +1

      ​@@ey4d..reloading is also easy

    • @ey4d..
      @ey4d.. ปีที่แล้ว +1

      @@MKuber needs a little bit of time to code but ok

  • @MaxoRoblox
    @MaxoRoblox ปีที่แล้ว +2

    your voice got a lot deeper lol i dont really watch you much but you helped a lot when you did the tutorial on the simulator game (the first one you made)

  • @silentfilm1746
    @silentfilm1746 ปีที่แล้ว +7

    All really fine, but keep in mind that these types of guns will be like a present in game for exploiters. Also, why do u use TweenService functionality through server? Isn't all animations should run only through client?

    • @polarisprog
      @polarisprog  ปีที่แล้ว +1

      I don't think this gun is exploitable, everythig is done from the server and for tween service I used it on the server because Its quick so you cant really see ot lag.

    • @mafnor2268
      @mafnor2268 ปีที่แล้ว +2

      @@polarisprog Yes you can't see the lag, but the server will have a really huge impact while having alot of players firing guns. Rendering visuals on the client should always be there.

    • @silentfilm1746
      @silentfilm1746 ปีที่แล้ว

      through remote connection, instead of mousePosition it can be random player's head

    • @polarisprog
      @polarisprog  ปีที่แล้ว +3

      @@silentfilm1746 Oh now I get it, thank you for letting me know I'll upload an updated tutorial soon!

    • @barnacolium6947
      @barnacolium6947 ปีที่แล้ว +2

      @@polarisprog when you make the updated one can you include how to make a gun automatic(hold to shoot). and maybe bullet spread/accuracy

  • @Physical_Productions
    @Physical_Productions 10 หลายเดือนก่อน +9

    There is no link on the description. For this

    • @mastertullab3259
      @mastertullab3259 7 หลายเดือนก่อน

      Why would there be?

    • @Physical_Productions
      @Physical_Productions 7 หลายเดือนก่อน

      Cuz he said there would be 🤯

    • @mastertullab3259
      @mastertullab3259 7 หลายเดือนก่อน

      @@Physical_ProductionsIf you buy his patreon 😱

    • @Physical_Productions
      @Physical_Productions 7 หลายเดือนก่อน

      Stay off the crack 😳

    • @mastertullab3259
      @mastertullab3259 7 หลายเดือนก่อน

      @@Physical_Productions You too bud 🤓

  • @ff_0xx266
    @ff_0xx266 8 หลายเดือนก่อน

    As a beginner scripter, this is the only video that I really understand. Keep up the good work!

  • @TheUnknownDudChannel
    @TheUnknownDudChannel ปีที่แล้ว +13

    Man, this was exactly what i needed, thank you!

    • @cursxdgamesyt
      @cursxdgamesyt ปีที่แล้ว

      how did it work for you???????

  • @ruju2111
    @ruju2111 9 หลายเดือนก่อน +4

    i cant find the install thingy so does that mean this is all useless without that plugin?

  • @thenird7982
    @thenird7982 ปีที่แล้ว +2

    Tysm it took so long but i finally got it

  • @fragrance_dude
    @fragrance_dude ปีที่แล้ว +3

    in the gunclient is a rerror it says getmouse is not a valid member of Players "Players"

  • @ttcsalteregos
    @ttcsalteregos ปีที่แล้ว +5

    For the bullets, i've made a mesh of a bullet. But when firing the bullet orientation is wrong, away to fix this would help thx :) .

    • @LucidReese
      @LucidReese ปีที่แล้ว +1

      Just change the orientation of the mesh in Blender (or which ever software you used to make the mesh)

    • @ttcsalteregos
      @ttcsalteregos ปีที่แล้ว

      @@LucidReese It only point on a certain direction (the north)

    • @LucidReese
      @LucidReese ปีที่แล้ว

      @@ttcsalteregos You can literally change the orientation of a mesh to anything. Just rotate it and export it again.

    • @ttcsalteregos
      @ttcsalteregos ปีที่แล้ว +1

      @@LucidReese i know that. I already changed it at the 2nd comment like i say i only points to the north. (When i shoot at the west it will still point to the north)

    • @spinnycircle7598
      @spinnycircle7598 ปีที่แล้ว

      this is a bit late, but im pretty sure it has something to do with lookvector, you have to change it to match that of the character (considering if you are making a first person shooting gun), if it is third person then idk too much about it.@@ttcsalteregos

  • @seeksvideos9042
    @seeksvideos9042 4 หลายเดือนก่อน

    The gun damages dummys but not players for some reason. However if i move so that the gun is in the player it damages them.
    Edit: i discovered if im far away i can damage but when im close i cant.

  • @sathusan2010
    @sathusan2010 ปีที่แล้ว +2

    Tysm for making this vid it really helped me make my game ,your vids are amazing

  • @Aarush_mala
    @Aarush_mala 10 หลายเดือนก่อน +1

    hey polar, Does the gun reload?

  • @vecnana3090
    @vecnana3090 10 หลายเดือนก่อน +3

    Where is the plugin?

  • @Chonkan
    @Chonkan ปีที่แล้ว +2

    please show how to make the bullets collide, right now the bullets can shoot through anything if you click on the other side of an object

    • @CClipz
      @CClipz ปีที่แล้ว +3

      go to your bullet in the explorer and make sure 'CanCollide' is ticked

  • @ACrayonPlayingVR
    @ACrayonPlayingVR 10 หลายเดือนก่อน

    TYSM! I think this is the first Roblox tutorial that I have watched and has actually worked!

    • @ACrayonPlayingVR
      @ACrayonPlayingVR 10 หลายเดือนก่อน

      one small question, how would I add a sound effect when the gun is fired?

    • @SaxaphoneDuck
      @SaxaphoneDuck 6 หลายเดือนก่อน

      @@ACrayonPlayingVRuse the Sound:Play() function with the ID if your wanted sound

  • @branchfromwish
    @branchfromwish 11 หลายเดือนก่อน +1

    Thank you so much! This video really helped. You are awesome!!!

    • @polarisprog
      @polarisprog  11 หลายเดือนก่อน +1

      Glad it helped!

  • @Joshua-t5w3k
    @Joshua-t5w3k 10 หลายเดือนก่อน +1

    great video, though if you dont mind, coulf you copy the code into the description to make it a lot quicker for people like me?

  • @aanthonyy
    @aanthonyy ปีที่แล้ว +3

    Your the best man, used for my game and it works amazing 🔥🔥

    • @polarisprog
      @polarisprog  ปีที่แล้ว

      Great to hear!

    • @aanthonyy
      @aanthonyy ปีที่แล้ว

      @@polarisprog Can you do another part on how to make automatic guns?

  • @ZenithONG.
    @ZenithONG. ปีที่แล้ว

    I searched and could never find I good gun video. this was perfect!

  • @yourcraft000
    @yourcraft000 11 หลายเดือนก่อน +1

    um how would you do it using a gun with multiple parts? im not really ready to get into texturing the entirety of a single mesh.

    • @Nathan-hl1dm
      @Nathan-hl1dm 11 หลายเดือนก่อน

      The gun can have multiple parts. Just ensure that the Raycast origin is the part that you wish to shoot from and the Handle is still assigned properly.

    • @Haha__
      @Haha__ 11 หลายเดือนก่อน

      Weld each part of the gun to the main Handle that the player holds. You can use plugin for this

  • @pakuraitreve9756
    @pakuraitreve9756 9 หลายเดือนก่อน +1

    I like how you added a HeadSHotMultiplier variable but didn’t even use it 15:00 15:15

  • @bluebeef0001
    @bluebeef0001 7 หลายเดือนก่อน +1

    I have a first person script with my game, will both scripts work together, cause they aint

    • @aawaterson2526
      @aawaterson2526 14 วันที่ผ่านมา

      u dont need a script for first person

  • @matiasdiazmathe7084
    @matiasdiazmathe7084 10 หลายเดือนก่อน +4

    Where do I get the plugin?

    • @smartuh
      @smartuh 7 หลายเดือนก่อน

      You can buy it 100 robux

  • @Linky-p7t
    @Linky-p7t 9 หลายเดือนก่อน +10

    local Players = game:GetService("Players")
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local TweenService = game:GetService("TweenService")
    local GunRange = 500 -- In studs
    ReplicatedStorage.Shoot.OnServerEvent:Connect(Player, MousePosition, Target)
    local Gun = Player.Character:FindFirstChildOfClass("Tool")
    if Gun == nil then return end
    local damage = Gun.Damage.Value
    local Direction = (MousePosition - Gun.Handle.Position) * GunRange
    local RayParams = RaycastParams.new()
    RayParams.FilterDescendantsInstances = {Player.Character}
    RayParams.FilterType= Enum.RaycastFilterType.Blacklist
    local result = workspace:Raycast(Gun.Handle.Position, Direction, RayParams)
    local Bullet = ReplicatedStorage.Bullet:Clone()
    Bullet.Cframe = Gun.Handle.Cframe
    Bullet.Parent = workspace
    local BulletDuration = 0.3 * ((Direction/GunRange).Magnitude)/50
    TweenService:Create(Bullet, TweenInfo.new(BulletDuration), {CFrame = CFrame.new(MousePosition)}):Play()
    if not Target then
    task.delay(BulletDuration, function()
    Bullet:Destroy()
    end)
    else
    task.delay(1, function()
    Bullet:Destroy()

    end)
    end
    if result == nil then return end
    local Humanoid == nil then return end
    task.wait(BulletDuration)
    Humanoid.Helth -= Damage
    end)

    • @diglitt12
      @diglitt12 9 หลายเดือนก่อน

      Thank you very much that guy talks and types way too fast

    • @eggsonl
      @eggsonl 9 หลายเดือนก่อน +2

      -- I fixed your script and added a headshot damage if it hits the head. Also you can delete the int value inside of your gun model its useless with this script
      local Players = game:GetService("Players")
      local ReplicatedStorage = game:GetService("ReplicatedStorage")
      local TweenService = game:GetService("TweenService")
      local GunRange = 50 -- Range in studs
      ReplicatedStorage.glockShoot.OnServerEvent:Connect(function(Player, MousePosition, Target)
      local Gun = Player.Character:FindFirstChildOfClass("Tool")
      if Gun == nil then return end


      local Damage = math.random(15, 35) -- Body Damage random number from 15 to 35

      local HeadShotDamage = math.random(80, 100) -- Headshot Damage random number from 80 to 100
      local Direction = (MousePosition - Gun.Handle.Position) * GunRange
      local RayParams = RaycastParams.new()
      RayParams.FilterDescendantsInstances = {Player.Character}
      RayParams.FilterType= Enum.RaycastFilterType.Exclude
      local Result = workspace:Raycast(Gun.Handle.Position, Direction, RayParams)
      local Bullet = ReplicatedStorage.Bullet:Clone()
      Bullet.CFrame = Gun.Handle.CFrame
      Bullet.Parent = workspace
      local BulletDuration = 0.3 * ((Direction/GunRange).Magnitude)/50
      TweenService:Create(Bullet, TweenInfo.new(BulletDuration), {CFrame = CFrame.new(MousePosition)}):Play()
      if not Target then
      task.delay(BulletDuration, function()
      Bullet:Destroy()
      end)
      else
      task.delay(1, function()
      Bullet:Destroy()
      end)
      end
      if Result == nil then return end


      local Humanoid = Result.Instance.Parent:FindFirstChild("Humanoid")

      task.wait(BulletDuration)
      if Result.Instance ~= Result.Instance.Parent.Head then
      Humanoid.Health -= Damage
      else
      Humanoid.Health -= HeadShotDamage
      end
      end)

    • @BeanieMan_1
      @BeanieMan_1 28 วันที่ผ่านมา

      @@eggsonl thx broskie

    • @eggsonl
      @eggsonl 28 วันที่ผ่านมา

      @@BeanieMan_1 np daddy

    • @kindlegaming_yt4829
      @kindlegaming_yt4829 วันที่ผ่านมา

      @@eggsonlmy bullets aren’t shooting anyone know why
      Edit: I fixed it also thanks @eggsonl for fixing the code above! It helped me alot

  • @CClipz
    @CClipz ปีที่แล้ว +3

    how do i make a second tool? i tried duplicating it, i changed the second gun's debounce to 0.1 but when i test it, both guns shoot at 0.1 seconds

    • @HayFatYT
      @HayFatYT ปีที่แล้ว +1

      You probably have to name them differently if you havent already.

    • @joshuadavid3975
      @joshuadavid3975 8 หลายเดือนก่อน

      You have to change the Remote Event Names, if it’s the same one both will fire at the same time since it’s the same name/event.

  • @BennydoesstuffYT
    @BennydoesstuffYT ปีที่แล้ว +1

    you can shoot through walls if u position the camera

  • @LandoRBLX
    @LandoRBLX ปีที่แล้ว

    voice crack at 17:37 No but seriously tysm im making a wizard game and needed a gun type system and used this one to shoot it tysm

  • @Urbatakam445
    @Urbatakam445 4 หลายเดือนก่อน

    I have a question, where do/did you guys learn how to use stuff like game:getservice and stuff like that, i am lost and i have no idea how to start and where to learn this stuff. ty!

    • @aawaterson2526
      @aawaterson2526 14 วันที่ผ่านมา

      honestly if u keep watching tutorials u will eventually get it. or look up a function to know what it does. or take dev classes

  • @hallko3970
    @hallko3970 ปีที่แล้ว +6

    How to make the bullet fly straight when in first person? because it flies to the sides, the bullet seems to just fly straight into any humanoid near player who fires the gun

    • @anthonymerlino5849
      @anthonymerlino5849 ปีที่แล้ว +1

      A way to fix this would just be to raycast from the end of the gun, then have the end of the gun/your avatar follow the mouse cursor (so it also works in third person)

  • @Vortex-owns-rig
    @Vortex-owns-rig ปีที่แล้ว +3

    Hello polarisprog can i get the gunserver script bc i have no time to script that. thanks Edit: i did it but now it says debugging thing when i shoot Edit 2: nvm i fixed the problem it was a spelling error

  • @HauntedBlox
    @HauntedBlox 10 หลายเดือนก่อน

    Hey man, at 12:05, if I used task.wait() will it continue the current thread while it waits for the time and then execute? I just need clarifications

  • @Drappen
    @Drappen ปีที่แล้ว +1

    You didn't leave the plugin in the desc..

  • @CertifiedDingDongFR
    @CertifiedDingDongFR 7 หลายเดือนก่อน

    The tool grip plugin isn’t in the description

  • @glitchycoconut
    @glitchycoconut ปีที่แล้ว +2

    This really helped thanks!

  • @JToH_SC
    @JToH_SC ปีที่แล้ว +1

    how would you add gravity to the projectile

  • @batts77
    @batts77 ปีที่แล้ว +1

    theres no link in the despriction...

  • @rbu9_
    @rbu9_ 8 หลายเดือนก่อน +1

    guys what is findfirstChildOfClass ? i seached it in roblox docmuntes but i dont understand.

    • @polarisprog
      @polarisprog  8 หลายเดือนก่อน +1

      Its like findfirstchild but it looks for any child that is the class that you gave it, for example if you have a folder filled with parts and 1 tool and you use findfirstchildofclass("Tool") then it will return that 1 tool

    • @rbu9_
      @rbu9_ 8 หลายเดือนก่อน

      Thank you so much

  • @RepublicOfBrumystan
    @RepublicOfBrumystan ปีที่แล้ว +2

    And can you make a tutorial on how to hold a gun like an M4A1 so that you will hold it with both hands?

    • @er_aviation
      @er_aviation 3 หลายเดือนก่อน

      Animate it

  • @Generic_spacesim_youtuber
    @Generic_spacesim_youtuber 9 หลายเดือนก่อน

    yo its in my inventory, but when i take it out, nothing appears! how to I fix this?

  • @maximiliansibony8360
    @maximiliansibony8360 5 หลายเดือนก่อน

    I keep getting the error that shoot is not a valid member of replicatedstorage

  • @Aarush_mala
    @Aarush_mala 10 หลายเดือนก่อน

    Thank you so much!

  • @7kNoo
    @7kNoo ปีที่แล้ว

    the plugin is broken, i restarted roblox studio MULTIPLE times and unanchored the gun but it just wouldn't work.

  • @botwithapot
    @botwithapot 10 หลายเดือนก่อน

    Nothing worked idk why but it said both scripts failed when i went to test it and my gun just disappears for no reason

  • @tanianguyen8005
    @tanianguyen8005 4 หลายเดือนก่อน

    Shoot use beam for better visual i think?

  • @ManlyCreator
    @ManlyCreator ปีที่แล้ว +5

    This is a great solution, but could someone please explain how Bullet Duration was calculated? I know it's not essential to understand, but it bugs me that I don't understand it.

    • @skytojan7007
      @skytojan7007 ปีที่แล้ว

      Same

    • @Haha__
      @Haha__ 11 หลายเดือนก่อน

      I think GunRange is how many studs you want the bullet to go. BulletDuration is just a formula to convert that to seconds for the TweenInfo, you don't need to worry about the maths there.
      You could just set the GunRange in seconds instead of studs, so for example if u wanted the bullet to last 5 seconds it would be TweenInfo.new(5)

    • @enqrypted4758
      @enqrypted4758 8 หลายเดือนก่อน

      it wasnt calculated, you can set any duration you want which will only alter the bullet's speed. you could use the formula speed = distance/duration (measured in studs per second) and play around w it until you get the right speed

  • @DontRoastPotatos
    @DontRoastPotatos 9 หลายเดือนก่อน

    I can shoot and it does damage, but I can't see the bullet, I have no errors whats going on? Please Help

  • @flyingduck2037
    @flyingduck2037 ปีที่แล้ว

    It does not work for me, the gun does not fire bullets. Nothing happens when i try to shoot

  • @s0ull4ni._39
    @s0ull4ni._39 ปีที่แล้ว +1

    Can you update the loading screen tutorial it’s not working for me anymore

  • @aqaisback9517
    @aqaisback9517 9 หลายเดือนก่อน +1

    local BulletDuration = 0.3 * ((MouseHitPosition/Direction).Magnitude)/50

  • @yoboyghost5652
    @yoboyghost5652 ปีที่แล้ว +2

    nice, my error is Unable to cast value to Objects - Server - GunServer:17, what do i change in the line 17?

    • @TommyflamStudios
      @TommyflamStudios 2 หลายเดือนก่อน

      Put {} around Player.Character so it is {Player.Character}

  • @Rafating23
    @Rafating23 10 หลายเดือนก่อน

    how to download the plugin i cant find the link in the description

  • @toonew330
    @toonew330 ปีที่แล้ว +2

    Hi
    Can you make a video showing how to teleport like in pet simulator x please. I'm not talking about the portals, I'm talking about the teleportation (GUI).

    • @PHros
      @PHros ปีที่แล้ว +1

      its fucking easy just use teleport service with vector 3

  • @FatherlessFindersAssociation
    @FatherlessFindersAssociation ปีที่แล้ว +1

    Can you do it so it shows how much damage you did?

  • @somerandumguy
    @somerandumguy ปีที่แล้ว

    i accidentally just deleted the tool, can you send me the completed tool only? please man i spent so much time working on it using the tutorial i beg you

    • @TheStudioDev
      @TheStudioDev 11 หลายเดือนก่อน

      @jvckie TRUE 💀

  • @8.ucduy6a18
    @8.ucduy6a18 ปีที่แล้ว +1

    pls can u make video how to make animation gun ?

  • @SIEGE3373
    @SIEGE3373 9 หลายเดือนก่อน

    i cant find the link for the tool grip editor

  • @wohawoah
    @wohawoah 8 หลายเดือนก่อน

    i wanna make a game that feels smooth, how do imake it point at the mouse? Bullets that dont shoot in the direction you point isnt that smooth imo (this is my first project, if its simple, dont flame me please)

    • @naganich
      @naganich 6 หลายเดือนก่อน

      thats hard asf

  • @LiamLikesPenguins
    @LiamLikesPenguins 2 หลายเดือนก่อน

    WHERE IS THE LINK FOR THE PLUGIN

  • @HandSanitizerBottleThatGames
    @HandSanitizerBottleThatGames ปีที่แล้ว

    help the gun is in my hand backwards and i cant fix it

  • @Teleporter998Official
    @Teleporter998Official 3 หลายเดือนก่อน +1

    BRUH BRO YOU KNOW THIS NOT WORKING MY GUN NOT SHOOTING

  • @sleepybios
    @sleepybios ปีที่แล้ว +4

    plz more vids on pet system

    • @polarisprog
      @polarisprog  ปีที่แล้ว

      Thanks for the suggestion!

  • @scriptdevvs
    @scriptdevvs ปีที่แล้ว +2

    Next video: How to make a shield in Roblox

    • @polarisprog
      @polarisprog  ปีที่แล้ว

      Thanks for the suggestion!

    • @scriptdevvs
      @scriptdevvs ปีที่แล้ว

      @@polarisprog Hahahaha, no problem :D

  • @JVBrawlStars
    @JVBrawlStars ปีที่แล้ว +2

    Can you copy and paste the script in the comments? I did it exact and it still has a bunch of errors, maybe I mistyped something?

    • @KakamanfromRussia
      @KakamanfromRussia 9 หลายเดือนก่อน +1

      He will probably tell you smth "buy my partnership for scripts", but I am the man of god so i will paste you it :) (which one)

    • @platysexplosivecheese
      @platysexplosivecheese 8 หลายเดือนก่อน

      @@KakamanfromRussia i guess both? mabye the server script service for me

  • @tricqui
    @tricqui 10 หลายเดือนก่อน

    where is the plugin? the link isn't there

  • @KrillinTheHuman112
    @KrillinTheHuman112 8 หลายเดือนก่อน +1

    every goddamn time i follow these tutorials they never work please end my suffering

  • @randomcat62613
    @randomcat62613 ปีที่แล้ว +1

    can you just copy and paste the scripts? my bullets just fall on the ground and im not paying 10 dollars for some code

  • @soan9365
    @soan9365 3 หลายเดือนก่อน

    "Write these 500 lines of code"
    "Actually nah"

  • @coolguy12128
    @coolguy12128 ปีที่แล้ว +1

    in the gunserver part in line 8 it says unknow global player can u help me? PS: i had to put players
    edit: i fixed it

  • @3RR0RC0D3Z
    @3RR0RC0D3Z 8 หลายเดือนก่อน

    Any tips? my gun lets me click but it won't shoot bullets
    I fixed it
    Nvm It wont do damage to my NPC's

  • @GordanaStamenovic-o4e
    @GordanaStamenovic-o4e 11 หลายเดือนก่อน

    do i need to join ur patreon to get the plugin?

    • @Nathan-hl1dm
      @Nathan-hl1dm 11 หลายเดือนก่อน +1

      No. But since I can't directly link in a TH-cam comment, the plugin ID is 153352998.

  • @1daydreamt
    @1daydreamt ปีที่แล้ว

    How would I change the speed of the bullet? the bullet goes unbearably slow

  • @bobucmaster
    @bobucmaster ปีที่แล้ว +1

    there is no link

  • @lkgaming8524
    @lkgaming8524 11 หลายเดือนก่อน +1

    it worked just why did you put " What is Roblox? ROBLOX is an online virtual playground and workshop, where kids of all ages can safely interact, create, have fun, and learn. It’s unique in that practically everything on ROBLOX is designed and constructed by members of the community. ROBLOX is designed for 13 to 18 year olds, but it is open to people of all ages. Each player starts by choosing an avatar and giving it an identity. They can then explore ROBLOX - interacting with others by chatting, playing games, or collaborating on creative projects. Each player is also given their own piece of undeveloped real estate along with a virtual toolbox with which to design and build anything - be it a navigable skyscraper, a working helicopter, a giant pinball machine, a multiplayer “Capture the Flag” game or some other, yet-to-be-dreamed-up creation. There is no cost for this first plot of virtual land. By participating and by building cool stuff, ROBLOX members can earn specialty badges as well as ROBLOX dollars (“Robux”). In turn, they can shop the online catalog to purchase avatar clothing and accessories as well as premium building materials, interactive components, and working mechanisms. " like just ok everyone knows

    • @FLZKP
      @FLZKP 11 หลายเดือนก่อน +1

      So that it'll automatically make it on the category of "Roblox" 💀bro doesn't know how descriptions work

  • @Questionmark000-h9s
    @Questionmark000-h9s ปีที่แล้ว

    i have a problem the output has no errors abt the shoot thing to damage npcs but the npcs dont get damageddddddddddddddddddddddddddd help

  • @TatortotYT
    @TatortotYT ปีที่แล้ว

    Hey the scripts you said to use are not working any clue why they dont work?

  • @hemlatamehta3195
    @hemlatamehta3195 4 หลายเดือนก่อน

    where do i find the plug in

  • @boogie4792
    @boogie4792 ปีที่แล้ว +1

    hello, all of this works but for some reason players wont take damage? and it doesnt show any error, please help me!

    • @candedlr
      @candedlr ปีที่แล้ว

      did u find a solution?

    • @boogie4792
      @boogie4792 ปีที่แล้ว

      @@candedlr nope, gave up after trial and error i couldnt.

  • @youssefmahmoud5349
    @youssefmahmoud5349 ปีที่แล้ว

    I tried the gun and it didn't work when i tested it on a 2 player server in roblox studio

  • @sehulugh
    @sehulugh ปีที่แล้ว +1

    nice vid i cant wait to get member ship

    • @polarisprog
      @polarisprog  ปีที่แล้ว

      Thank you!

    • @sehulugh
      @sehulugh ปีที่แล้ว

      @@polarisprog no problem im saving up from roblox commisons

  • @JerielordPlays
    @JerielordPlays ปีที่แล้ว

    you did not put the plugin into the description

  • @randomfella_37
    @randomfella_37 ปีที่แล้ว +2

    Great video! But I have a question, how could I add a gun shot sound when I shoot?
    Does anyone know?

    • @TechnoBloxYT
      @TechnoBloxYT ปีที่แล้ว +4

      use this
      local tool = script.Parent
      local handle = tool.Handle
      local sound = handle.SOUNDNAMEHERE -- Put the Sound in the handle
      tool.Activated:Connect(function()
      sound:Play()
      end)

    • @randomfella_37
      @randomfella_37 ปีที่แล้ว

      @@TechnoBloxYT Thank you!

    • @TechnoBloxYT
      @TechnoBloxYT ปีที่แล้ว

      @@randomfella_37 np!

    • @louiebht2620
      @louiebht2620 ปีที่แล้ว

      @@TechnoBloxYT in GunServer or GunClient?

    • @TechnoBloxYT
      @TechnoBloxYT ปีที่แล้ว

      @@louiebht2620 Server

  • @michaelswahla4927
    @michaelswahla4927 ปีที่แล้ว

    Instead what you should do is if a player fires a weapon tell the server to render this to all the other clients. More efficient in the long run.

  • @_0xoticEdits_
    @_0xoticEdits_ ปีที่แล้ว

    thank you so much

  • @bonesReal
    @bonesReal ปีที่แล้ว

    Can you make a video on gun animations and sounds

  • @RenwarAram
    @RenwarAram ปีที่แล้ว +1

    Hello How can I make this with creator tag, creator tag is a object value that will be placed inside the humanoid of the player that was hit by the bullet and the value of the objectvalue will be the player that damaged the other player, so how can i place this in your scripts?

    • @CasterRational
      @CasterRational ปีที่แล้ว

      I wish I could help but I’m still yet to understand how that works, I’ve been trying to make a killstreak leaderboard for awhile.

  • @eggseatpegs
    @eggseatpegs ปีที่แล้ว +2

    when is the next psx video?

  • @bleepblop5682
    @bleepblop5682 ปีที่แล้ว

    for some reason the debounce cooldown wont work for me

  • @daki59e234
    @daki59e234 ปีที่แล้ว

    Would the script work if i did not want to put it directly in the starter player but instead obtain the gun from somewhere else, for example a shop or on the ground.

    • @NotPuzzledAtAll
      @NotPuzzledAtAll ปีที่แล้ว

      it would since starterplayer is just a different way to obtain the gun.

  • @panche8112
    @panche8112 10 หลายเดือนก่อน

    How would i add multiple guns ?

  • @Prinx20
    @Prinx20 ปีที่แล้ว

    My Tool Grip Editor plugin doesn't work

  • @poppisicle1020
    @poppisicle1020 ปีที่แล้ว +1

    I was using your pet sim x tutorial before but my pet wasn't following me, I made it out of parts though, can you help me deal with this problem? (part 1 of the pet sim x tutorial)

    • @cacobeffeff
      @cacobeffeff ปีที่แล้ว

      Turn the parts into a union and it should work

  • @Rosterx100
    @Rosterx100 8 หลายเดือนก่อน

    do it works in mobile ?

  • @DrDreadful
    @DrDreadful ปีที่แล้ว

    Thanks, but why doesn't it do damage to the torso.