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
- --By Rufus14 and improved by raulib
- --Converted with ttyyuu12345's model to script plugin v4
- pcall(function()
- mouse = game.Players.LocalPlayer:GetMouse()
- local plrhum = game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid")
- 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"))
- Part0 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Part0.Name = "Handle"
- Part0.Parent = mas
- Part0.BrickColor = BrickColor.new("Black")
- Part0.Rotation = Vector3.new(0, 90, 0)
- Part0.FormFactor = Enum.FormFactor.Custom
- Part0.Size = Vector3.new(0.299999893, 0.568000019, 1.86800003)
- Part0.CFrame = CFrame.new(-3.23400283, 0.534000635, -1.95001817, 2.38418778e-07, -6.64252511e-08, 1.00000143, -1.71991275e-08, 1.00000215, 1.80917198e-07, -1.00000072, -1.04978994e-07, -2.98024148e-08)
- Part0.BottomSurface = Enum.SurfaceType.Smooth
- Part0.TopSurface = Enum.SurfaceType.Smooth
- Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part0.Position = Vector3.new(-3.23400283, 0.534000635, -1.95001817)
- Part0.Orientation = Vector3.new(0, 90, 0)
- Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part0.CanCollide = false
- SpecialMesh2.Parent = Part0
- SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=82337638"
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=82337709"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- Sound1 = Instance.new("Sound")
- Sound1.Parent = Part0
- Sound1.Pitch = 0.69999998807907
- Sound1.SoundId = "http://www.roblox.com/asset/?id=82273261"
- Sound1.Volume = 10
- Sound1.Looped = true
- Sound11 = Instance.new("Sound")
- Sound11.Parent = Part0
- Sound11.SoundId = "rbxassetid://157325701"
- Sound11.Volume = 10
- local weld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- weld.Part0 = game.Players.LocalPlayer.Character.Torso
- weld.Part1 = Part0
- weld.C0 = CFrame.new(0.78007102, -1.2894789, -0.0375933647, 1, 0, 0, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984) * CFrame.new(0.3,0,0)
- equipped = false
- using = false
- local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- death.Volume = 10
- death.SoundId = "rbxassetid://1309384445"
- death.PlaybackSpeed = 12.1
- mothabloxuh = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- mothabloxuh.SoundId = "rbxassetid://143302576"
- mothabloxuh.Volume = 10
- mothabloxuh.PlaybackSpeed = 16
- begone = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
- begone.SoundId = "rbxassetid://854345294"
- begone.Volume = 10
- begone.TimePosition = 2
- function equip(key)
- if key == "x" then
- if not equipped then
- equipped = true
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextLabel.Parent = ScreenGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.Position = UDim2.new(0.257320642, 0, 0.769705057, 0)
- TextLabel.Size = UDim2.new(0, 663, 0, 152)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.BackgroundTransparency = 1
- TextLabel.Text = "Taser equipped"
- TextLabel.TextScaled = true
- TextLabel.TextSize = 100
- TextLabel.TextWrapped = true
- TextLabel.TextColor3 = Color3.new(0,0,0)
- wait(2)
- for i = 1,100 do
- TextLabel.BackgroundTransparency = TextLabel.BackgroundTransparency + 0.05
- TextLabel.TextTransparency = TextLabel.TextTransparency + 0.05
- wait()
- end
- ScreenGui:destroy()
- else
- equipped = false
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- TextLabel.Parent = ScreenGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.Position = UDim2.new(0.257320642, 0, 0.769705057, 0)
- TextLabel.Size = UDim2.new(0, 663, 0, 152)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "Taser unequipped"
- TextLabel.TextScaled = true
- TextLabel.BackgroundTransparency = 1
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextLabel.TextColor3 = Color3.new(0,0,0)
- wait(2)
- for i = 1,100 do
- TextLabel.BackgroundTransparency = TextLabel.BackgroundTransparency + 0.05
- TextLabel.TextTransparency = TextLabel.TextTransparency + 0.05
- wait()
- end
- ScreenGui:destroy()
- end
- end
- end
- mouse.KeyDown:connect(equip)
- function tase()
- if equipped and not mouse.Target.Parent:findFirstChild("Tased") and not using then
- local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid")
- local torso = mouse.Target.Parent:findFirstChild("Torso")
- if humanoid and mouse.Target.Parent.Name ~= "Rufus14" then
- using = true
- plrhum.WalkSpeed = 0
- plrhum.JumpPower = 0
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "LocalScript" or v.ClassName == "Script" then
- v.Disabled = true
- end
- end
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
- game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
- local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
- humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
- local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
- local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- headweld.Part0 = game.Players.LocalPlayer.Character.Torso
- headweld.Part1 = game.Players.LocalPlayer.Character.Head
- headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
- game.Players.LocalPlayer.Character.Torso.Neck:Remove()
- local chartorcf = torso.CFrame
- humanoid.WalkSpeed = 0
- humanoid.JumpPower = 0
- torso.Anchored = true
- for i = 0,1 , 0.03 do
- game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame:lerp(chartorcf * CFrame.new(0,0,4),i)
- weld.C0 = weld.C0:lerp(CFrame.new(0.05532372, 0.650138378, -2.2124567, 0.818939149, 0.056022197, 0.571139455, -0.00759600196, 0.99619478, -0.0868235677, -0.573830128, 0.066764839, 0.816248417),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.573576868, 0, 0.819151819, 0, 1, 0, -0.819151819, 0, 0.573576868),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.64278698, 0, 0.766044974, 0, 1, 0, -0.766044974, 0, 0.64278698):inverse(),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.696961582, -1.9652704, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.95053422, 0.315465927, 0, 0.819151819, 0.573576868, 0, -0.573576868, 0.819151819, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.01333892, 0.490593195, -1.01113009, 0.76604414, 0.642788053, 0, 0, 0, -1, -0.642788053, 0.76604414, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- torso.Anchored = false
- for i = 0,1 , 0.03 do
- torso.CFrame = torso.CFrame:lerp(CFrame.new(torso.Position, game.Players.LocalPlayer.Character.Torso.Position),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- local dedthmath = math.random(1,3)
- if dedthmath == 2 then
- death:Play()
- wait(death.TimeLength / 12.1)
- end
- if dedthmath == 1 then
- mothabloxuh:Play()
- wait(mothabloxuh.TimeLength / 16)
- end
- if dedthmath == 3 then
- begone:Play()
- begone.TimePosition = 2
- wait(begone.TimeLength - 2.5)
- end
- Sound1:Play()
- local foundhum = false
- if humanoid.Parent:findFirstChild("HumanoidRootPart") then
- foundhum = true
- humclone = humanoid.Parent.HumanoidRootPart:Clone()
- humanoid.Parent.HumanoidRootPart:Remove()
- end
- for i = 0,0.7 , 0.08 do
- torso.CFrame = torso.CFrame:lerp(CFrame.new(torso.Position, game.Players.LocalPlayer.Character.Torso.Position),i)
- weld.C0 = weld.C0:lerp(CFrame.new(2.9636693, 0.650137901, -1.3644259, 0.643021107, -0.0616276413, -0.763365149, -0.00759599917, 0.99619478, -0.0868228301, 0.765811086, 0.061627429, 0.640106201),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.573575795, 0, -0.819152772, 0, 1, 0, 0.819152772, 0, 0.573575795),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.573576987, 0, 0.819151998, 0, 1, 0, -0.819151998, 0, 0.573576987),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.696961582, -1.9652704, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-2.09392834, 0.520254135, 0, 0.573575199, 0.819153309, 0, -0.81915313, 0.573575079, 0, 0, 0, 1.00000024),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.85061085, 0.490592957, -0.371278524, 0.819152117, -0.573577046, 0, 0, 0, -1, 0.573577046, 0.819152117, 0),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- Sound11:Play()
- humanoid.PlatformStand = true
- TasedThing = Instance.new("Model",humanoid.Parent)
- TasedThing.Name = "Tased"
- local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
- local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
- local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
- local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
- local leftarm = humanoid.Parent["Left Arm"]
- local rightrm = humanoid.Parent["Right Arm"]
- local leftleg = humanoid.Parent["Left Leg"]
- local rightleg = humanoid.Parent["Right Leg"]
- humanoid.Parent.Torso["Left Hip"]:destroy()
- local head = humanoid.Parent.Head
- local glue = Instance.new("Glue", humanoid.Parent.Torso)
- glue.Part0 = humanoid.Parent.Torso
- glue.Part1 = leftleg
- glue.Name = "Left leg"
- local collider = Instance.new("Part", leftleg)
- collider.Position = Vector3.new(0,999,0)
- collider.Size = Vector3.new(1.5, 1, 1)
- collider.Shape = "Cylinder"
- local welad = Instance.new("Weld", collider)
- welad.Part0 = leftleg
- welad.Part1 = collider
- welad.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider.TopSurface = "Smooth"
- collider.BottomSurface = "Smooth"
- collider.formFactor = "Symmetric"
- glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- collider.Transparency = 1
- ------------
- humanoid.Parent.Torso["Right Hip"]:destroy()
- local glue1 = Instance.new("Glue", humanoid.Parent.Torso)
- glue1.Part0 = humanoid.Parent.Torso
- glue1.Part1 = rightleg
- glue1.Name = "Right leg"
- local collider1 = Instance.new("Part", rightleg)
- collider1.Position = Vector3.new(0,9999,0)
- collider1.Size = Vector3.new(1.5, 1, 1)
- collider1.Shape = "Cylinder"
- local weld1 = Instance.new("Weld", collider1)
- weld1.Part0 = rightleg
- weld1.Part1 = collider1
- weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider1.TopSurface = "Smooth"
- collider1.BottomSurface = "Smooth"
- collider1.formFactor = "Symmetric"
- glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- collider1.Transparency = 1
- ------------
- humanoid.Parent.Torso["Right Shoulder"]:destroy()
- local glue11 = Instance.new("Glue", humanoid.Parent.Torso)
- glue11.Part0 = humanoid.Parent.Torso
- glue11.Part1 = rightrm
- glue11.Name = "Right shoulder"
- local collider11 = Instance.new("Part", rightrm)
- collider11.Position = Vector3.new(0,9999,0)
- collider11.Size = Vector3.new(1.8,1,1)
- collider11.Shape = "Cylinder"
- local weld11 = Instance.new("Weld", collider11)
- weld11.Part0 = rightrm
- weld11.Part1 = collider11
- weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider11.TopSurface = "Smooth"
- collider11.BottomSurface = "Smooth"
- collider11.formFactor = "Symmetric"
- glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- collider11.Transparency = 1
- ------------
- humanoid.Parent.Torso["Left Shoulder"]:destroy()
- local glue111 = Instance.new("Glue", humanoid.Parent.Torso)
- glue111.Part0 = humanoid.Parent.Torso
- glue111.Part1 = leftarm
- glue111.Name = "Left shoulder"
- local collider111 = Instance.new("Part", leftarm)
- collider111.Position = Vector3.new(0,9999,0)
- collider111.Size = Vector3.new(1.5, 1, 1)
- collider111.Shape = "Cylinder"
- local weld111 = Instance.new("Weld", collider111)
- weld111.Part0 = leftarm
- weld111.Part1 = collider111
- weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
- collider111.TopSurface = "Smooth"
- collider111.BottomSurface = "Smooth"
- collider111.formFactor = "Symmetric"
- glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- collider111.Transparency = 1
- -----------------
- wait(1)
- Sound1:Stop()
- for i = 0,1 , 0.03 do
- weld.C0 = weld.C0:lerp(CFrame.new(0.78007102, -1.2894789, -0.0375933647, 1, 0, 0, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984) * CFrame.new(0.3,0,0),i)
- headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
- humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0):inverse(),i)
- llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
- game:GetService("RunService").RenderStepped:wait()
- end
- humanoid.Health = humanoid.Health - 12
- plrhum.WalkSpeed = 16
- plrhum.JumpPower = 50
- humanoidrootpart:destroy()
- rlegweld:destroy()
- llegweld:destroy()
- lhandweld:destroy()
- rhandweld:destroy()
- headweld:destroy()
- heed.Parent = game.Players.LocalPlayer.Character.Torso
- rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- lhandclone.Parent = game.Players.LocalPlayer.Character.Torso
- rhandclone.Parent = game.Players.LocalPlayer.Character.Torso
- llegclone.Parent = game.Players.LocalPlayer.Character.Torso
- rlegclone.Parent = game.Players.LocalPlayer.Character.Torso
- using = false
- for i = 1,500 do
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "LocalScript" or v.ClassName == "Script" then
- v.Disabled = true
- end
- end
- wait()
- end
- for i,v in pairs(humanoid.Parent:GetChildren()) do
- if v.ClassName == "LocalScript" or v.ClassName == "Script" then
- v.Disabled = false
- end
- end
- lshclone.Parent = humanoid.Parent.Torso
- glue:destroy()
- rshclone.Parent = humanoid.Parent.Torso
- glue1:destroy()
- lhclone.Parent = humanoid.Parent.Torso
- glue11:destroy()
- rhclone.Parent = humanoid.Parent.Torso
- glue111:destroy()
- collider:destroy()
- collider1:destroy()
- collider11:destroy()
- collider111:destroy()
- humanoid.PlatformStand = false
- humanoid.WalkSpeed = 16
- humanoid.JumpPower = 50
- TasedThing:Destroy()
- if foundhum then
- humclone.Parent = humanoid.Parent
- end
- end
- end
- end
- mouse.Button1Down:connect(tase)
- while true do
- wait()
- if Sound11.Parent == nil then
- Sound11.Parent = Part0
- end
- if Sound1.Parent == nil then
- Sound1.Parent = Part0
- end
- if mothabloxuh.Parent == nil then
- mothabloxuh.Parent = game.Players.LocalPlayer.Character.Head
- end
- if begone.Parent == nil then
- begone.Parent = game.Players.LocalPlayer.Character.Head
- end
- if death.Parent == nil then
- death.Parent = game.Players.LocalPlayer.Character.Head
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement