Advertisement
ZHFK

Wormface

Dec 12th, 2020
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.84 KB | None | 0 0
  1. local touch = game.Players.LocalPlayer.Character.HumanoidRootPart.StarterWorm.Head:WaitForChild("TouchInterest")
  2. while wait(0.1) do
  3.    if touch then
  4.        touch:Destroy()
  5.        print("destroyed")
  6.    end
  7. end
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  _G.autorebirth = false
  15.  
  16. function a()
  17.    wait(0.5)
  18.    for _,v in pairs(workspace:GetDescendants()) do
  19.        if v:IsA("TouchTransmitter") then
  20.            if game.Players.LocalPlayer.Character:FindFirstChild("Head") and v then
  21.                firetouchinterest(game.Players.LocalPlayer.Character.Head, v.Parent, 0)
  22.                firetouchinterest(game.Players.LocalPlayer.Character.Head, v.Parent, 1)
  23.            else
  24.                a()
  25.                break;
  26.            end
  27.        end
  28.    end
  29.    if autorebirth then
  30.        game:GetService("ReplicatedStorage").RebirthRequest:InvokeServer()
  31.    end
  32.    a()
  33. end
  34. a()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement