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
- --Fake event to make stuff like Mouse.KeyDown work
- local Disconnect_Function = function(this)
- this[1].Functions[this[2]] = nil
- end
- local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
- local FakeEvent_Metatable = {__index={
- Connect = function(this,f)
- local i = tostring(math.random(0,10000))
- while this.Functions[i] do
- i = tostring(math.random(0,10000))
- end
- this.Functions[i] = f
- return setmetatable({this,i},Disconnect_Metatable)
- end
- }}
- FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
- local function fakeEvent()
- return setmetatable({Functions={}},FakeEvent_Metatable)
- end
- --Creating fake input objects with fake variables
- local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- FakeMouse.keyUp = FakeMouse.KeyUp
- FakeMouse.keyDown = FakeMouse.KeyDown
- 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 TriggerEvent(self,ev,...)
- for _,f in pairs(self[ev].Functions) do
- f(...)
- end
- end
- FakeMouse.TriggerEvent = TriggerEvent
- UIS.TriggerEvent = TriggerEvent
- --Client communication
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=RealPlayer then return end
- FakeMouse.Target = io.Target
- FakeMouse.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
- 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
- FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
- local Mouse = owner:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,RobloxHandled)
- if RobloxHandled 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,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data every second frame, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- local HB = game:GetService("RunService").Heartbeat
- while true 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
- --Wait 2 frames
- for i=1,2 do
- HB:Wait()
- end
- end]==],script)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local RealGame = game
- --Metatable for fake service
- local FakeService_Metatable = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
- return setmetatable(t,FakeService_Metatable)
- end
- --Fake game object
- local FakeGame = {
- GetService = function(self,s)
- return rawget(self,s) or RealGame:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = RealGame:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
- FakeGame.service = FakeGame.GetService
- FakeService(FakeGame,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = FakeGame,FakeGame.Players.LocalPlayer
- end
- --go duck
- --note. this is a stupid script
- --lets get moms credit card
- plr = owner
- char = plr.Character
- tors = char.Torso
- hed = char.Head
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- hed:ClearAllChildren()
- hed.Transparency = 0.9
- --hed.Size = Vector3.new(2, 1, 1)
- --[[
- hed2 = Instance.new("Part",char)
- hed2.Size = Vector3.new(2, 1, 1)
- hed2.CanCollide = false
- weld = Instance.new("Weld",hed2)
- weld.Part0 = hed2
- weld.Part1 = hed
- ]]--
- function makeweld(a, b)
- local well = Instance.new("Weld",char)
- well.Part0 = a
- well.Part1 = b
- return well
- end
- --[[
- ra2 = ra:Clone()
- ra2.Name = "fakerightarm"
- ra2.Parent = char
- makeweld(ra2, ra)
- la2 = la:Clone()
- la2.Name = "fakeleftarm"
- la2.Parent = char
- makeweld(la2, la)
- rl2 = rl:Clone()
- rl2.Name = "fakerightleg"
- rl2.Parent = char
- makeweld(rl2, rl)
- ll2 = ll:Clone()
- ll2.Name = "fakeleftleg"
- ll2.Parent = char
- makeweld(ll2, ll)
- tors2 = tors:Clone()
- tors2.Name = "faketorso"
- tors2.Parent = char
- makeweld(tors2, tors)
- ]]--
- ra.Transparency = 1
- la.Transparency = 1
- rl.Transparency = 1
- ll.Transparency = 1
- tors.Transparency = 1
- hed.Transparency = 0.9
- hed.Size = Vector3.new(1, 1, 1)
- ram = Instance.new("BlockMesh",ra)
- ram.Scale = Vector3.new(0.8, 1, 0.8)
- ram.Offset = Vector3.new(-0.3, 0, 0)
- lam = ram:Clone()
- lam.Parent = la
- lam.Offset = Vector3.new(0.3, 0, 0)
- llm = ram:Clone()
- llm.Parent = ll
- llm.Offset = Vector3.new(0.1, 0, 0)
- rlm = ram:Clone()
- rlm.Parent = rl
- rlm.Offset = Vector3.new(-0.1, 0, 0)
- torsm = Instance.new("BlockMesh",tors)
- torsm.Scale = Vector3.new(0.8, 1, 0.8)
- torsm.Offset = Vector3.new(0, 0, 0)
- --[[
- hedm = Instance.new("BlockMesh",hed)
- hedm.Scale = Vector3.new(0.8, 1.6, 1.6)
- hedm.Offset = Vector3.new(0, 0.2, 0)
- ]]--
- --STEVE--
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- Decal2 = Instance.new("Decal")
- BodyGyro3 = Instance.new("BodyGyro")
- BlockMesh4 = Instance.new("BlockMesh")
- Decal5 = Instance.new("Decal")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Decal8 = Instance.new("Decal")
- Decal9 = Instance.new("Decal")
- Decal10 = Instance.new("Decal")
- Part11 = Instance.new("Part")
- BlockMesh12 = Instance.new("BlockMesh")
- Decal13 = Instance.new("Decal")
- Decal14 = Instance.new("Decal")
- Decal15 = Instance.new("Decal")
- Decal16 = Instance.new("Decal")
- Decal17 = Instance.new("Decal")
- Decal18 = Instance.new("Decal")
- Part19 = Instance.new("Part")
- Decal20 = Instance.new("Decal")
- Decal21 = Instance.new("Decal")
- Decal22 = Instance.new("Decal")
- Decal23 = Instance.new("Decal")
- Decal24 = Instance.new("Decal")
- Decal25 = Instance.new("Decal")
- BlockMesh26 = Instance.new("BlockMesh")
- Part27 = Instance.new("Part")
- BlockMesh28 = Instance.new("BlockMesh")
- Decal29 = Instance.new("Decal")
- Decal30 = Instance.new("Decal")
- Decal31 = Instance.new("Decal")
- Decal32 = Instance.new("Decal")
- Decal33 = Instance.new("Decal")
- Decal34 = Instance.new("Decal")
- Part36 = Instance.new("Part")
- Decal37 = Instance.new("Decal")
- Decal38 = Instance.new("Decal")
- Decal39 = Instance.new("Decal")
- Decal40 = Instance.new("Decal")
- Decal41 = Instance.new("Decal")
- Decal42 = Instance.new("Decal")
- BlockMesh43 = Instance.new("BlockMesh")
- Part45 = Instance.new("Part")
- BlockMesh46 = Instance.new("BlockMesh")
- Decal47 = Instance.new("Decal")
- Decal48 = Instance.new("Decal")
- Decal49 = Instance.new("Decal")
- Decal50 = Instance.new("Decal")
- Decal51 = Instance.new("Decal")
- Decal52 = Instance.new("Decal")
- Model0.Name = "steve"
- Model0.Parent = mas
- Part1.Name = "Torso"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(-28.0668945, 2.98818398, -95.3312988, -1, 0, 1.20896348e-12, 0, 1, 0, 1.20896348e-12, 0, -1)
- Part1.Orientation = Vector3.new(0, 180, 0)
- Part1.Position = Vector3.new(-28.0668945, 2.98818398, -95.3312988)
- Part1.Rotation = Vector3.new(-180, 0, -180)
- Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549)
- Part1.Size = Vector3.new(2, 2, 1)
- Part1.Anchored = true
- Part1.BrickColor = BrickColor.new("Cyan")
- Part1.LeftParamA = 0
- Part1.LeftParamB = 0
- Part1.LeftSurface = Enum.SurfaceType.Weld
- Part1.RightParamA = 0
- Part1.RightParamB = 0
- Part1.RightSurface = Enum.SurfaceType.Weld
- Part1.brickColor = BrickColor.new("Cyan")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- Decal2.Name = "roblox"
- Decal2.Parent = Part1
- BodyGyro3.Parent = Part1
- BodyGyro3.MaxTorque = Vector3.new(0, 0, 0)
- BodyGyro3.maxTorque = Vector3.new(0, 0, 0)
- BlockMesh4.Parent = Part1
- BlockMesh4.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Decal5.Parent = Part1
- Decal5.Texture = "http://www.roblox.com/asset/?id=38934753"
- Decal6.Parent = Part1
- Decal6.Texture = "http://www.roblox.com/asset/?id=38934762"
- Decal6.Face = Enum.NormalId.Right
- Decal7.Parent = Part1
- Decal7.Texture = "http://www.roblox.com/asset/?id=38934762"
- Decal7.Face = Enum.NormalId.Left
- Decal8.Parent = Part1
- Decal8.Texture = "http://www.roblox.com/asset/?id=38934731"
- Decal8.Face = Enum.NormalId.Back
- Decal9.Parent = Part1
- Decal9.Texture = "http://www.roblox.com/asset/?id=38934780"
- Decal9.Face = Enum.NormalId.Top
- Decal10.Parent = Part1
- Decal10.Texture = "http://www.roblox.com/asset/?id=38934740"
- Decal10.Face = Enum.NormalId.Bottom
- Part11.Name = "Head"
- Part11.Parent = Model0
- Part11.CFrame = CFrame.new(-28.0668945, 4.58819008, -95.3312988, -1, 0, 1.20896348e-12, 0, 1, 0, 1.20896348e-12, 0, -1)
- Part11.Orientation = Vector3.new(0, 180, 0)
- Part11.Position = Vector3.new(-28.0668945, 4.58819008, -95.3312988)
- Part11.Rotation = Vector3.new(-180, 0, -180)
- Part11.Color = Color3.new(0.8, 0.556863, 0.411765)
- Part11.Size = Vector3.new(2, 1, 1)
- Part11.Anchored = true
- Part11.BrickColor = BrickColor.new("Nougat")
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.brickColor = BrickColor.new("Nougat")
- Part11.FormFactor = Enum.FormFactor.Custom
- Part11.formFactor = Enum.FormFactor.Custom
- BlockMesh12.Parent = Part11
- BlockMesh12.Offset = Vector3.new(0, 0.200000003, 0)
- BlockMesh12.Scale = Vector3.new(0.800000012, 1.60000002, 1.60000002)
- Decal13.Parent = Part11
- Decal13.Texture = "http://www.roblox.com/asset/?id=36047347"
- Decal13.Face = Enum.NormalId.Bottom
- Decal14.Parent = Part11
- Decal14.Texture = "http://www.roblox.com/asset/?id=36047330"
- Decal14.Face = Enum.NormalId.Back
- Decal15.Parent = Part11
- Decal15.Texture = "http://www.roblox.com/asset/?id=36047341"
- Decal15.Face = Enum.NormalId.Top
- Decal16.Parent = Part11
- Decal16.Texture = "http://www.roblox.com/asset/?id=36047315"
- Decal16.Face = Enum.NormalId.Right
- Decal17.Parent = Part11
- Decal17.Texture = "http://www.roblox.com/asset/?id=36047323"
- Decal17.Face = Enum.NormalId.Left
- Decal18.Parent = Part11
- Decal18.Texture = "http://www.roblox.com/asset/?id=36047310"
- Part19.Name = "Left Arm"
- Part19.Parent = Model0
- Part19.CFrame = CFrame.new(-26.5668945, 2.99018478, -95.3342896, -1, 5.1708473e-15, 1.24733167e-12, 0, 0.999990344, -0.00439589936, 1.20896348e-12, -0.00439589936, -0.999990344)
- Part19.Orientation = Vector3.new(0.25, 180, 0)
- Part19.Position = Vector3.new(-26.5668945, 2.99018478, -95.3342896)
- Part19.Rotation = Vector3.new(179.75, 0, -180)
- Part19.Color = Color3.new(0.917647, 0.721569, 0.572549)
- Part19.Size = Vector3.new(1, 2, 1)
- Part19.Anchored = true
- Part19.BrickColor = BrickColor.new("Light orange")
- Part19.brickColor = BrickColor.new("Light orange")
- Part19.FormFactor = Enum.FormFactor.Symmetric
- Part19.formFactor = Enum.FormFactor.Symmetric
- Decal20.Parent = Part19
- Decal20.Texture = "http://www.roblox.com/asset/?id=38934568"
- Decal20.Face = Enum.NormalId.Bottom
- Decal21.Parent = Part19
- Decal21.Texture = "http://www.roblox.com/asset/?id=38934613"
- Decal21.Face = Enum.NormalId.Top
- Decal22.Parent = Part19
- Decal22.Texture = "http://www.roblox.com/asset/?id=38934581"
- Decal23.Parent = Part19
- Decal23.Texture = "http://www.roblox.com/asset/?id=38934591"
- Decal23.Face = Enum.NormalId.Right
- Decal24.Parent = Part19
- Decal24.Texture = "http://www.roblox.com/asset/?id=38934560"
- Decal24.Face = Enum.NormalId.Back
- Decal25.Parent = Part19
- Decal25.Texture = "http://www.roblox.com/asset/?id=38934601"
- Decal25.Face = Enum.NormalId.Left
- BlockMesh26.Parent = Part19
- BlockMesh26.Offset = Vector3.new(0.300000012, 0, 0)
- BlockMesh26.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part27.Name = "Left Leg"
- Part27.Parent = Model0
- Part27.CFrame = CFrame.new(-27.5668945, 1.0021925, -95.3352966, -1, -5.1708473e-15, 1.17272468e-12, 0, 0.999990344, 0.00439589936, 1.20896348e-12, 0.00439589936, -0.999990344)
- Part27.Orientation = Vector3.new(-0.25, 180, 0)
- Part27.Position = Vector3.new(-27.5668945, 1.0021925, -95.3352966)
- Part27.Rotation = Vector3.new(-179.75, 0, 180)
- Part27.Color = Color3.new(0.643137, 0.741176, 0.278431)
- Part27.Size = Vector3.new(1, 2, 1)
- Part27.Anchored = true
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.BrickColor = BrickColor.new("Br. yellowish green")
- Part27.brickColor = BrickColor.new("Br. yellowish green")
- Part27.FormFactor = Enum.FormFactor.Symmetric
- Part27.formFactor = Enum.FormFactor.Symmetric
- BlockMesh28.Parent = Part27
- BlockMesh28.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh28.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Decal29.Parent = Part27
- Decal29.Texture = "http://www.roblox.com/asset/?id=38936226"
- Decal30.Parent = Part27
- Decal30.Texture = "http://www.roblox.com/asset/?id=38936255"
- Decal30.Face = Enum.NormalId.Left
- Decal31.Parent = Part27
- Decal31.Texture = "http://www.roblox.com/asset/?id=38936242"
- Decal31.Face = Enum.NormalId.Right
- Decal32.Parent = Part27
- Decal32.Texture = "http://www.roblox.com/asset/?id=38936209"
- Decal32.Face = Enum.NormalId.Back
- Decal33.Parent = Part27
- Decal33.Texture = "http://www.roblox.com/asset/?id=38934719"
- Decal33.Face = Enum.NormalId.Top
- Decal34.Parent = Part27
- Decal34.Texture = "http://www.roblox.com/asset/?id=38934712"
- Decal34.Face = Enum.NormalId.Bottom
- Part36.Name = "Right Arm"
- Part36.Parent = Model0
- Part36.CFrame = CFrame.new(-29.5668793, 2.99018478, -95.3282776, -1, -5.1708473e-15, 1.17272468e-12, 0, 0.999990344, 0.00439589936, 1.20896348e-12, 0.00439589936, -0.999990344)
- Part36.Orientation = Vector3.new(-0.25, 180, 0)
- Part36.Position = Vector3.new(-29.5668793, 2.99018478, -95.3282776)
- Part36.Rotation = Vector3.new(-179.75, 0, 180)
- Part36.Color = Color3.new(0.8, 0.556863, 0.411765)
- Part36.Size = Vector3.new(1, 2, 1)
- Part36.Anchored = true
- Part36.BrickColor = BrickColor.new("Nougat")
- Part36.brickColor = BrickColor.new("Nougat")
- Part36.FormFactor = Enum.FormFactor.Symmetric
- Part36.formFactor = Enum.FormFactor.Symmetric
- Decal37.Parent = Part36
- Decal37.Texture = "http://www.roblox.com/asset/?id=38934568"
- Decal37.Face = Enum.NormalId.Bottom
- Decal38.Parent = Part36
- Decal38.Texture = "http://www.roblox.com/asset/?id=38934613"
- Decal38.Face = Enum.NormalId.Top
- Decal39.Parent = Part36
- Decal39.Texture = "http://www.roblox.com/asset/?id=38934581"
- Decal40.Parent = Part36
- Decal40.Texture = "http://www.roblox.com/asset/?id=38934591"
- Decal40.Face = Enum.NormalId.Right
- Decal41.Parent = Part36
- Decal41.Texture = "http://www.roblox.com/asset/?id=38934560"
- Decal41.Face = Enum.NormalId.Back
- Decal42.Parent = Part36
- Decal42.Texture = "http://www.roblox.com/asset/?id=38934601"
- Decal42.Face = Enum.NormalId.Left
- BlockMesh43.Parent = Part36
- BlockMesh43.Offset = Vector3.new(-0.300000012, 0, 0)
- BlockMesh43.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Part45.Name = "Right Leg"
- Part45.Parent = Model0
- Part45.CFrame = CFrame.new(-28.5668945, 1.0021925, -95.3272705, -1, 5.1708473e-15, 1.24733167e-12, 0, 0.999990344, -0.00439589936, 1.20896348e-12, -0.00439589936, -0.999990344)
- Part45.Orientation = Vector3.new(0.25, 180, 0)
- Part45.Position = Vector3.new(-28.5668945, 1.0021925, -95.3272705)
- Part45.Rotation = Vector3.new(179.75, 0, -180)
- Part45.Color = Color3.new(0, 0.12549, 0.376471)
- Part45.Size = Vector3.new(1, 2, 1)
- Part45.Anchored = true
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.BrickColor = BrickColor.new("Navy blue")
- Part45.brickColor = BrickColor.new("Navy blue")
- Part45.FormFactor = Enum.FormFactor.Symmetric
- Part45.formFactor = Enum.FormFactor.Symmetric
- BlockMesh46.Parent = Part45
- BlockMesh46.Offset = Vector3.new(-0.100000001, 0, 0)
- BlockMesh46.Scale = Vector3.new(0.800000012, 1, 0.800000012)
- Decal47.Parent = Part45
- Decal47.Texture = "http://www.roblox.com/asset/?id=38936226"
- Decal48.Parent = Part45
- Decal48.Texture = "http://www.roblox.com/asset/?id=38936255"
- Decal48.Face = Enum.NormalId.Left
- Decal49.Parent = Part45
- Decal49.Texture = "http://www.roblox.com/asset/?id=38936242"
- Decal49.Face = Enum.NormalId.Right
- Decal50.Parent = Part45
- Decal50.Texture = "http://www.roblox.com/asset/?id=38936209"
- Decal50.Face = Enum.NormalId.Back
- Decal51.Parent = Part45
- Decal51.Texture = "http://www.roblox.com/asset/?id=38934719"
- Decal51.Face = Enum.NormalId.Top
- Decal52.Parent = Part45
- Decal52.Texture = "http://www.roblox.com/asset/?id=38934712"
- Decal52.Face = Enum.NormalId.Bottom
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = char
- pcall(function() v:MakeJoints() end)
- end
- for i,v in pairs(Model0:GetChildren()) do
- if v:IsA("Part") then
- v.Anchored = false
- v.CanCollide = false
- v.CastShadow = false
- v:BreakJoints()
- end
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- ezweld = function(p, a, b, cf)
- local weld = Instance.new("Weld",p)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = cf
- return weld
- end
- for _,v in pairs (char:children()) do
- if v:IsA("Hat") or v:IsA("Accessory") then
- v:Destroy()
- end
- end
- raw = ezweld(char, Model0["Right Arm"], ra, CFrame.new())
- law = ezweld(char, Model0["Left Arm"], la, CFrame.new())
- rlw = ezweld(char, Model0["Right Leg"], rl, CFrame.new())
- llw = ezweld(char, Model0["Left Leg"], ll, CFrame.new())
- torsw = ezweld(char, Model0["Torso"], tors, CFrame.new())
- hedw = ezweld(char, Model0["Head"], hed, CFrame.new())
- --[[
- local sur = Instance.new("BillboardGui", hed)
- sur.Name = "Billboard"
- sur.Adornee = hed
- sur.Size = UDim2.new(4.5, 0, 1, 0)
- sur.StudsOffset = Vector3.new(0, 2, 0)
- local text = Instance.new("TextLabel", sur)
- text.Text = plr.Name
- text.Size = UDim2.new(1, 0, 1, 0)
- text.TextScaled = true
- text.BackgroundTransparency = 0.5
- text.BackgroundColor3 = Color3.new(0, 0, 0)
- text.Font = Enum.Font.Arcade
- text.TextColor3 = Color3.new(1, 1, 1)
- text.TextStrokeTransparency = 1
- ]]--
- print ("wired by me. go duck sr.")
- print ("I SEE U FOUND A WIRED SCRIPT")
- print ("WHEN A DAY U GOT A PIG. A CANT SPELL PIG. AND HE MAYBE SING. I DUNNOOOOOOOOOOOOOOOOO")
- print ("AND THEY SAW NOOBS ACROSS THE STREET........edit by zeddikuss123 furry.")
- local s = Instance.new("Sound")
- s.Name = "Name"
- s.SoundId = "rbxassetid://0"
- s.Volume = 10
- s.Looped = true
- s.archivable = false
- s.Parent = game.Workspace
- wait(0.2)
- s:play()
- local pchar = game.Players.LocalPlayer.Character -- Can change player here --
- for i,v in pairs(pchar.Torso:GetChildren()) do
- if v.ClassName == 'Decal' then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar:GetChildren()) do
- if v.ClassName == 'Hat' then
- v:Destroy()
- end
- end
- for i,v in pairs(pchar.Head:GetChildren()) do
- if v.ClassName == 'Decal' then
- v:Destroy()
- end
- end
- local duck = Instance.new('SpecialMesh', pchar.Torso)
- duck.MeshType = 'FileMesh'
- duck.MeshId = 'rbxassetid://1719079794'
- duck.TextureId = 'rbxassetid://1719079844'
- duck.Scale = Vector3.new(0.1, 0.1, 0.1)
- pchar.Head.Transparency = 1
- pchar['Left Arm'].Transparency = 1
- pchar['Right Arm'].Transparency = 1
- pchar['Left Leg'].Transparency = 1
- pchar['Right Leg'].Transparency = 1
- CV="White"
- p = game.Players.LocalPlayer
- char = p.Character
- local txt = Instance.new("BillboardGui", char)
- txt.Adornee = char .Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 1
- text.Font = "Highway"
- text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=p.Character
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=char.Torso.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = Color3.fromRGB(255,192,203)
- v.Shape="Block"
- text.Text = "steve"
- wait(1/60)
- Effects = { }
- local Player = game:service'Players'.localPlayer
- local chara = Player.Character
- local Humanoid = chara:FindFirstChildOfClass("Humanoid")
- local Mouse = Player:GetMouse()
- local LeftArm = chara["Left Arm"]
- local RightArm = chara["Right Arm"]
- local LeftLeg = chara["Left Leg"]
- local RightLeg = chara["Right Leg"]
- local Head = chara.Head
- local Torso = chara.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = chara.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.WalkSpeed = 2
- Humanoid.Animator.Parent = nil
- chara.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.03333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- sndid = "rbxassetid://231901259"
- sndpi = 1
- saun = Instance.new("Sound",Head)
- saun.Volume = 5
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Name = "a"
- saun.Looped = true
- saun:Play()
- dant = 0
- Mouse.KeyDown:connect(function(key)
- key=key:lower()
- if key=="e" then
- if dant == 0 then
- dant = 1
- sndid = "rbxassetid://2332357201"
- sndpi = 1
- elseif dant == 1 then
- dant = 0
- sndid = "rbxassetid://231901259"
- sndpi = 1
- end
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun:Play()
- end
- end)
- while true do
- if Head:FindFirstChild("a")==nil then
- saun = Instance.new("Sound",Head)
- saun.Volume = 1
- saun.Pitch = sndpi
- saun.SoundId = sndid
- saun.Name = "a"
- saun.Looped = true
- saun:Play()
- end
- if dant == 0 then
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
- CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
- CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .5, false)
- end
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.268402338, -0.187939167, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
- CFrame.new(-0.409892142, 1.36144388, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
- CFrame.new(0.535924554, 1.16478181, 3.87430191e-07, -0.431316972, 0.32139343, 0.843013644, 0.185034022, -0.883022308, 0.431316644, 0.883022249, 0.342020333, 0.321393758),
- CFrame.new(-1.03069234, 0.594579875, -2.38418579e-07, -0.211470842, 0.321393758, -0.923030972, -0.418988168, -0.883022726, -0.211470872, -0.883022726, 0.342019141, 0.321393728),
- CFrame.new(0.951213062, -1.54518354, 0, 0.866025686, -0.499999642, 0, 0.499999642, 0.866025686, 0, 0, 0, 1),
- CFrame.new(0.214191973, -1.8503952, 0, 0.766044796, -0.642787218, 0, 0.642787218, 0.766044855, 0, 0, 0, 1),
- }, .5, false)
- end
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0.833580494, 1.12330246, 6.2584877e-07, -0.342020094, -1.63087847e-07, 0.939692676, 0.321394086, -0.939692557, 0.116977669, 0.883022249, 0.342020333, 0.321393758),
- CFrame.new(-0.833579302, 1.12330115, -1.49011612e-07, -0.342019886, 4.07719511e-08, -0.939692736, -0.321392894, -0.939693034, 0.116977319, -0.883022726, 0.342019141, 0.321393728),
- CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .5, false)
- end
- for i = 0, 1, 0.25 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.268400908, -0.187940732, 0, 0.939692855, -0.342019945, 0, 0.342019975, 0.939692795, 0, 0, 0, 1),
- CFrame.new(0.409947664, 1.36144304, 0, 0.766039729, 0.642798781, 0, -0.642787337, 0.766043961, 0, 0, 0, 1),
- CFrame.new(1.03070939, 0.594575524, -2.2649765e-06, -0.21146287, -0.321413547, 0.923025966, 0.418989599, -0.883016884, -0.21149224, 0.883023918, 0.342015505, 0.321394145),
- CFrame.new(-0.535904408, 1.16477537, -3.27825546e-07, -0.431322306, -0.321409196, -0.843005002, -0.185032129, -0.883013964, 0.431334615, -0.883019984, 0.342027217, 0.321392536),
- CFrame.new(-0.214235365, -1.8503921, 0, 0.766041398, 0.64279145, 0, -0.64279151, 0.766041279, 0, 0, 0, 1),
- CFrame.new(-0.965987146, -1.57677674, 0, 0.866024733, 0.500001609, 0, -0.500001609, 0.866024613, 0, 0, 0, 1),
- }, .5, false)
- end
- elseif dant == 1 then
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
- CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
- CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .2, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(-0.0436433926, 0, -0.113613628, 0.64278698, 0, -0.766044974, 0, 1, 0, 0.766044974, 0, 0.64278698),
- CFrame.new(0, 1.49999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(1.09998989, 1, -0.599998474, 0, 0, 1, 1, 0, 0, 0, 1, 0),
- CFrame.new(-1.10000229, 1, -0.599998474, 0, 0, -1, -1, 0, 0, 0, 1, 0),
- CFrame.new(0.499988556, -1.99999797, -3.81469727e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.500012398, -1.78038144, -0.819608092, 1, 0, 1.49011612e-08, 0, 0.499999046, -0.866025984, 0, 0.866026044, 0.499999046),
- }, .2, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(1.09999847, 1.1920929e-07, -0.600001514, 0, 0, 1, 0.173647985, 0.984807849, 0, -0.984807849, 0.173647985, 0),
- CFrame.new(-1.09999847, 1.1920929e-07, -0.600001514, 0, 0, -1, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985, 0),
- CFrame.new(0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- CFrame.new(-0.5, -1.99999881, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
- }, .2, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable({
- CFrame.new(0.261404335, 0, -0.167939946, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414),
- CFrame.new(0, 1.49999285, 0, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
- CFrame.new(1.10000622, 0.999999046, -0.599996626, 0, 0, 1.00000012, 1, 0, 0, 0, 1.00000012, 0),
- CFrame.new(-1.09999859, 0.999999046, -0.59999758, 0, 0, -1.00000012, -1, 0, 0, 0, 1.00000012, 0),
- CFrame.new(0.500000179, -1.78038287, -0.81961149, 1.00000012, -2.98023224e-08, 2.98023224e-08, 0, 0.499999046, -0.866025925, 0, 0.866025984, 0.499999106),
- CFrame.new(-0.500003874, -1.99999893, 3.81469772e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012),
- }, .2, false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement