Advertisement
Mediakiller7Cool

Edit

Mar 11th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.51 KB | None | 0 0
  1. warn("Created By Subaru112")
  2. warn("Edited By Mediakiller7")
  3. warn("I Edited This For Him C:")
  4.  
  5. local char = owner.Character
  6.  
  7. for i,v in pairs(char:GetChildren()) do
  8. for i,s in pairs(v:GetChildren()) do
  9. if s.ClassName == "Decal" then
  10. s:Destroy()
  11. end
  12. end
  13. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  14. v.Handle.Transparency = 0.8
  15. v.Handle.Material = "Glass"
  16. v.Handle:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  17. v.Handle.BrickColor = BrickColor.new("Medium stone gray")
  18. end
  19.  
  20. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  21. if not(v.Name == "HumanoidRootPart") then
  22. v.Transparency = 0.8
  23. v.Material = "Glass"
  24. v.BrickColor = BrickColor.new("Medium stone gray")
  25. end
  26. end
  27. end
  28.  
  29. while true do
  30. wait()
  31. for i,v in pairs(char:GetChildren()) do
  32. if v.ClassName == "CharacterMesh" or v.ClassName == "Shirt" or v.ClassName == "Pants" then
  33. v:Destroy()
  34. end
  35. for i,s in pairs(v:GetChildren()) do
  36. if s.ClassName == "Decal" then
  37. s:Destroy()
  38. end
  39. end
  40.  
  41. if v.ClassName == "Model" then
  42. for i,s in pairs(v:GetChildren()) do
  43. if s.ClassName == "Part" or s.ClassName == "MeshPart" then
  44. if not(s.Name == "HumanoidRootPart") then
  45. s.Transparency = 0.8
  46. s.Material = "Glass"
  47. s.BrickColor = BrickColor.new("Medium stone gray")
  48. end
  49. end
  50. end
  51. end
  52.  
  53. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  54. if not(v.Name == "HumanoidRootPart") then
  55. v.Transparency = 0.8
  56. v.Material = "Glass"
  57. v.BrickColor = BrickColor.new("Medium stone gray")
  58. end
  59. end
  60. end
  61.  
  62. end
  63.  
  64. -This Script is maked by Subaru Plz Dont Call me Copyer--
  65.  
  66. local plr = owner
  67. local char = plr.Character
  68. local hum = char:FindFirstChildOfClass("Humanoid")
  69.  
  70. local remote = Instance.new("RemoteEvent", char)
  71. remote.Name = "ReplicationEvent"
  72. local client = NLS([==[
  73. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  74. local remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  75. spawn(function()
  76. while game:GetService("RunService").Heartbeat:Wait() do
  77. remote = game:GetService("Players").LocalPlayer.Character:WaitForChild("ReplicationEvent")
  78. end
  79. end)
  80. game:GetService("UserInputService").InputBegan:Connect(function(input, isTyping)
  81. if isTyping == false and input.UserInputType == Enum.UserInputType.Keyboard then
  82. remote:FireServer(1, input.KeyCode)
  83. end
  84. end)
  85. mouse.Button1Down:Connect(function()
  86. remote:FireServer(2)
  87. end)
  88. remote.OnClientEvent:Connect(function()
  89. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, Vector3.new(mouse.Hit.Position.X, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position.Y, mouse.Hit.Position.Z))
  90. end)
  91. ]==], char)
  92. local RS = char.Torso["Right Shoulder"]
  93. local LS = char.Torso["Left Shoulder"]
  94. local RH = char.Torso["Right Hip"]
  95. local LH = char.Torso["Left Hip"]
  96. local rootj = char.HumanoidRootPart.RootJoint
  97. local throwbutton = false
  98. local throw = false
  99. local normalanim = true
  100. local attackd = false
  101. local animpose = "Idle"
  102. local timepos = 0
  103. local sine = 0
  104. local RSnor = RS.C0
  105. local LSnor = LS.C0
  106. local RHnor = RH.C0
  107. local LHnor = LH.C0
  108. local rootjnor = rootj.C0
  109.  
  110. ---------------------------------
  111. --------------Set up-------------
  112. ---------------------------------
  113.  
  114. local char = owner.Character
  115.  
  116. local remotec = false
  117. local control = false
  118.  
  119. function onTouched(fire)
  120. if remotec == true then
  121. local hum = fire.Parent:FindFirstChild("Humanoid")
  122. if hum then
  123. control = true
  124. local hed = hum.Parent.Head
  125. hum.PlatformStand = true
  126. local w = Instance.new("Weld")
  127. w.Part0 = char.Head
  128. w.Part1 = hed
  129. w.Name = "break"
  130. w.Parent = char
  131.  
  132. for i,v in pairs(hum.Parent:GetChildren()) do
  133. if v.Name == "Torso" or v.Name == "UpperTorso" then
  134. local w2 = Instance.new("Weld")
  135. w2.Part0 = char.Torso
  136. w2.Part1 = v
  137. w2.Name = "break"
  138. w2.Parent = char
  139. end
  140. end
  141.  
  142. for i,v in pairs(hum.Parent:GetChildren()) do
  143. if v.Name == "Right Arm" then
  144. local w3 = Instance.new("Weld")
  145. w3.Part0 = char["Right Arm"]
  146. w3.Part1 = v
  147. w3.Name = "break"
  148. w3.Parent = char
  149. end
  150. end
  151.  
  152. for i,v in pairs(hum.Parent:GetChildren()) do
  153. if v.Name == "Left Arm" then
  154. local w4 = Instance.new("Weld")
  155. w4.Part0 = char["Left Arm"]
  156. w4.Part1 = v
  157. w4.Name = "break"
  158. w4.Parent = char
  159. end
  160. end
  161.  
  162. for i,v in pairs(hum.Parent:GetChildren()) do
  163. if v.Name == "Right Leg" then
  164. local w5 = Instance.new("Weld")
  165. w5.Part0 = char["Right Leg"]
  166. w5.Part1 = v
  167. w5.Name = "break"
  168. w5.Parent = char
  169. end
  170. end
  171.  
  172. for i,v in pairs(hum.Parent:GetChildren()) do
  173. if v.Name == "Left Leg" then
  174. local w6 = Instance.new("Weld")
  175. w6.Part0 = char["Left Leg"]
  176. w6.Part1 = v
  177. w6.Name = "break"
  178. w6.Parent = char
  179. end
  180. end
  181.  
  182. hum.PlatformStand = true
  183. hum.PlatformStand = true
  184. hum.PlatformStand = true
  185. hum.PlatformStand = true
  186. hum.PlatformStand = true
  187. hum.PlatformStand = true
  188.  
  189. char.Head.face.Transparency = 1
  190. for i,v in pairs(char:GetChildren()) do
  191. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  192. v.Handle.Transparency = 1
  193. end
  194. if v.ClassName == "Part" then
  195. v.Transparency = 1
  196. end
  197.  
  198. end
  199. end
  200. end
  201. end
  202. o3.Touched:connect(onTouched)
  203.  
  204. ---------------------------------
  205. -------------Attacks-------------
  206. ---------------------------------
  207.  
  208. remote.OnServerEvent:Connect(function(Player, number, key)
  209. if number == 1 and plr.Name == Player.Name and attackd == false then
  210. if key == Enum.KeyCode.Z then
  211. if remotec == false and control == false then
  212. remotec = true
  213. wait(0.2)
  214. remotec = false
  215. end
  216. end
  217. if key == Enum.KeyCode.X then
  218. if control == true then
  219. control = false
  220. char.Head.face.Transparency = 0
  221. for i,v in pairs(char:GetChildren()) do
  222. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  223. v.Handle.Transparency = 0
  224. end
  225. if v.ClassName == "Part" then
  226. if not(v.Name == "HumanoidRootPart") then
  227. v.Transparency = 0
  228. end
  229. end
  230. if v.Name == "break" then
  231. if v.ClassName == "Weld" then
  232. if v.Part1 ~= nil then
  233. local hum = v.Part1.Parent:FindFirstChildOfClass("Humanoid")
  234. if hum then
  235. hum.PlatformStand = false
  236. v:Destroy()
  237.  
  238. end
  239. end
  240. end
  241. end
  242. end
  243. end
  244. end
  245. if key == Enum.KeyCode.C then
  246.  
  247. end
  248. elseif Player.Name == plr.Name and number == 2 and throw == true and throwbutton == true then
  249. throwbutton = false
  250. throw = false
  251. end
  252. end)
  253.  
  254. ---------------------------------
  255. -----------Wrapping up-----------
  256. ---------------------------------
  257.  
  258. while game:GetService("RunService").Heartbeat:Wait() do
  259. if normalanim then
  260. sine = sine + 1
  261. end
  262. if remote.Parent == char then
  263. remote.Name = "ReplicationEvent"
  264. else
  265. remote = Instance.new("RemoteEvent", char)
  266. end
  267. local touchfloor = workspace:FindPartOnRay(Ray.new(char.HumanoidRootPart.CFrame.Position, ((CFrame.new(char.HumanoidRootPart.Position, char.HumanoidRootPart.Position - Vector3.new(0, 1, 0))).LookVector).Unit * 4), char)
  268. if char.HumanoidRootPart.Velocity.Magnitude > 1 and touchfloor then
  269. animpose = "Walking"
  270. elseif char.HumanoidRootPart.Velocity.Y > 0.5 and touchfloor == nil then
  271. animpose = "Jumping"
  272. elseif char.HumanoidRootPart.Velocity.Y < 0.5 and touchfloor == nil then
  273. animpose = "Falling"
  274. else
  275. animpose = "Idle"
  276. end
  277. if animpose == "Idle" and normalanim then
  278.  
  279. elseif animpose == "Walking" and normalanim then
  280.  
  281. elseif animpose == "Jumping" and normalanim then
  282.  
  283. elseif animpose == "Falling" and normalanim then
  284.  
  285. end
  286. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement