Advertisement
InTesting

Some E girl meme on tik tok lol

Mar 2nd, 2019
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.58 KB | None | 0 0
  1. if game.PlaceId == 843468296 or game.PlaceId == 843495510 or game.PlaceId == 897312463 then
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  6.     script.Parent = Player.Character
  7.  
  8.     --RemoteEvent for communicating
  9.     local Event = Instance.new("RemoteEvent")
  10.     Event.Name = "UserInput_Event"
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.     --Creating fake input objects with fake variables
  18.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  19.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  20.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  21.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  22.     end}
  23.     --Merged 2 functions into one by checking amount of arguments
  24.     CAS.UnbindAction = CAS.BindAction
  25.  
  26.     --This function will trigger the events that have been :Connect()'ed
  27.     local function te(self,ev,...)
  28.         local t = m[ev]
  29.         if t and t._fakeEvent and t.Function then
  30.             t.Function(...)
  31.         end
  32.     end
  33.     m.TrigEvent = te
  34.     UIS.TrigEvent = te
  35.     Event.OnServerEvent:Connect(function(plr,io)
  36.         if plr~=Player then return end
  37.         if io.isMouse then
  38.             m.Target = io.Target
  39.             m.Hit = io.Hit
  40.         else
  41.             local b = io.UserInputState == Enum.UserInputState.Begin
  42.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  43.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  44.             end
  45.             for _,t in pairs(CAS.Actions) do
  46.                 for _,k in pairs(t.Keys) do
  47.                     if k==io.KeyCode then
  48.                         t.Function(t.Name,io.UserInputState,io)
  49.                     end
  50.                 end
  51.             end
  52.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  53.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  54.         end
  55.     end)
  56.     Event.Parent = NLS([==[
  57.     local Player = game:GetService("Players").LocalPlayer
  58.     local Event = script:WaitForChild("UserInput_Event")
  59.     local UIS = game:GetService("UserInputService")
  60.     local input = function(io,a)
  61.         if a then return end
  62.         --Since InputObject is a client-side instance, we create and pass table instead
  63.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  64.     end
  65.     UIS.InputBegan:Connect(input)
  66.     UIS.InputEnded:Connect(input)
  67.     local Mouse = Player:GetMouse()
  68.     local h,t
  69.     --Give the server mouse data 30 times every second, but only if the values changed
  70.     --If player is not moving their mouse, client won't fire events
  71.     while wait(1/30) do
  72.         if h~=Mouse.Hit or t~=Mouse.Target then
  73.             h,t=Mouse.Hit,Mouse.Target
  74.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  75.         end
  76.     end]==],Player.Character)
  77.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  78. end
  79. -- End of FE converter
  80.  
  81. local char = owner.Character
  82. local color3Val = Color3.fromRGB(math.random(1,255),math.random(1,255),math.random(1,255))
  83.  
  84. if char then
  85.     wait(1)
  86.     local CCC = char:GetDescendants()
  87.     if char:FindFirstChild("Pants") then
  88.         char:FindFirstChild("Pants"):Destroy()
  89.     end
  90.     local Pants_1 = Instance.new("Pants",char)
  91.     Pants_1.Name = "Pants"
  92.     Pants_1.PantsTemplate = "rbxassetid://2478413165"
  93.    
  94.     if char:FindFirstChild("Shirt") then
  95.         char:FindFirstChild("Shirt"):Destroy()
  96.     end
  97.     local Shirt_1 = Instance.new("Shirt",char)
  98.     Shirt_1.Name = "Shirt"
  99.     Shirt_1.ShirtTemplate = "rbxassetid://1939617923"
  100.     Shirt_1.Color3 = color3Val
  101.    
  102.     for _, v in pairs(CCC) do
  103.         if v:IsA("Accessory") then
  104.             v:Destroy()
  105.            
  106.         end
  107.        
  108.     end
  109.    
  110.     local Acc_1 = game:GetService("InsertService"):LoadAsset(62745990):GetChildren()[1]
  111.     Acc_1.Parent = char
  112.    
  113.     local Acc_2 = char:FindFirstChild("Honey Hair")
  114.     if Acc_2 then
  115.         if Acc_2:FindFirstChild("Handle") then
  116.             Acc_2:FindFirstChild("Handle").Color = color3Val
  117.             if Acc_2:FindFirstChild("Handle"):FindFirstChild("Mesh") then
  118.                 Acc_2:FindFirstChild("Handle"):FindFirstChild("Mesh").TextureId = "rbxassetid://0"
  119.             end
  120.         end
  121.     end
  122. end
  123. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement