GnomeCode

GnomeCode

I make things in Roblox, and make videos about making those things.

Join our community of Gnomes to boost your game dev knowledge, and have fun while you do it!

Пікірлер

  • @greatenfl
    @greatenfl10 сағат бұрын

    when i try to place the towers down nothing happens i dont get any errors, this happened in the tower stats updating part

  • @ninjadj4826
    @ninjadj482611 сағат бұрын

    IVE FINNALLY MANAGED TO FINISH THIS TUTORIAL, THANKS GOD It took me several attemps on several years, DANG IT WAS HARD TO FIND THE PROBLEM

  • @Kaydenshorts72
    @Kaydenshorts7212 сағат бұрын

    Great video although every time i try to animate it says primary part must be set

  • @TheCetShorts
    @TheCetShorts12 сағат бұрын

    1:00:03

  • @cloutzclaotz5517
    @cloutzclaotz551712 сағат бұрын

    25:18 Save

  • @user-hf8ep3ch6b
    @user-hf8ep3ch6b15 сағат бұрын

    i suck at scripting im stuck on the first part

  • @MichaelJacksonimperson
    @MichaelJacksonimperson16 сағат бұрын

    leaving my timecode for tommorow :D 11:28

  • @Fuszek.
    @Fuszek.16 сағат бұрын

    15:01

  • @TheCetShorts
    @TheCetShorts17 сағат бұрын

    45:03

  • @hiyesimhi
    @hiyesimhi18 сағат бұрын

    My upgrade button isnt displaying the upgrade value and its not disappearing when it’s at max level anyone know why? (I know I’m late)

  • @doomslayar
    @doomslayar18 сағат бұрын

    Only first wave spawns and second doesnt. I cant find the problem

  • @ricardojure4177
    @ricardojure417719 сағат бұрын

    Thank you so much for making these tutorials. I learned a lot from watching your videos but i've had too many issues with the game im making with your tutorials i just decided to quit. but thank you so much.

  • @stanisawantosiewicz1274
    @stanisawantosiewicz127420 сағат бұрын

    My zombie doesn't move after i test play

  • @AnimatorVibes
    @AnimatorVibes21 сағат бұрын

    why is it saying requested module experienced an error while loading

  • @yusufgaming5544
    @yusufgaming554421 сағат бұрын

    THE zombie keeps getting stuck and it didnt work

  • @WxterMxlonie
    @WxterMxlonie21 сағат бұрын

    15:45 my bookmark 😭

  • @Jaques-Eggs
    @Jaques-Eggs21 сағат бұрын

    10:00 i think i royally f_cked up, there are no zombies

  • @kiefsOnlinegames
    @kiefsOnlinegames22 сағат бұрын

    6:32

  • @commoxgame1528
    @commoxgame152823 сағат бұрын

    How to fix "HumanoidRootPart is not a valid member of Model 'blank' " in Tower script

  • @Chiseler_Cheezets
    @Chiseler_Cheezets23 сағат бұрын

    10:24 mark

  • @SpicyMilk2005
    @SpicyMilk2005Күн бұрын

    Yeah, I feel your pain.

  • @bocchicovers
    @bocchicoversКүн бұрын

    Gnomo my room script stop working idk why i maded everything right

  • @liam9489
    @liam9489Күн бұрын

    i got this error and i have know idea how to fix it : ServerScriptService.Server.CHILD:7: attempt to index nil with 'Position'

  • @sniper-rw9bk
    @sniper-rw9bkКүн бұрын

    thanks so much :D

  • @zanderthegamer1
    @zanderthegamer1Күн бұрын

    Do seek next

  • @Blue-y
    @Blue-yКүн бұрын

    For some reason it doesnt work for me, the zombie doesnt wanna move even though i followed the steps in the video

  • @ROMDURO
    @ROMDUROКүн бұрын

    My towers are sized down to 0.4 which is what i think is making the placeholder range part be smaller than the actual range until it is placed, how could i fix this?

  • @kenoultimate
    @kenoultimateКүн бұрын

    my zombie doesn't move): what do I do to solve it?

  • @WarningDrills
    @WarningDrillsКүн бұрын

    Goal scoring Machine script expired

  • @marziehfarajian888
    @marziehfarajian888Күн бұрын

    I have 3 problems, 2 errors which are: Mobs is not a valid member of Workspace "Workspace" and Mob is not a valid member of Folder "Workspace.Grassland" and whatever this means: SetPartCollisionGroup is deprecated, please use BasePart.CollisionGroup instead.

  • @marziehfarajian888
    @marziehfarajian888Күн бұрын

    if anyone can help me out that would be great, because now, nothing is spawning or moving.

  • @graywordzelgadis
    @graywordzelgadis23 сағат бұрын

    for i, object in ipairs(newMob:GetDescendants()) do if object:IsA("BasePart") then object.CollisionGroup = "Mob" end end (it's for them to don't collide the (mob) and check everything for the "Mob" problem because it worked for me)

  • @safgsafj2685
    @safgsafj2685Күн бұрын

    went into this with NO lua experience and now i can comfortably edit the scripts on my own amazing tutorials gnome!

  • @Ronconisanidiot
    @RonconisanidiotКүн бұрын

    TYSM it worked!!!

  • @DreamWorksStudios.
    @DreamWorksStudios.Күн бұрын

    If anyone needs scripts here; GAME CONTROLLER SCRİPT = local PhysicsService = game:GetService("PhysicsService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local events = ReplicatedStorage:WaitForChild("Events") local towers = ReplicatedStorage:WaitForChild("Towers") local spawnTowerEvent = events:WaitForChild("SpawnTower") local camera = workspace.CurrentCamera local gui = script.Parent local towerToSpawn = nil local canPlace = false local rotation = 0 local function MouseRaycast(blacklist) local mousePosition = UserInputService:GetMouseLocation() local mouseRay = camera:ViewportPointToRay(mousePosition.X, mousePosition.Y) local raycastParams = RaycastParams.new() raycastParams.FilterType = Enum.RaycastFilterType.Blacklist raycastParams.FilterDescendantsInstances = blacklist local raycastResult = workspace:Raycast(mouseRay.Origin, mouseRay.Direction * 1000, raycastParams) return raycastResult end local function RemovePlaceHolderTower() if towerToSpawn then towerToSpawn:Destroy() towerToSpawn = nil rotation = 0 end end local function AddPlaceHolderTower(name) local towerExist = towers:FindFirstChild(name) if towerExist then RemovePlaceHolderTower() towerToSpawn = towerExist:Clone() towerToSpawn.Parent = workspace.Towers for i, object in ipairs(towerToSpawn:GetDescendants()) do if object:IsA("BasePart") then PhysicsService:SetPartCollisionGroup(object, "Tower") object.Material = Enum.Material.ForceField end end end end local function ColorPlaceHolderTower(color) for i, object in ipairs(towerToSpawn:GetDescendants()) do if object:IsA("BasePart") then object.Color = color end end end gui.Spawn.Activated:Connect(function() AddPlaceHolderTower("Jack") end) UserInputService.InputBegan:Connect(function(input, processed) if processed then return end if towerToSpawn then if input.UserInputType == Enum.UserInputType.MouseButton1 then if canPlace then spawnTowerEvent:FireServer(towerToSpawn.Name, towerToSpawn.PrimaryPart.CFrame) RemovePlaceHolderTower() end elseif input.KeyCode == Enum.KeyCode.R then rotation += 90 end end end) RunService.RenderStepped:Connect(function() if towerToSpawn then local result = MouseRaycast({towerToSpawn}) if result and result.Instance then if result.Instance.Parent.Name == "TowerArea" then canPlace = true ColorPlaceHolderTower(Color3.new(0,1,0)) else canPlace = false ColorPlaceHolderTower(Color3.new(1,0,0)) end local x = result.Position.X local y = result.Position.Y + towerToSpawn["Left Leg"].Size.Y + (towerToSpawn.PrimaryPart.Size.Y/1) local z = result.Position.Z local cframe = CFrame.new(x,y,z) * CFrame.Angles(0, math.rad(rotation), 0) towerToSpawn:SetPrimaryPartCFrame(cframe) end end end) TOWER SCRİPT = local PhysicsService = game:GetService("PhysicsService") local ServerStorage = game:GetService("ServerStorage") local ReplicatedStorage = game:GetService("ReplicatedStorage") local events = ReplicatedStorage:WaitForChild("Events") local spawnTowerEvent = events:WaitForChild("SpawnTower") local tower = {} function tower.Spawn(player, name, cframe) local towerExists = ReplicatedStorage.Towers:FindFirstChild(name) if towerExists then local newTower = towerExists:Clone() newTower.HumanoidRootPart.CFrame = cframe newTower.Parent = workspace.Towers newTower.HumanoidRootPart:SetNetworkOwner(nil) for i, object in ipairs(newTower:GetDescendants()) do if object:IsA("BasePart") then object.CollisionGroup = "Tower" end end else warn("Tower not found:", name) end end spawnTowerEvent.OnServerEvent:Connect(tower.Spawn) return tower

  • @TheCetShorts
    @TheCetShortsКүн бұрын

    52:14

  • @Skattle.
    @Skattle.Күн бұрын

    Make the wheel inside the car turn!!!!

  • @AltFL-mp4xg
    @AltFL-mp4xgКүн бұрын

    its rick grimes

  • @user-rd9mj7qj5y
    @user-rd9mj7qj5yКүн бұрын

    9:41

  • @Aegean12345
    @Aegean12345Күн бұрын

    my zombies wont get destroyed can someone try to give me ideas of whats wrong please

  • @MichaelJacksonimperson
    @MichaelJacksonimpersonКүн бұрын

    (saving my timestap for myself :D) 24:53