Advertisement
NightGamingVN

public script 4 - ralsei

Jun 16th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.11 KB | None | 0 0
  1. --made by pdnghiaqoi [marseio]
  2. --do not change this credit
  3. local chatting = false
  4. local currentgui
  5. local currentline = 2
  6. BillboardGui0 = Instance.new("BillboardGui")
  7. Frame1 = Instance.new("Frame")
  8. Frame2 = Instance.new("Frame")
  9. ImageLabel3 = Instance.new("ImageLabel")
  10. TextLabel4 = Instance.new("TextLabel")
  11. TextLabel5 = Instance.new("TextLabel")
  12. BillboardGui0.Parent = mas
  13. BillboardGui0.Size = UDim2.new(15, 0, 4.5, 0)
  14. BillboardGui0.ClipsDescendants = true
  15. BillboardGui0.Adornee = nil
  16. BillboardGui0.AlwaysOnTop = true
  17. BillboardGui0.MaxDistance = 35
  18. BillboardGui0.SizeOffset = Vector2.new(0, 1)
  19. Frame1.Name = "White"
  20. Frame1.Parent = BillboardGui0
  21. Frame1.Size = UDim2.new(1, 0, 1, 0)
  22. Frame1.BackgroundColor = BrickColor.new("Institutional white")
  23. Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
  24. Frame1.BorderSizePixel = 0
  25. Frame2.Name = "Black"
  26. Frame2.Parent = Frame1
  27. Frame2.Position = UDim2.new(0, 5, 0, 5)
  28. Frame2.Size = UDim2.new(1, -10, 1, -10)
  29. Frame2.BackgroundColor = BrickColor.new("Really black")
  30. Frame2.BackgroundColor3 = Color3.new(0, 0, 0)
  31. Frame2.BorderColor = BrickColor.new("Pastel violet")
  32. Frame2.BorderColor3 = Color3.new(0.588235, 0.588235, 1)
  33. Frame2.BorderSizePixel = 4
  34. ImageLabel3.Name = "Portrait"
  35. ImageLabel3.Parent = Frame2
  36. ImageLabel3.Position = UDim2.new(0.0195086356, 0, 0.0609827824, 0)
  37. ImageLabel3.Size = UDim2.new(0.227539942, 0, 0.870999992, 0)
  38. ImageLabel3.BackgroundColor = BrickColor.new("Institutional white")
  39. ImageLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  40. ImageLabel3.BackgroundTransparency = 9
  41. ImageLabel3.BorderSizePixel = 0
  42. ImageLabel3.Image = "rbxassetid://2634816264"
  43. TextLabel4.Name = "Shadow"
  44. TextLabel4.Parent = Frame2
  45. TextLabel4.Position = UDim2.new(0.277011365, 0, 0.0826922357, 0)
  46. TextLabel4.Size = UDim2.new(0.716000021, 0, 0.870999992, 0)
  47. TextLabel4.BackgroundColor = BrickColor.new("Really black")
  48. TextLabel4.BackgroundColor3 = Color3.new(0, 0, 0)
  49. TextLabel4.BackgroundTransparency = 9
  50. TextLabel4.Font = Enum.Font.Arcade
  51. TextLabel4.FontSize = Enum.FontSize.Size60
  52. TextLabel4.Text = "* "
  53. TextLabel4.TextColor = BrickColor.new("Medium lilac")
  54. TextLabel4.TextColor3 = Color3.new(0.215686, 0.215686, 0.392157)
  55. TextLabel4.TextSize = 50
  56. TextLabel4.TextTruncate = Enum.TextTruncate.AtEnd
  57. TextLabel4.TextWrap = true
  58. TextLabel4.TextWrapped = true
  59. TextLabel4.TextXAlignment = Enum.TextXAlignment.Left
  60. TextLabel5.Name = "Msg"
  61. TextLabel5.Parent = Frame2
  62. TextLabel5.Position = UDim2.new(0.275019109, 0, 0.0744685978, 0)
  63. TextLabel5.Size = UDim2.new(0.716000021, 0, 0.870531261, 0)
  64. TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
  65. TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
  66. TextLabel5.BackgroundTransparency = 9
  67. TextLabel5.Font = Enum.Font.Arcade
  68. TextLabel5.FontSize = Enum.FontSize.Size60
  69. TextLabel5.Text = "* "
  70. TextLabel5.TextColor = BrickColor.new("Institutional white")
  71. TextLabel5.TextColor3 = Color3.new(1, 1, 1)
  72. TextLabel5.TextSize = 50
  73. TextLabel5.TextTruncate = Enum.TextTruncate.AtEnd
  74. TextLabel5.TextWrap = true
  75. TextLabel5.TextWrapped = true
  76. TextLabel5.TextXAlignment = Enum.TextXAlignment.Left
  77. wait()
  78. function saymsg(player,mes,style)
  79. pcall(function()
  80. local gui = BillboardGui0:Clone()
  81. gui.Parent = player.Character:WaitForChild("Head")
  82. local white = gui:WaitForChild("White")
  83. local blk = white:WaitForChild("Black")
  84. local msg = blk:WaitForChild("Msg")
  85. local shd = blk:WaitForChild("Shadow")
  86. local img = blk:WaitForChild("Portrait")
  87. local ms
  88. if style == "normal" then
  89. img.Image = "rbxassetid://2634816264"
  90. elseif style == "happy" then
  91. img.Image = "rbxassetid://2634815127"
  92. elseif style == "angry" then
  93. img.Image = "rbxassetid://2634815763"
  94. elseif style == "blush" then
  95. img.Image = "rbxassetid://2634816040"
  96. elseif style == "sincere" then
  97. img.Image = "rbxassetid://2634814819"
  98. elseif style == "sarcasm" then
  99. img.Image = "rbxassetid://2634815417"
  100. end
  101.  
  102. ms = "* "..mes
  103.  
  104. if string.len(ms) > 25 then
  105. msg.TextYAlignment = Enum.TextYAlignment.Top
  106. shd.TextYAlignment = Enum.TextYAlignment.Top
  107. end
  108. if string.len(ms) > 58 then
  109. msg.TextSize = 40
  110. shd.TextSize = 40
  111. end
  112. if string.len(ms) > 108 then
  113. msg.TextSize = 30
  114. shd.TextSize = 30
  115. end
  116.  
  117. white.Visible = true
  118. local sound = Instance.new("Sound")
  119. sound.SoundId = "rbxassetid://2633343843"
  120. sound.Volume = 1
  121. sound.Looped = false
  122. sound.Parent = player.Character
  123. for i = 1, #ms do
  124. msg.Text = string.sub(ms, 1, i)
  125. shd.Text = string.sub(ms, 1, i)
  126. if string.sub(msg.Text, string.len(msg.Text) - 1) ~= " " and string.sub(msg.Text, string.len(msg.Text) - 1) ~= "," and string.sub(msg.Text, string.len(msg.Text) - 1) ~= "." then
  127. if not sound then
  128. local sound = Instance.new("Sound")
  129. sound.SoundId = "rbxassetid://2633343843"
  130. sound.Volume = 1
  131. sound.Looped = false
  132. sound.Parent = player.Character
  133. end
  134. sound:Play()
  135. elseif string.sub(msg.Text, string.len(msg.Text) - 1) == "," or string.sub(msg.Text, string.len(msg.Text) - 1) == "." then
  136. wait(0.26)
  137. end
  138. wait(0.1)
  139. end
  140. wait(3)
  141. gui:Remove()
  142. end)
  143. end
  144. game:GetService("ContentProvider"):Preload("rbxassetid://2634816264")
  145. game:GetService("ContentProvider"):Preload("rbxassetid://2634815127")
  146. game:GetService("ContentProvider"):Preload("rbxassetid://2634816040")
  147. game:GetService("ContentProvider"):Preload("rbxassetid://2634814819")
  148. game:GetService("ContentProvider"):Preload("rbxassetid://2634815417")
  149.  
  150. game:GetService("ContentProvider"):Preload("rbxassetid://2912606058")
  151. game:GetService("ContentProvider"):Preload("rbxassetid://2912658185")
  152. game:GetService("ContentProvider"):Preload("rbxassetid://2913582350")
  153. game:GetService("ContentProvider"):Preload("rbxassetid://2913657822")
  154. game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=22053998")
  155.  
  156. function morph(plr)
  157. for i,v in pairs(plr.Character:GetChildren()) do
  158. spawn(function()
  159. if (v.ClassName == "CharacterMesh" or v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "Pants") then
  160. v:Remove()
  161. elseif (v.ClassName == "Part" or v.ClassName == "BasePart" or v.ClassName == "MeshPart") then
  162. if v.Name == "Head" then
  163. local a = v:FindFirstChild("face")
  164. if a then
  165. v:WaitForChild("face").Texture = "0"
  166. end
  167. end
  168. v.Color = BrickColor.new("Really black").Color
  169. end
  170. end)
  171. end
  172.  
  173. spawn(function()
  174. Pants0 = Instance.new("Pants")
  175. Shirt1 = Instance.new("Shirt")
  176. Pants0.Name = "Ralsei's Pants"
  177. Pants0.Parent = plr.Character
  178. Pants0.PantsTemplate = "rbxassetid://2785898406"
  179. Shirt1.Name = "Ralsei's Shirt"
  180. Shirt1.Parent = plr.Character
  181. Shirt1.ShirtTemplate = "rbxassetid://2616677946"
  182. Hat0 = Instance.new("Hat")
  183. Part1 = Instance.new("Part")
  184. SpecialMesh2 = Instance.new("SpecialMesh")
  185. Accessory3 = Instance.new("Accessory")
  186. Part4 = Instance.new("Part")
  187. SpecialMesh5 = Instance.new("SpecialMesh")
  188. Vector3Value6 = Instance.new("Vector3Value")
  189. Hat0.Name = "Ralsei's Hat"
  190. Hat0.Parent = plr.Character
  191. Hat0.AttachmentForward = Vector3.new(-0.291265368, 0, -0.95664227)
  192. Hat0.AttachmentPoint = CFrame.new(0, -0.5, 0, 0.956642389, 0, 0.291265368, 0, 1, -0, -0.291265398, 0, 0.95664227)
  193. Hat0.AttachmentPos = Vector3.new(0, -0.5, 0)
  194. Hat0.AttachmentRight = Vector3.new(0.956642389, 0, -0.291265398)
  195. Part1.Name = "Handle"
  196. Part1.Parent = Hat0
  197. Part1.CFrame = CFrame.new(0, 19.6799984, 22.0100002, 0.956642389, 0, -0.291265398, 0, 1, 0, 0.291265368, 0, 0.95664227)
  198. Part1.Orientation = Vector3.new(0, -16.9300003, 0)
  199. Part1.Position = Vector3.new(0, 19.6799984, 22.0100002)
  200. Part1.Rotation = Vector3.new(0, -16.9300003, 0)
  201. Part1.Color = Color3.fromRGB(77, 203, 139)
  202. Part1.Size = Vector3.new(4, 1, 2)
  203. Part1.BottomSurface = Enum.SurfaceType.Smooth
  204. Part1.CanCollide = false
  205. Part1.TopSurface = Enum.SurfaceType.Smooth
  206. SpecialMesh2.Parent = Part1
  207. SpecialMesh2.MeshId = "rbxassetid://2912606058"
  208. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  209. Accessory3.Name = "Ralsei's Scarf"
  210. Accessory3.Parent = plr.Character
  211. Accessory3.AttachmentForward = Vector3.new(0, 0, 1)
  212. Accessory3.AttachmentPoint = CFrame.new(0, 1.70000005, 0, -1, 0, -0, 0, 1, -0, 0, -0, -1)
  213. Accessory3.AttachmentPos = Vector3.new(0, 1.70000005, 0)
  214. Accessory3.AttachmentRight = Vector3.new(-1, 0, 0)
  215. Part4.Name = "Handle"
  216. Part4.Parent = Accessory3
  217. Part4.CFrame = CFrame.new(0, 17.4799976, 22.0100002, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  218. Part4.Orientation = Vector3.new(0, 180, 0)
  219. Part4.Position = Vector3.new(0, 17.4799976, 22.0100002)
  220. Part4.Rotation = Vector3.new(-180, 0, -180)
  221. Part4.Color = Color3.new(1, 0, 0.74902)
  222. Part4.Size = Vector3.new(4, 1, 2)
  223. Part4.BottomSurface = Enum.SurfaceType.Smooth
  224. Part4.BrickColor = BrickColor.new("Hot pink")
  225. Part4.CanCollide = false
  226. Part4.Material = Enum.Material.Sand
  227. Part4.TopSurface = Enum.SurfaceType.Smooth
  228. Part4.brickColor = BrickColor.new("Hot pink")
  229. SpecialMesh5.Parent = Part4
  230. SpecialMesh5.MeshId = "rbxassetid://2912658185"
  231. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  232. Vector3Value6.Name = "OriginalSize"
  233. Vector3Value6.Parent = Part4
  234. Vector3Value6.Value = Vector3.new(4, 1, 2)
  235. Accessory0 = Instance.new("Accessory")
  236. Part1 = Instance.new("Part")
  237. SpecialMesh3 = Instance.new("SpecialMesh")
  238. Vector3Value4 = Instance.new("Vector3Value")
  239. Accessory0.Name = "Eyes"
  240. Accessory0.Parent = plr.Character
  241. Accessory0.AttachmentPoint = CFrame.new(0, 0.5, 0.579999983, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  242. Accessory0.AttachmentPos = Vector3.new(0, 0.5, 0.579999983)
  243. Part1.Name = "Handle"
  244. Part1.Parent = Accessory0
  245. Part1.CFrame = CFrame.new(39.2399712, 4.50001001, 38.9700012, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  246. Part1.Position = Vector3.new(39.2399712, 4.50001001, 38.9700012)
  247. Part1.Color = Color3.new(1, 1, 1)
  248. Part1.Size = Vector3.new(4, 1, 2)
  249. Part1.BottomSurface = Enum.SurfaceType.Smooth
  250. Part1.BrickColor = BrickColor.new("Institutional white")
  251. Part1.CanCollide = false
  252. Part1.Material = Enum.Material.Neon
  253. Part1.TopSurface = Enum.SurfaceType.Smooth
  254. Part1.brickColor = BrickColor.new("Institutional white")
  255. SpecialMesh3.Parent = Part1
  256. SpecialMesh3.MeshId = "rbxassetid://2913582350"
  257. SpecialMesh3.MeshType = Enum.MeshType.FileMesh
  258. Vector3Value4.Name = "OriginalSize"
  259. Vector3Value4.Parent = Part1
  260. Vector3Value4.Value = Vector3.new(4, 1, 2)
  261. Accessory1 = Instance.new("Accessory")
  262. Part1 = Instance.new("Part")
  263. SpecialMesh2 = Instance.new("SpecialMesh")
  264. Vector3Value4 = Instance.new("Vector3Value")
  265. Accessory1.Name = "Glasses"
  266. Accessory1.Parent = plr.Character
  267. Accessory1.AttachmentPoint = CFrame.new(0, 0.5, 0.174999997, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  268. Accessory1.AttachmentPos = Vector3.new(0, 0.5, 0.174999997)
  269. Part1.Name = "Handle"
  270. Part1.Parent = Accessory1
  271. Part1.CFrame = CFrame.new(-12.0418701, 4.74113989, 104.495415, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  272. Part1.Position = Vector3.new(-12.0418701, 4.74113989, 104.495415)
  273. Part1.Color = Color3.new(0.282353, 0.807843, 0.537255)
  274. Part1.Transparency = 0.018999999389052
  275. Part1.Size = Vector3.new(1, 1, 1)
  276. Part1.Anchored = false
  277. Part1.BottomSurface = Enum.SurfaceType.Smooth
  278. Part1.BrickColor = BrickColor.new("Tr. Green")
  279. Part1.CanCollide = false
  280. Part1.TopSurface = Enum.SurfaceType.Smooth
  281. Part1.brickColor = BrickColor.new("Tr. Green")
  282. Part1.FormFactor = Enum.FormFactor.Symmetric
  283. Part1.formFactor = Enum.FormFactor.Symmetric
  284. SpecialMesh2.Parent = Part1
  285. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=22053998"
  286. SpecialMesh2.TextureId = "rbxassetid://2917466525"
  287. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  288. end)
  289. end
  290. --made by pdnghiaqoi [marseio]
  291. --do not change these credit
  292. function findplayer(speaker,plr)
  293. local plrs = {}
  294. if tostring(plr) then
  295. if plr == "me" then
  296. return speaker
  297. elseif plr == "random" then
  298. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  299. if v ~= speaker then
  300. table.insert(plrs,v)
  301. end
  302. end
  303. return plrs[math.random(1,#plrs)]
  304. end
  305. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  306. if string.sub(v.Name, 1, #plr) == plr then
  307. table.insert(plrs,v)
  308. end
  309. end
  310. return plrs[math.random(1,#plrs)]
  311. end
  312. end
  313. local tb = {}
  314. local style = "normal"
  315. owner.Chatted:Connect(function(msg)
  316. local mes = msg
  317. if string.sub(msg,1,3) == "/e " or string.sub(msg,1,3) == "/w " then
  318. mes = string.sub(msg,4)
  319. if string.sub(mes, 1,6) == "style:" then
  320. style = getstyle(tonumber(string.sub(mes,7)))
  321. elseif string.sub(mes, 1,7) == "pacify:" then
  322. local a = findplayer(owner,string.sub(mes,8))
  323. if not a then return end
  324. pcall(function()
  325. a.Character:FindFirstChildOfClass("Humanoid").Health = 0
  326. end)
  327. elseif string.sub(mes, 1, 5) == "heal:" then
  328. local a = findplayer(owner,string.sub(m,6))
  329. if not a then return end
  330. pcall(function()
  331. a.Character:FindFirstChildOfClass("Humanoid").Health = a.Character:FindFirstChildOfClass("Humanoid").MaxHealth
  332. end)
  333. end
  334. return
  335. end
  336. saymsg(owner,mes,style)
  337. end)
  338. function play(human)
  339. spawn(function()
  340. local sound = Instance.new("Sound")
  341. sound.Parent = human
  342. sound.Volume = 1
  343. sound.SoundId = "rbxassetid://973028066"
  344. sound:Play()
  345. end)
  346. end
  347. morph(owner)
  348. Part0 = Instance.new("Part")
  349. Decal1 = Instance.new("Decal")
  350. Decal2 = Instance.new("Decal")
  351. Part0.CFrame = CFrame.new(1.50997901, 2.5, -22.1049862, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  352. Part0.Position = Vector3.new(1.50997901, 2.5, -22.1049862)
  353. Part0.Transparency = 1
  354. Part0.Size = Vector3.new(1, 1, 0.0500000007)
  355. Part0.Anchored = true
  356. Part0.BottomSurface = Enum.SurfaceType.Smooth
  357. Part0.TopSurface = Enum.SurfaceType.Smooth
  358. Part0.CanCollide = false
  359. Decal1.Parent = Part0
  360. Decal1.Name = "front"
  361. Decal1.Texture = "rbxassetid://3287241175"
  362. Decal2.Parent = Part0
  363. Decal2.Texture = "rbxassetid://3287241175"
  364. Decal2.Face = Enum.NormalId.Back
  365. Decal2.Name = "back"
  366. local char = owner.Character
  367. local humanoid = char:FindFirstChildOfClass("Humanoid")
  368. local root = char:WaitForChild("HumanoidRootPart")
  369. humanoid.Died:Connect(function()
  370. local pos = root.Position
  371. owner.Character = nil
  372. local a = Part0:Clone()
  373. a.Parent = workspace
  374. a.Position = pos
  375. local front = a:WaitForChild("front")
  376. local back = a:WaitForChild("back")
  377. front.Texture = "rbxassetid://3287241175"
  378. back.Texture = "rbxassetid://3287241175"
  379. wait(1)
  380. front.Texture = "rbxassetid://3287240573"
  381. back.Texture = "rbxassetid://3287240573"
  382. play(a)
  383. wait(0.85)
  384. front.Transparency = 1
  385. back.Transparency = 1
  386. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  387. ParticleEmitter0.Parent = a
  388. ParticleEmitter0.Speed = NumberRange.new(35, 35)
  389. ParticleEmitter0.Rotation = NumberRange.new(10, 10)
  390. ParticleEmitter0.LightInfluence = 1
  391. ParticleEmitter0.Texture = "rbxassetid://3287241175"
  392. ParticleEmitter0.ZOffset = 10
  393. ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
  394. ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
  395. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
  396. ParticleEmitter0.Rate = 250
  397. ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
  398. ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
  399. ParticleEmitter0.VelocitySpread = 100
  400. ParticleEmitter0.Name = "pt"
  401. wait(1)
  402. ParticleEmitter0.Enabled = false
  403. wait(2)
  404. owner:LoadCharacter()
  405. end)
  406. owner.CharacterAdded:Connect(function()
  407. wait(0.5)
  408. morph(owner)
  409. local char = owner.Character
  410. local humanoid = char:FindFirstChildOfClass("Humanoid")
  411. local root = char:WaitForChild("HumanoidRootPart")
  412. humanoid.Died:Connect(function()
  413. local pos = root.Position
  414. owner.Character = nil
  415. local a = Part0:Clone()
  416. a.Parent = workspace
  417. a.Position = pos
  418. local front = a:WaitForChild("front")
  419. local back = a:WaitForChild("back")
  420. front.Texture = "rbxassetid://3287241175"
  421. back.Texture = "rbxassetid://3287241175"
  422. wait(1)
  423. front.Texture = "rbxassetid://3287240573"
  424. back.Texture = "rbxassetid://3287240573"
  425. play(a)
  426. wait(0.85)
  427. front.Transparency = 1
  428. back.Transparency = 1
  429. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  430. ParticleEmitter0.Parent = a
  431. ParticleEmitter0.Speed = NumberRange.new(35, 35)
  432. ParticleEmitter0.Rotation = NumberRange.new(10, 10)
  433. ParticleEmitter0.LightInfluence = 1
  434. ParticleEmitter0.Texture = "rbxassetid://3287241175"
  435. ParticleEmitter0.ZOffset = 10
  436. ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
  437. ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
  438. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
  439. ParticleEmitter0.Rate = 250
  440. ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
  441. ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
  442. ParticleEmitter0.VelocitySpread = 100
  443. ParticleEmitter0.Name = "pt"
  444. wait(1)
  445. ParticleEmitter0.Enabled = false
  446. wait(2)
  447. owner:LoadCharacter()
  448. end)
  449. end)
  450.  
  451.  
  452. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  453. v.Chatted:Connect(function(msg)
  454. for i,a in pairs(tb) do
  455. if v.UserId == a then
  456. local mes = msg
  457. if string.sub(msg,1,3) == "/e " or string.sub(msg,1,3) == "/w " then
  458. mes = string.sub(msg,4)
  459. if string.sub(mes, 1,7) == "pacify:" then
  460. local a = findplayer(owner,string.sub(mes,8))
  461. if not a then return end
  462. pcall(function()
  463. a.Character:FindFirstChildOfClass("Humanoid").Health = 0
  464. end)
  465. elseif string.sub(mes, 1, 5) == "heal:" then
  466. local a = findplayer(owner,string.sub(m,6))
  467. if not a then return end
  468. pcall(function()
  469. a.Character:FindFirstChildOfClass("Humanoid").Health = a.Character:FindFirstChildOfClass("Humanoid").MaxHealth
  470. end)
  471. end
  472. return
  473. end
  474. saymsg(v,mes,style)
  475. end
  476. end
  477. end)
  478. v.CharacterAdded:Connect(function()
  479. for i,a in pairs(tb) do
  480. if v.UserId == a then
  481. wait(0.5)
  482. morph(v)
  483. local char = v.Character
  484. local humanoid = char:FindFirstChildOfClass("Humanoid")
  485. local root = char:WaitForChild("HumanoidRootPart")
  486. humanoid.Died:Connect(function()
  487. local pos = root.Position
  488. v.Character = nil
  489. local a = Part0:Clone()
  490. a.Parent = workspace
  491. a.Position = pos
  492. local front = a:WaitForChild("front")
  493. local back = a:WaitForChild("back")
  494. front.Texture = "rbxassetid://3287241175"
  495. back.Texture = "rbxassetid://3287241175"
  496. wait(1)
  497. front.Texture = "rbxassetid://3287240573"
  498. back.Texture = "rbxassetid://3287240573"
  499. play(a)
  500. wait(0.85)
  501. front.Transparency = 1
  502. back.Transparency = 1
  503. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  504. ParticleEmitter0.Parent = a
  505. ParticleEmitter0.Speed = NumberRange.new(35, 35)
  506. ParticleEmitter0.Rotation = NumberRange.new(10, 10)
  507. ParticleEmitter0.LightInfluence = 1
  508. ParticleEmitter0.Texture = "rbxassetid://3287241175"
  509. ParticleEmitter0.ZOffset = 10
  510. ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
  511. ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
  512. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
  513. ParticleEmitter0.Rate = 250
  514. ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
  515. ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
  516. ParticleEmitter0.VelocitySpread = 100
  517. ParticleEmitter0.Name = "pt"
  518. wait(1)
  519. ParticleEmitter0.Enabled = false
  520. wait(2)
  521. v:LoadCharacter()
  522. end)
  523. end
  524. end
  525. end)
  526. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement