Advertisement
Synpase_X

test

Feb 24th, 2024 (edited)
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.68 KB | None | 0 0
  1.  
  2. player = workspace.FrameTamerFan
  3. hum = player:WaitForChild("Humanoid")
  4. myname = "FrameTamerFan"
  5. --tool
  6. tool = Instance.new("Tool")
  7. tool.Parent = player
  8. tool.Name = "Forcefield"
  9. handle1 = Instance.new("Part")
  10. handle1.Parent = tool
  11. handle1.Name = "Handle"
  12. handle1.Size = Vector3.new(5,0.1,5)
  13.     handle1.Touched:Connect(function(p)
  14.         sound = Instance.new("Sound",workspace)
  15.         sound.SoundId = "rbxassetid://3165517523"
  16.         sound.Volume = 100
  17.         sound:Play()
  18.         p.Locked = false
  19.         game:GetService("Debris"):AddItem(p,0)
  20.     end)
  21.  
  22. local decal = Instance.new("Decal")
  23. decal.Face = Enum.NormalId.Top
  24. decal.Parent = handle1
  25.  
  26. -- define faces
  27. local happyFace = "http://www.roblox.com/asset/?id=11503672257"
  28.  
  29. decal.Texture = happyFace
  30.  
  31. tool.Activated:Connect(function()
  32.     local forceField = Instance.new("ForceField")
  33.     forceField.Visible = true
  34.     forceField.Parent = player
  35. end)
  36.  
  37. --tool2
  38. tool2 = Instance.new("Tool")
  39. tool2.Parent = player
  40. tool2.Name = "NoAccessories"
  41. handle2 = Instance.new("Part")
  42. handle2.Parent = tool2
  43. handle2.Name = "Handle"
  44. handle2.Transparency = 1
  45.  
  46. tool2.Activated:Connect(function()
  47.     for _, v in ipairs(workspace:GetChildren()) do
  48.         if v:IsA("Model") then
  49.             for _, d in ipairs(v:GetChildren()) do
  50.                 if d:IsA("Accessory") then
  51.                     d:Destroy()
  52.                 end
  53.             end
  54.         end
  55.     end
  56. end)
  57.  
  58. --tool3
  59. tool3 = Instance.new("Tool")
  60. tool3.Parent = player
  61. tool3.Name = "NoHumanoid"
  62. handle3 = Instance.new("Part")
  63. handle3.Parent = tool3
  64. handle3.Name = "Handle"
  65. handle3.Transparency = 1
  66.  
  67. tool3.Activated:Connect(function()
  68.     for _, v in ipairs(workspace:GetChildren()) do
  69.         if v:IsA("Model") then
  70.             for _, d in ipairs(v:GetChildren()) do
  71.                 if d:IsA("Humanoid") then
  72.                     if not d.Name == "FrameTamerFan" then
  73.                         d:Destroy()
  74.                         end
  75.                 end
  76.             end
  77.         end
  78.     end
  79. end)
  80.  
  81.     hum.Health = 99999999999999
  82.     hum.DisplayName = ""
  83.     workspace.FrameTamerFan.Head.Touched:Connect(function(p)
  84.         p.Locked = false
  85.         game:GetService("Debris"):AddItem(p,0)
  86.     end)
  87.  
  88.     for i,v in pairs(player:GetChildren()) do
  89.         pcall(function()
  90.             if v.Name ~= "HumanoidRootPart" then
  91.                 local select = Instance.new("SelectionBox", v)
  92.                 select.Adornee = v
  93.                 select.Color3 = Color3.new(0.760784, 0.0431373, 0.0431373)
  94.             end
  95.         end)
  96.     end
  97.    
  98.     for _, v in ipairs(player:GetChildren()) do
  99.         if v:IsA("Part") then
  100.             v.Transparency = 1
  101.             for _, d in ipairs(v:GetChildren()) do
  102.                 if d:IsA("Mesh") then
  103.                     d:Destroy()
  104.                 end
  105.             end
  106.         end
  107.     end
  108.  
  109. game:GetService("RunService").Stepped:Connect(function()
  110. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  111. for j,k in pairs(table) do
  112. if k == v.Name then
  113. v:Kick()
  114. end
  115. end
  116. end
  117. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement