Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-3

How do you show who killed you as a popup GUI?

Asked by 9 years ago

Okay, the picture I am looking at is the same general thing as Base Wars: The Land, so players can know who killed them. I started looking at it and this is what I got when I attempted to script it. Please help me out with this, it means alot. :)

Note: I want both to appear on the same popupGui.

local.findFirstChild
    function.onDeath.humanoid
    check.local.killer
        if killer(true) then
            local.Display.gui
        local.vector{1,0.5,1} color=(0/255/255)
    display.{USERNAME}.killer
        wait(5)


local.findHumanoid
    function.onDeath.humanoid
    check.local.(usedWeapon)
        if weapon(true) then
            local.Display.weapon
        local.vector{1,0.5,1} color=(0/255/255)
    display.{WEAPONNAME}.weapon
        wait(5)

end
    end
        end)

Thank you for any support. This is the first script I made without looking and copying others' stuff into it. Please help me touch it up so it pops up a GUI :)

1 answer

Log in to vote
3
Answered by
hudzell 238 Moderation Voter
9 years ago

There are SO many things wrong with this script. Sadly I have no idea what the heck is going on in there so I can't help. Maybe actually learn how to script Lua before you try to script in ROBLOX, because that is certainly not Lua, it's just a bunch of non-sense.

1
I know right! Michael007800 144 — 9y
0
lmao Damo999 182 — 9y
0
-.- JustGimmeDaBux 18 — 9y
Ad

Answer this question