when i try to place the towers down nothing happens i dont get any errors, this happened in the tower stats updating part
@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
@Kaydenshorts7212 сағат бұрын
Great video although every time i try to animate it says primary part must be set
@TheCetShorts12 сағат бұрын
1:00:03
@cloutzclaotz551712 сағат бұрын
25:18 Save
@user-hf8ep3ch6b15 сағат бұрын
i suck at scripting im stuck on the first part
@MichaelJacksonimperson16 сағат бұрын
leaving my timecode for tommorow :D 11:28
@Fuszek.16 сағат бұрын
15:01
@TheCetShorts17 сағат бұрын
45:03
@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)
@doomslayar18 сағат бұрын
Only first wave spawns and second doesnt. I cant find the problem
@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.
@stanisawantosiewicz127420 сағат бұрын
My zombie doesn't move after i test play
@AnimatorVibes21 сағат бұрын
why is it saying requested module experienced an error while loading
@yusufgaming554421 сағат бұрын
THE zombie keeps getting stuck and it didnt work
@WxterMxlonie21 сағат бұрын
15:45 my bookmark 😭
@Jaques-Eggs21 сағат бұрын
10:00 i think i royally f_cked up, there are no zombies
@kiefsOnlinegames22 сағат бұрын
6:32
@commoxgame152823 сағат бұрын
How to fix "HumanoidRootPart is not a valid member of Model 'blank' " in Tower script
@Chiseler_Cheezets23 сағат бұрын
10:24 mark
@SpicyMilk2005Күн бұрын
Yeah, I feel your pain.
@bocchicoversКүн бұрын
Gnomo my room script stop working idk why i maded everything right
@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Күн бұрын
thanks so much :D
@zanderthegamer1Күн бұрын
Do seek next
@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Күн бұрын
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Күн бұрын
my zombie doesn't move): what do I do to solve it?
@WarningDrillsКүн бұрын
Goal scoring Machine script expired
@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Күн бұрын
if anyone can help me out that would be great, because now, nothing is spawning or moving.
@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Күн бұрын
went into this with NO lua experience and now i can comfortably edit the scripts on my own amazing tutorials gnome!
@RonconisanidiotКүн бұрын
TYSM it worked!!!
@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Күн бұрын
52:14
@Skattle.Күн бұрын
Make the wheel inside the car turn!!!!
@AltFL-mp4xgКүн бұрын
its rick grimes
@user-rd9mj7qj5yКүн бұрын
9:41
@Aegean12345Күн бұрын
my zombies wont get destroyed can someone try to give me ideas of whats wrong please
Пікірлер
when i try to place the towers down nothing happens i dont get any errors, this happened in the tower stats updating part
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
Great video although every time i try to animate it says primary part must be set
1:00:03
25:18 Save
i suck at scripting im stuck on the first part
leaving my timecode for tommorow :D 11:28
15:01
45:03
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)
Only first wave spawns and second doesnt. I cant find the problem
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.
My zombie doesn't move after i test play
why is it saying requested module experienced an error while loading
THE zombie keeps getting stuck and it didnt work
15:45 my bookmark 😭
10:00 i think i royally f_cked up, there are no zombies
6:32
How to fix "HumanoidRootPart is not a valid member of Model 'blank' " in Tower script
10:24 mark
Yeah, I feel your pain.
Gnomo my room script stop working idk why i maded everything right
i got this error and i have know idea how to fix it : ServerScriptService.Server.CHILD:7: attempt to index nil with 'Position'
thanks so much :D
Do seek next
For some reason it doesnt work for me, the zombie doesnt wanna move even though i followed the steps in the video
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?
my zombie doesn't move): what do I do to solve it?
Goal scoring Machine script expired
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.
if anyone can help me out that would be great, because now, nothing is spawning or moving.
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)
went into this with NO lua experience and now i can comfortably edit the scripts on my own amazing tutorials gnome!
TYSM it worked!!!
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
52:14
Make the wheel inside the car turn!!!!
its rick grimes
9:41
my zombies wont get destroyed can someone try to give me ideas of whats wrong please
(saving my timestap for myself :D) 24:53