1 | local lulas=game;local workspaxe=workspace; |
2 | local _1=math.random(1,10);local _2=math.random(1,100);local _3=math.random(1,1000); |
3 | local holup=wait; |
4 | local _0=print; |
5 | local mystery="mysterious numbers: "; |
6 | |
7 | --[alert]-- |
8 | local function alert(say_lulaslollipop,say_RRixh);local notifikation=Instance.new("Message");notifikation.Text=say_lulaslollipop or say_RRixh;local lollypops=lulas.Workspace;notifikation.Parent=lollypops; |
9 | holup(3);notifikation:Destroy(); |
10 | end;rrixh=alert;say=alert;msg=alert; |
11 | |
12 | local function shoutPart(player,message) |
13 | if player and player.Character and player.Character:FindFirstChildOfClass("Humanoid") then |
14 | say("u stepped on a part"..message); |
15 | _0(mystery, _1,_2,_3); |
16 | end |
17 | end |
18 | |
19 | --nigga steps on part |
20 | local function touxhed(part, hit) |
21 | local robloxNigga = hit.Parent |
22 | if robloxNigga and robloxNigga:FindFirstChildOfClass("Humanoid") then |
23 | local kookiemonster = lulas.Players:GetPlayerFromCharacter(robloxNigga) |
24 | if kookiemonster then |
25 | local steppedOnPart = part.Parent and part.Parent:IsA("Model") and part.Parent.Name or part.Name; |
26 | shoutPart(kookiemonster, " stepped on: " .. steppedOnPart); |
27 | --kustom notif |
28 | holup(2); |
29 | alert(kookiemonster, "u stepped on part: " ..steppedOnPart) |
30 | end |
31 | end |
32 | end |
33 | |
34 | -- konnekg touxh event to all parts in the workspaxe |
35 | local function partTouxhed__skript__by__lulaslollipop() |
36 | for _, part in ipairs(workspaxe:GetDescendants()) do |
37 | if part:IsA("BasePart") then |
38 | part.Touched:Connect(function(hit) |
39 | touxhed(part, hit) |
40 | end) |
41 | end |
42 | end |
43 | end; |