Тёмный

What is & How to Use a Click Detector in ROBLOX Studio! 

RoDev
Подписаться 96 тыс.
Просмотров 2,3 тыс.
50% 1

[]
In this video, we look at how to script the 'ClickDetector' object in Roblox Studio. We looked at the MouseClick, MouseHoverEnter, MousHoverLeave, and RightMouseClick functions.
[ OFFICIAL WEBSITE ]
👀 | rodev.ml/home
[ DISCORD FOR SCRIPTING SUPPORT ]
💬 | dsc.gg/developercove | 🎮
🔎 HASHTAGS 🔎
#Roblox
#RobloxStudio
#Studio
#Code
#Lua

Хобби

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@sushimi-yua9169
@sushimi-yua9169 2 года назад
Yo early? Pin me? RoDev RoDev RoDev RoDev Let see if this works
@RoDev
@RoDev 2 года назад
Did it work?
@sushimi-yua9169
@sushimi-yua9169 2 года назад
@@RoDev OML TYSM XD and thank you for the tutorial I have been needing something like this for my game
@MaxymYT
@MaxymYT 2 года назад
Comment 📌 emoji lol
@solokeyz4468
@solokeyz4468 2 года назад
Wow thanks this helped me alot
@RoDev
@RoDev 2 года назад
Glad it helped! Thank you for the feedback!
@NOOB-hn7mh
@NOOB-hn7mh 2 года назад
omg rodev I got 15 subscribers today
@kalleradoschke1925
@kalleradoschke1925 6 месяцев назад
Nice Video 👍 I have a question: Is there a way to make the part change to a color I want and when i click a second time it changes to a other color? Example: click 1 = blue click 2 = red click 3 = white click 4 = blue and it repeats
@RoDev
@RoDev 6 месяцев назад
yea ofc
@NproductionsCoding
@NproductionsCoding 3 месяца назад
make it so every time you click a variable "color" goes up by one and based on what number it is the block is a certain color. when you get to the last color make the number reset to 1.
@NproductionsCoding
@NproductionsCoding 3 месяца назад
when i say "color" i mean make a variable named color using local studcolor = 1
@Waffle847
@Waffle847 4 месяца назад
i tought it was broken but i changed name of brick to smth else it worked
@NOOB-hn7mh
@NOOB-hn7mh 2 года назад
RoDev your literally SuperPilot33 wow nice name in roblox
@GuyfromMoravia
@GuyfromMoravia 2 года назад
Nice video 👍👍👍👍👍👍👍🙂🙂🙂
@RoDev
@RoDev 2 года назад
Thank you so much 😀
@Anastasiatoons
@Anastasiatoons 2 года назад
I found u rlly helpful, I tried using tween service orientation, to make the block rotate 90 degrees each time when I click on it, however this works only one time, so when I click the block after 1 time, it just doesnt moves :/ can u help? BTW I dont have discord, so I can only communicate here or on instagram
@RoDev
@RoDev 2 года назад
Send your script here
@Anastasiatoons
@Anastasiatoons 2 года назад
local ClickDetector = script.Parent.ClickDetector local part = script.Parent local TweenService = game:GetService("TweenService") ClickDetector.MouseClick:Connect(function(PlayerWhoClicked) local tweenInfo = TweenInfo.new( 1, --Time Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0 ) local tween = TweenService:Create(part, tweenInfo, {Orientation = Vector3.new(0,90,90)}) tween:Play() end) My script
@RoDev
@RoDev 2 года назад
The issue is you are setting the orientation and not adding to it. Try using CFrame.Angles!
@Anastasiatoons
@Anastasiatoons 2 года назад
@@RoDev I tried that too, but the part kept on spinning forever, is there an example script you can show me?
@RoDev
@RoDev 2 года назад
I could try but I’m in school rn
@katiixx8996
@katiixx8996 2 года назад
that is not everyhing about click detectors nd this did not help. im trying to make it play a sound when i click
@RoDev
@RoDev 2 года назад
Then change the part variable to your sound and call the :Play() method on it when the part is clicked.
@legodevelopers.
@legodevelopers. 2 года назад
Hello, is there any way for me to contact you?
@RoDev
@RoDev 2 года назад
Through Discord! Join the server in the description and you can DM me!
Далее
Can 6 DEVS Make a STORY Game Without Communicating?
15:32
ClickDetectors Are Stupid But Kinda Powerful
12:09
Просмотров 9 тыс.
What are Local Scripts? Roblox Scripting Explained
9:01
I Got Every Minecraft Secret
19:57
Просмотров 420 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4 млн
How To Make GUI | Roblox Studio
10:35
Просмотров 245 тыс.
ClickDetectors | How To Use | Roblox Studio
12:28
Просмотров 11 тыс.
ROBLOX, But I made it SATISFYING…
8:03
Просмотров 1,2 млн
AI Learns to steal
17:23
Просмотров 332 тыс.
Quando ACELERA eu faço MAIS GRANA 💰
0:16
Просмотров 59 млн
Get Yours From Our Profile Description 🙏
0:19
Просмотров 14 млн