Advertisement
lafur

Untitled

Jun 26th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1. local repStorage = game:GetService("ReplicatedStorage")
  2. wait(3)
  3. local Player = game:GetService("Players").timetodie23232223
  4. local Mouse = Player:GetMouse()
  5. local UIS = game:GetService("UserInputService")
  6.  
  7. Sans = false
  8.  
  9. spawning = false
  10. LastPosition = CFrame.new(0,0,0)
  11.  
  12. --Humanoid:SetStateEnabled("Dead",false)
  13. --Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  14.  
  15. Touch = workspace.ChildAdded:Connect(function()
  16.  
  17. end)
  18.  
  19. function Respawn()
  20. spawning = true
  21. Touch:Disconnect()
  22. local NP = Instance.new("Part")
  23. NP.Size = Vector3.new(0,0,0)
  24. NP.Anchored = true
  25. NP.Transparency = 1
  26. NP.CFrame = LastPosition
  27. local NG = script.non:Clone()
  28. NG.Parent = NP
  29. NG.Adornee = NP
  30. local NS = Instance.new("Sound")
  31. NS.SoundId = "rbxassetid://2893827608"
  32. NS.Volume = 10
  33. NS.Parent = NP
  34. NP.Parent = workspace
  35. NS:Play()
  36. for i = 0,1,0.1 do
  37. wait()
  38. NG.TL1.Size = UDim2.new(i,0,i,0)
  39. NG.TL1.TextTransparency = NG.TL1.Transparency - i
  40. end
  41. repeat wait() until NS.Playing == false
  42. NP:Destroy()
  43. Character = repStorage.SouljaBoy:Clone()
  44. wait()
  45. Humanoid = Character.Humanoid
  46. Humanoid:SetStateEnabled("Dead",false)
  47. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  48. Character.Parent = workspace
  49. Player.Character = Character
  50. Character.HumanoidRootPart.CFrame = LastPosition
  51. SansSkull = Instance.new("Part", Character)
  52. SansSkull.Name = "Core"
  53. SansSkull.Shape = Enum.PartType.Ball
  54. SansSkull.CanCollide = false
  55. SansSkull.BrickColor = BrickColor.new("Really red")
  56. SansSkull.Transparency = 1
  57. SansSkull.Material = "Neon"
  58. SansSkull.Size = Vector3.new(0.1, 0.1, 0.1)
  59. SansSkull.TopSurface = Enum.SurfaceType.Smooth
  60. SansSkull.BottomSurface = Enum.SurfaceType.Smooth
  61. local Weld = Instance.new("Weld", SansSkull)
  62. Weld.Part0 = Character.Head
  63. Weld.Part1 = SansSkull
  64. Weld.C1 = CFrame.new(0, -0.2, 0.2)
  65. SansMesh = Instance.new("FileMesh",SansSkull)
  66. SansMesh.MeshId = "http://www.roblox.com/asset/?id=430073345"
  67. SansMesh.TextureId = "http://www.roblox.com/asset/?id=430073362"
  68. SansMesh.Scale = Vector3.new(0.9,0.9,0.9)
  69. Touch = Character.Torso.Touched:Connect(function(Part)
  70. if Part.Parent ~= nil then
  71. if Part.Parent:FindFirstChild("HumanoidRootPart") == nil and MAD == true and Part.Name ~= "Base" then
  72. -- Idk
  73. elseif MAD == true and Part.Name ~= "Base" then
  74. local NP = Instance.new("Part")
  75. NP.Size = Vector3.new(0,0,0)
  76. NP.Anchored = true
  77. NP.Transparency = 1
  78. NP.CFrame = Part.Parent.HumanoidRootPart.CFrame
  79. Part.Parent:ClearAllChildren()
  80. local NG = script.non:Clone()
  81. NG.Parent = NP
  82. NG.Adornee = NP
  83. local NS = Instance.new("Sound")
  84. NS.SoundId = "rbxassetid://2893827608"
  85. NS.Volume = 10
  86. NS.Parent = NP
  87. NP.Parent = workspace
  88. NS:Play()
  89. for i = 0,1,0.1 do
  90. wait()
  91. NG.TL1.Size = UDim2.new(i,0,i,0)
  92. NG.TL1.TextTransparency = NG.TL1.Transparency - i
  93. end
  94. repeat wait() until NS.Playing == false
  95. NP:Destroy()
  96. end
  97. end
  98. end)
  99. spawning = false
  100. end
  101.  
  102. Respawn()
  103.  
  104. Touch = Character.Torso.Touched:Connect(function(Part)
  105. if Part.Parent ~= nil then
  106. if Part.Parent:FindFirstChild("HumanoidRootPart") == nil and MAD == true and Part.Name ~= "Base" then
  107. -- Idk
  108. elseif MAD == true and Part.Name ~= "Base" then
  109. local NP = Instance.new("Part")
  110. NP.Size = Vector3.new(0,0,0)
  111. NP.Anchored = true
  112. NP.Transparency = 1
  113. NP.CFrame = Part.Parent.HumanoidRootPart.CFrame
  114. Part.Parent:ClearAllChildren()
  115. local NG = script.non:Clone()
  116. NG.Parent = NP
  117. NG.Adornee = NP
  118. local NS = Instance.new("Sound")
  119. NS.SoundId = "rbxassetid://2893827608"
  120. NS.Volume = 10
  121. NS.Parent = NP
  122. NP.Parent = workspace
  123. NS:Play()
  124. for i = 0,1,0.1 do
  125. wait()
  126. NG.TL1.Size = UDim2.new(i,0,i,0)
  127. NG.TL1.TextTransparency = NG.TL1.Transparency - i
  128. end
  129. repeat wait() until NS.Playing == false
  130. NP:Destroy()
  131. end
  132. end
  133. end)
  134.  
  135. function Sands()
  136. if Sans == false then
  137. Sans = true
  138. local NS = Instance.new("Sound")
  139. NS.SoundId = "rbxassetid://2772809069"
  140. NS.Name = "bruh"
  141. NS.Volume = 2
  142. NS.Parent = Character.Torso
  143. NS:Play()
  144. SansSkull.Transparency = 0
  145. Character.Head.BillboardGui.TextLabel.Text = "Soulja Sans"
  146. Character.Head.BillboardGui.TextLabel.TextColor3 = Color3.fromRGB(85,170,255)
  147. else
  148. Sans = false
  149. if Character.Torso:FindFirstChild("bruh") == nil then
  150. else
  151. Character.Torso.bruh:Destroy()
  152. end
  153. Character.Head.BillboardGui.TextLabel.Text = "Soulja Boy"
  154. Character.Head.BillboardGui.TextLabel.TextColor3 = Color3.fromRGB(0,0,0)
  155. SansSkull.Transparency = 1
  156. end
  157. end
  158.  
  159. Main = repStorage:WaitForChild("Main")
  160. Remotes = repStorage:WaitForChild(Player.Name)
  161.  
  162. MAD = false
  163.  
  164. function Shoot(Target)
  165. if Character:FindFirstChild("Gun") == nil then
  166. -- Some random quote idk
  167. else
  168. if Target ~= nil then
  169. if Target.Parent:FindFirstChild("HumanoidRootPart") == nil then
  170. if Target.Name ~= "Base" then
  171. Target:Destroy()
  172. local NS = Instance.new("Sound")
  173. NS.SoundId = "rbxassetid://132373615"
  174. NS.Volume = 2
  175. NS.Parent = Character.Gun.Handle
  176. NS:Play()
  177. Character.Gun.Flare.BillboardGui.Enabled = true
  178. wait(0.5)
  179. Character.Gun.Flare.BillboardGui.Enabled = false
  180. end
  181. else
  182. Target.Parent.HumanoidRootPart.Velocity = Vector3.new(0,1000,0)
  183. local NS = Instance.new("Sound")
  184. NS.SoundId = "rbxassetid://132373615"
  185. NS.Volume = 2
  186. NS.Parent = Character.Gun.Handle
  187. NS:Play()
  188. Character.Gun.Flare.BillboardGui.Enabled = true
  189. wait(0.5)
  190. Character.Gun.Flare.BillboardGui.Enabled = false
  191. end
  192. end
  193. end
  194. end
  195.  
  196. Main.OnServerEvent:Connect(function(plr, request, ...)
  197. if request == "shoot" then
  198. Shoot(...)
  199. end
  200. if request == "respawn" then
  201. if Character == nil then
  202. Respawn()
  203. else
  204. Character:Remove()
  205. Respawn()
  206. end
  207. end
  208. if request == "mad" then
  209. if MAD == false then
  210. MAD = true
  211. Humanoid.WalkSpeed = 50
  212. Character.Torso.ANGER.Enabled = true
  213. Character.Torso.Sound.TimePosition = 0
  214. Character.Torso.Sound:Play()
  215. else
  216. MAD = false
  217. Humanoid.WalkSpeed = 16
  218. Character.Torso.ANGER.Enabled = false
  219. Character.Torso.Sound:Stop()
  220. end
  221. end
  222. if request == "sans" then
  223. Sands()
  224. end
  225. end)
  226.  
  227. script.ScreenGui.Parent = Player.PlayerGui
  228.  
  229. while true do
  230. game:GetService("RunService").Stepped:wait()
  231. print(LastPosition)
  232. if Character == nil then
  233. else
  234. if Character:FindFirstChild("HumanoidRootPart") == nil and Character:FindFirstChildOfClass("Humanoid") == nil then
  235. elseif Character:FindFirstChildOfClass("Humanoid").Health > 0 and spawning == false then
  236. LastPosition = Character.HumanoidRootPart.CFrame
  237. end
  238. end
  239. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement