SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 4 | local RealPlayer = Player | |
| 5 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
| |
| 6 | ||
| 7 | --By Rufus14 | |
| 8 | --Converted with ttyyuu12345's model to script plugin v4 | |
| 9 | mouse = game.Players.LocalPlayer:GetMouse() | |
| 10 | local plrhum = game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid")
| |
| 11 | function sandbox(var,func) | |
| 12 | local env = getfenv(func) | |
| 13 | local newenv = setmetatable({},{
| |
| 14 | __index = function(self,k) | |
| 15 | if k=="script" then | |
| 16 | return var | |
| 17 | else | |
| 18 | return env[k] | |
| 19 | end | |
| 20 | end, | |
| 21 | }) | |
| 22 | setfenv(func,newenv) | |
| 23 | return func | |
| 24 | end | |
| 25 | cors = {}
| |
| 26 | mas = Instance.new("Model",game:GetService("Lighting"))
| |
| 27 | Part0 = Instance.new("Part")
| |
| 28 | SpecialMesh2 = Instance.new("SpecialMesh")
| |
| 29 | Part0.Name = "Handle" | |
| 30 | Part0.Parent = mas | |
| 31 | Part0.BrickColor = BrickColor.new("Black")
| |
| 32 | Part0.Rotation = Vector3.new(0, 90, 0) | |
| 33 | Part0.FormFactor = Enum.FormFactor.Custom | |
| 34 | Part0.Size = Vector3.new(0.299999893, 0.568000019, 1.86800003) | |
| 35 | 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) | |
| 36 | Part0.BottomSurface = Enum.SurfaceType.Smooth | |
| 37 | Part0.TopSurface = Enum.SurfaceType.Smooth | |
| 38 | Part0.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 39 | Part0.Position = Vector3.new(-3.23400283, 0.534000635, -1.95001817) | |
| 40 | Part0.Orientation = Vector3.new(0, 90, 0) | |
| 41 | Part0.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 42 | Part0.CanCollide = false | |
| 43 | SpecialMesh2.Parent = Part0 | |
| 44 | SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=82337638" | |
| 45 | SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=82337709" | |
| 46 | SpecialMesh2.MeshType = Enum.MeshType.FileMesh | |
| 47 | for i,v in pairs(mas:GetChildren()) do | |
| 48 | v.Parent = game:GetService("Players").LocalPlayer.Character
| |
| 49 | pcall(function() v:MakeJoints() end) | |
| 50 | end | |
| 51 | mas:Destroy() | |
| 52 | for i,v in pairs(cors) do | |
| 53 | spawn(function() | |
| 54 | pcall(v) | |
| 55 | end) | |
| 56 | end | |
| 57 | Sound1 = Instance.new("Sound")
| |
| 58 | Sound1.Parent = Part0 | |
| 59 | Sound1.Pitch = 0.69999998807907 | |
| 60 | Sound1.SoundId = "http://www.roblox.com/asset/?id=82273261" | |
| 61 | Sound1.Volume = 10 | |
| 62 | Sound1.Looped = true | |
| 63 | Sound11 = Instance.new("Sound")
| |
| 64 | Sound11.Parent = Part0 | |
| 65 | Sound11.SoundId = "rbxassetid://157325701" | |
| 66 | Sound11.Volume = 10 | |
| 67 | local weld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 68 | weld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 69 | weld.Part1 = Part0 | |
| 70 | 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) | |
| 71 | equipped = false | |
| 72 | using = false | |
| 73 | local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
| |
| 74 | death.Volume = 10 | |
| 75 | death.SoundId = "rbxassetid://756352322" | |
| 76 | mothabloxuh = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
| |
| 77 | mothabloxuh.SoundId = "rbxassetid://142684400" | |
| 78 | mothabloxuh.Volume = 10 | |
| 79 | function equip(key) | |
| 80 | if key == "x" then | |
| 81 | if not equipped then | |
| 82 | equipped = true | |
| 83 | -- Objects | |
| 84 | ||
| 85 | local ScreenGui = Instance.new("ScreenGui")
| |
| 86 | local TextLabel = Instance.new("TextLabel")
| |
| 87 | ||
| 88 | -- Properties | |
| 89 | ||
| 90 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
| 91 | ||
| 92 | TextLabel.Parent = ScreenGui | |
| 93 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 94 | TextLabel.Position = UDim2.new(0.257320642, 0, 0.769705057, 0) | |
| 95 | TextLabel.Size = UDim2.new(0, 663, 0, 152) | |
| 96 | TextLabel.Font = Enum.Font.SourceSans | |
| 97 | TextLabel.FontSize = Enum.FontSize.Size14 | |
| 98 | TextLabel.Text = "Taser equipped" | |
| 99 | TextLabel.TextScaled = true | |
| 100 | TextLabel.TextSize = 14 | |
| 101 | TextLabel.TextWrapped = true | |
| 102 | wait(2) | |
| 103 | for i = 1,100 do | |
| 104 | TextLabel.BackgroundTransparency = TextLabel.BackgroundTransparency + 0.05 | |
| 105 | TextLabel.TextTransparency = TextLabel.TextTransparency + 0.05 | |
| 106 | wait() | |
| 107 | end | |
| 108 | ScreenGui:destroy() | |
| 109 | else | |
| 110 | equipped = false | |
| 111 | -- Objects | |
| 112 | ||
| 113 | local ScreenGui = Instance.new("ScreenGui")
| |
| 114 | local TextLabel = Instance.new("TextLabel")
| |
| 115 | ||
| 116 | -- Properties | |
| 117 | ||
| 118 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
| 119 | ||
| 120 | TextLabel.Parent = ScreenGui | |
| 121 | TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 122 | TextLabel.Position = UDim2.new(0.257320642, 0, 0.769705057, 0) | |
| 123 | TextLabel.Size = UDim2.new(0, 663, 0, 152) | |
| 124 | TextLabel.Font = Enum.Font.SourceSans | |
| 125 | TextLabel.FontSize = Enum.FontSize.Size14 | |
| 126 | TextLabel.Text = "Taser unequipped" | |
| 127 | TextLabel.TextScaled = true | |
| 128 | TextLabel.TextSize = 14 | |
| 129 | TextLabel.TextWrapped = true | |
| 130 | wait(2) | |
| 131 | for i = 1,100 do | |
| 132 | TextLabel.BackgroundTransparency = TextLabel.BackgroundTransparency + 0.05 | |
| 133 | TextLabel.TextTransparency = TextLabel.TextTransparency + 0.05 | |
| 134 | wait() | |
| 135 | end | |
| 136 | ScreenGui:destroy() | |
| 137 | end | |
| 138 | end | |
| 139 | end | |
| 140 | mouse.KeyDown:connect(equip) | |
| 141 | function tase() | |
| 142 | if equipped and not using then | |
| 143 | local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid")
| |
| 144 | local torso = mouse.Target.Parent:findFirstChild("Torso")
| |
| 145 | if humanoid and torso then | |
| 146 | using = true | |
| 147 | plrhum.WalkSpeed = 0 | |
| 148 | plrhum.JumpPower = 0 | |
| 149 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
| 150 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
| 151 | v.Disabled = true | |
| 152 | end | |
| 153 | end | |
| 154 | local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone() | |
| 155 | local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 156 | rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 157 | rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"] | |
| 158 | rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 159 | local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone() | |
| 160 | local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 161 | lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 162 | lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"] | |
| 163 | lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1) | |
| 164 | local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone() | |
| 165 | game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove() | |
| 166 | local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 167 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 168 | llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"] | |
| 169 | llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0) | |
| 170 | local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone() | |
| 171 | game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove() | |
| 172 | local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 173 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 174 | rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"] | |
| 175 | rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0) | |
| 176 | local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone() | |
| 177 | game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove() | |
| 178 | local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 179 | humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart | |
| 180 | humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso | |
| 181 | local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone() | |
| 182 | local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
| |
| 183 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 184 | headweld.Part1 = game.Players.LocalPlayer.Character.Head | |
| 185 | headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0) | |
| 186 | game.Players.LocalPlayer.Character.Torso.Neck:Remove() | |
| 187 | local chartorcf = torso.CFrame | |
| 188 | humanoid.WalkSpeed = 0 | |
| 189 | humanoid.JumpPower = 0 | |
| 190 | torso.Anchored = true | |
| 191 | for i = 0,1 , 0.03 do | |
| 192 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame:lerp(chartorcf * CFrame.new(0,0,4),i) | |
| 193 | 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) | |
| 194 | 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) | |
| 195 | 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) | |
| 196 | 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) | |
| 197 | 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) | |
| 198 | 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) | |
| 199 | game:GetService("RunService").RenderStepped:wait()
| |
| 200 | end | |
| 201 | torso.Anchored = false | |
| 202 | for i = 0,1 , 0.03 do | |
| 203 | torso.CFrame = torso.CFrame:lerp(CFrame.new(torso.Position, game.Players.LocalPlayer.Character.Torso.Position),i) | |
| 204 | game:GetService("RunService").RenderStepped:wait()
| |
| 205 | end | |
| 206 | local dedthmath = math.random(1,2) | |
| 207 | if dedthmath == 2 then | |
| 208 | death:Play() | |
| 209 | wait(death.TimeLength / 12.1) | |
| 210 | end | |
| 211 | if dedthmath == 1 then | |
| 212 | mothabloxuh:Play() | |
| 213 | wait(mothabloxuh.TimeLength / 16) | |
| 214 | end | |
| 215 | Sound1:Play() | |
| 216 | for i = 0,0.7 , 0.08 do | |
| 217 | torso.CFrame = torso.CFrame:lerp(CFrame.new(torso.Position, game.Players.LocalPlayer.Character.Torso.Position),i) | |
| 218 | 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) | |
| 219 | 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) | |
| 220 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.573576987, 0, 0.819151998, 0, 1, 0, -0.819151998, 0, 0.573576987),i) | |
| 221 | 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) | |
| 222 | 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) | |
| 223 | 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) | |
| 224 | game:GetService("RunService").RenderStepped:wait()
| |
| 225 | end | |
| 226 | Sound11:Play() | |
| 227 | humanoid.PlatformStand = true | |
| 228 | local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone() | |
| 229 | local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone() | |
| 230 | local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone() | |
| 231 | local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone() | |
| 232 | local leftarm = humanoid.Parent["Left Arm"] | |
| 233 | local rightrm = humanoid.Parent["Right Arm"] | |
| 234 | local leftleg = humanoid.Parent["Left Leg"] | |
| 235 | local rightleg = humanoid.Parent["Right Leg"] | |
| 236 | humanoid.Parent.Torso["Left Hip"]:destroy() | |
| 237 | local head = humanoid.Parent.Head | |
| 238 | local glue = Instance.new("Glue", humanoid.Parent.Torso)
| |
| 239 | glue.Part0 = humanoid.Parent.Torso | |
| 240 | glue.Part1 = leftleg | |
| 241 | glue.Name = "Left leg" | |
| 242 | local collider = Instance.new("Part", leftleg)
| |
| 243 | collider.Position = Vector3.new(0,999,0) | |
| 244 | collider.Size = Vector3.new(1.5, 1, 1) | |
| 245 | collider.Shape = "Cylinder" | |
| 246 | local welad = Instance.new("Weld", collider)
| |
| 247 | welad.Part0 = leftleg | |
| 248 | welad.Part1 = collider | |
| 249 | welad.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
| 250 | collider.TopSurface = "Smooth" | |
| 251 | collider.BottomSurface = "Smooth" | |
| 252 | collider.formFactor = "Symmetric" | |
| 253 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 254 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 255 | collider.Transparency = 1 | |
| 256 | ------------ | |
| 257 | humanoid.Parent.Torso["Right Hip"]:destroy() | |
| 258 | local glue1 = Instance.new("Glue", humanoid.Parent.Torso)
| |
| 259 | glue1.Part0 = humanoid.Parent.Torso | |
| 260 | glue1.Part1 = rightleg | |
| 261 | glue1.Name = "Right leg" | |
| 262 | local collider1 = Instance.new("Part", rightleg)
| |
| 263 | collider1.Position = Vector3.new(0,9999,0) | |
| 264 | collider1.Size = Vector3.new(1.5, 1, 1) | |
| 265 | collider1.Shape = "Cylinder" | |
| 266 | local weld1 = Instance.new("Weld", collider1)
| |
| 267 | weld1.Part0 = rightleg | |
| 268 | weld1.Part1 = collider1 | |
| 269 | weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
| 270 | collider1.TopSurface = "Smooth" | |
| 271 | collider1.BottomSurface = "Smooth" | |
| 272 | collider1.formFactor = "Symmetric" | |
| 273 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 274 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 275 | collider1.Transparency = 1 | |
| 276 | ------------ | |
| 277 | humanoid.Parent.Torso["Right Shoulder"]:destroy() | |
| 278 | local glue11 = Instance.new("Glue", humanoid.Parent.Torso)
| |
| 279 | glue11.Part0 = humanoid.Parent.Torso | |
| 280 | glue11.Part1 = rightrm | |
| 281 | glue11.Name = "Right shoulder" | |
| 282 | local collider11 = Instance.new("Part", rightrm)
| |
| 283 | collider11.Position = Vector3.new(0,9999,0) | |
| 284 | collider11.Size = Vector3.new(1.8,1,1) | |
| 285 | collider11.Shape = "Cylinder" | |
| 286 | local weld11 = Instance.new("Weld", collider11)
| |
| 287 | weld11.Part0 = rightrm | |
| 288 | weld11.Part1 = collider11 | |
| 289 | weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
| 290 | collider11.TopSurface = "Smooth" | |
| 291 | collider11.BottomSurface = "Smooth" | |
| 292 | collider11.formFactor = "Symmetric" | |
| 293 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 294 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 295 | collider11.Transparency = 1 | |
| 296 | ------------ | |
| 297 | humanoid.Parent.Torso["Left Shoulder"]:destroy() | |
| 298 | local glue111 = Instance.new("Glue", humanoid.Parent.Torso)
| |
| 299 | glue111.Part0 = humanoid.Parent.Torso | |
| 300 | glue111.Part1 = leftarm | |
| 301 | glue111.Name = "Left shoulder" | |
| 302 | local collider111 = Instance.new("Part", leftarm)
| |
| 303 | collider111.Position = Vector3.new(0,9999,0) | |
| 304 | collider111.Size = Vector3.new(1.5, 1, 1) | |
| 305 | collider111.Shape = "Cylinder" | |
| 306 | local weld111 = Instance.new("Weld", collider111)
| |
| 307 | weld111.Part0 = leftarm | |
| 308 | weld111.Part1 = collider111 | |
| 309 | weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2) | |
| 310 | collider111.TopSurface = "Smooth" | |
| 311 | collider111.BottomSurface = "Smooth" | |
| 312 | collider111.formFactor = "Symmetric" | |
| 313 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 314 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 315 | collider111.Transparency = 1 | |
| 316 | ----------------- | |
| 317 | wait(1) | |
| 318 | Sound1:Stop() | |
| 319 | for i = 0,1 , 0.03 do | |
| 320 | weld.C0 = weld.C0:lerp(CFrame.new(0.887325168, -1.04604864, 0.00397968292, 0.996149361, -0.087468572, 0.00603382662, -0.00560599985, 0.00513599766, 0.999971092, -0.0874970332, -0.996154428, 0.00462587178) * CFrame.new(0.3,0,0),i) | |
| 321 | headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i) | |
| 322 | humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0):inverse(),i) | |
| 323 | 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) | |
| 324 | 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) | |
| 325 | 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) | |
| 326 | game:GetService("RunService").RenderStepped:wait()
| |
| 327 | end | |
| 328 | humanoid.Health = humanoid.Health - 12 | |
| 329 | plrhum.WalkSpeed = 16 | |
| 330 | plrhum.JumpPower = 50 | |
| 331 | humanoidrootpart:destroy() | |
| 332 | rlegweld:destroy() | |
| 333 | llegweld:destroy() | |
| 334 | lhandweld:destroy() | |
| 335 | rhandweld:destroy() | |
| 336 | headweld:destroy() | |
| 337 | heed.Parent = game.Players.LocalPlayer.Character.Torso | |
| 338 | rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart | |
| 339 | lhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
| 340 | rhandclone.Parent = game.Players.LocalPlayer.Character.Torso | |
| 341 | llegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
| 342 | rlegclone.Parent = game.Players.LocalPlayer.Character.Torso | |
| 343 | using = false | |
| 344 | for i = 1,700 do | |
| 345 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
| 346 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
| 347 | v.Disabled = true | |
| 348 | end | |
| 349 | end | |
| 350 | wait() | |
| 351 | end | |
| 352 | for i,v in pairs(humanoid.Parent:GetChildren()) do | |
| 353 | if v.ClassName == "LocalScript" or v.ClassName == "Script" then | |
| 354 | v.Disabled = false | |
| 355 | end | |
| 356 | end | |
| 357 | lshclone.Parent = humanoid.Parent.Torso | |
| 358 | glue:destroy() | |
| 359 | rshclone.Parent = humanoid.Parent.Torso | |
| 360 | glue1:destroy() | |
| 361 | lhclone.Parent = humanoid.Parent.Torso | |
| 362 | glue11:destroy() | |
| 363 | rhclone.Parent = humanoid.Parent.Torso | |
| 364 | glue111:destroy() | |
| 365 | collider:destroy() | |
| 366 | collider1:destroy() | |
| 367 | collider11:destroy() | |
| 368 | collider111:destroy() | |
| 369 | humanoid.PlatformStand = false | |
| 370 | humanoid.WalkSpeed = 16 | |
| 371 | humanoid.JumpPower = 50 | |
| 372 | end | |
| 373 | end | |
| 374 | end | |
| 375 | mouse.Button1Down:connect(tase) | |
| 376 | while true do | |
| 377 | wait() | |
| 378 | if Sound1.Parent == nil then | |
| 379 | Sound1.Parent = Part0 | |
| 380 | end | |
| 381 | if mothabloxuh.Parent == nil then | |
| 382 | mothabloxuh.Parent = game.Players.LocalPlayer.Character.Head | |
| 383 | end | |
| 384 | if death.Parent == nil then | |
| 385 | death.Parent = game.Players.LocalPlayer.Character.Head | |
| 386 | end | |
| 387 | end |