Roblox Strucid KILLSAY SCRIPT

Roblox Strucid KILLSAY SCRIPT

Script By Averias

-- {name} => person who got killed by you
-- {studs} => number of studs

local Messages= {
   "{name} ur so bad";
   "{name} got killed from {studs}";
}

local GUI = game:GetService("Players").LocalPlayer.PlayerGui.MenuGUI
GUI.ChildAdded:Connect(function(Object)
   if Object.Name == "KillFeedFrame" then
       wait(1)
       local KilledBy = Object.FirstName.Text;
       local Victim = Object.SecondName.Text;
       local Studs = Object.Text2.Text;
       local Message = Messages[math.random(1, #Messages)]:gsub("{name}", Victim):gsub("{studs}", Studs);
       if KilledBy == game:GetService("Players").LocalPlayer.Name then
           game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Message, "All")
       end
   end
end)
%d bloggers like this: