Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end --This is made by my alt account so be ready for cringe
- local player = game:GetService('Players').LocalPlayer
- local character = player.Character
- local Mouse = player:GetMouse()
- x = 1
- y = 1
- z = 1
- a = (script.Parent)
- meme1 = Instance.new("Sound",character.HumanoidRootPart)
- meme1.SoundId = "rbxassetid://535528169"
- meme1.Looped = false
- meme1.MaxDistance =50
- meme1.EmitterSize = 50
- meme1.Volume = 7
- sound = Instance.new("Sound",character.HumanoidRootPart)
- sound.SoundId = "rbxassetid://142334905"
- sound.Looped = true
- sound.MaxDistance =43
- sound.EmitterSize = 43
- sound.Volume = 3
- sound:Play()
- tp = Instance.new("Sound",character.HumanoidRootPart)
- tp.SoundId = "rbxassetid://153613030"
- tp.Looped = false
- tp.MaxDistance =43
- tp.EmitterSize = 43
- tp.Volume = 3
- meme2 = Instance.new("Sound",character.HumanoidRootPart)
- meme2.SoundId = "rbxassetid://1208129286"
- meme2.Looped = false
- meme2.MaxDistance =43
- meme2.EmitterSize = 43
- meme2.Volume = 6
- meme3 = Instance.new("Sound",character.HumanoidRootPart)
- meme3.SoundId = "rbxassetid://212675193"
- meme3.Looped = false
- meme3.MaxDistance =43
- meme3.EmitterSize = 43
- meme3.Volume = 8
- if character then
- print('Got character ')
- print('Get Players Name > '.. character.Name)
- print(Mouse.Hit.p)
- Mouse.Button1Up:Connect(function()
- print(character.HumanoidRootPart.Position)
- wait(0.5)
- meme1:Play()
- for n = 1,44 do
- wait()
- x= x + 1
- z = z + 40
- character:SetPrimaryPartCFrame(CFrame.new(character.PrimaryPart.CFrame.p) * CFrame.fromEulerAnglesXYZ(x,y,z))
- end
- meme1:Stop()
- end)
- Mouse.KeyDown:connect(function(key)
- if key == "t" then
- tp:Play()
- wait(0.1)
- for a = 1, 1.1 do
- wait()
- character:MoveTo(Mouse.Hit.p)
- end
- tp:Stop()
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if key == "f" then
- meme2:Play()
- for n = 1,65 do
- wait()
- ManualWeld7 = Instance.new("ManualWeld")
- ManualWeld9 = Instance.new("ManualWeld")
- ManualWeld11 = Instance.new("ManualWeld")
- ManualWeld13 = Instance.new("ManualWeld")
- ManualWeld7.Name = "Weld"
- ManualWeld7.Parent = character["Left Arm"]
- ManualWeld7.C0 = CFrame.new(0, 0, 0, 0.99999994, 0, 0, 0, -0.999757588, 0.0220163278, 0, -0.0220163278, -0.999757588)
- ManualWeld7.C1 = CFrame.new(-1.5, 0.999878883, -0.0110082626, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld7.Part0 = character["Left Arm"]
- ManualWeld7.Part1 = character.HumanoidRootPart
- ManualWeld9.Name = "Weld"
- ManualWeld9.Parent = character["Left Leg"]
- ManualWeld9.C0 = CFrame.new(0, 0, 0, -0.0498936251, -0.998754561, 0, 0.998754561, -0.0498936251, 0, 0, 0, 1)
- ManualWeld9.C1 = CFrame.new(-2.02370119, -1.44948387, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld9.Part0 = character["Left Leg"]
- ManualWeld9.Part1 = character.HumanoidRootPart
- ManualWeld11.Name = "Weld"
- ManualWeld11.Parent = character["Right Arm"]
- ManualWeld11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.999998808, -0.00153860194, 0, 0.00153860194, -0.999998808)
- ManualWeld11.C1 = CFrame.new(1.5, 0.999999046, 0.000769138336, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld11.Part0 = character["Right Arm"]
- ManualWeld11.Part1 = character.HumanoidRootPart
- ManualWeld11.part1 = character.HumanoidRootPart
- ManualWeld13.Name = "Weld"
- ManualWeld13.Parent = character["Right Leg"]
- ManualWeld13.C0 = CFrame.new(0, 0, 0, -0.0519669056, 0.997543454, -0.0469727963, -0.998552918, -0.0512527525, 0.0162826553, 0.0138351712, 0.0477509834, 0.998763442)
- ManualWeld13.C1 = CFrame.new(2.02453637, -1.4475193, 0.00720357895, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld13.Part0 = character["Right Leg"]
- ManualWeld13.Part1 = character.HumanoidRootPart
- ManualWeld13.part1 = character.HumanoidRootPart
- wait(0.099)
- ManualWeld7:Destroy()
- ManualWeld9:Destroy()
- ManualWeld11:Destroy()
- ManualWeld13:Destroy()
- wait(0.099)
- end
- meme2:Stop()
- end
- end)
- Mouse.KeyDown:connect(function(key)
- if key == "h" then
- meme3:Play()
- for n = 1,3 do
- wait()
- ManualWeld7 = Instance.new("ManualWeld")
- ManualWeld9 = Instance.new("ManualWeld")
- ManualWeld11 = Instance.new("ManualWeld")
- ManualWeld13 = Instance.new("ManualWeld")
- ManualWeld7.Name = "Weld"
- ManualWeld7.Parent = character["Left Arm"]
- ManualWeld7.C0 = CFrame.new(0, 0, 0, 0, 0.999757648, -0.0220159926, 1, 0, 0, 0, -0.0220159944, -0.999757648)
- ManualWeld7.C1 = CFrame.new(-2.02003288, 0.525922775, -0.00057220459, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld7.Part0 = character["Left Arm"]
- ManualWeld7.Part1 = character.HumanoidRootPart
- ManualWeld9.Name = "Weld"
- ManualWeld9.Parent = character["Left Leg"]
- ManualWeld9.C0 = CFrame.new(0, 0, 0, 0.999715865, -0.0238379966, 0, 0.0238379948, 0.999715865, 0, 0, 0, 1)
- ManualWeld9.C1 = CFrame.new(-0.53796947, -2.15993881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld9.Part0 = character["Left Leg"]
- ManualWeld9.Part1 = character.HumanoidRootPart
- ManualWeld11.Name = "Weld"
- ManualWeld11.Parent = character["Right Arm"]
- ManualWeld11.C0 = CFrame.new(0, 0, 0, -0.00687600207, -0.999975264, -0.00153900031, -0.999976456, 0.00687596668, 2.79999567e-05, -1.74171455e-05, 0.00153915642, -0.999998868)
- ManualWeld11.C1 = CFrame.new(2.00271749, 0.47973156, -4.10079956e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld11.Part0 = character["Right Arm"]
- ManualWeld11.Part1 = character.HumanoidRootPart
- ManualWeld13.Name = "Weld"
- ManualWeld13.Parent = character["Right Leg"]
- ManualWeld13.C0 = CFrame.new(0, 0, 0, 0.998828351, 0.0456650145, -0.0160250049, -0.0463737212, 0.997815013, -0.0470610037, 0.0138409482, 0.0477489978, 0.998763502)
- ManualWeld13.C1 = CFrame.new(0.492216527, -2.15135765, 0.062087059, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- ManualWeld13.Part0 = character["Right Leg"]
- ManualWeld13.Part1 = character.HumanoidRootPart
- end
- wait(79.9600000000000000000007958)
- meme3:Stop()
- ManualWeld7:Destroy()
- ManualWeld9:Destroy()
- ManualWeld11:Destroy()
- ManualWeld13:Destroy()
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement