There is a local script that I use to fire the “Edere” event, but I know it is not the issue as I get an error for the server script.
local player = game.Players.LocalPlayer
local debounce = false
local character = player.Character
local root = character.HumanoidRootPart
local mouse = player:GetMouse()
local UIS = game:GetService("UserInputService")
local fireevent = game.ReplicatedStorage.Edere
local spell = false
player.Chatted:Connect(function(msg)
if string.find(msg:lower(),"edere") ~= nil and debounce == false and spell == false then
spell = true
end
end)
mouse.Button1Down:Connect(function()
local mousetarg = mouse.Target
if mouse.Target:IsA("BasePart") then
if mouse.Target.Parent.Humanoid and debounce == false and spell == true then
debounce = true
fireevent:FireServer(mousetarg)
wait(2)
spell = false
debounce = false
print("cooldown over!!")
end
end
end)
I tried this and unfortunately they didn’t come towards me, they just stayed in place. The animation played though and they ragdolled. Thank you though