Slice / Cut Parts - Roblox Scripting Tutorial

  Рет қаралды 64,308

Suphi Kaner

Suphi Kaner

Күн бұрын

Пікірлер: 316
@soma78
@soma78 Жыл бұрын
Love how you take the time to explain the maths behind it. This is something definitely new, looking for a Roblox tutorial and not being treated like an 8 ys old child. Thanks, you got a new subscriber.
@TehCapcutSpartaRemixer
@TehCapcutSpartaRemixer Жыл бұрын
Its my age how did you know
@furantsu1
@furantsu1 Жыл бұрын
@@TehCapcutSpartaRemixer💀
@uzidayo
@uzidayo Жыл бұрын
@@TehCapcutSpartaRemixer bruh lmao
@spngrg99
@spngrg99 Жыл бұрын
@@TehCapcutSpartaRemixer noway guys 💀
@cookiecoder6295
@cookiecoder6295 2 жыл бұрын
Yo. This tutorial is absolutely incredible, and you explain it in so much detail it's just amazing how you don't have a million subscribers. Thank you so much! And by the way, how do you type like that? You type super fast and consistently.
@5uphi
@5uphi 2 жыл бұрын
Thank you and I use autohotkey
@player9315
@player9315 2 жыл бұрын
This KZbinr gives tutorial better and more interesting than most others
@tohereknowswhen779
@tohereknowswhen779 Жыл бұрын
agrree
@nreeda2744
@nreeda2744 Жыл бұрын
Thats hella too advanced
@gcmvanloon
@gcmvanloon Жыл бұрын
Thank you for this. Apparently Roblox Studio does not support the GripRight and GripUp properties any more. I managed to accomplish the same result by adding an extra line in the server script: 'tool.Grip = CFrame.new(tool.Grip.Position + Vector3.new(-0.5, 0, 0)) * CFrame.Angles(0, 0, -math.rad(90))' Perhaps someone else finds this helpful one day.
@Gen1us707
@Gen1us707 Жыл бұрын
just noticed this comment, i kinda did another version of it but using properties. if you want, i can delete it. its almost the same though, its saying to do 0, 0, -90 on the grip orientation.
@TheoAnimates
@TheoAnimates 6 ай бұрын
couldnt you have just changed grip orientation in the tool properties
@Bogo.b
@Bogo.b 2 ай бұрын
Which line of the script is it to put?
@Gen1us707
@Gen1us707 Жыл бұрын
updated grip area: now, theres a section for grip. its position, and orientation. position will be welded with the character, so don't worry about that. The orientation though, make it 0, 0, -90. If you observe correctly, its to the right of the player. Going left by 90 degrees gives 270 degrees, or -90.
@arsxnalguy
@arsxnalguy Жыл бұрын
i cant believe i wacthed a one hour video and it worked!, i appreciate how you are a good scripter, like if i watched a video like this but the video is 1 minute it wont work, thank you so so so much you earned a sub!.
@shaneedits704
@shaneedits704 2 жыл бұрын
Finally I can turn this into a laser weapon sort of :)
@ranidusoysaa
@ranidusoysaa 2 жыл бұрын
Hii! I was wondering if you could make an infinite Ocean like your endless Desert biome and others. This would be cool with a sand bottom! I tried doing this but since then i couldn't get it to work. I would really appreciate your help!
@5uphi
@5uphi 2 жыл бұрын
If you message me in discord I'll show you how but the main thing you need to do is shift the terrain down so it's always under the water
@bassamm10
@bassamm10 2 жыл бұрын
at 25:50 I copied everything and when I equipped it, it didn't move with my mouse. Any solutions?
@5uphi
@5uphi 2 жыл бұрын
Double check your code and make sure it's like mine
@bassamm10
@bassamm10 2 жыл бұрын
@@5uphi I did, I looked back at the finished product of the code from that point and it still didn't work. Is it maybe my version of Roblox studios or the device I'm using?
@crlxdvd
@crlxdvd 2 жыл бұрын
Metal gear rising : Revengence
@quinlanheckerson724
@quinlanheckerson724 2 жыл бұрын
fantastic video, very underrated channel!
@5uphi
@5uphi 2 жыл бұрын
Thank you
@adibbida9861
@adibbida9861 3 күн бұрын
Sukuna's Malevolent Shrine would go hard with this
@yeetsinofmemes8115
@yeetsinofmemes8115 2 жыл бұрын
i regret watching this at night with the multiple flashbangs i get when u swap to ur browser 😭
@sloth-mode
@sloth-mode 4 ай бұрын
I feel like I should pay for this tutorial.
@adibbida9861
@adibbida9861 3 күн бұрын
Real
@coocato
@coocato 14 сағат бұрын
there’s a patreon and donation game
@grandtheftautoexpert2040
@grandtheftautoexpert2040 Жыл бұрын
Hi Suphi, I was wondering how the math is behind re-calculating vectorZ? I understand, that in reality it will not matter what the Y vector is, as long as the rotation and rough positioning of the CFrame is correct enough, therefore being that the Y vector doesn't have to be precise and can be alternated between the position of the camera or the tool, though I am confused as how that will always be exactly 90 degrees apart from the X vector, as you had mentioned in the video. Because of that issue you mentioned we have to recalculate the Z vector, but will it not yield the same result, as part of vectorY's value is vectorZ? Thanks!
@-CENSORED0-
@-CENSORED0- 4 ай бұрын
Why is it whenever I change the size of the subtractpart, it just doesn’t work? 100x100x100 is the only size that works, but I want to make it bigger (It doesn’t identify the union as anything for a more specific reason)
@LopityHipity
@LopityHipity 7 ай бұрын
If you feel like the sliced parts are delaying or stuttering after the cut, you can make it smoother by using SetNetworkOwner of the two unions to the player in the server script
@kaizenkl32
@kaizenkl32 26 күн бұрын
I dont see how this guy dont have a lot of subscriber more than those channel that cant even teach us properly.
@sava11silenkov
@sava11silenkov 3 ай бұрын
one of the most best and talented explainer.(you got new subscriber
@whitewolf8763
@whitewolf8763 2 жыл бұрын
Hello nice videos. Could you make a videos on how to make an anti-exploit ? for example anti fly anti teleport etc ?
@5uphi
@5uphi 2 жыл бұрын
I already have a video about anti-exploit that shows you how to make a anti teleport
@whitewolf8763
@whitewolf8763 2 жыл бұрын
@@5uphi oh and for example anti god mode, anti flying ,anti steal tools, like a more complexe anti exploit and more complete would be amazing and yeah i saw ur videos about stopping hackers etc its very nice !
@5uphi
@5uphi 2 жыл бұрын
I think for anti steal tool you would need to make your own custom tool system and not use robloxes system for anti fly you would need to keep checking on the server side to see if the player is on the ground most likely by ray casting I have not looked into god mode but there are a few ways a exploiter could prevent themselves from losing health based on different things
@kurbid
@kurbid 18 күн бұрын
ok wth is this man doing making the most indepth tutorials ever and being chill with 17k subs
@askshells
@askshells 4 ай бұрын
Can someone explain how he created two UnionOperations with the exact same parts to create the union, and the only thing he changes is the cframe so they both have different cframes, but when you slice the parts in-game, the two UnionOperations have different sizes?
@Spooky.Studios
@Spooky.Studios 9 ай бұрын
You may also set 'CollisionFidelity' on the sliced parts to 'PreciseConvexDecomposition' for better collisions
@vrfrenzy8451
@vrfrenzy8451 9 ай бұрын
Thanks
@kilpamations3477
@kilpamations3477 2 ай бұрын
kzbin.info/www/bejne/gIebiGt5Yp2ilcU basically this but with the mouse lol
@AbiBuBy
@AbiBuBy 7 ай бұрын
I got too smart after that video
@seanluna5679
@seanluna5679 6 ай бұрын
Imagine a dev using this to shape things in game, copy the results, and put it back in as the modified union.
@not_eagleye
@not_eagleye 5 ай бұрын
skul
@yal1621
@yal1621 Жыл бұрын
the raycast collides with the targetpart so it stacks ontop of eachother to the camera
@5uphi
@5uphi Жыл бұрын
You must not of set the target parts properties like I showed in the video
@WindyPivot
@WindyPivot 4 ай бұрын
how would you apply these cuts to a projectile? a slice of air that cuts parts it touches?
@Whyuko-lh7mv
@Whyuko-lh7mv 7 ай бұрын
Its simple and easy, 1 hour is enough for explaining the tools, W youtuber and simple scripts.
@DaYoDuDe
@DaYoDuDe 2 жыл бұрын
Hey @Suphi Kaner , great videos. I'm trying to utilize this slicing mechanic for a Fruit Ninja like game, but I'm running into an issue where the slice models sometimes doesn't slice. I think this is because the slicing doesn't behave well for moving parts. I get this error which occurs upon the first SubtractAsync(): " Result was empty, possibly because everything got subtracted away. " Any ideas as to how I can solve this?
@Darkman-ur7ob
@Darkman-ur7ob 2 жыл бұрын
i dont know if this is the actual reason but i think its because the actual laser or beam is moving by 2 studs which im pretty sure is the lowest he can do and it has to keep up with falling objects with 2 stud every time it has to move he also said in the video it tracks the starting point and the ending point to cut but it cant cut if it doesnt track the end or starting point thats why you cant just make holes inside it so with limited movement options i dont think its actually possible to fix this maybe with future techonlgy you could fix it or im competely wrong
@bradzandmaxplays
@bradzandmaxplays 2 жыл бұрын
Working lightsabers ideas 💡
@davidfreshh7160
@davidfreshh7160 4 ай бұрын
Stop rushing bro it’s hard to understand what u are tryna do bro
@tomerh826
@tomerh826 2 жыл бұрын
Amazing tutorial! Keep the good work.
@5uphi
@5uphi 2 жыл бұрын
Thanks you 😊
@kyubiPlays_
@kyubiPlays_ 3 ай бұрын
dismantle and cleave boutta be sick
@MINHTIEN-wh5kj
@MINHTIEN-wh5kj Жыл бұрын
thx u now i can slice my bread
@5uphi
@5uphi Жыл бұрын
Glad I could help
@arsonistd2822
@arsonistd2822 2 жыл бұрын
Another great tutorial! Nice work
@5uphi
@5uphi 2 жыл бұрын
Thank you
@-Zergo
@-Zergo 6 күн бұрын
How do you type so fast !?
@Darkman-ur7ob
@Darkman-ur7ob 2 жыл бұрын
If anybodys worrying about the union color on the inside just look in the normal script and look for the code local union2 = instance:SubtractAsync({subtractPart}) then under that put union1.UsePartColor = true union2.UsePartColor = true it should look like local union2 = instance:SubtractAsync({subtractPart}) union1.UsePartColor = true union2.UsePartColor = true then you got color all over the your cut stuff
@kirawillow3440
@kirawillow3440 2 жыл бұрын
What about material?
@Darkman-ur7ob
@Darkman-ur7ob 2 жыл бұрын
@@kirawillow3440 I’m pretty sure it stays but I’ll tell when I can get my pc back
@kirawillow3440
@kirawillow3440 2 жыл бұрын
@@Darkman-ur7ob okay
@Bodi3546
@Bodi3546 Жыл бұрын
but if you have unions with multiple colors that you wanna cut? a better way to do it is to set the subtractpart color to the color of the instance color
@CIowdee
@CIowdee 2 ай бұрын
THE ONLY THING I KNOW FOR REAL, THERE WILL BE
@crafterwildchannel2511
@crafterwildchannel2511 2 ай бұрын
can you make something like if an object is coming towards a player the block will slowly stop?
@5uphi
@5uphi 2 ай бұрын
Yes
@FunniGuywhoplaysVr
@FunniGuywhoplaysVr 2 жыл бұрын
I have an idea u know the backrooms? Could u make a randomly generated maze like thing plugin but people who get it make the rooms and generate the maze. It’s hard but I believe in you!
@5uphi
@5uphi 2 жыл бұрын
I think I'll make a video tutorial showing how to do it without a plugin it should not be to hard to follow
@FunniGuywhoplaysVr
@FunniGuywhoplaysVr 2 жыл бұрын
Alr.
@Taly1279
@Taly1279 Жыл бұрын
This is a great tutorial, i would like to use something like this for my game but i was wondering how would i make it that instead of a tool its a stationary laser that cuts objects that go through it
@praneshbalaji8047
@praneshbalaji8047 2 жыл бұрын
i did not that wasa future thanks man
@void5614
@void5614 8 ай бұрын
23:51 bookmark Awesome video btw
@Bogo.b
@Bogo.b 2 ай бұрын
How could I make a cooldown for this, or a type of battery with limited time to use?
@5uphi
@5uphi Ай бұрын
local battery = 100 if battery > 0 then battery -= 1 * deltaTime end
@bomby.e.e
@bomby.e.e Ай бұрын
How come sometimes when you are typing, we hear the keyboard and other times we dont?
@5uphi
@5uphi Ай бұрын
Sometimes i type it sometimes autohotkey types it for me. If you hear me typing it can mean that I have deviated from the original planned code or sometimes it could just mean I'm free-styleing because I have not planned the video before hand this can be true for small videos
@seblind3474
@seblind3474 2 жыл бұрын
Hello! I really love your videos. Have you ever considered making a video on optimization or how to prevent memory leaks?
@5uphi
@5uphi 2 жыл бұрын
That's a hard topic to cover because there are so many different ways to optimize for different things for instance I have a video on greedy mesh that shows how to optimize voxels and I have a video on compressing data for datastore so there is not one rule to optimize all code depending on what your trying to do there will be different ways to optimize but I'll keep it in mind and if I workout some general rules you can follow I'll make a video
@ThaMentalGod2003
@ThaMentalGod2003 2 жыл бұрын
bro 💀💀😎😎😎😎 holy fucking shit mane, this is INSANE bruh, this would make for such a good game, a puzzle game maybe 😎 damn.
@audrete6071
@audrete6071 Ай бұрын
0:10 just saving
@rodricbr
@rodricbr 3 ай бұрын
2 years later, this finally became a "feature" created by an original roblox administrator. hopefully it becomes an official feature in roblox studio soon
@Fexxwer
@Fexxwer 2 жыл бұрын
Can you help me that make a sword skill slash like a part move forward to where the mouse is pls And hold key and than stip skill will fire
@5uphi
@5uphi 2 жыл бұрын
If you messages on the discord channel we will try to help you
@JeLeff.
@JeLeff. 4 ай бұрын
you type fast yo
@pakancina3138
@pakancina3138 2 жыл бұрын
Yo! Can you please just post the code on your discort? Anyway nice vid!
@5uphi
@5uphi 2 жыл бұрын
It's already in the discord
@true_mini
@true_mini Жыл бұрын
hey, thats surely helps a lot but is there any way to instead of using mouse raycast to cut, use sword tool? like when the sword hits an object that is in the sliceable folder, it gets cut? thanks
@5uphi
@5uphi Жыл бұрын
Anything is possible
@DR0IV
@DR0IV 7 ай бұрын
hi, when i hold down mouse button it says 'position' is not a valid member of RaycastResult is there any way you know of that i can fix this? Edit: nevermind i fixed it
@รีวิวเกมทั่วไป
@รีวิวเกมทั่วไป 7 ай бұрын
bookmark 57:56
@crafterwildchannel2511
@crafterwildchannel2511 3 ай бұрын
wow this is very cool tutorial i can now make sukuna's dismantle, malevolent shrine also can you make it into keybind or when a gui button is activated?
@daniilka353
@daniilka353 Жыл бұрын
i dont have properties like gripUp, gripRight etc. new roblox studio update is bad bruh
@daniilka353
@daniilka353 Жыл бұрын
anyways, tysm for the tutorial, just used plugin for 100 robux. subscribed
@gcmvanloon
@gcmvanloon Жыл бұрын
Did you find a solution? Im having the same experience not being able to rotate the tool when the player holds it.
@daniilka353
@daniilka353 Жыл бұрын
@@gcmvanloon i bought a plugin where i can rotate a tool and it worked, but it costs 100 robux
@shadowredstone7123
@shadowredstone7123 2 жыл бұрын
yo realistic sword slices?
@SUICR77
@SUICR77 2 жыл бұрын
bro.....this is the most coolest thing iv ever seen in my robloxian life
@oekeieww
@oekeieww 6 ай бұрын
i am having an issue with mobile where when you hold cleave and try to walk it still hold your screen in place because for some reason it makes it so you can hold the cut and walk only on mobile and the not in roblox pc mobile test any fixes for that?
@craftyplayz07
@craftyplayz07 Жыл бұрын
After watching this Lumber tycoon joinned the chat
@DeQuest_
@DeQuest_ Жыл бұрын
I've done all the steps, but when I click it once, it doesn't click again. Is there anyone who can help?
@5uphi
@5uphi Жыл бұрын
You must of done something incorrectly double check the video to see what's different
@DeQuest_
@DeQuest_ Жыл бұрын
thanks but i changed my mind i won't
@5uphi
@5uphi Жыл бұрын
Ok if you change your mind again there is also a discord channel in the description where you can get help
@SudoSed
@SudoSed 8 ай бұрын
Hello, there is no Turkish automatic translation in the subtitles. Is there a way to put it in Turkish, please?
@Holy-Crusader
@Holy-Crusader 9 ай бұрын
I was waiting for the nuclear explosion during the demo
@SHOIOTERB
@SHOIOTERB 9 ай бұрын
I have only 1 problem, when I put the tool in starterpack and then you use it it doesn't work
@fudgiyo7149
@fudgiyo7149 2 жыл бұрын
Officially made me say "You can do that on roblox!?"
@ForStarJ
@ForStarJ 7 ай бұрын
dude im tired i've did everything and it doesn't work. Bookmark: 58:07 Local Script: local userInputService = game:GetService("UserInputService") local runService = game:GetService("RunService") local tool = script.Parent local target = nil local connectionInputBegan = nil local connectionInputEnded = nil local connectionLoop = nil local userInput = nil local raycastParams = RaycastParams.new() local serverPosition = nil local rayInstance = nil local rayStartPosition = nil local rayPreviousPosition = nil local function Raycast() local mouse = userInputService:GetMouseLocation() local ray = game.Workspace.CurrentCamera:ViewportPointToRay(mouse.X, mouse.Y) local result = workspace:Raycast(ray.Origin, ray.Direction * 100, raycastParams) if result == nil then return ray.Origin + ray.Direction * 100 else return result.Position, result.Instance end end local function Loop(deltaTime) local position, instance = Raycast() target.Position = position if (position - serverPosition).Magnitude > 2 then serverPosition = position tool.PositionEvent:FireServer(serverPosition) end if rayInstance ~= instance then if rayInstance ~= nil then local center = (rayStartPosition + rayPreviousPosition) / 2 local vectorX = (rayPreviousPosition - rayStartPosition).Unit local vectorZ = (game.Workspace.CurrentCamera.CFrame.Position - center).Unit local vectorY = vectorZ:Cross(vectorX) local cFrame = CFrame.fromMatrix(center, vectorX, vectorY, vectorZ) tool.SliceEvent:FireServer(rayInstance, cFrame) end rayInstance = instance rayStartPosition = position end rayPreviousPosition = position end local function InputEnded(input, processed) if userInput ~= input then return end userInput = nil rayInstance = nil connectionInputEnded:Disconnect() connectionLoop:Disconnect() tool.PositionEvent:FireServer(nil) end local function InputBegan(input, processed) if userInput ~= nil then return end if processed == true then return end if input.UserInputType ~= Enum.UserInputType.MouseButton1 and input.UserInputType ~= Enum.UserInputType.Touch then return end userInput = input serverPosition = Raycast() tool.PositionEvent:FireServer(serverPosition) target = tool:WaitForChild("Target") connectionInputEnded = userInputService.InputEnded:Connect(InputEnded) connectionLoop = runService.Heartbeat:Connect(Loop) end tool.Equipped:Connect(function() connectionInputBegan = userInputService.InputBegan:Connect(InputBegan) end) tool.Unequipped:Connect(function() connectionInputBegan:Disconnect() end) Script: local tool = script.Parent local target = tool.Target target.Parent = nil local Wall = Instance.new("Part") Wall.Size = Vector3.new(5, 5, 5) Wall.Anchored = true Wall.CanCollide = false Wall.CanQuery = false Wall.CanTouch = false Wall.Parent = workspace tool.SliceEvent.OnServerEvent:Connect(function(player, instance, cFrame) local cFrame1 = cFrame + cFrame.UpVector * 50 local cFrame2 = cFrame - cFrame.UpVector * 50 instance.Anchored = true Wall.CFrame = cFrame2 local union1 = instance:SubtractAsync({Wall}) Wall.CFrame = cFrame1 local union2 = instance:SubtractAsync({Wall}) union1.Parent = instance.Parent local direction1 = (cFrame1.Position - cFrame.Position).Unit union1:ApplyImpulseAtPosition(direction1 * 10 * union1.Mass, cFrame.Position) union2.Parent = instance.Parent local direction2 = (cFrame2.Position - cFrame.Position).Unit union2:ApplyImpulseAtPosition(direction2 * 10 * union2.Mass, cFrame.Position) instance:Destroy() print("Works") end) tool.PositionEvent.OnServerEvent:Connect(function(player, position) if position == nil then target.Parent = nil else target.Position = position target.Parent = tool end end) my only problems are the thing not cutting, and also a large part with studs appearing on the workspace PLSSS help.
@ForStarJ
@ForStarJ 7 ай бұрын
by the way can you give me the script in your video i'm actually so tired lol
@5uphi
@5uphi 7 ай бұрын
Patreon members can download the project from the discord server
@ForStarJ
@ForStarJ 7 ай бұрын
why :( i want it :( i made a diffirent thing from it now i made a laser thing that damage you instead of slice :(
@ForStarJ
@ForStarJ 7 ай бұрын
also if it possible pls try to fix the bugged script, since it just copies the part and freezes me @@5uphi
@5uphi
@5uphi 7 ай бұрын
The script works exactly as intended if you want to change or expend anything you must do that yourself I don't make specific scripts for individuals
@MinkSquared
@MinkSquared 10 ай бұрын
functionally cool, however it using roblox' union solver makes it sadly completely unviable in real gameplay
@5uphi
@5uphi 10 ай бұрын
Roblox has had many improvements to there CSG engine and I believe it is a viable thing to use in real gameplay as long as your mindful about it
@opm_a-ngo2903
@opm_a-ngo2903 Жыл бұрын
wth how do you type this smooth
@5uphi
@5uphi Жыл бұрын
AutoHotKey
@opm_a-ngo2903
@opm_a-ngo2903 Жыл бұрын
oh i see btw do i have to be good at math to be a dev i just started a month ago and i'm doing grate tbh i'm learning fast and i'm facing problems with calculating stuff like it took me more than 3 days to understand how to calculate distance wish turned out to be the easiest this out there when i sow your vid i just found out about a lot of math calculations that i would of never knew how to solve if didn't see your vid @@5uphi
@5uphi
@5uphi Жыл бұрын
Being good at math helps but it's not mandatory to be a dev you have to just keep practicing and search the internet for things you don't know and slowly over time your maths will improve naturally
@opm_a-ngo2903
@opm_a-ngo2903 Жыл бұрын
alr man i'll keep working tell i become a well known dev @@5uphi
@SmallCloud.
@SmallCloud. 2 ай бұрын
What if you click?
@5uphi
@5uphi 2 ай бұрын
In this video clicks do nothing
@nintendofan44_
@nintendofan44_ Жыл бұрын
my solution to preventing hackers to do this sort of stuff was checking if certain attributes exist in the local script from where the event was fired from becouse from what i know you cant do much stuff with attributes in hacks
@fwoopie9128
@fwoopie9128 3 ай бұрын
how do i get the union to keep the original color of the sliced part?
@5uphi
@5uphi 3 ай бұрын
Roblox made some changes since this video I believe there is a property you can set
@user-unavailable
@user-unavailable 3 ай бұрын
@@5uphi its called "use part color"
@inessaGReal
@inessaGReal 2 жыл бұрын
i seen same with a gun like you shoot and it makes holes in models can you do by this that i said please?
@b45hir
@b45hir Жыл бұрын
I am doing something similar for the position and serverposition magnitude checks to not fire an event too many times. The problem is, the farther away the thing your mouse is on, the more the event gets fired. Putting the mouse on the sky fires it the same as if there were no checks at all. Any way to fix this?
@ninjireal
@ninjireal 2 жыл бұрын
This will be excellent for my demon slayer demo, slicing tameshigiri will be so awesome….
@神林しマイケル
@神林しマイケル Жыл бұрын
How's it coming along?
@ninjireal
@ninjireal 8 ай бұрын
@@神林しマイケルWell I don’t know what I was thinking back then, as if I was ever going to make progress on it with a crap computer without lua or blender experience. I’m still writing down concepts for the game and I hope I can start working on it, or at least animating and modeling for it by the time I get all my computer parts in April or so.
@NotFunny355
@NotFunny355 Жыл бұрын
One problem, when i try to make a cut for example in a U shape then it will not make a U shape like a cut
@user-wf2sy1iq9f
@user-wf2sy1iq9f 2 жыл бұрын
Awesome video!
@5uphi
@5uphi 2 жыл бұрын
Thank you :)
@SHOIOTERB
@SHOIOTERB 9 ай бұрын
Thank you so much, I only used the move part script so I can make a laser remote I made a own version of it but there were some things that could do better and this version works very good
@gigica69
@gigica69 Жыл бұрын
can you make a tutorial like this but on a sword kinda like the cutting mechanic in metal gear rising
@shawermus
@shawermus 2 жыл бұрын
Well time for someone to remake Metal Gear Rising in roblox)
@-Link-
@-Link- 6 ай бұрын
How do you make the part maintane its color after cutting something like you did in the demo?
@5uphi
@5uphi 6 ай бұрын
Roblox made some changes since the video I'm not sure if it's possible anymore one way would be to weld the different colors together instead of union them together
@Luckychew
@Luckychew 2 жыл бұрын
WOAH, this could be used to make procedural glass breaking
@Untitled-Dud
@Untitled-Dud Ай бұрын
Does it related with unions?
@5uphi
@5uphi Ай бұрын
Yes
@Untitled-Dud
@Untitled-Dud Ай бұрын
@@5uphi I knew it
@user-hk4mn3nv5r
@user-hk4mn3nv5r 9 ай бұрын
Bro it's all so good and everything but how do you type so fast
@5uphi
@5uphi 9 ай бұрын
AutoHotKey
@vrfrenzy8451
@vrfrenzy8451 9 ай бұрын
Oml thanks so much, also thanks for explaining things
@Shroogma
@Shroogma Жыл бұрын
Excuse me how could you apply i so that it only works on certain parts. e.g. it works on trees only
@5uphi
@5uphi Жыл бұрын
You could use folders you could use tags you could use attributes you could use the name lots of ways to filter instances
@debnjk
@debnjk Жыл бұрын
can someone please make copy and pastes of the code i don't want to spend 3 hours trying to right it down
@5uphi
@5uphi Жыл бұрын
Patreon and KZbin members can download from discord server
@Le_BluBird
@Le_BluBird 2 жыл бұрын
I can already imagine someone using this to make a slicing system similar to Metal Gear Rising: Revengeance... Give us a tutorial on how to ingest people's spines like Raiden next!
@DoctorBones1
@DoctorBones1 2 жыл бұрын
im already making one lol
@blurristic
@blurristic Жыл бұрын
Hey, I have a problem and have no clue how to fix it. I checked the whole code there is no mistakes. SO whenever I release button then on video it is still raycasting, but in mine if I release button then he is not raycasting unless I re-equip it. Help me!
@5uphi
@5uphi Жыл бұрын
If you click quickly it can sometimes stop working there is a fixed version in discord
@blurristic
@blurristic Жыл бұрын
@@5uphilife saver thanks
@oof108
@oof108 8 ай бұрын
Hi 5uphi you don't fix 1 problem, if we cut in time very fast he just get "Not Achrode". How to fix it? Code if union1 Then script.Code end if union2 then script.Code end
@5uphi
@5uphi 8 ай бұрын
Maybe try pcall?
@oof108
@oof108 8 ай бұрын
​to get all parts in folder? maybe we can just say "If Union1 is not nil" but "if Union1 its == Nil then " He just doing nothing. and its work, i don't no i just try pcall its littl glicth@@5uphi
@oof108
@oof108 8 ай бұрын
but anyway i need say for you thank you. for this video i just learn more items, and i understand more items from this video. i hope you make your progect succes, and make more videos like this:), good luke.@@5uphi
@MisterFX993
@MisterFX993 2 жыл бұрын
Okay, so i have 2 problems. First in the LocalScript at the 69th row "playersService" is a warning. And the warning is "Unknown Global". The second problem is that, when i test the game, I can move the target with my mouse, but I can't cut/slice. I triple checked the Scripts If i missed something, but I didn't saw anything wrong except the "Unknown Global" thing. The only thing that can cause the error is probably the "Slice" folder. I just putted parts I wanted to cut/slice. And I don't know how to fix it. Any solutions?
@5uphi
@5uphi 2 жыл бұрын
if you message in discord showing what you have done maybe i can help you
@bluecoding2506
@bluecoding2506 Жыл бұрын
24:33 Just Saving My Time 😁
@awakenedbac
@awakenedbac 2 жыл бұрын
is there anyone that made it a require script i would love to use it on some games
@mythored8054
@mythored8054 Жыл бұрын
Whts the major difference between a weld and an attachment in roblox studio
@5uphi
@5uphi Жыл бұрын
a attachment is a CFrame that is relative to a BasePart attachments on there own don't really do anything just indicate a position and orientation relative the the parent weld lets you weld BaseParts together
@Bodi3546
@Bodi3546 Жыл бұрын
i don't know if i missed a step but when i cut any part in half it just shows the face of where i cut it from as gray even tho the part has a diffrent color. but in the thumbnail i can see you cut a union with diffrent colors?
@jenicke123
@jenicke123 4 ай бұрын
You'll need to set the union's "UsePartColor" property to true to make all sides of the union have the same color.
@redsusoverparadise2700
@redsusoverparadise2700 Жыл бұрын
Time to make MGRR Blade Mode at home
@yourlocald3clips188
@yourlocald3clips188 2 жыл бұрын
he took anime swords a bit too far lol
@sebalby34
@sebalby34 Жыл бұрын
what if i want it to cut the player too? so it can be used for fighing?
@5uphi
@5uphi Жыл бұрын
Simply allow the RayInstance for any part you want to slice
@reallokndo6208
@reallokndo6208 2 жыл бұрын
dude ur typing is insane, could u make a tutorial on how to use car acceleration sounds with 1.5 chassis in toolbox instead of loops for car sounds? if its possible
@bubbado3667
@bubbado3667 2 жыл бұрын
I don’t think he is typing pretty sure it’s a macro
Flying Physics - Roblox Scripting Tutorial
45:54
Suphi Kaner
Рет қаралды 47 М.
The 4 Stages Of A Roblox Scripter | Roblox Studio
10:05
Ludius
Рет қаралды 6 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 9 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,9 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
The ONLY Raycasting Tutorial You'll EVER NEED
23:54
script_ing
Рет қаралды 23 М.
The Basics of Perlin Noise | Roblox Studio Tutorial
27:05
How pro Roblox developers learnt to script
10:03
AlvinBlox
Рет қаралды 856 М.
Making a ROBLOX game with its new AI
6:28
DeHapy
Рет қаралды 786 М.
How One Memory Leak Can Kill Your Game
7:09
ByteBlox
Рет қаралды 28 М.
Can 2 DEVS Make A SURVIVAL Game in 24 Hours? (Roblox)
12:03
How To EASILY Make Procedural Animations In Roblox
6:46
Pushing Roblox Studio To Its Limits
10:28
ByteBlox
Рет қаралды 212 М.
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 4,9 МЛН