mewishmeww

Pro

Jul 28th, 2023 (edited)
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.42 KB | None | 0 0
  1. local killSounds = {"rbxassetid://150184992","rbxassetid://150184965"}
  2. local playerTo = owner
  3.  
  4. local running = false
  5.  
  6. function start(plr)
  7.     running = true
  8.     local char = plr.Character
  9.     local sound = Instance.new("Sound")
  10.     sound.Parent = workspace
  11.     sound.SoundId = "rbxassetid://5077336384"
  12.     sound:Play()
  13.     task.wait(0.5)
  14.     local plrs = game.Players:GetChildren()
  15.     for i=1, #plrs do
  16.         if plrs[i] ~= nil and plrs[i]:FindFirstChild("PlayerGui") then
  17.             char.Archivable = true
  18.         local kl = char:Clone()
  19.         local current = plrs[i]
  20.         local sg = Instance.new("ScreenGui")
  21.         sg.Parent = current.PlayerGui
  22.         sg.IgnoreGuiInset = true
  23.         local vp = Instance.new("ViewportFrame")
  24.         kl.Parent = vp
  25.         vp.Parent = sg
  26.         vp.Size = UDim2.new(1,0,1,0)
  27.         vp.BackgroundColor3 = Color3.new(0,0,0)
  28.         vp.LightDirection = Vector3.new(-1,-1,-1)
  29.         vp.Ambient = Color3.fromRGB(54, 54, 54)
  30.         local camera = Instance.new("Camera")
  31.         camera.CFrame = kl.Head.CFrame + kl.Head.CFrame.LookVector*3
  32.         camera.CFrame = CFrame.lookAt(camera.CFrame.Position,kl.Head.Position)
  33.         vp.CurrentCamera = camera
  34.         delay(1, function()
  35.             game:GetService("TweenService"):Create(vp,TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0), {Transparency = 1,ImageTransparency = 1}):Play()
  36.             delay(1, function()
  37.                 sg:Destroy()
  38.             end)
  39.         end)
  40.         end
  41.     end
  42.     local ch = char:GetChildren()
  43.     for i=1, #ch do
  44.         if ch[i].ClassName == "Part" then
  45.             ch[i].Transparency = 1
  46.             if ch[i]:FindFirstChildWhichIsA("Decal") then
  47.                 ch[i]:FindFirstChildWhichIsA("Decal"):Destroy()
  48.             end
  49.         end
  50.         if ch[i].ClassName == "Accessory" then
  51.             if ch[i]:FindFirstChildWhichIsA("Part") then
  52.                 ch[i]:FindFirstChildWhichIsA("Part").Transparency = 1
  53.             end
  54.         end
  55.     end
  56.     char.Humanoid.DisplayDistanceType = "None"
  57.     game.Lighting.ClockTime = 0
  58.     game.Lighting.GeographicLatitude = 100
  59.    
  60.     plr.Chatted:Connect(function(msg)
  61.         if msg == "%stop%" then
  62.             local sound = Instance.new("Sound")
  63.             sound.Parent = workspace
  64.             sound.SoundId = "rbxassetid://635822826"
  65.             sound:Play()
  66.             game:GetService("TweenService"):Create(game.Lighting,TweenInfo.new(3,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0), {ClockTime = 14.5,GeographicLatitude = 0}):Play()
  67.             plr:LoadCharacter()
  68.             running = false
  69.         end
  70.     end)
  71. end
  72.  
  73. playerTo.Chatted:Connect(function(msg)
  74.     if string.find(string.lower(msg),"you should have not done that") and not running then
  75.         start(playerTo)
  76.     end
  77. end)
Advertisement
Add Comment
Please, Sign In to add comment