Advertisement
InTesting

Sweater test

Feb 23rd, 2019
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.53 KB | None | 0 0
  1. local O0O = false
  2. if game.PlaceId == 843468296 or game.PlaceId == 843495510 or game.PlaceId == 897312463 then
  3. -- Instructions:
  4. --[[
  5. Any local variables with :
  6.  = LocalPlayer:
  7.     Must be replaced with "owner". So if your local variable is game.Players.LocalPlayer , replace it with owner
  8.  = :GetMouse():
  9.     Remove the variable entirely.
  10.  
  11. then paste this over the desired script
  12. --]]
  13.  
  14. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  15. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  16. do
  17.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  18.     script.Parent = Player.Character
  19.  
  20.     --RemoteEvent for communicating
  21.     local Event = Instance.new("RemoteEvent")
  22.     Event.Name = "UserInput_Event"
  23.     --Fake event to make stuff like Mouse.KeyDown work
  24.     local function fakeEvent()
  25.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  26.         t.connect = t.Connect
  27.         return t
  28.     end
  29.     --Creating fake input objects with fake variables
  30.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  31.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  32.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  33.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  34.     end}
  35.     --Merged 2 functions into one by checking amount of arguments
  36.     CAS.UnbindAction = CAS.BindAction
  37.  
  38.     --This function will trigger the events that have been :Connect()'ed
  39.     local function te(self,ev,...)
  40.         local t = m[ev]
  41.         if t and t._fakeEvent and t.Function then
  42.             t.Function(...)
  43.         end
  44.     end
  45.     m.TrigEvent = te
  46.     UIS.TrigEvent = te
  47.     Event.OnServerEvent:Connect(function(plr,io)
  48.         if plr~=Player then return end
  49.         if io.isMouse then
  50.             m.Target = io.Target
  51.             m.Hit = io.Hit
  52.         else
  53.             local b = io.UserInputState == Enum.UserInputState.Begin
  54.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  55.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  56.             end
  57.             for _,t in pairs(CAS.Actions) do
  58.                 for _,k in pairs(t.Keys) do
  59.                     if k==io.KeyCode then
  60.                         t.Function(t.Name,io.UserInputState,io)
  61.                     end
  62.                 end
  63.             end
  64.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  65.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  66.         end
  67.     end)
  68.     Event.Parent = NLS([==[
  69.     local Player = game:GetService("Players").LocalPlayer
  70.     local Event = script:WaitForChild("UserInput_Event")
  71.     local UIS = game:GetService("UserInputService")
  72.     local input = function(io,a)
  73.         if a then return end
  74.         --Since InputObject is a client-side instance, we create and pass table instead
  75.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  76.     end
  77.     UIS.InputBegan:Connect(input)
  78.     UIS.InputEnded:Connect(input)
  79.     local Mouse = Player:GetMouse()
  80.     local h,t
  81.     --Give the server mouse data 30 times every second, but only if the values changed
  82.     --If player is not moving their mouse, client won't fire events
  83.     while wait(1/30) do
  84.         if h~=Mouse.Hit or t~=Mouse.Target then
  85.             h,t=Mouse.Hit,Mouse.Target
  86.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  87.         end
  88.     end]==],Player.Character)
  89.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  90. end
  91. -- End of FE converter
  92.  
  93. local llll = "CHL WAS HERE"
  94. local lll1 = "CHL WAS here"
  95. local ll11 = "CHL was HERE"
  96. local l111 = "CHL was here"
  97. local ll1l = "chl WAS HERE"
  98. local l1ll = "chl WAS here"
  99. local l11l = "chl was HERE"
  100. local l1l1 = "chl was here"
  101.  
  102. local char = owner.Character
  103. local bcolor = "Electric blue"
  104. function weldi(part1,part2)
  105.     local weld0 = Instance.new("WeldConstraint",part1)
  106.     weld0.Part0 = part1
  107.     weld0.Part1 = part2
  108. end
  109. if char then
  110.     wait(1)
  111.     local CCC = char:GetChildren()
  112.     TorsoIsTrue = "Part"
  113.     TorsoID = nil
  114.     for _, v in pairs(CCC) do
  115.         if v:IsA("CharacterMesh") then
  116.             if v.MeshId==48112070 then
  117.                 TorsoIsTrue = "FE"
  118.                 TorsoID = v.MeshId     
  119.             end
  120.         end
  121.     end
  122.     if TorsoIsTrue=="FE" then
  123.         local part_1 = Instance.new("Part",char)
  124.         part_1.CFrame = char.Torso.CFrame* CFrame.new(0,.75,0)
  125.         part_1.CanCollide = false
  126.         weldi(char.Torso,part_1)
  127.         part_1.BrickColor = BrickColor.new(bcolor)
  128.         part_1.Material = Enum.Material.Fabric
  129.         part_1.Size = Vector3.new(2.05,.55,1.05)
  130.        
  131.         local part_2 = Instance.new("WedgePart",char)
  132.         part_2.CFrame = char.Torso.CFrame* CFrame.new(-.771,-.25,0)
  133.         part_2.Orientation =char.Torso.Orientation + Vector3.new(90,0,90)
  134.         part_2.CanCollide = false
  135.         weldi(char.Torso,part_2)
  136.         part_2.BrickColor = BrickColor.new(bcolor)
  137.         part_2.Material = Enum.Material.Fabric
  138.         part_2.Size = Vector3.new(1, 0.55, 1.65)
  139.        
  140.         local part_3 = Instance.new("WedgePart",char)
  141.         part_3.CFrame = char.Torso.CFrame* CFrame.new(-.75,-.25,0)
  142.         part_3.Orientation =char.Torso.Orientation + Vector3.new(-90,0,90)
  143.         part_3.CanCollide = false
  144.         weldi(char.Torso,part_3)
  145.         part_3.BrickColor = BrickColor.new(bcolor)
  146.         part_3.Material = Enum.Material.Fabric
  147.         part_3.Size = Vector3.new(1, 0.55, 1.65)
  148.        
  149.         local part_4 = Instance.new("WedgePart",char)
  150.         part_4.CFrame = char.Torso.CFrame* CFrame.new(.75,-.25,0)
  151.         part_4.Orientation =char.Torso.Orientation + Vector3.new(-90,180,90)
  152.         part_4.CanCollide = false
  153.         weldi(char.Torso,part_4)
  154.         part_4.BrickColor = BrickColor.new(bcolor)
  155.         part_4.Material = Enum.Material.Fabric
  156.         part_4.Size = Vector3.new(1, 0.55, 1.65)
  157.        
  158.         local part_5 = Instance.new("WedgePart",char)
  159.         part_5.CFrame = char.Torso.CFrame* CFrame.new(.77,-.25,0)
  160.         part_5.Orientation =char.Torso.Orientation + Vector3.new(90,180,90)
  161.         part_5.CanCollide = false
  162.         weldi(char.Torso,part_5)
  163.         part_5.BrickColor = BrickColor.new(bcolor )
  164.         part_5.Material = Enum.Material.Fabric
  165.         part_5.Size = Vector3.new(1, 0.55, 1.65)
  166.        
  167.         local part_6 = Instance.new("Part",char)
  168.         part_6.CFrame = char.Torso.CFrame* CFrame.new(0,-.25,0)
  169.         part_6.CanCollide = false
  170.         weldi(char.Torso,part_6)
  171.         part_6.BrickColor = BrickColor.new(bcolor )
  172.         part_6.Material = Enum.Material.Fabric
  173.         part_6.Size = Vector3.new(1, 1.6, 1)
  174.     else
  175.         local part1 = Instance.new("Part",char)
  176.         part1.CFrame = char.Torso.CFrame
  177.         part1.CanCollide = false
  178.         weldi(char.Torso,part1)
  179.         part1.BrickColor = BrickColor.new(bcolor)
  180.         part1.Material = Enum.Material.Fabric
  181.         part1.Size = Vector3.new(char.Torso.Size.X*1.05,char.Torso.Size.Y*1.05,char.Torso.Size.Z*1.05)
  182.     end
  183.    
  184.     local TL_Text = nil
  185.     local sts = "ereh saw LHC"
  186.     part2 = Instance.new("Part",char)
  187.     part2.CFrame = char["Left Arm"].CFrame *CFrame.new(0,.1,0)
  188.     part2.CanCollide = false
  189.     weldi(char["Left Arm"],part2)
  190.     part2.BrickColor = BrickColor.new(bcolor )
  191.     part2.Material = Enum.Material.Fabric
  192.     part2.Size = Vector3.new(char["Left Arm"].Size.X*1.05,char["Left Arm"].Size.Y*.95,char["Left Arm"].Size.Z*1.05)
  193.  
  194.     local bi = Instance.new("SurfaceGui",part2)
  195.     bi.Face = "Back"
  196.     local TL = Instance.new("TextLabel",bi)
  197.     TL.Size = UDim2.new(1,0,.25,0)
  198.     TL.Text = string.reverse(sts)
  199.     TL_Text = "CHL was here"
  200.     if TL.Text~=string.reverse(sts) or TL_Text~="CHL was here" or llll~="CHL WAS HERE" or lll1~="CHL WAS here" or ll11 ~= "CHL was HERE" or l1l1 ~= "chl was here" or l11l~= "chl was HERE" or l1ll ~= "chl WAS here" or l1ll ~= "chl WAS here" or ll1l ~= "chl WAS HERE" or string.len(TL.Text) ~=12 then
  201.         TL.Text = owner.Name.." is fat."
  202.         O0O = true
  203.     end
  204.  
  205.     TL.Font = Enum.Font.Code
  206.     TL.BackgroundTransparency = 1
  207.     TL.TextColor3 = Color3.fromRGB(255, 255, 255)
  208.     TL.TextSize = 50
  209.  
  210.     part3 = Instance.new("Part",char)
  211.     part3.CFrame = char["Right Arm"].CFrame*CFrame.new(0,.1,0)
  212.     part3.CanCollide = false
  213.     weldi(char["Right Arm"],part3)
  214.     part3.BrickColor = BrickColor.new(bcolor )
  215.     part3.Material = Enum.Material.Fabric
  216.     part3.Size = Vector3.new(char["Right Arm"].Size.X*1.05,char["Right Arm"].Size.Y*.95,char["Right Arm"].Size.Z*1.05)
  217.  
  218.     if TL.Text~=string.reverse(sts) or TL_Text~="CHL was here" or llll~="CHL WAS HERE" or lll1~="CHL WAS here" or ll11 ~= "CHL was HERE" or l1l1 ~= "chl was here" or l11l~= "chl was HERE" or l1ll ~= "chl WAS here" or l1ll ~= "chl WAS here" or ll1l ~= "chl WAS HERE" or string.len(TL.Text) ~=12 or O0O==true then
  219.         TL.Text = owner.Name.." is fat."
  220.     end
  221. end
  222. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement