Like others said before: a good, to-the-point tutorial with sufficient explanation of everything without treating the audience like children who touch Roblox Studio for the first time. Thank you very much!
You get a subscription from me because this is the best implementation that I've found that isn't a buggy mess and a thumbs up for such a good tutorial.
Thank you so much for this wonderful tutorial, the pace, explaination and recapping is really excellent and appreciated. I replicated this as part of learning how to drag / drop ImageLabels for a card game I was considering. Two findings - 1) doesn't work when UIGridLayout is included within the parent frame 2) if you have two UI items of the same size (e.g. playing cards) each using this script, when positioned one on top of the other, you'll loose the ability to drag the item beneath.
Its common programing thing to do water in cup thing, u have 2 cups with water and need to replace water inside, u need temporary cup, put cup1 in tempCup, then cup2 to cup1 and tempCup to cup2, now replace cups with frames
local frame = script.Parent frame.Draggable = true frame.Active = true frame.Selectable = true technically frame.Draggable is depreciated, but this still does work, alongside DragBegin and DragStopped.
hello tech with mike i am a working to make a game can you make a video about how to make a winning gui like i am making a fps game 50 player will drop in the island if a person kill survive from the 50 people he will get a massage like you have won the game . If you help me i will be really thank to you . please help me .
this is gonna be useful for my game (its like pokemon but with no pokemon), btw you gotta make some merch man, you will get alot of sales (Im 100% gonna buy it), if you dont have much experience designing merch I can make one for you (for free)
so, little "issue", I want to detect when the frame reaches an exact position, the thing is that the frame is only moved Visually, the actual position remain s the same. How can I "fix" that?
Hi! Can you make a script that makes it so when you kill a player, you get money? And i need to know how to make a money gui on the left of the screen! It would really help me since im new to Studio!!
Try this for the tool script. Still a slight issue when you are too close to the rock, but it has a cooldown and the hit detection seems better. Let me know how this works for you, and then we can go from there local tool = script.Parent local swing = true tool.Handle.Touched:Connect(function(otherPart) if otherPart.Name == 'Rock' then wait() tool.Mining.Value = false end end) local function mine() if swing then swing = false tool.Mining.Value = true local str = Instance.new("StringValue") str.Name = "toolanim" str.Value = "Slash" str.Parent = tool wait(0.5) swing = true else return end end tool.Activated:Connect(mine)
Hiii!!! Can you make a block that moves that can push a block off a ramp or a part?? Please I never got someone to help me with this I’m subbed and liked the video!
I’m trying to run this script with another one. I have a small script where when you press a block the GUI pops u and there’s a little x on it to remove it. I want to be able to use that script but also move it around any tips? When I add them both to 1 script only the one works. Which is popping the GUI up from the block.
script.Parent.Touched:Connect(function(part) if part.Parent:FindFirstChildOfClass("Humanoid") then local TeleportService = game:GetService("TeleportService") local gameId = --The place you want them to teleport to TeleportService:Teleport(gameId) end
local UIS = game:GetService('UserInputService') local frame = script.Parent local dragToggle = nil local dragSpeed = 0.25 local dragStart = nil local startPos = nil local function updateInput(input) local delta = input.Position - dragStart local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play() end frame.InputBegan:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then dragToggle = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end) UIS.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then if dragToggle then updateInput(input) end end end)
You get parentheses...you get parentheses...everyone gets parentheses!
Including me?
Everyone and everywhere, parentheses!
Pls help
Man, I am parenthesis
Ay man some kid copied your whole video and got 20k views
Like others said before: a good, to-the-point tutorial with sufficient explanation of everything without treating the audience like children who touch Roblox Studio for the first time. Thank you very much!
Clear and simple. Not boring and not too fast. Thats what i call a professional tutorial!
Man, you're soo underrated. Even with the outro.
Are you saying you're not a fan of my outro 😯
@@TechwithMikeYT your outro is underrated. Which is good
Lol thanks 👍
@@Papaintion I feel bad for him now but idc
You get a subscription from me because this is the best implementation that I've found that isn't a buggy mess and a thumbs up for such a good tutorial.
Thank you so much for this wonderful tutorial, the pace, explaination and recapping is really excellent and appreciated. I replicated this as part of learning how to drag / drop ImageLabels for a card game I was considering. Two findings - 1) doesn't work when UIGridLayout is included within the parent frame 2) if you have two UI items of the same size (e.g. playing cards) each using this script, when positioned one on top of the other, you'll loose the ability to drag the item beneath.
Its common programing thing to do water in cup thing, u have 2 cups with water and need to replace water inside, u need temporary cup, put cup1 in tempCup, then cup2 to cup1 and tempCup to cup2, now replace cups with frames
imagine two squares overlapping with each other perfectly and you cant take them apart
local frame = script.Parent
frame.Draggable = true
frame.Active = true
frame.Selectable = true
technically frame.Draggable is depreciated, but this still does work, alongside DragBegin and DragStopped.
Thank you!
thanks bro this solved my problem lol
like you said, it's deprecated. do not use deprecated code. since if it breaks roblox will never fix it
Thanks for the help! 👍
No problem 👍
Now I can make a my windows game,thanks!
Can you please make a turtorial on how to make a npc that attacks you (dosent respawn)
hello tech with mike i am a working to make a game can you make a video about how to make a winning gui like i am making a fps game 50 player will drop in the island if a person kill survive from the 50 people he will get a massage like you have won the game . If you help me i will be really thank to you . please help me .
thank you! really helped alot with my game.
this is gonna be useful for my game (its like pokemon but with no pokemon), btw you gotta make some merch man, you will get alot of sales (Im 100% gonna buy it), if you dont have much experience designing merch I can make one for you (for free)
Thanks man youre the best!!!
Back in the days there was a draggable property. You could do all of that without needing to script. Shame it was deprecated
apparently my GUI can drag around without a script and I want it to stop
Thanks So Much :)
Guys use this instead plus it's so much more short:1.script.Parent.Active = true 2.script.Parent.Draggable = true and there you go 2 lines
If I missed that, that would be hilarious lol. I will check it out later.
@@TechwithMikeYT your tutorials are very good! I subbed to you
Did the other way work Mike?
Make one about how to make a flight command
Idea: How to make Emote gui Costume!!
hey tech, can you make a tutorial about a spectate gui?
Pls make a house system that update when you leave. 🥺 Plss
dude your great new sub!
Thank you ☺️
Hippity hoppity your code is now my property
hi bro beauty video
and how to make gu unable to go beyond the screen! It's possible, right? If yes, can you do it?
When I drag the part even a little too fast it the mouse glitches out the block stops moving. is there a work around, or just a limitation of roblox?
Make a survival game series
so, little "issue", I want to detect when the frame reaches an exact position, the thing is that the frame is only moved Visually, the actual position remain s the same. How can I "fix" that?
Hi! Can you make a script that makes it so when you kill a player, you get money? And i need to know how to make a money gui on the left of the screen! It would really help me since im new to Studio!!
could you make a border? so you cant move the dragging frame outside the border.
how to i do it so there is a stop like a border?
Please can you do a radar of players for each team please :D
Hello did u check the mining system?
Not yet sorry, I will try to take a look tomorrow
Try this for the tool script. Still a slight issue when you are too close to the rock, but it has a cooldown and the hit detection seems better. Let me know how this works for you, and then we can go from there
local tool = script.Parent
local swing = true
tool.Handle.Touched:Connect(function(otherPart)
if otherPart.Name == 'Rock' then
wait()
tool.Mining.Value = false
end
end)
local function mine()
if swing then
swing = false
tool.Mining.Value = true
local str = Instance.new("StringValue")
str.Name = "toolanim"
str.Value = "Slash"
str.Parent = tool
wait(0.5)
swing = true
else
return
end
end
tool.Activated:Connect(mine)
@@TechwithMikeYT it works thank you!
Hey mike, do you know how to make a teleport button that when you click it, it teleports you to another game?
I like how he says easy in the thumpnail but the video is 16 mins long
the tutorial is long, but easy to follow
That seems like a nice way to wipe my window
How to make a part start to talk (not the chat system) how a dialouge gui when you touch it?
Hiii!!! Can you make a block that moves that can push a block off a ramp or a part?? Please I never got someone to help me with this I’m subbed and liked the video!
Just resize the part to your liking and unanchor it.
Tu so much !
I’m trying to run this script with another one. I have a small script where when you press a block the GUI pops u and there’s a little x on it to remove it. I want to be able to use that script but also move it around any tips? When I add them both to 1 script only the one works. Which is popping the GUI up from the block.
do you know how to remove a tool when used? if so make a video please
Hey Mike, i was wondering... Do you know how to make an advanced car crash system? Like in car crushers 2. Where the car deforms
constraints. lots of constraints.
I want do but me mom dont give me pc :(
This is awesome
Suggestion: A sword which teleports the player who got hit to another game
script.Parent.Touched:Connect(function(part)
if part.Parent:FindFirstChildOfClass("Humanoid") then
local TeleportService = game:GetService("TeleportService")
local gameId = --The place you want them to teleport to
TeleportService:Teleport(gameId)
end
Do you do private teaching for hire?
How to make play button with moving background 🙃 if you dont want comment down bellow say no Ty
What about Mobile?
Pls help me build shop i create game!
Draggabe = true
good :D
Please can you do a radar of players for each team please :D
The video:
Me: script.parent.active,script.parent.draggable = true,true
or just do NameOfUrFrame.Draggable = true
lol yeah
Think
local UIS = game:GetService('UserInputService')
local frame = script.Parent
local dragToggle = nil
local dragSpeed = 0.25
local dragStart = nil
local startPos = nil
local function updateInput(input)
local delta = input.Position - dragStart
local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y)
game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
end
frame.InputBegan:Connect(function(input)
if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
dragToggle = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragToggle = false
end
end)
end
end)
UIS.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
if dragToggle then
updateInput(input)
end
end
end)
first :>
N O TTTTTTTTTTTT_T
I Like Your Videos, Also I Think HD Admin Uses This Like *b r o . . . .*
easy, but not as simple, script.Parent.Draggable = true
But that is not as much fun!
yo i think HD admin uses this XD
yea it *d o e s*
aW
:( now it doesn't work *crys*
oh wait *now it works finnaly*