Now the tornado wont hit any thing at all!
why...………?
local Remote = game.ReplicatedStorage:WaitForChild("ElementalEvents").WindEvent.Move1Event local tbl = {} local hithum = false Remote.OnServerEvent:Connect(function(player) hithum = false local tor = game.ReplicatedStorage.tornado:Clone() local char = player.Character local hum = char:WaitForChild("Humanoid") tor.Parent = game.Workspace tor.CFrame = char.HumanoidRootPart.CFrame tor.Touched:Connect(function(hit) local ehum = hit and hit.Parent:FindFirstChild("Humanoid") if ehum and ehum ~= hum then print("hityou!") --if hithum == false then --hithum = true ehum:TakeDamage(10) -- wait(.5) ----hithum = false end wait(5) tor:Destroy() end) end)
it spawns and twirls around but when I hit someone it does no damage. help me.