local phone = game.Workspace.
phone
local CA = phone.Telephone.CallActivator
local player = game:GetService("Players").LocalPlayer
local hum = player.Character:WaitForChild("Humanoid")
local calltext = script.Parent.CallBorder.CallFrame.CallText
local callframe = script.Parent.CallBorder
local active = false
CA.Triggered:Connect(function()
if active == false then
CA:Destroy()
callframe.Visible = true
hum.WalkSpeed = 0
local function typewrite(object,text,lenght)
for i = 1,#text,1 do
object.Text = string.sub(text,1,i)
wait(lenght)
end
end
wait(1)
typewrite(calltext, "Well, well... enjoying the evening?", -01)
wait(2)
typewrite(calltext, "I have a new target for you, and this one is
pretty... I can say profitable.", -01)
wait(2)
typewrite(calltext, "So... are you in?", -01)
wait(2)
calltext.Text = " "
callframe.Visible = false
hum.WalkSpeed = 16
active = false
end
end)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.Character:Wait()
local humanoid = character:WaitForChild("Humanoid")
local canTouch = false
local PlayerAnimationFeedback =
require(ReplicatedStorage:WaitForChild("PlayerAnimationFeedback"))
local function onPartTouch(otherPart)
if humanoid and canTouch == false then
canTouch = true
wait(1)
PlayerAnimationFeedback:PlayAnimation()
canTouch = false
end
end
PlayerAnimationFeedback:LoadAnimation(humanoid)
local touchPartFolder = workspace:WaitForChild("TouchPartFolder")
local touchParts = touchPartFolder:GetChildren()
for objectIndex = 1, #touchParts do
local touchPart = touchParts[objectIndex]
touchPart.Touched:Connect(onPartTouch)
end
ragdoll
local prompt =
game.Workspace:FindFirstChild("lobby"):FindFirstChild("Telephone"):FindFirstChild("
ProximityPrompt")
local players = game:GetService("Players")
local player = game:GetService("Players").LocalPlayer
local hum = player.Character:WaitForChild("Humanoid")
local callframe = script.Parent.Parent:FindFirstChild("anonymousframe")
local calltext =
script.Parent.Parent:FindFirstChild("anonymousframe"):FindFirstChild("call")
local accept =
script.Parent.Parent:FindFirstChild("anonymousframe"):FindFirstChild("accept_btn")
local reject =
script.Parent.Parent:FindFirstChild("anonymousframe"):FindFirstChild("reject_btn")
hum.WalkSpeed = 0
hum.JumpPower = 0
local frame = script.Parent.Parent.Frame
local function fadeout()
wait(2)
repeat
frame.BackgroundTransparency = frame.BackgroundTransparency -
0.05;
wait(0.03)
until frame.BackgroundTransparency <= 0
end
local uis = game:GetService("UserInputService")
callframe.Visible = false
accept.Visible = false
reject.Visible = false
wait(2)
local function typewrite(object, text, length)
for i = 1,#text,1 do
object.Text = string.sub(text,1,i)
wait(length)
end
end
typewrite(script.Parent, "Ugh... the phone is ringing.", 0.07)
hum.WalkSpeed = 7
hum.JumpPower = 0
prompt.Triggered:Connect(function()
script.Parent.Text = " "
hum.JumpPower = 0
hum.WalkSpeed = 0
prompt:Destroy()
script.Parent.Visible = false
callframe.Visible = true
typewrite(calltext, "Hello, hello... disturbed your sleep?",0.045)
wait(1)
typewrite(calltext, "I have new mission for you and this one is pretty, I can
say... profitable", 0.045)
wait(1)
typewrite(calltext, "What do you think?", 0.045)
wait(1)
accept.Visible = true
reject.Visible = true
accept.MouseButton1Click:Connect(function()
accept.Visible = false
reject.Visible = false
typewrite(calltext, "Excellent...", 0.05)
fadeout()
game:GetService("TeleportService"):Teleport(16152308493)
end)
reject.MouseButton1Click:Connect(function()
accept.Visible = false
reject.Visible = false
typewrite(calltext, "...", 0.07)
wait(1)
typewrite(calltext, "What do you mean?", 0.05)
wait(1)
typewrite(calltext, "I hired you for a reason and you dare to
dissapoint me like this.", 0.045)
wait(1)
typewrite(calltext, "You're fired.", 0.05)
wait(1)
game.Players.LocalPlayer:Kick("You're fired...")
end)
uis.InputBegan:Connect(function(Key)
if Key.KeyCode == Enum.KeyCode.X then
accept.Visible = false
reject.Visible = false
typewrite(calltext, "...", 0.07)
wait(1.5)
typewrite(calltext, "What do you mean?", 0.05)
wait(1)
typewrite(calltext, "I hired you for a reason and you dare to
dissapoint me like this.", 0.045)
wait(1)
typewrite(calltext, "You're fired.", 0.045)
wait(1)
game.Players.LocalPlayer:Kick("You're fired...")
end
if Key.KeyCode == Enum.KeyCode.O then
accept.Visible = false
reject.Visible = false
wait()
typewrite(calltext, "Excellent...", 0.05)
fadeout()
game:GetService("TeleportService"):Teleport(16423735228)
end
end)
end)
comanda hecuri
game:GetService("InsertService"):LoadAsset(assetId).Parent = game.Workspace