Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This ROBLOX Script Is Made By The Respected Owners.
- --Script Hidden For Privacy Of The Users. Script Hidden For Privacy Of The Users.
- --Username Input Is Required At The Bottom.
- --Instructions Copy and paste into script builder,
- --Put two names into "YOURNAME", and "THE VICTIM" (One of them doesn't have to be you)
- --This Script Makes two players in your game.. Well.. I think its in the title ;D
- -- 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 = owner
- 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
- ----------------------------------------------------------------------------------------
- function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
- local funcw = Instance.new("Weld")
- funcw.Name = zName
- funcw.Parent = zParent
- funcw.Part0 = zPart0
- funcw.Part1 = zPart1
- if (zCoco == true) then
- funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
- else
- funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
- end
- return funcw
- end
- function fun(n1, n2)
- pcall(function()
- t1 = game.Players[n1].Character.Torso
- t2 = game.Players[n2].Character.Torso
- t2.Parent.Humanoid.PlatformStand = true
- t1["Left Shoulder"]:Remove()
- ls1 = Instance.new("Weld")
- ls1.Parent = t1
- ls1.Part0 = t1
- ls1.Part1 = t1.Parent["Left Arm"]
- ls1.C0 = CFrame.new(-1.5,0,0)
- ls1.Name = "Left Shoulder"
- t1["Right Shoulder"]:Remove()
- rs1 = Instance.new("Weld")
- rs1.Parent = t1
- rs1.Part0 = t1
- rs1.Part1 = t1.Parent["Right Arm"]
- rs1.C0 = CFrame.new(1.5,0,0)
- rs1.Name = "Right Shoulder"
- t2["Left Shoulder"]:Remove()
- ls2 = Instance.new("Weld")
- ls2.Parent = t2
- ls2.Part0 = t2
- ls2.Part1 = t2.Parent["Left Arm"]
- ls2.C0 = CFrame.new(-1.5,0,0)
- ls2.Name = "Left Shoulder"
- t2["Right Shoulder"]:Remove()
- rs2 = Instance.new("Weld")
- rs2.Parent = t2
- rs2.Part0 = t2
- rs2.Part1 = t2.Parent["Right Arm"]
- rs2.C0 = CFrame.new(1.5,0,0)
- rs2.Name = "Right Shoulder"
- t2["Left Hip"]:Remove()
- lh2 = Instance.new("Weld")
- lh2.Parent = t2
- lh2.Part0 = t2
- lh2.Part1 = t2.Parent["Left Leg"]
- lh2.C0 = CFrame.new(-0.5,-2,0)
- lh2.Name = "Left Hip"
- t2["Right Hip"]:Remove()
- rh2 = Instance.new("Weld")
- rh2.Parent = t2
- rh2.Part0 = t2
- rh2.Part1 = t2.Parent["Right Leg"]
- rh2.C0 = CFrame.new(0.5,-2,0)
- rh2.Name = "Right Hip"
- local d = Instance.new("Part")
- d.TopSurface = 0
- d.BottomSurface = 0
- d.CanCollide = false
- d.BrickColor = BrickColor.new("Medium stone grey")
- d.Shape = "Ball"
- d.Parent = t1
- d.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = d
- dm.Scale = Vector3.new(0.4,0.4,0.4)
- fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
- d2 = d:Clone()
- d2.Parent = t1
- fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
- local c = Instance.new("Part")
- c.TopSurface = 0
- c.BottomSurface = 0
- c.CanCollide = false
- c.BrickColor = BrickColor.new("Pastel brown")
- c.Parent = t1
- c.formFactor = "Custom"
- c.Size = Vector3.new(0.4,1.3,0.4)
- cm = Instance.new("CylinderMesh")
- cm.Parent = c
- a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
- c2 = d:Clone()
- c2.BrickColor = BrickColor.new("Medium stone grey")
- c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
- c2.Parent = t1
- fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
- local bl = Instance.new("Part")
- bl.TopSurface = 0
- bl.BottomSurface = 0
- bl.CanCollide = false
- bl.BrickColor = BrickColor.new("Pastel brown")
- bl.Shape = "Ball"
- bl.Parent = t2
- bl.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bl
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
- local br = Instance.new("Part")
- br.TopSurface = 0
- br.BottomSurface = 0
- br.CanCollide = false
- br.BrickColor = BrickColor.new("Pastel brown")
- br.Shape = "Ball"
- br.Parent = t2
- br.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = br
- dm.Scale = Vector3.new(1.2,1.2,1.2)
- fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
- local bln = Instance.new("Part")
- bln.TopSurface = 0
- bln.BottomSurface = 0
- bln.CanCollide = false
- bln.Shape = "Ball"
- bln.Parent = t2
- bln.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = bln
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
- local brn = Instance.new("Part")
- brn.TopSurface = 0
- brn.BottomSurface = 0
- brn.CanCollide = false
- brn.Shape = "Ball"
- brn.Parent = t2
- brn.Size = Vector3.new(1,1,1)
- local dm = Instance.new("SpecialMesh")
- dm.MeshType = "Sphere"
- dm.Parent = brn
- dm.Scale = Vector3.new(0.2,0.2,0.2)
- fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
- lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
- rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
- ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
- rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
- ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
- rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
- if t1:findFirstChild("weldx") ~= nil then
- t1.weldx:Remove()
- end
- we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
- n = t2.Neck
- n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
- end)
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 1,6 do
- we.C1 = we.C1 * CFrame.new(0,-0.3,0)
- wait()
- end
- for i = 1,6 do
- we.C1 = we.C1 * CFrame.new(0,0.3,0)
- wait()
- end
- end
- end))
- end
- fun("Guest537561", "Dummy")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement