The developer channel of Stuffy. I upload coding tutorials, showcases, and overall anything that has to do with game development. This channel is currently based around Roblox Studio, but I'm looking to expand the scope of this channel into Unity and Unreal Engine in the future! If you like the content, then make sure to subscribe!
Пікірлер
dosent work
You should add animations to it like Firing, Aiming, and Reload. Also Crouching and lying down.
can you make a tutorial on how to make melee items?
come on quit bro you scammer
Alright, Mr. Stuffy Dev, the gun works and all, but I want other players to see the gun because it currently looks like the player is holding nothing. Also, could you please make another video showing how to add animations for reloading and shell ejection? Thank you!
The only way I can see phantom forces falling out of popularity is high ranks making new players not want to keep playing. I don't really think that this will happen any time soon though, considering most high ranks are either just doing movetech or using weird setups. Even if you are a new player in a game with someone doing high kill games there are still enough people to feel like you aren't getting killed as much. I guess metro and maybe warehouse might be a bit annoying if you are getting spawntrapped but even on the maps where the spawns are unbalanced, they still have ways to flank and get out of the spawntrap easily.
For the people who say it doesn’t work make sure you named everything right, it pains me to see all of these people not figuring this out 🥲
does not work
it was working but then it completely broke for some reason
Hey i have a problem where the script just removed the whole view model and does not work anymore with the actual gun script , i followed both guides and everything is correct but its just simply not working. In the local script where it says "if held then" it says there is a error in the held part
Hey I just finished making this and I noticed something and I’m wondering if there’s any way to fix it at all even but it clips through walls. Idk if it’s possible to fix it without completely deleting it and just adding an overlay but I just wanted ask that
local player = game.Players.LocalPlayer local button = script.Parent local TextLabel = game.StarterGui.ScreenGui.Boi local blur = game.Lighting.Blur TextLabel.Visible = true this will only take away the button. The label i couldn't get rid off button.Activated:Connect(function() blur.Enabled = false TextLabel.Visible = false button.Visible = false player.Visible = false end)
pls bullet tracer
bro ıts not workıng on me can u give me ur discord
tf, why would he give you his discord
How do i make it so that if all the enemies die, then the door opens. because I don't want people to just kill one and run from the other
local player = game.Player.LocalPlayer local button = script.Parent local blur = game.Lighting.Blur button.Activated:Connect(function( ) blur.Enabled = false player.PlayerGui.ScreenGui.TextLabel.Visible = false button.Visible = false end)
local player = game.Players.LocalPlayer local button = script.Parent local blur = game.Lighting.Blur button.Activated:Connect(function() blur.Enabled false player.PlayerGui.ScreenGui.TextLabel.Visible false button.Visible = false end)
It works but now its there the whole time like when im on roblox studio building Its on my screen and wont get off
after you die, the arm appears again, how do i fix this
BRO THIS HELPS SO MUUUCH I USED TO CALL A REMOTE TO CLIENT THEN SERVER THEN BACK TO CLIENT🎉🎉🎉
Please help me @StuffyDev when my tool is unequipped I still see the arms and the gun and I looked over my code and everything is right. If you need pictures please let me know and I can send them to you
and other ppl cant see the gun
This deserves more views also 0:04 was hilarious 😂😂
but how do i stop the player from spawning until that play is clicked
what the actuall fuck did you just say
is there a way to make the ViewModel have the clothing and skin colour of the user?
can u give us the script?
I'm stuck around the 5:00 mark because it won't let me touch the brick. i would put print everywhere but when I load into the game and I walk into the brick it wont do anything.
fixed it
This is bad, you can not animate the viewmodel!
you can rig it and then animate
Make gun reload animation please
no controversies
movement changes rip longjump
Best shooter rn better than cod and battle field rn
I dont really understand that bit on hwo to change fov number
thx for wasting 20 minutes of my life ._.
One little problem you need visuals for other players as the viewModel is only local sided and is not visible to other players.
what im saying do i put in normal script?
@@niksiisieki No - local scripts are the only ones able to access UserInputService. It'd error.
@@DivineFoxx nvm i used fe gun kit works so good
When I Click Play It Doesen't work
Its actually roblox Battlefield, not cod
what do i do if it shows up but its not connected to me?
I don’t know why but my gun and viewmodel is invisible every time i equip my gun
try using the model in the pinned comment
@@StuffyDev still doesn't work
6:16 "You can get the M4A1 in 10 minutes max" Its actually 0 minutes max because you get the gun in rank 0. 😂
I realized that when i hopped on the game after uploading this video 😅
team fortress 2 is something to look at when making a game: you have an exciting idea that hooks players by being fun and replayable by having multiple ways to play the game without being convoluted.
i enjoyed their april fools update yearly
can you please put the tool local script in like a pastebin its really hard to copy down
use the model in the pinned comment
@@StuffyDev thats not the script dumdum
local player = game.Players.LocalPlayer local button = script.Parent local blur = game.Lighting.Blur button.Activated:Connect(function() blur.Enabled = false script.Parent.Parent.Visible = false button.Visible = false end)
THIS WORK GUYSS!
This editing is studio level! Nice stuff!!!! 🎉
how to aim?
per mirare?
StuffyDev can you show How add mobile buttons To the Gun🤔
Hello StuffyDev Please can you Show how add mobile buttons to the weapon 😢
why this dont work? local tool = script.Parent local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local Camera = workspace.Camera local RunService = game:GetService("RunService") local uis = game:GetService("UserInputService") local mouse = player:GetMouse() local remote = script.Parent.BullerConnection local held = false mouse.Button1Down:Connect(function() held = true end) mouse.Button1Up:Connect(function() held = false end) local ViewModel local equipped = false tool.Equipped:Connect(function() equipped = true game.ReplicatedStorage.ViewModel:Clone().Parent = Camera end) tool.Unequipped:Connect(function() equipped = false ViewModel = Camera.ViewModel ViewModel:Destroy() end) local swaySF = CFrame.new() RunService.RenderStepped:Connect(function() if player.Character.Humanoid.Health <= 0 then if Camera:FindFirstChild("ViewModel") == nil then workspace.Camera.ViewModel:Destroy() end end if equipped == true then if Camera:FindFirstChild("ViewModel") ~= nil then Camera.ViewModel:SetPrimaryPartCFrame(Camera.CFrame) for i, v in pairs(Camera.ViewModel:GetChildren()) do if v:IsA("BasePart") then v.CanCollide = false end end local mouseDelta = uis:GetMouseDelta() / 50 local swayX = math.clamp(mouseDelta.X, -0.2, 0.2) local swayY = math.clamp(mouseDelta.Y, -0.2, 0.2) swayCF = swayCF:Lerp(CFrame.new(swayX, swayY, 0), .3) Camera.ViewModel:SetPrimaryPartCFrame(Camera.CFrame * swayCF) end end end) while true do repeat wait() until player.Character:FindFirstChild("M4A1") if held then mouseTarget = mouse.Hit.Position local raycastParams = RaycastParams.new() raycastParams.FilterDescendantsInstances = {player.Character} raycastParams.FilterType = Enum.RaycastFilterType.Blacklist local startPos = Camera.CFrame.Position local range = 500 local aimDirection = (mouseTarget - startPos).unit local size = .3 local result = workspace:Spherecast(startPos, size, aimDirection + range, raycastParams) if result then local hitPart = result.Instance -- the part the raycast hit local hitPos = result.Position -- the position where raycast hit local distance = (hitPos - startPos).Magnitude -- distance of our shot if hitPart then remote:FireServer(hitPart) end end local sound = script.Parent.Handle.Sound sound:Play() wait(.1) end end
0:01