the local script in starter pack
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local we = false
mouse.KeyDown:Connect(function(key) -- lol i tryed keyheld ;-;
key = key:lower()
if key == "e" then
game.ReplicatedStorage.RemoteEvent:FireServer()
end
end)
the reg script in work place
--this is the script one who is listing
-- just a script in workplace
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function()
game.Players.PlayerAdded:Connect(function(player)
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
local we = false
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)

3 comments
I believe the fireserver function has to have an argument, as well as the onserverevent function... try that.
If incapaz helped you, you should accept his answer.
nvm i thought i did