Advertisement
Nutgear

[ROBLOX] SANS???

Nov 22nd, 2019
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.34 KB | None | 0 0
  1. local stamina = 20
  2. local morph = "http://www.roblox.com/asset/?id=565822197"
  3.  
  4. --important variables
  5. local player = "Nutgear"
  6. local PCP = game.Players[player].Character --character parent OwO
  7.  
  8.    local PCPc = PCP:GetChildren()
  9.    PCP.Head.face:Destroy()
  10.     for i=1, #PCPc do
  11.         if (PCPc[i].className == "Accessory") then
  12.             PCPc[i]:remove()
  13.         end
  14.     end
  15.  
  16.    for i=1, #PCPc do
  17.         if (PCPc[i].className == "Shirt") then
  18.             PCPc[i]:remove()
  19.         end
  20.     end
  21.  
  22.    for i=1, #PCPc do
  23.         if (PCPc[i].className == "ShirtGraphic") then
  24.             PCPc[i]:remove()
  25.         end
  26.     end
  27.  
  28.     for i=1, #PCPc do
  29.         if (PCPc[i].className == "Pants") then
  30.             PCPc[i]:remove()
  31.         end
  32.     end
  33.  
  34. PCP.Head.Transparency = 1
  35. PCP.Torso.Transparency = 1
  36. PCP["Right Leg"].Transparency = 1
  37. PCP["Right Arm"].Transparency = 1
  38. PCP["Left Arm"].Transparency = 1
  39. PCP["Left Leg"].Transparency = 1
  40.  
  41. Instance.new("BlockMesh",PCP.Torso).Scale = Vector3.new(2.5,3,0)
  42. decal = Instance.new("Decal",PCP.Torso)
  43. decal.Texture = "http://www.roblox.com/asset/?id=565822197"
  44. decal.Face = "Front"
  45.  
  46. decal = Instance.new("Decal",PCP.Torso)
  47. decal.Texture = "http://www.roblox.com/asset/?id=565822197"
  48. decal.Face = "Back"
  49.  
  50. --functions
  51. function attack4()
  52. stamina = stamina - 3
  53. local sound = Instance.new("Sound",PCP.Torso)
  54. sound.SoundId = "rbxassetid://921897274"
  55. sound.Volume = 5
  56. sound:Play()
  57.  
  58. local blaster = Instance.new("Part",workspace)
  59. blaster.Size  = Vector3.new(6,6,0.05)
  60. blaster.Anchored = true
  61. blaster.Locked = true
  62. blaster.CanCollide = false
  63. blaster.CFrame = PCP.Torso.CFrame
  64. blaster.Transparency = 1
  65. decal = Instance.new("Decal",blaster)
  66. decal.Texture = "http://www.roblox.com/asset/?id=338426251"
  67. decal.Face = "Front"
  68.  
  69. decal = Instance.new("Decal",blaster)
  70. decal.Texture = "http://www.roblox.com/asset/?id=338426251"
  71. decal.Face = "Back"
  72.  
  73. wait(2.8)
  74. local b = Instance.new("Part",workspace)
  75. b.CanCollide = false
  76. b.Shape = 1
  77. b.Material = "Neon"
  78. b.Size = Vector3.new(10,10,1)
  79. b.Transparency = 1
  80. b.CanCollide = false
  81. b.Locked = true
  82. b.CFrame = blaster.CFrame
  83. b.Velocity = b.CFrame.LookVector*400
  84. decal = Instance.new("Decal",b)
  85. decal.Texture = "http://www.roblox.com/asset/?id=2617954162"
  86. decal.Face = "Front"
  87.  
  88. decal = Instance.new("Decal",b)
  89. decal.Texture = "http://www.roblox.com/asset/?id=2617954162"
  90. decal.Face = "Back"
  91. wait(0.2)
  92. b.Touched:connect(function(hit)
  93. hit:BreakJoints()
  94.     if not hit.Locked then
  95. decal = Instance.new("Decal",hit)
  96. decal.Texture = "http://www.roblox.com/asset/?id=2617954162"
  97. decal.Face = "Front"
  98.     decal = Instance.new("Decal",hit)
  99. decal.Texture = "http://www.roblox.com/asset/?id=2617954162"
  100. decal.Face = "Back"
  101. end
  102.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  103.     if h~=nil then
  104.         for i = 1,10 do
  105.         h.Health = h.Health - (h.MaxHealth / 100)
  106.         wait(1.5)
  107.         end
  108.     else
  109.         hit:BreakJoints()
  110.     end
  111. end)
  112. wait(2.7)
  113. blaster:Destroy()
  114. end
  115.  
  116. function createblaster()
  117. stamina = stamina - 0.5
  118. local sound = Instance.new("Sound",PCP.Torso)
  119. sound.SoundId = "rbxassetid://345052019"
  120. sound:Play()
  121.  
  122. local blaster = Instance.new("Part",workspace)
  123. blaster.Size  = Vector3.new(6,6,0.05)
  124. blaster.Anchored = true
  125. blaster.Locked = true
  126. blaster.CanCollide = false
  127. blaster.CFrame = PCP.Torso.CFrame
  128. blaster.Transparency = 1
  129. decal = Instance.new("Decal",blaster)
  130. decal.Texture = "http://www.roblox.com/asset/?id=896001345"
  131. decal.Face = "Front"
  132.  
  133. decal = Instance.new("Decal",blaster)
  134. decal.Texture = "http://www.roblox.com/asset/?id=896001345"
  135. decal.Face = "Back"
  136.  
  137. wait(1.4)
  138. local b = Instance.new("Part",workspace)
  139. b.CanCollide = false
  140. b.Shape = 1
  141. b.Material = "Neon"
  142. b.Size = Vector3.new(5,5,5)
  143. b.CanCollide = false
  144. b.Locked = true
  145. b.CFrame = blaster.CFrame
  146. b.Velocity = b.CFrame.LookVector*math.random(100,700)
  147. wait(0.2)
  148. b.Touched:connect(function(hit)
  149.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  150.     if h~=nil then
  151.                 for i = 1,5 do
  152.         h.Health = h.Health - (h.MaxHealth / 100)
  153.         wait(3)
  154.         end
  155.     else
  156.         hit:BreakJoints()
  157.     end
  158. end)
  159. wait(2.7)
  160. blaster:Destroy()
  161. end
  162.  
  163. -------------------
  164.  
  165. function boneattack()
  166. stamina = stamina - 0.25
  167. local sound = Instance.new("Sound",PCP.Torso)
  168. sound.SoundId = "rbxassetid://446961725"
  169. sound:Play()
  170.  
  171. local blaster = Instance.new("Part",workspace)
  172. blaster.Size  = Vector3.new(1.5,10,1)
  173. blaster.CFrame = PCP.Torso.CFrame
  174. blaster.Transparency = 1
  175. blaster.CanCollide = false
  176. blaster.Locked = true
  177. blaster.CFrame = blaster.CFrame
  178. decal = Instance.new("Decal",blaster)
  179. decal.Texture = "http://www.roblox.com/asset/?id=384318933"
  180. decal.Face = "Front"
  181.  
  182. decal = Instance.new("Decal",blaster)
  183. decal.Texture = "http://www.roblox.com/asset/?id=384318933"
  184. decal.Face = "Back"
  185.  
  186.  
  187. blaster.Velocity = PCP.Torso.CFrame.LookVector*math.random(100,700)
  188. wait(0.2)
  189. blaster.Touched:connect(function(hit)
  190.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  191.     if h~=nil then
  192.         for i = 1,5 do
  193.         h.Health = h.Health - (h.MaxHealth / 100)
  194.         wait(3)
  195.         end
  196.     else
  197.         hit:BreakJoints()
  198.     end
  199. end)
  200. wait(0.1)
  201. end
  202.  
  203. function psychokinesis()
  204. stamina = stamina - 1
  205. local sound = Instance.new("Sound",PCP.Torso)
  206. sound.SoundId = "rbxassetid://4264104024"
  207. sound:Play()
  208.  
  209. local b = Instance.new("Part",workspace)
  210. b.CanCollide = false
  211. b.Shape = 1
  212. b.Locked = true
  213. b.Material = "Neon"
  214. b.Transparency = 0.9
  215. b.Size = Vector3.new(5,5,5)
  216. b.CanCollide = false
  217. b.CFrame = PCP.Torso.CFrame
  218. b.Velocity = b.CFrame.LookVector*300
  219. wait(0.1)
  220. b.Touched:connect(function(hit)
  221.     if hit.Anchored == false then
  222.  
  223.     hit.Velocity = b.CFrame.LookVector*50
  224.     hit.Velocity = hit.Velocity + Vector3.new(0,250,0)
  225.     end
  226.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  227.     if h~=nil then
  228.         h.Health = h.Health - 5
  229.     end
  230.     b:Destroy()
  231. end)
  232.  
  233. end
  234.  
  235. ----------------------
  236. --tools, variables and handles
  237. local blacked = false
  238. local psych = false
  239.  
  240. PCP.Humanoid.WalkSpeed = 60
  241.  
  242. local bt = Instance.new("Tool",game.Players[player].Backpack) --for the blaster
  243. bt.Name = "Blaster"
  244. bt.RequiresHandle = false
  245. bt.Activated:Connect(createblaster)
  246.  
  247.  
  248. local sound = Instance.new("Sound",PCP.Torso)
  249. sound.SoundId = "rbxassetid://3194262532" --"rbxassetid://4264104024"
  250. sound.Volume = 1.5 --Music
  251. sound.Looped = true
  252. sound:Play()
  253. Instance.new("PitchShiftSoundEffect",sound).Octave = 1
  254.  
  255. local boney = Instance.new("Tool",game.Players[player].Backpack) --for the blaster
  256. boney.Name = "Bones"
  257. boney.RequiresHandle = false
  258. boney.Activated:Connect(boneattack)
  259.  
  260. local bo = Instance.new("Tool",game.Players[player].Backpack) --for the blaster
  261. bo.Name = "Blackout"
  262. bo.RequiresHandle = false
  263. bo.Activated:Connect(function()
  264.     if blacked == false then
  265.     blacked = true
  266.     local sound = Instance.new("Sound",PCP.Torso)
  267.     sound.SoundId = "rbxassetid://446961725"
  268.     sound:Play()
  269.     game.Lighting.Brightness = 0
  270.     game.Lighting.OutdoorAmbient = Color3.fromRGB(0,0,0)
  271.     wait(0.5)
  272.     sound:Play()
  273.     game.Lighting.Brightness = 2 --128, 128, 128
  274.     game.Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  275.     createblaster()
  276.     for i = 1,5 do
  277.     psychokinesis()
  278.     boneattack()
  279.     end
  280.     createblaster()
  281.     wait(0.55)
  282.     sound:Destroy()
  283.     wait(1)
  284.     blacked = false
  285.     end
  286. end)
  287.  
  288. local ps = Instance.new("Tool",game.Players[player].Backpack) --for the blaster
  289. ps.Name = "Psychokinesis"
  290. ps.RequiresHandle = false
  291. ps.Activated:Connect(function()
  292.     if psych == false then
  293.     psych = true
  294.     psychokinesis()
  295.     wait(.3)
  296.     psych = false
  297.     end
  298. end)
  299. local ps = Instance.new("Tool",game.Players[player].Backpack) --for the blaster
  300. ps.Name = "Stamina Refill"
  301. ps.RequiresHandle = false
  302. ps.Activated:Connect(function()
  303.     if stamina <= 15 then
  304.     for i = 1,15 do
  305.     stamina = stamina + 1
  306.     wait(1)
  307.     end
  308.     end
  309. end)
  310.  
  311. local bm = Instance.new("Tool",game.Players[player].Backpack) --for the blaster
  312. bm.Name = "Bad Memory Buster"
  313. bm.RequiresHandle = false
  314. bm.Activated:Connect(attack4)
  315. --events
  316. local staminae = Instance.new("Hint",game.Players[player].PlayerGui)
  317. while wait() do
  318.     if stamina <= 10 then
  319.         PCP.Humanoid.MaxHealth = 50
  320.     else
  321.         PCP.Humanoid.MaxHealth = 10000
  322.         PCP.Humanoid.Health = 10000
  323.         end
  324.     if stamina >= 20 then
  325.         stamina = 20
  326.     end
  327.     staminae.Text = "Stamina: " ..stamina.. ""
  328.     PCP.Humanoid.WalkSpeed = stamina * 3
  329. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement