I've created a script where when you press q, you create a blast or whatever. My point is, the thing doesn't move when you press q.
So it just sits there. Image: https://gyazo.com/06c5ba2c451f785d3a8bdd2e6d986e1b
My script:
player = game.Players.LocalPlayer
mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
key = key:lower()
if key == "q" then
if player.DevilFruit.Value == "Smoke" then
for i = 1,1 do -- i know i dont need this here
game:GetService("Chat"):Chat(player.Character.Head, "SmokeySmoke!11")
f=Instance.new("Part", game.Workspace)
f.Size = Vector3.new(23,23,23)
f.Anchored = false
f.BrickColor = BrickColor.new("White")
f.Transparency = 0.3
f.Name = "Smokepush"
f.TopSurface = "Smooth"
f.BottomSurface = "Smooth"
f.CanCollide = false
f.CFrame = player.Character.Torso.CFrame * CFrame.new(0,0,-5+-i)
local ow = Instance.new("StringValue", f)
ow.Name = "Owner"
ow.Value = player.Name
local fi = Instance.new("Smoke", f)
fi.Size = 10
fi.RiseVelocity = 25
fi.Opacity = 1
fi.Enabled = true
--game.ReplicatedStorage.MeraDmg2:Clone().Parent = f
local y = Instance.new("BodyVelocity", f)
y.maxForce = Vector3.new(math.huge,math.huge,math.huge)
y.velocity = player.Character.Torso.CFrame.lookVector*80
end
end
end
end)

3 comments
Try increasing y.velocity to larger values. Maybe it's moving it, but too slowly to see.
A 23x23x23 block is 12167 units heavy. You should definitely increase the velocity. In addition, it may also be stuck in the ground.
Yeah, that worked. Thanks.