No kidding great video. I'm actively learning Roblox studio now and i always try to make the script as clear, short, simple and smart as possible. you did it but i think 2 scripts is bad
Thank you bro! Im working on a game based off of a really frickin big house. Is there a way to make a part that when touched it triggers a kickbrick to move through the room and make the lights move up making it look like it's dimming, forcing the player to hide?
Hey DevMelon thanks for the sword script but there somthing not working for me and i wanna make a sword game. So i can pay you 20 robux and im subbed for you to go to my game and make a sword. Goodbye DevMelon
my version ------------- local teleportcooldown = false local cooldown = 1 local teleporter = game.workspace.TeleportersFolder.TeleportOne script.Parent.Touched:Connect(Function(hit) if hit.Parent:FindFirstChild("Humanoid") then if teleportcooldown == false then teleportcooldown = true local character = hit.Parent character.HumanoidRootPart.CFrame = teleporter.CFrame + Vector3.new(0 ,5 ,0) wait(cooldown) teleportcooldown = false end end end) -------------
Hey man, can you do a tutorial on how to make a combat knife in Roblox Studio? I'm making a game Please pin me so I know if you read: Your tutorial helped me a lot! Like obby, the first video, I'll create it one day.
it uhh didnt work, heres the code please tell me if i did something wrong: script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("humanoid") then local character = hit.Parent character.humanoidrootpart.CFrame = workspace.teleportpart2.CFrame + Vector3.new(0,5,0) end end)
@@devmelonroblox i got a error in the script saying that "humanoidrootpart is not a valid member of model. Like i didnt even make the teleporter a model wth??
THIS SCRIPT WORK OR NOT local entryPortal = script.Parent local exitPortal = game.Workspace:FindFirstChild("PortalExit") entryPortal.Touched:Connect(function(hit) local character = hit.Parent if character and character:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(character) if player then character:SetPrimaryPartCFrame(exitPortal.CFrame + Vector3.new(0, 5, 0)) end end end)
No kidding great video. I'm actively learning Roblox studio now and i always try to make the script as clear, short, simple and smart as possible. you did it but i think 2 scripts is bad
Im glad im helpiing. Wdym 2 scripts is bad?
@@devmelonroblox It would be better if you made only one script. the less scripts the better. (sorry for my english)
thank you this helped
took me a second but this is amazing tysm
Glad i helped!
You've earned a subscriber my friend!
Thank you for the help
Your welcome bro!
Tysm this works so well
Thank you bro! Im working on a game based off of a really frickin big house. Is there a way to make a part that when touched it triggers a kickbrick to move through the room and make the lights move up making it look like it's dimming, forcing the player to hide?
when i go on the part it doesnt teleport me idk why
Can you please make a day and night music tutorial pls?🥺
That’s a good idea I’ll tru that soon!
youre way to underrated bro
Thanks bro!
this only works if im using just a normal part can you help please cus im trying to do this with a model
It works the same way with a model
Just choose the part that y want to teleport when touched
Hey DevMelon thanks for the sword script but there somthing not working for me and i wanna make a sword game. So i can pay you 20 robux and im subbed for you to go to my game and make a sword. Goodbye DevMelon
So can u do it?
If i pay u 20 robux
Hey just join my server and I’ll help you
It works but when I teleport it flies. Like I teleport and fall to the ground. How can I fix that?
my version
-------------
local teleportcooldown = false
local cooldown = 1
local teleporter = game.workspace.TeleportersFolder.TeleportOne
script.Parent.Touched:Connect(Function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if teleportcooldown == false then
teleportcooldown = true
local character = hit.Parent
character.HumanoidRootPart.CFrame = teleporter.CFrame + Vector3.new(0 ,5 ,0)
wait(cooldown)
teleportcooldown = false
end
end
end)
-------------
Dude thats good
@@devmelonroblox thanks, im kinda new to coding but i know the fundamentals, i've learned how to make a door that opens with a key too
whoa thats so cool, i really need to know learning better with scripting because you can do so many things with it!
Hey man, can you do a tutorial on how to make a combat knife in Roblox Studio?
I'm making a game
Please pin me so I know if you read:
Your tutorial helped me a lot! Like obby, the first video, I'll create it one day.
Sure!
@@devmelonrobloxSorry for the delay, thank you for accepting my request :)
I am waiting!
Bro I have been tryna find something similar 😭
Everytime I try teleporting using humanoidrootpart my camera gets glitchy for some reason
@@RagedCascade359 Try with this i dont htink it will lag out your camera
@@devmelonroblox I think my studio is drunk or smth. HumanoidRootPart is not a valid member of Players "Players"
Nvm I think I found the problem
Btw r u actually @LemonJuice_'s friend?
Ye
Bro any content creator who puts Undertale music in their tutorials knows whats up
Fr ahahahaha
it uhh didnt work, heres the code please tell me if i did something wrong: script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("humanoid") then
local character = hit.Parent
character.humanoidrootpart.CFrame = workspace.teleportpart2.CFrame + Vector3.new(0,5,0)
end
end)
it doesnt work
@@ARAVandARNAV-ru2fi yeah thats literally what i said
can you please tell me the script here, I can't see it very well.
how do you make a value
i did the code the same but it wont tp me
NVM I FIXED IT LOL-
Why did this not work
I you get errros
Do you get errors
No???
@@devmelonroblox i got a error in the script saying that "humanoidrootpart is not a valid member of model. Like i didnt even make the teleporter a model wth??
THIS SCRIPT WORK OR NOT
local entryPortal = script.Parent
local exitPortal = game.Workspace:FindFirstChild("PortalExit")
entryPortal.Touched:Connect(function(hit)
local character = hit.Parent
if character and character:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(character)
if player then
character:SetPrimaryPartCFrame(exitPortal.CFrame + Vector3.new(0, 5, 0))
end
end
end)
nope an i tried it
Doesnt work