Это видео недоступно.
Сожалеем об этом.

How to Press F to Pickup Tool in Roblox Studio

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024
  • How to Press F to Pickup Tool in Roblox Studio
    Hey guys! Welcome back to a brand new video. In today's video I am going to be teaching you guys how to make an F to pickup tool system its actually a lot easier than you might think and this roblox scripting tutorial will explain it perfectly! I hope you guys enjoy the video and if you do make sure to leave a like and subscribe for more roblox scripting tutorials!
    -Join my Discord Server to learn and meet other developers!-
    / discord
    --Become A Member and Unlock EXCLUSIVE Perks!
    / @thedevking
    -- Follow me on twitter! (my name is tapwater because thats my main channel): / realtapwater
    -- Follow me on Instagram! (my name is tapwater because of my main channel): / realtapwater
    Link to Beginner's Tutorial Series:
    • Beginner's Roblox Scri...
    --What is this series about and who is it for?
    So this series is meant for people who really want to learn exactly how to script, if that is you then I promise by the time you watch this whole series you will know exactly how to script on roblox. Anyways be sure to subscribe to see whenever I release a new tutorial and I will see you guys in the next one. Peace!

Комментарии • 510

  • @MarcoO_z_
    @MarcoO_z_ 4 года назад +136

    Yes and i'll spam "F" for respect for you, for making this amazing tutorial!

  • @gingerchicken4065
    @gingerchicken4065 4 года назад +86

    Love your tutorials man! No annoying music, everything is explained, absolute perfection

  • @ThatsOdds
    @ThatsOdds 2 года назад +6

    FIRST PART OF SCRIPT
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local PickupItem = ReplicatedStorage:WaitforChild("PickupItem")
    local UIS = game:GetService("UserInputService")
    local pickupKey = "E"
    local player = game.Players.localPlayer
    local mouse = player.LocalPlayer
    local playerGui = player:waitForChild("PlayerGui")
    local ToolPickupGUI = playerGui:waitForChild("ToolPickupGUI")
    UIS.InputChanged:Connect(function()
    if mouse.Target then
    if mouse.Target.Parent:ISa("Tool") then
    ToolPickupGUI.Enabled = true
    ToolPickupGUI.Adornee = mouse.Target
    else
    ToolPickupGUI.Enabled = false
    ToolPickupGUI.Adornee = nil
    end
    end
    end)
    UIS.InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode [pickupKey] then
    if mouse.Target then
    if mouse.Target.Parent:IsA("Tool") then
    local item = mouse.Target.Parent
    if item then
    PickupItem:FireServer(item)
    end
    end
    end

    • @ThatsOdds
      @ThatsOdds 2 года назад

      also forgot last script
      local ReplicatedStorage = game:GetService("ReplicatedStorage")
      local PickupItem = ReplicatedStorage:WaitforChild("PickupItem")
      local maxPickupDistance = 30
      PickupItem.OnServerEvent :Connect (function(player, item)

      local distanceFromItem = player:DistanceFromCharacter(item.Handle.Position)
      if distanceFromItem < maxPickupDistance then
      item.Parent = player.Backpack
      end
      end)

    • @baiuja9828
      @baiuja9828 2 года назад

      thanks

    • @mamunchoudhury11
      @mamunchoudhury11 Год назад

      Tysm. Like TYSM

  • @phoenixbulliner
    @phoenixbulliner 4 года назад +7

    Honestly best tutorials in 2020. You deserve 1 mil subs. I love your content and keep going!

  • @sqmetimesdev6150
    @sqmetimesdev6150 4 года назад +3

    I don't even have to watch the video and I already see a flaw with the system, once u pick it up the GUI is still there meaning if the player moves his cursor over it, it will still show "f - pickup" u can see in the beginning of vid 0:20

    • @theshadydino497
      @theshadydino497 3 года назад +2

      are you dumb or smth bruh its cause his mouse hasn't moved off the place it was when the item was still there therefore the cursor position is the same THEREFORE the GUI still shows BUT if he moved his mouse like 1mm it would have already dissapeared

    • @sqmetimesdev6150
      @sqmetimesdev6150 3 года назад +2

      @@theshadydino497 relax dud

  • @mouses_HK
    @mouses_HK 4 года назад +7

    Can you make a video about this:
    In some games when you enter a new room or area, the screen fades or has this cool animation before entering. Then right before you enter it fades back to the screen. Can you please do this? Im having trouble with it and there is no tutorials about it. Also i cant find the right words for it.. please?

    • @MyNameJeffOG
      @MyNameJeffOG 4 года назад

      I think you can just watch a fading to black screen vid and put it when you open the door

    • @ono_o_o
      @ono_o_o 4 года назад

      You could probably set up an invisible, non-colliding wall with a Touch event that activates the GUI fade in, then a wait(), then the GUI fade out.

  • @phantomcitygaming3919
    @phantomcitygaming3919 3 года назад +3

    Lol, i was the 1000th like on this vid. Thanks for all the tutorials, they help me personally a lot! Keep it up

  • @kidszone4268
    @kidszone4268 3 года назад +32

    Me: *Sees vid only 12 minutes*
    Also me: Do should be easy
    Also me: *takes 1 hour and 20 minutes* 0_0

  • @loadingyourdata2131
    @loadingyourdata2131 4 года назад +28

    Next Tutorial Suggestion: Make a Keybind Door with a Auto-Shut (after an amount of time, the door will close automatically), and permissions if wanted by the developer.
    Please do this, I really want to see it.

  • @delta7492
    @delta7492 4 года назад +1

    You're the best script youtuber I have see all of your scripts works, no loud music, it's perfect I see soo much future in you

  • @omb_wants_pineapple
    @omb_wants_pineapple 2 года назад

    It says that GetSevice is not a valid member of DataModel "Kaj and OMB's game @ 12 jul 2022 13:58" - Client - LocalScript:4
    What do i do

  • @imnicolas3312
    @imnicolas3312 4 года назад +1

    I started to learn how to script today, and that channel are one of the channels then i most liked and i watch today , you are helping me soo much! Thank you man :)

  • @MonkeyNuts9000
    @MonkeyNuts9000 4 года назад

    Your my new favorite RUclips, always gets to the point, no cringy music, just perfection

  • @kidszone4268
    @kidszone4268 3 года назад +1

    I was looking for this keep up the good work :D

  • @JustTrendingOfficialYT
    @JustTrendingOfficialYT Год назад +1

    Could you make a version where instead of it disapearing after you pick it up it doesnt go away allowing other players to take it also?

  • @papelhat4265
    @papelhat4265 4 года назад +3

    I think for future tutorials you should have a link a model with everything from the tutorial just not put into place so if people follow the tutorial but it doesn't work they could use a model you made instead

  • @smarfx4570
    @smarfx4570 4 года назад +2

    Great video as always. You make it so much easier to understand than other people. Keep it up!

    • @lucascantosgarcia5866
      @lucascantosgarcia5866 2 года назад

      No. Its really hard to follow. He goes super fast and is imposible to follow.

  • @burgerkingofficialyoutubec2798
    @burgerkingofficialyoutubec2798 3 года назад +1

    how do i make the gun stay on the ground when you pick it up but clone it so it is in the inventory and on the ground stil

  • @mahmoudabdulaziz5738
    @mahmoudabdulaziz5738 4 года назад +1

    he say Handle is not a valid member of Part i need slove for problem plz

  • @honu2980
    @honu2980 4 года назад +3

    Can you please combine the Magnitude tutorial, and the path finding tutorial? I keep trying to do it but it doesn’t seem to work.

  • @ketamineheadpatrick4928
    @ketamineheadpatrick4928 3 года назад +2

    I had an add from samsung to rewrite the rules so I will pick up tools in studio with b

  • @afantashoon6969
    @afantashoon6969 3 года назад

    The only RUclips whose tutorial actually works.

  • @kosami
    @kosami 3 года назад +4

    Why when I follow tutorials, it doesn’t work...

    • @antiito2383
      @antiito2383 3 года назад

      Its always with me too.

    • @XylonV1
      @XylonV1 3 года назад

      same .just watch another

  • @notoreoo6525
    @notoreoo6525 3 года назад +2

    Ummmmm @TheDevKing I still equip the tool when I walk over it is there anyway to stop this because then the whole tutorial is pointless help plsssss

    • @notoreoo6525
      @notoreoo6525 3 года назад

      It’s fine I fixed it by adding a script that will remove the touch interest

  • @SafoanPlayz
    @SafoanPlayz 4 года назад +1

    Sometimes I fell jealous cuz your tutorials are so GOOD!

  • @letsexplainit5479
    @letsexplainit5479 3 года назад +1

    Awesome vid man, can you maybe do an arrest system? Like hover mouse over a player then you can detain, arrest, or release maybe?

  • @nicolasmasc
    @nicolasmasc 3 года назад

    this channel is underrated it deserves 1b subs it is entertaining, teaches you and he's good at teaching! that's all good!

  • @SKL_gz
    @SKL_gz 3 года назад +1

    You need to go to your game settings > Avatar and change it to R6, then the gun would work.

  • @Thursday_cunt
    @Thursday_cunt 3 года назад +1

    Local ReplicatedStorage = game:GetService (“ReplicatedStorage”)
    Local pickupitem = ReplicatedStorage : WaitForChild (“Pickupitem”)
    Local UIS = game.player : getService (“UserInputSevice”)
    Local pickupKey = “A”
    Local player = game.Players.LocalPlayer
    Local mouse = player:GetMouse ()
    Local playerGui = player:WaitForChild (“PlayerGui”)
    Local ToolPickupGui = playGuiWaitForChild (“ToolPickupGUI”)
    UIS.InputChanged:Connect (function()
    If mouse.Target then
    If mouse.Target. Parent:Isa(Tool”)|
    end
    end)

  • @Selemoon
    @Selemoon 3 года назад +1

    The ak47 only works if the character type is r6

  • @rainggstop9666
    @rainggstop9666 3 года назад +1

    Damnnnn you so good I always look at your tutorials tho btw I wanna say if mobile players play the game how are they gonna pick up the item?

  • @tempZ2
    @tempZ2 3 года назад

    OMG ty i have been looking for a vid like this i subbed :)

  • @datbogie
    @datbogie 4 года назад +1

    btw the ak47 was works perfectly fine in r6 and is made to not work in r15

  • @digitaledblocks7037
    @digitaledblocks7037 3 года назад +2

    Bruh you LITERALLY hold up to that name, "TheDevKing" is WELL DESERVED. Easy tutorials, you don't get that every day!

  • @rblxtutorials1881
    @rblxtutorials1881 4 года назад

    I'm a huge fan, I luv your videos so much!

  • @mango647
    @mango647 4 года назад +1

    Please do string manipulations

  • @Cris-cq3ww
    @Cris-cq3ww 4 года назад +1

    Some items wont work because they're not compatible with R15, like the AK-47 you showed in the video.
    Also this is an useful script my guy.

  • @bigmanpeter
    @bigmanpeter 4 года назад

    For the AK, you need to check for something in the AK and if it's there, place it in the backpack

  • @marynassuna3792
    @marynassuna3792 3 года назад

    Im glad theres still people who make great tutorials

  • @rxzd_
    @rxzd_ 4 года назад +2

    so i somehow managed to make the gui pop up only when i'm in the max distance even though i don't know how to make any kind of script myself, yay i'm so proud of myself.
    also can you tell me how to disable the touching pick up?
    anyways, thank you so much for the tutorial!

    • @refluent187
      @refluent187 3 года назад

      yeah, how do you disable the automatic pickup

    • @rxzd_
      @rxzd_ 3 года назад

      @@refluent187 i figured out how to do it with a simple script that you put in the handle;
      while true do
      wait()
      script.Parent:FindFirstChild("TouchInterest"):Destroy()
      end
      keep in mind that i did this a while ago and i haven't been on roblox studio for a few months so this might not work, good luck!

    • @refluent187
      @refluent187 3 года назад

      @@rxzd_ i saw a touch interest checkbox, and it's enable, i believe it you can disable it in behavior or data settings, in properties

    • @rxzd_
      @rxzd_ 3 года назад

      @@refluent187 that's probably a new feature, i'm glad they made that a thing, time to make some games that no one is gonna even play

  • @divverge5836
    @divverge5836 Год назад +1

    Will it still work if there are welds, and meshes?

  • @kamophlage
    @kamophlage 4 года назад +2

    9:31 (dont mind me, It's for me to be able to go back to where I left off)

  • @patricksmith5031
    @patricksmith5031 4 года назад +3

    I double-checked what I wrote in the scripts with the video, but it's not working. There are no errors or anything being output either.

    • @patricksmith5031
      @patricksmith5031 4 года назад +3

      Nothing is happening when the mouse is over the tools or when I press E (the key I chose)

    • @patricksmith5031
      @patricksmith5031 4 года назад +3

      Why does he not capitalize w in WaitForChild on line 12 at 5:04?

    • @patricksmith5031
      @patricksmith5031 4 года назад +3

      local ReplicatedStorage = game:GetService("ReplicatedStorage")
      local PickupItem = ReplicatedStorage:WaitForChild("PickupItem")
      local UIS = game:GetService("UserInputService")
      local pickupKey = "F"
      local player = game.Players.LocalPlayer
      local mouse = player:GetMouse()
      local playerGui = player:WaitForChild("PlayerGui")
      local ToolPickupGUI = playerGui:WaitforChild("ToolPickupGUI")
      UIS.InputChanged:Connect(function()
      if mouse.Target then
      if mouse.Target.Parent:IsA("Tool") then
      ToolPickupGUI.Enabled = true
      ToolPickupGUI.Adornee = mouse.Target
      else
      ToolPickupGUI.Enabled = false
      ToolPickupGUI.Adornee = nil
      end
      end
      end)
      UIS.InputEnded:Connect(function(input)
      if input.KeyCode == Enum.KeyCode[pickupKey] then
      if mouse.Target then
      if mouse.Target.Parent:IsA("Tool") then
      local item = mouse.Target.Parent
      if item then
      PickupItem:FireServer(item)
      end
      end
      end
      end
      end)

    • @patricksmith5031
      @patricksmith5031 4 года назад +2

      local ReplicatedStorage = game:GetService("ReplicatedStorage")
      local PickupItem = ReplicatedStorage:WaitForChild("PickupItem")
      local maxPickupDistance = 30
      PickupItem.OnServerEvent:Connect(function(player, item)
      local distanceFromItem = player:DistanceFromCharacter(item.Handle.Position)
      if distanceFromItem < maxPickupDistance then
      item.Parent = player.Backpack
      end
      end)

    • @patricksmith5031
      @patricksmith5031 4 года назад +3

      IDEK what's wrong with those scripts^^?

  • @briguy6787
    @briguy6787 4 года назад +1

    Can you make a video on how to make guns spawn in random locations in the map every time the intermission ends

  • @DoGGuY
    @DoGGuY 3 года назад +2

    how do i do so when i pick my tool up its still on the ground so others can pick it up too? Im making a Gun Testing Game where I need to pick up the weapons myself

    • @Ahmad_ALF
      @Ahmad_ALF 3 года назад

      omg i only have 2 brain cells left after reading ur "question"

    • @DoGGuY
      @DoGGuY 3 года назад +1

      @@Ahmad_ALF same

  • @hisaajso_o8214
    @hisaajso_o8214 4 года назад

    ur rlly a true dev king

  • @PullThatDoor
    @PullThatDoor 4 года назад

    This is so useful man! Thank you so much for being the best Roblox scripter and, smartest guy I know!

  • @donaldthedeer1732
    @donaldthedeer1732 4 года назад +2

    Can you make a tutorial on how to make a pickup tool and when the player dies they drop the tool that they pickup

    • @dannysmith8399
      @dannysmith8399 4 года назад +1

      please dev king

    • @AranhaDev
      @AranhaDev 3 года назад +3

      I'm here to help! First go to Starter Player and make a normal script inside the StarterCharacterScripts. After that, copy-paste this script:
      local character = script.Parent
      local humanoid = character:FindFirstChild("Humanoid")
      local player = game.Players:GetPlayerFromCharacter(character)
      local backpack = player:WaitForChild("Backpack")
      local hadToolEquipped = false
      humanoid.Died:Connect(function()
      print("Humanoid Died")
      for i, tool in pairs(character:GetChildren()) do
      if tool:IsA("Tool") then
      hadToolEquipped = true
      tool.Parent = game.ReplicatedStorage
      end
      end
      end)
      player.CharacterRemoving:Connect(function(character)
      print("Character Removed")
      for i, tool in pairs(backpack:GetChildren()) do
      if tool:IsA("Tool") and tool:FindFirstChild("Handle") then
      tool.Parent = game.Workspace
      tool.Handle.CFrame = character.HumanoidRootPart.CFrame
      end
      end
      if hadToolEquipped == true then
      local equippedTool = game.ReplicatedStorage:FindFirstChildOfClass("Tool")
      equippedTool.Parent = game.Workspace
      equippedTool.Handle.CFrame = character.HumanoidRootPart.CFrame
      end
      end)local character = script.Parent
      local humanoid = character:FindFirstChild("Humanoid")
      local player = game.Players:GetPlayerFromCharacter(character)
      local backpack = player:WaitForChild("Backpack")
      local hadToolEquipped = false
      humanoid.Died:Connect(function()
      print("Humanoid Died")
      for i, tool in pairs(character:GetChildren()) do
      if tool:IsA("Tool") then
      hadToolEquipped = true
      tool.Parent = game.ReplicatedStorage
      end
      end
      end)
      player.CharacterRemoving:Connect(function(character)
      print("Character Removed")
      for i, tool in pairs(backpack:GetChildren()) do
      if tool:IsA("Tool") and tool:FindFirstChild("Handle") then
      tool.Parent = game.Workspace
      tool.Handle.CFrame = character.HumanoidRootPart.CFrame
      end
      end
      if hadToolEquipped == true then
      local equippedTool = game.ReplicatedStorage:FindFirstChildOfClass("Tool")
      equippedTool.Parent = game.Workspace
      equippedTool.Handle.CFrame = character.HumanoidRootPart.CFrame
      end
      end)

  • @MJbeCubing
    @MJbeCubing 2 года назад

    THANK YOU SO MUCH love your tutorials

  • @nightcorehub7869
    @nightcorehub7869 3 года назад +1

    The dev king i recommend using magnitude included to prevent it from being picked up a mile away

    • @radiantsoup9308
      @radiantsoup9308 3 года назад +2

      the DistanceFromCharacter funcion is already included so magnitude is not needed

  • @Gam3rPlay3r
    @Gam3rPlay3r 4 года назад +2

    I wanted a tutorial where you can do that on a car

  • @rat-tv3dt
    @rat-tv3dt 4 года назад +5

    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local PickupItem = ReplicatedStorage:WaitforChild("PickupItem")
    local maxPickupDistance = 20
    PickupItem.OnServerEvent:Connect(function(player, item)

    local distanceFromItem = player:DistanceFromCharacter(item.Handle.Position)
    if distanceFromItem < maxPickupDistance then
    item.Parent = player.Backpack
    end
    end)
    Script for ServerScriptService /\

  • @guestgamez
    @guestgamez 3 года назад +1

    its doesnt work for me and i spent 2 hours working on this

  • @harkidy
    @harkidy 2 года назад

    That tutorial was really helpful, it helped me make my game better, Thank you for this amazing tutorial!

  • @MarcusWhitelam
    @MarcusWhitelam 3 года назад +1

    Hi I have a question, if you can pick stuff up then how would you place stuff down

    • @pugglemuggle_
      @pugglemuggle_ 3 года назад

      If you are on computer and on the tool CanBeDropped = true (just check the box) you can press backspace while holding it and it will drop it

    • @MarcusWhitelam
      @MarcusWhitelam 3 года назад +1

      @@pugglemuggle_ thanks mate that will really help 👍👍

  • @GoatMaster93
    @GoatMaster93 4 года назад +1

    i got some erros for my scrips it says that the nil is low value? or stuff like can't connect

  • @raafayali
    @raafayali 4 года назад +2

    and again such a amazing vid!!

    • @Ahmad_ALF
      @Ahmad_ALF 3 года назад

      such an amazing vid*

  • @_pe4rsonnamed2025
    @_pe4rsonnamed2025 2 года назад

    Let me explain why the AK-47 doesn't work properly. Its only for R6 character models so, toggle r6 on if you want some tools to work.

  • @RealGeorgeWashingtonFr
    @RealGeorgeWashingtonFr 4 года назад +1

    Some tools don’t work cause you are in r15 and most of the tools work only in r6 out of all people I thought you knew

  • @DemonWoe
    @DemonWoe 3 года назад

    Very Straight Forward, I like it

  • @arandomyt17
    @arandomyt17 3 года назад +1

    for some reason this doesnt work for me

  • @kenxnx.b_a
    @kenxnx.b_a 4 года назад +1

    Love your tutorials man, you’ve inspired me to become a dev, and two months later I was hired by a professional team! And I’m only 13. None of this would have happened with out!!(Talking about past and present tutorials!)

  • @remaroblox
    @remaroblox 4 года назад +1

    Somebody help it don't work for me

  • @vaughnponceee
    @vaughnponceee 4 года назад +1

    How to make them able to choose keybind they want?

  • @Arxbird
    @Arxbird 4 года назад +1

    when there are 0 comments, 1 view and 1 like
    *nice*

  • @scarletthampton9
    @scarletthampton9 3 года назад

    Script in weapon: local tool = script.Parent
    local handle = script.Parent.Handle

    if tool.Parent == workspace then
    local proxprompt = Instance.new("ProximityPrompt")
    proxprompt.Parent = handle
    proxprompt.KeyboardKeyCode = Enum.KeyCode.E
    proxprompt.ActionText = "Pick up"
    proxprompt.HoldDuration = .5

    proxprompt.Triggered:Connect(function(Plr)
    local backpack = Plr:WaitForChild("Backpack")
    tool.Parent = backpack
    proxprompt:Destroy()
    end)
    end

  • @DevToasty
    @DevToasty 3 года назад +3

    Sorry doesnt work 😢

  • @incredible_3581
    @incredible_3581 Год назад

    Hi I have a question, because I have a small problem, when I finished the script I cant pick up tool on E , do you know how to fix that?

  • @shinygoblin4503
    @shinygoblin4503 3 года назад

    I know this is kind of an old video, but if you were to make the pickup key left click, would the input name be "Mouse1"?

  • @marynassuna3792
    @marynassuna3792 3 года назад

    it always never works on the first to fourth try on trying to make something like this but this time did work (On 2nd try)

  • @giggy4321
    @giggy4321 4 года назад

    I got a message saying Infinite yield possible on 'ReplicatedStorage:WaitForChild("PickUpItem")'. The tutorial is now outdated :(

  • @TurboClubs
    @TurboClubs 3 года назад

    Everyone is complaining that it doesnt work it is because its 10 months ago
    which means its 2020 over there

  • @apple_ilev5s
    @apple_ilev5s 3 года назад

    i need same but with parts like in half life or portal

  • @RebirthSoh
    @RebirthSoh 3 года назад +2

    Scripts =
    Script 1
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local PickupItem = ReplicatedStorage:WaitForChild("PickupItem")
    local UIS = game:GetService("UserInputService")
    local pickupKey = "E"
    local player = game.Players.LocalPlayer
    local mouse = player:GetMouse()
    local playerGui = player:WaitForChild ("PlayerGui")
    local ToolPickupGui = playerGui:WaitForChild("ToolPickupGui")
    UIS.InputChanged:Connect(function()
    if mouse.Target then
    if mouse .Target.Parent.IsA("Tool") then
    ToolPickupGUI.Enabled = true
    ToolPickupGUI.Adornee = mouse.Target
    else
    ToolPickupGui.Enabled = false
    ToolPickupGUI.Adornee = nil
    end
    end
    end)
    UIS.InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode [pickupKey] then
    if mouse.Target then
    if mouse.Target.Parent:IsA("Tool") then
    local item = mouse.Target.Parent
    if item then
    PickupItem:FireServer(item)
    end
    end
    end
    end

    end)
    Script 2
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local PickupItem = ReplicatedStorage:WaitForChild("PickupItem")
    local maxPickupDistance = 20
    PickupItem.OnServerEvent:Connect(function(player, item)

    local distanceFromItem = player:DistanceFromCharacter(item.Handle.Position)
    if distanceFromItem < maxPickupDistance then
    item.Parent = player.Backpack
    end

    end)

  • @robloxingout2093
    @robloxingout2093 2 года назад

    With the AK you need to change the avatar type to R6

  • @numberplayz8338
    @numberplayz8338 4 года назад

    Oooooooooo finally I learn this thanks! :D

  • @newguytryingames4343
    @newguytryingames4343 3 года назад

    just use a proximity prompt but make the gui custom then script it no need for weird stuff

  • @trollgetheanimator
    @trollgetheanimator 3 года назад

    nobody:...look at 0:28 :v
    TheDevking:the Gun Work's Perfectly Fine.
    Me:i like you're word's magic man.

  • @robloxgamers495
    @robloxgamers495 3 года назад +1

    tip just put the coding in the description

  • @retro.666
    @retro.666 3 года назад

    Someone recommended this link and I'm happy I pressed it

  • @Dalotuber
    @Dalotuber Год назад

    is there a way where the weapon doesnt dissapear. so like an infinite pickup

  • @tigredagua_2
    @tigredagua_2 3 года назад

    i cant script anymore... my script bug i press a button to start the scrip and appears 100000 numbers and crash my roblox studio

  • @MightyTrash
    @MightyTrash 4 года назад +1

    can you make one where you just touch it to pick it up because I can not find a single video about that and I wanna know how to do it

    • @probablymaybe2993
      @probablymaybe2993 4 года назад

      Put the object in a tool if it isn't already then name where the character holds it "Handle"

    • @MightyTrash
      @MightyTrash 4 года назад

      @@probablymaybe2993 you dont know what I mean

    • @probablymaybe2993
      @probablymaybe2993 4 года назад

      @@MightyTrash then can you tell me what you mean?

    • @MightyTrash
      @MightyTrash 4 года назад

      @@probablymaybe2993 ok so for example in arsenal theirs a gamemode called Arcade and what you do is you pick up guns that are floating in the air, thats what I mean I want a gun to float in the air and have a cooldown because it would look cool

    • @probablymaybe2993
      @probablymaybe2993 4 года назад

      @@MightyTrash ohhh ok so my ideas probably won't work without testing so I'm not gonna bother

  • @bdidk235
    @bdidk235 4 года назад +1

    you can replace the f key with anything else

  • @datapblake_12
    @datapblake_12 Год назад

    Question: will this effect every single tool in this game

  • @themighty1064
    @themighty1064 2 года назад

    Why doesn't input work in the script it keeps saying they can't detect it did they change it?

  • @Valadox_
    @Valadox_ 3 года назад

    sprint script:
    1 game:GetService("UserInputService").InputBegan:Connect(function(Key)
    2 if Key.KeyCode == Enum.KeyCode.LeftShift then
    3 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
    4 end
    5 end)
    6 game:GetService("UserInputService").InputEnded:Connect(function(Key)
    7 if Key.KeyCode == Enum.KeyCode.LeftShift then
    8 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
    9 end
    10 end)

    • @Ahmad_ALF
      @Ahmad_ALF 3 года назад

      Thank you BUT
      nothing(:

  • @xeakly
    @xeakly 4 года назад

    Ty man this is awesome I gave you a sub and a like!

  • @renataoneill5367
    @renataoneill5367 3 года назад +2

    it dosent work

  • @Skeytch107
    @Skeytch107 3 года назад

    How do I make it so once someone picks it up, everyone else can still pick it up and it only disappears for the person who picks it up?

  • @aydentran6118
    @aydentran6118 2 года назад

    Hey when he mentioned about the offset thing where it had to be on top of the item, how do we do that? Please help!

  • @H8_870
    @H8_870 2 года назад

    do i have to put the script in the tool? cuz it kinda dosent work for me

  • @mushyapples7502
    @mushyapples7502 3 года назад

    Yoo Thanks Dude!

  • @deltap9361
    @deltap9361 4 года назад +1

    Does it automatically pick up if I walk onto it though? Just a question before I make it

    • @gabeleon7563
      @gabeleon7563 4 года назад

      yes

    • @BesterZester
      @BesterZester 3 года назад

      @EncodedCheetah What do you mean by this? Like how can i stop it from being picked up by walking on it but still have the script from the video work.

  • @slight442
    @slight442 3 года назад +1

    mine didn't work and I re watched the video four times and the tool was made by a roblox employee welp another day wasted of my life on failed roblox tutorials

  • @dexiiiii1
    @dexiiiii1 4 года назад

    Bro thank u so much this is the best tutorial

  • @ebdiw
    @ebdiw 3 года назад

    thanks man now i am going to make update

  • @MaximumEffort_
    @MaximumEffort_ 4 года назад

    ak might of not work because turbofusion guns only work in r6

  • @rhylenn
    @rhylenn 3 года назад +1

    Why this not work for me?

  • @Gobl1n0
    @Gobl1n0 4 года назад

    I keep trying but the same error appears Players.banca12.PlayerScripts.LocalScript:35: Expected 'end' (to close 'then' at line 27), got ; did you forget to close 'then' at line 31?