Any issues or suggestions you have please comment them below
@Stickman_editsshorts10 күн бұрын
it doesnt work
@Stickman_editsshorts10 күн бұрын
it keeps saying Attempted to call require with invalid argument(s).
@Why-Just10 күн бұрын
@Stickman_editsshorts did you name your modules correctly?
@Stickman_editsshorts9 күн бұрын
@@Why-Just nvm i fixed it
@ab829145 ай бұрын
Thanks it works
@Why-Just5 ай бұрын
@@ab82914 you're welcome!
@scoopyjscoopers14182 күн бұрын
do i have to change the tower name each module or just keep it that way
@Why-JustКүн бұрын
@@scoopyjscoopers1418 you name the modules after the tower name
@NewAltAkuan11 ай бұрын
This gonna be useful for me because I use 2 types of projectiles which are projectile or/and aim-scan, if I'm done, thank you! edit: I think it's done, hopefully nothing wrong edit2: I wanna say ありがとうございます!
@Why-Just11 ай бұрын
You're welcome
@mathoe12311 ай бұрын
no music?
@wabadylan21324 ай бұрын
W tutorial
@JustMaD0 Жыл бұрын
What does changed, I didn't got
@Why-Just Жыл бұрын
If you changed nothing then there would be no change, this tutorial is mainly to open the door for new tower types like farms (tutorial on that soon)
@JustMaD0 Жыл бұрын
@@Why-Just Useless cuz that's no needed for other type of towers.
@Why-Just Жыл бұрын
@@JustMaD0 while that is correct to a extent, this tower system allows for these tower types to be more efficient, for example if you wanted a spawner tower you'd need to put a script in it, however with this new version you can have the module spawn them instead which can improve performance a good bit
@RobloxRobotic9 ай бұрын
yo dude when i make my towers small is not being able to animate can u make a tutorial on how to fix it? Pls
@Why-Just9 ай бұрын
Odd I never had that issue, can I have specific details on what's happening?
@RobloxRobotic9 ай бұрын
Look at the script its all fine but it dosent work! local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local events = ReplicatedStorage:WaitForChild("Events") local animateTowerEvent = events:WaitForChild("AnimateTower") local function fireProjectile(tower, target) local projectile = Instance.new("Part") projectile.Size = Vector3.new(1,1,1) projectile.CFrame = tower.Head.CFrame projectile.Anchored = true projectile.CanCollide = false projectile.Transparency = 1 projectile.Parent = workspace.Camera local fire = Instance.new("Fire") fire.Size = 2 fire.Heat = 0.1 fire.Color = tower.Config.Trail.Value fire.Parent = projectile local projectileTween = TweenService:Create(projectile, TweenInfo.new(0.5), {Position = target.HumanoidRootPart.Position}) projectileTween:Play() Debris:AddItem(projectile, 0.5) end local function setAnimation(object, animName) local humanoid = object:WaitForChild("Humanoid") local animationsFolder = object:WaitForChild("Animations") if humanoid and animationsFolder then local animationObject = animationsFolder:WaitForChild(animName) if animationObject then local animator = humanoid:FindFirstChild("Animator") or Instance.new("Animator", humanoid) local playingTracks = animator:GetPlayingAnimationTracks() for i, track in pairs(playingTracks) do if track.Name == animName then return track end end local animationTrack = animator:LoadAnimation(animationObject) return animationTrack end end end local function playAnimation(object, animName) local animationTrack = setAnimation(object, animName) if animationTrack then animationTrack:Play() else warn("Animation track does not exist") return end end workspace.Mobs.ChildAdded:Connect(function(object) playAnimation(object, "Walk") end) workspace.Towers.ChildAdded:Connect(function(object) playAnimation(object, "Idle") end) animateTowerEvent.OnClientEvent:Connect(function(tower, animName, target) playAnimation(tower, animName) if target then if tower.Config:FindFirstChild("Trail") then fireProjectile(tower, target) end tower.HumanoidRootPart.Attack:Play() end end) There is nothing wrong i even watched the animation tutorial but STILL did not work :(
@Why-Just9 ай бұрын
@@RobloxRobotic is the issue with the attack animation or animations in general?
@RobloxRobotic9 ай бұрын
all animations in general
@Why-Just9 ай бұрын
@@RobloxRobotic I am so sorry but I have no idea what could possibly be wrong, maybe try adding some prints to see where the code isn't working?
@Those2Monkeys8 ай бұрын
how do you get your projectiles like that?
@Why-Just8 ай бұрын
I have a folder on replicated storage holding projectiles then I use them whenever a tower requires em