Roblox Click Detector Tutorial 2021

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

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

  • @CyberCreator
    @CyberCreator  3 года назад +19

    Liking the video helps me out a lot! Thanks for watching!

  • @zx74c
    @zx74c 3 года назад +7

    Im only at your 9th beginner scripting tutorial and im already understanding quite alot and with you uploading frequently its really helping me out! Thank you, you deserve way more subscribers.

  • @RjJames266
    @RjJames266 2 года назад +5

    local part = script.Parent
    local detector = part.ClickDetector
    detector.mouseclick:connect(function(player)
    -----what you want to happen to player you put here
    end)

  • @thegarry7542
    @thegarry7542 3 года назад +5

    This is literally the best click detector tutorial I’ve ever found.

  • @M00N_L1GHT23
    @M00N_L1GHT23 3 года назад +5

    im really so happy! now that i learned how to click a single part! thanks c:

  • @alxmin4932
    @alxmin4932 3 года назад +5

    Great video! Well explained and easy to follow along. Keep it up!

  • @FoolimptheThird
    @FoolimptheThird 6 месяцев назад

    thanks you helped me learned a lot of new things. i never knew there was a hovering this before, and i learnt it thanks to you, you've earned another sub

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

    Honestly you explain everything I need to know in a very short and simple way. I hope you get more subs

  • @chikito2600
    @chikito2600 2 года назад +1

    wonderful vid, now i grasped the meaning of clickdetector. you just got another sub!

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

    am i the only one that keeps forgetting how to script a clickdetector and then have to go back and watch a yt tutorial or look at a dev hub page for like 5 seconds then be like "oooohh yeah, thats what it was"

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

      I'm always on the developer hub reading the API! There are too many things to remember

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

    Thanks a lot man! I was trying to figure out how to add range to my ClickDetector script. You earned a sub!

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

    you have litterally 9.78k? lets turn that into 600 million! (aka your the best!)

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

    You are the only youtuber who explain very well how to script on roblox , very good video !

  • @НосатыйЧел
    @НосатыйЧел 3 года назад +3

    Wow, good job! Keep up the good work!

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

    this helped alot! thanks so much
    (though the cursor change thing didnt work idk why BUT STILL IT HELPED!)

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

    You only have 3k subs? You deserve more!

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

    Dang, these are really well made and aren't confusing-

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

    the fact this video has 0 dislikes proves how good this video is

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

    You deserver 1M subs at least

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

    Nice video, have you every made a game on Roblox?

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

      I don't have any at the moment, but I will probably make one soon. Most likely as part of a tutorial series!

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

      @@CyberCreator if you ever make a game, I would love to play it

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

      @@CyberCreator thanks for the video too, really needed

  • @ratcheese9065
    @ratcheese9065 7 месяцев назад +1

    i thought this was tutorial like i dont want to hate but like "we do this because..."

  • @roninexplode
    @roninexplode 2 года назад +1

    It says Print won't work, I did everything and checked it like 5 times

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

    So Great maybe this tutorial will usefull for me later :v

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

    I should show this to my programming professor maybe he could take notes

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

    This helps a tremendous amount. Thank you!

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

    wow man you explain so well, thanks

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

    This was very useful, thank you! (+1 Subscriber)

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

    Have been waiting for this thx!!

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

      No problem!

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

      @@CyberCreator can you do a video about particles aka fire and explosive i really want to put them in my game 🌚🌚

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

    Dude you should have at least 100k subs thats unfair...

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

    I can’t click it when there is a text label pls help

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

    Awwwe ty for teaching us how to we appreciated tysm!

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

    Great and helpful video! Can you do that so click detector has a cooldown.
    Like:
    When you click on a part
    You cant click anymore.
    Then a few seconds later, you can click.

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

      put Wait( ) above the script you put in the click detector function and put the amount of second you want it to wait in the brackets

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

    Cool

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

    Thank you very much!!!
    👍👍👍👍

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

    idk why, but when i click the sphere it only changes its material and color

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

      If you're still having trouble join the discord discord.gg/X3zdqHy

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

    can you do a tutorial on how to make a kaiju game?

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

      I will look into it. I haven't played that before

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

      @@CyberCreator ok im making a kaiju game and i kinda need help

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

    idk if its a roblox update but i cant use clickdetectors

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

    THX

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

    PLEASE! REPLY! so basically can you give me a script for cool down to click the part again?

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

    Can you help me how to do ClickInterval so that the ClickDetector will prevent autoclickers, thanks!

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

    For some reason my cursor won't change even when I hover over it.

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

      I think a Roblox update broke something or for some reason they changed the functionality in the past few days. I'll try to post a Bug Report to the DevForum. I have been having the same issue as well!

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

    Great video!

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

    Hello CyberCreator im have a question im wanna make like part and when i click on it text will apear and like 5 seconds and text dissapear and its like 1 time use do u know how can i make it?

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

    how do you make it so when you equip a tool and then click, and then click again it does something different

  • @GarethMcD-zq8ei
    @GarethMcD-zq8ei Год назад

    is there a way to change where the click detector is located on a part?

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

      No, click detectors span the entire block. however you can make a transparent block that barely sticks out of the part you want to use and make that the clickdetectors parent, which will essentially do what you want but not physically modifying the clickdetector.

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

    Thank you for the video, but I want it to change direction when touched, can you help me?

    • @travis7956
      @travis7956 5 месяцев назад

      --something like this might work--
      function x()
      while true do
      Workspace.Part.Vector3 += Vector3.new(0,1,0)
      wait(1)
      end
      function x()

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

    does it work with localscripts? i want to do this but it only applies to the person who clicked it

  • @Dev_Victor
    @Dev_Victor Месяц назад

    I LOVE YOU

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

    You sound like Ruben Sim

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

    How to make a part appear for a few sevond when u click it?

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

    About the script that can let you swap between the states of the button on click (starts off as green, on click it turns red, and then after clicking it again it turns green again and so on), how do you do that using a variable, because I dont want to have to change a property of a part to do that.

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

    I was wondering how you could make a click detector for an item like a sword and when you click it something happens?

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

      Do you mean clicking while you have a sword equipped? Or you click a part and get a sword?

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

    any way i can convert this into a local script

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

    But how to put game pass in it?

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

    Can i click a player?

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

    👺cool

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

    O:

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

    first

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

    Firstnt

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

    doesn't work

    • @grzyb11
      @grzyb11 9 месяцев назад +1

      skill issue
      jk i just spent hours on this shitty tree cutting system and the mouseclick doesnt return shit