Advertisement
samuelrichter66

foul mouthed taser

Mar 16th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.80 KB | None | 0 0
  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,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154.  
  155. --By Rufus14 and improved by raulib
  156. --Converted with ttyyuu12345's model to script plugin v4
  157. pcall(function()
  158. mouse = game.Players.LocalPlayer:GetMouse()
  159. local plrhum = game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid")
  160. function sandbox(var,func)
  161. local env = getfenv(func)
  162. local newenv = setmetatable({},{
  163. __index = function(self,k)
  164. if k=="script" then
  165. return var
  166. else
  167. return env[k]
  168. end
  169. end,
  170. })
  171. setfenv(func,newenv)
  172. return func
  173. end
  174. cors = {}
  175. mas = Instance.new("Model",game:GetService("Lighting"))
  176. Part0 = Instance.new("Part")
  177. SpecialMesh2 = Instance.new("SpecialMesh")
  178. Part0.Name = "Handle"
  179. Part0.Parent = mas
  180. Part0.BrickColor = BrickColor.new("Black")
  181. Part0.Rotation = Vector3.new(0, 90, 0)
  182. Part0.FormFactor = Enum.FormFactor.Custom
  183. Part0.Size = Vector3.new(0.299999893, 0.568000019, 1.86800003)
  184. 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)
  185. Part0.BottomSurface = Enum.SurfaceType.Smooth
  186. Part0.TopSurface = Enum.SurfaceType.Smooth
  187. Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
  188. Part0.Position = Vector3.new(-3.23400283, 0.534000635, -1.95001817)
  189. Part0.Orientation = Vector3.new(0, 90, 0)
  190. Part0.Color = Color3.new(0.105882, 0.164706, 0.207843)
  191. Part0.CanCollide = false
  192. SpecialMesh2.Parent = Part0
  193. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=82337638"
  194. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=82337709"
  195. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  196. for i,v in pairs(mas:GetChildren()) do
  197. v.Parent = game:GetService("Players").LocalPlayer.Character
  198. pcall(function() v:MakeJoints() end)
  199. end
  200. mas:Destroy()
  201. for i,v in pairs(cors) do
  202. spawn(function()
  203. pcall(v)
  204. end)
  205. end
  206. Sound1 = Instance.new("Sound")
  207. Sound1.Parent = Part0
  208. Sound1.Pitch = 0.69999998807907
  209. Sound1.SoundId = "http://www.roblox.com/asset/?id=82273261"
  210. Sound1.Volume = 10
  211. Sound1.Looped = true
  212. Sound11 = Instance.new("Sound")
  213. Sound11.Parent = Part0
  214. Sound11.SoundId = "rbxassetid://157325701"
  215. Sound11.Volume = 10
  216. local weld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  217. weld.Part0 = game.Players.LocalPlayer.Character.Torso
  218. weld.Part1 = Part0
  219. 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)
  220. equipped = false
  221. using = false
  222. local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  223. death.Volume = 10
  224. death.SoundId = "rbxassetid://1309384445"
  225. death.PlaybackSpeed = 12.1
  226. mothabloxuh = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  227. mothabloxuh.SoundId = "rbxassetid://143302576"
  228. mothabloxuh.Volume = 10
  229. mothabloxuh.PlaybackSpeed = 16
  230. begone = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  231. begone.SoundId = "rbxassetid://854345294"
  232. begone.Volume = 10
  233. begone.TimePosition = 2
  234. function equip(key)
  235. if key == "x" then
  236. if not equipped then
  237. equipped = true
  238. -- Objects
  239.  
  240. local ScreenGui = Instance.new("ScreenGui")
  241. local TextLabel = Instance.new("TextLabel")
  242.  
  243. -- Properties
  244.  
  245. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  246.  
  247. TextLabel.Parent = ScreenGui
  248. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  249. TextLabel.Position = UDim2.new(0.257320642, 0, 0.769705057, 0)
  250. TextLabel.Size = UDim2.new(0, 663, 0, 152)
  251. TextLabel.Font = Enum.Font.SourceSans
  252. TextLabel.FontSize = Enum.FontSize.Size14
  253. TextLabel.BackgroundTransparency = 1
  254. TextLabel.Text = "Taser equipped"
  255. TextLabel.TextScaled = true
  256. TextLabel.TextSize = 100
  257. TextLabel.TextWrapped = true
  258. TextLabel.TextColor3 = Color3.new(0,0,0)
  259. wait(2)
  260. for i = 1,100 do
  261. TextLabel.BackgroundTransparency = TextLabel.BackgroundTransparency + 0.05
  262. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.05
  263. wait()
  264. end
  265. ScreenGui:destroy()
  266. else
  267. equipped = false
  268. -- Objects
  269.  
  270. local ScreenGui = Instance.new("ScreenGui")
  271. local TextLabel = Instance.new("TextLabel")
  272.  
  273. -- Properties
  274.  
  275. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  276.  
  277. TextLabel.Parent = ScreenGui
  278. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  279. TextLabel.Position = UDim2.new(0.257320642, 0, 0.769705057, 0)
  280. TextLabel.Size = UDim2.new(0, 663, 0, 152)
  281. TextLabel.Font = Enum.Font.SourceSans
  282. TextLabel.FontSize = Enum.FontSize.Size14
  283. TextLabel.Text = "Taser unequipped"
  284. TextLabel.TextScaled = true
  285. TextLabel.BackgroundTransparency = 1
  286. TextLabel.TextSize = 14
  287. TextLabel.TextWrapped = true
  288. TextLabel.TextColor3 = Color3.new(0,0,0)
  289. wait(2)
  290. for i = 1,100 do
  291. TextLabel.BackgroundTransparency = TextLabel.BackgroundTransparency + 0.05
  292. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.05
  293. wait()
  294. end
  295. ScreenGui:destroy()
  296. end
  297. end
  298. end
  299. mouse.KeyDown:connect(equip)
  300. function tase()
  301. if equipped and not mouse.Target.Parent:findFirstChild("Tased") and not using then
  302. local humanoid = mouse.Target.Parent:findFirstChildOfClass("Humanoid")
  303. local torso = mouse.Target.Parent:findFirstChild("Torso")
  304. if humanoid and mouse.Target.Parent.Name ~= "Rufus14" then
  305. using = true
  306. plrhum.WalkSpeed = 0
  307. plrhum.JumpPower = 0
  308. for i,v in pairs(humanoid.Parent:GetChildren()) do
  309. if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  310. v.Disabled = true
  311. end
  312. end
  313. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  314. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  315. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  316. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  317. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  318. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  319. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  320. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  321. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  322. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  323. local llegclone = game.Players.LocalPlayer.Character.Torso["Left Hip"]:Clone()
  324. game.Players.LocalPlayer.Character.Torso["Left Hip"]:Remove()
  325. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  326. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  327. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  328. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  329. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  330. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  331. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  332. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  333. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  334. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  335. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  336. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  337. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  338. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  339. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  340. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  341. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  342. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  343. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  344. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  345. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  346. local chartorcf = torso.CFrame
  347. humanoid.WalkSpeed = 0
  348. humanoid.JumpPower = 0
  349. torso.Anchored = true
  350. for i = 0,1 , 0.03 do
  351. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame:lerp(chartorcf * CFrame.new(0,0,4),i)
  352. 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)
  353. 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)
  354. 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)
  355. 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)
  356. 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)
  357. 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)
  358. game:GetService("RunService").RenderStepped:wait()
  359. end
  360. torso.Anchored = false
  361. for i = 0,1 , 0.03 do
  362. torso.CFrame = torso.CFrame:lerp(CFrame.new(torso.Position, game.Players.LocalPlayer.Character.Torso.Position),i)
  363. game:GetService("RunService").RenderStepped:wait()
  364. end
  365. local dedthmath = math.random(1,3)
  366. if dedthmath == 2 then
  367. death:Play()
  368. wait(death.TimeLength / 12.1)
  369. end
  370. if dedthmath == 1 then
  371. mothabloxuh:Play()
  372. wait(mothabloxuh.TimeLength / 16)
  373. end
  374. if dedthmath == 3 then
  375. begone:Play()
  376. begone.TimePosition = 2
  377. wait(begone.TimeLength - 2.5)
  378. end
  379. Sound1:Play()
  380. local foundhum = false
  381. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  382. foundhum = true
  383. humclone = humanoid.Parent.HumanoidRootPart:Clone()
  384. humanoid.Parent.HumanoidRootPart:Remove()
  385. end
  386. for i = 0,0.7 , 0.08 do
  387. torso.CFrame = torso.CFrame:lerp(CFrame.new(torso.Position, game.Players.LocalPlayer.Character.Torso.Position),i)
  388. 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)
  389. 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)
  390. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.573576987, 0, 0.819151998, 0, 1, 0, -0.819151998, 0, 0.573576987),i)
  391. 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)
  392. 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)
  393. 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)
  394. game:GetService("RunService").RenderStepped:wait()
  395. end
  396. Sound11:Play()
  397. humanoid.PlatformStand = true
  398. TasedThing = Instance.new("Model",humanoid.Parent)
  399. TasedThing.Name = "Tased"
  400. local lshclone = humanoid.Parent.Torso["Left Shoulder"]:Clone()
  401. local rshclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  402. local lhclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  403. local rhclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  404. local leftarm = humanoid.Parent["Left Arm"]
  405. local rightrm = humanoid.Parent["Right Arm"]
  406. local leftleg = humanoid.Parent["Left Leg"]
  407. local rightleg = humanoid.Parent["Right Leg"]
  408. humanoid.Parent.Torso["Left Hip"]:destroy()
  409. local head = humanoid.Parent.Head
  410. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  411. glue.Part0 = humanoid.Parent.Torso
  412. glue.Part1 = leftleg
  413. glue.Name = "Left leg"
  414. local collider = Instance.new("Part", leftleg)
  415. collider.Position = Vector3.new(0,999,0)
  416. collider.Size = Vector3.new(1.5, 1, 1)
  417. collider.Shape = "Cylinder"
  418. local welad = Instance.new("Weld", collider)
  419. welad.Part0 = leftleg
  420. welad.Part1 = collider
  421. welad.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  422. collider.TopSurface = "Smooth"
  423. collider.BottomSurface = "Smooth"
  424. collider.formFactor = "Symmetric"
  425. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  426. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  427. collider.Transparency = 1
  428. ------------
  429. humanoid.Parent.Torso["Right Hip"]:destroy()
  430. local glue1 = Instance.new("Glue", humanoid.Parent.Torso)
  431. glue1.Part0 = humanoid.Parent.Torso
  432. glue1.Part1 = rightleg
  433. glue1.Name = "Right leg"
  434. local collider1 = Instance.new("Part", rightleg)
  435. collider1.Position = Vector3.new(0,9999,0)
  436. collider1.Size = Vector3.new(1.5, 1, 1)
  437. collider1.Shape = "Cylinder"
  438. local weld1 = Instance.new("Weld", collider1)
  439. weld1.Part0 = rightleg
  440. weld1.Part1 = collider1
  441. weld1.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  442. collider1.TopSurface = "Smooth"
  443. collider1.BottomSurface = "Smooth"
  444. collider1.formFactor = "Symmetric"
  445. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  446. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  447. collider1.Transparency = 1
  448. ------------
  449. humanoid.Parent.Torso["Right Shoulder"]:destroy()
  450. local glue11 = Instance.new("Glue", humanoid.Parent.Torso)
  451. glue11.Part0 = humanoid.Parent.Torso
  452. glue11.Part1 = rightrm
  453. glue11.Name = "Right shoulder"
  454. local collider11 = Instance.new("Part", rightrm)
  455. collider11.Position = Vector3.new(0,9999,0)
  456. collider11.Size = Vector3.new(1.8,1,1)
  457. collider11.Shape = "Cylinder"
  458. local weld11 = Instance.new("Weld", collider11)
  459. weld11.Part0 = rightrm
  460. weld11.Part1 = collider11
  461. weld11.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  462. collider11.TopSurface = "Smooth"
  463. collider11.BottomSurface = "Smooth"
  464. collider11.formFactor = "Symmetric"
  465. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  466. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  467. collider11.Transparency = 1
  468. ------------
  469. humanoid.Parent.Torso["Left Shoulder"]:destroy()
  470. local glue111 = Instance.new("Glue", humanoid.Parent.Torso)
  471. glue111.Part0 = humanoid.Parent.Torso
  472. glue111.Part1 = leftarm
  473. glue111.Name = "Left shoulder"
  474. local collider111 = Instance.new("Part", leftarm)
  475. collider111.Position = Vector3.new(0,9999,0)
  476. collider111.Size = Vector3.new(1.5, 1, 1)
  477. collider111.Shape = "Cylinder"
  478. local weld111 = Instance.new("Weld", collider111)
  479. weld111.Part0 = leftarm
  480. weld111.Part1 = collider111
  481. weld111.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  482. collider111.TopSurface = "Smooth"
  483. collider111.BottomSurface = "Smooth"
  484. collider111.formFactor = "Symmetric"
  485. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  486. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  487. collider111.Transparency = 1
  488. -----------------
  489. wait(1)
  490. Sound1:Stop()
  491. for i = 0,1 , 0.03 do
  492. 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)
  493. headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
  494. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0):inverse(),i)
  495. 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)
  496. 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)
  497. 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)
  498. game:GetService("RunService").RenderStepped:wait()
  499. end
  500. humanoid.Health = humanoid.Health - 12
  501. plrhum.WalkSpeed = 16
  502. plrhum.JumpPower = 50
  503. humanoidrootpart:destroy()
  504. rlegweld:destroy()
  505. llegweld:destroy()
  506. lhandweld:destroy()
  507. rhandweld:destroy()
  508. headweld:destroy()
  509. heed.Parent = game.Players.LocalPlayer.Character.Torso
  510. rootjointclone.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  511. lhandclone.Parent = game.Players.LocalPlayer.Character.Torso
  512. rhandclone.Parent = game.Players.LocalPlayer.Character.Torso
  513. llegclone.Parent = game.Players.LocalPlayer.Character.Torso
  514. rlegclone.Parent = game.Players.LocalPlayer.Character.Torso
  515. using = false
  516. for i = 1,500 do
  517. for i,v in pairs(humanoid.Parent:GetChildren()) do
  518. if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  519. v.Disabled = true
  520. end
  521. end
  522. wait()
  523. end
  524. for i,v in pairs(humanoid.Parent:GetChildren()) do
  525. if v.ClassName == "LocalScript" or v.ClassName == "Script" then
  526. v.Disabled = false
  527. end
  528. end
  529. lshclone.Parent = humanoid.Parent.Torso
  530. glue:destroy()
  531. rshclone.Parent = humanoid.Parent.Torso
  532. glue1:destroy()
  533. lhclone.Parent = humanoid.Parent.Torso
  534. glue11:destroy()
  535. rhclone.Parent = humanoid.Parent.Torso
  536. glue111:destroy()
  537. collider:destroy()
  538. collider1:destroy()
  539. collider11:destroy()
  540. collider111:destroy()
  541. humanoid.PlatformStand = false
  542. humanoid.WalkSpeed = 16
  543. humanoid.JumpPower = 50
  544. TasedThing:Destroy()
  545. if foundhum then
  546. humclone.Parent = humanoid.Parent
  547. end
  548. end
  549. end
  550. end
  551. mouse.Button1Down:connect(tase)
  552. while true do
  553. wait()
  554. if Sound11.Parent == nil then
  555. Sound11.Parent = Part0
  556. end
  557. if Sound1.Parent == nil then
  558. Sound1.Parent = Part0
  559. end
  560. if mothabloxuh.Parent == nil then
  561. mothabloxuh.Parent = game.Players.LocalPlayer.Character.Head
  562. end
  563. if begone.Parent == nil then
  564. begone.Parent = game.Players.LocalPlayer.Character.Head
  565. end
  566. if death.Parent == nil then
  567. death.Parent = game.Players.LocalPlayer.Character.Head
  568. end
  569. end
  570. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement