local player = game.Players.LocalPlayer local mouse = player:GetMouse() local we = false
mouse.KeyDown:Connect(function(key) key = key:lower() if key == "e" then game.ReplicatedStorage.RemoteEvent:FireServer() -- soo idk how to do this can this be a --local script listing for u know the event?
local x = Instance.new("Part",workspace)
x.Shape = "Ball"
x.BrickColor = BrickColor.new("Maroon")
x.Transparency = .5
x.BottomSurface = "Smooth"
x.TopSurface = "Smooth"
x.CanCollide = false
x.Anchored = false
x.CFrame = player.Character.LowerTorso.CFrame * CFrame.new(0,0,-6)
local v = Instance.new("BodyVelocity",x)
v.Velocity = player.Character.Head.CFrame.lookVector * 90 --mouse.Hit.lookVector* 90
v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
local clone = game.Lighting.Fire:Clone()
clone.Parent = x
x.Name = "flame"
local boo = script.Parent.dmg.flame:Clone()
boo.Disabled = false
boo.Parent = x
wait(2)
x:Remove()
end
end)

1 comment
There was no attempt from you to accomplish this, moderation will be taken against this question.