Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- If you want the non fe version : https://paste.ee/r/Iaxvp/0
- --I Forget to put who made it.
- -- And this was made by Anime and yes you guess it anyways this is alot different from other loggers
- -- This script has been converted to FE by iPxter
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
- script.Parent = Player.Character
- --RemoteEvent for communicating
- local Event= Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- ScreenGui0 = Instance.new("ScreenGui")
- Frame1 = Instance.new("Frame")
- TextButton2 = Instance.new("TextButton")
- TextLabel3 = Instance.new("TextLabel")
- TextLabel4 = Instance.new("TextLabel")
- LocalScript5 = Instance.new("LocalScript")
- ScreenGui0.Parent = owner.PlayerGui
- Frame1.Parent = ScreenGui0
- Frame1.Size = UDim2.new(0, 415, 0, 532)
- Frame1.BackgroundColor = BrickColor.new("Institutional white")
- Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame1.BorderSizePixel = 0
- TextButton2.Name = "Wear"
- TextButton2.Parent = Frame1
- TextButton2.Position = UDim2.new(0.0234375, 0, 0.766101718, 0)
- TextButton2.Size = UDim2.new(0, 391, 0, 34)
- TextButton2.BackgroundColor = BrickColor.new("Pastel Blue")
- TextButton2.BackgroundColor3 = Color3.new(0.529412, 0.796079, 0.796079)
- TextButton2.Font = Enum.Font.SourceSans
- TextButton2.FontSize = Enum.FontSize.Size14
- TextButton2.Text = "Wear"
- TextButton2.TextColor = BrickColor.new("Really black")
- TextButton2.TextColor3 = Color3.new(0, 0, 0)
- TextButton2.TextScaled = true
- TextButton2.TextSize = 14
- TextButton2.TextWrap = true
- TextButton2.TextWrapped = true
- TextLabel3.Name = "Pants"
- TextLabel3.Parent = Frame1
- TextLabel3.Position = UDim2.new(0.0234375, 0, 0.0320072025, 0)
- TextLabel3.Size = UDim2.new(0, 391, 0, 118)
- TextLabel3.BackgroundColor = BrickColor.new("Pastel light blue")
- TextLabel3.BackgroundColor3 = Color3.new(0.666667, 1, 1)
- TextLabel3.Font = Enum.Font.SourceSans
- TextLabel3.FontSize = Enum.FontSize.Size14
- TextLabel3.Text = "PantsID > 0"
- TextLabel3.TextColor = BrickColor.new("Really black")
- TextLabel3.TextColor3 = Color3.new(0, 0, 0)
- TextLabel3.TextScaled = true
- TextLabel3.TextSize = 14
- TextLabel3.TextWrap = true
- TextLabel3.TextWrapped = true
- TextLabel4.Name = "Shirt"
- TextLabel4.Parent = Frame1
- TextLabel4.Position = UDim2.new(0.0234375, 0, 0.499803752, 0)
- TextLabel4.Size = UDim2.new(0, 391, 0, 55)
- TextLabel4.BackgroundColor = BrickColor.new("Pastel light blue")
- TextLabel4.BackgroundColor3 = Color3.new(0.666667, 1, 1)
- TextLabel4.Font = Enum.Font.SourceSans
- TextLabel4.FontSize = Enum.FontSize.Size14
- TextLabel4.Text = "ShirtID > 0"
- TextLabel4.TextColor = BrickColor.new("Really black")
- TextLabel4.TextColor3 = Color3.new(0, 0, 0)
- TextLabel4.TextScaled = true
- TextLabel4.TextSize = 14
- TextLabel4.TextWrap = true
- TextLabel4.TextWrapped = true
- LocalScript5.Parent = Frame1
- Players = owner
- T1 = TextLabel4
- T2 = TextLabel3
- Char = Players.Character
- de1 = true
- de2 = true
- Mouse.Button1Down:Connect(function()
- de1 = true
- de2 = true
- if de1 == true then
- de1 = false
- local Target = Mouse.Target
- if Target.Parent.ClassName == "Model" then
- local Shirt = Target.Parent:WaitForChild("Shirt")
- local Pants = Target.Parent:WaitForChild("Pants")
- T1.Text = "ShirtID > ".. Shirt.ShirtTemplate
- T2.Text = "PantsID > ".. Pants.PantsTemplate
- TextButton2.MouseButton1Click:Connect(function()
- if de2 == true then
- de2 = false
- local Shirt2 = Char:WaitForChild("Shirt")
- local Pant2s = Char:WaitForChild("Pants")
- Shirt2.ShirtTemplate = Shirt.ShirtTemplate
- Pant2s.PantsTemplate = Pants.PantsTemplate
- end
- end)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement