View difference between Paste ID: XGGSW0nj and P1QLdxZw
SHOW: | | - or go back to the newest paste.
1
-- Hello, You Cannot find Thomas Train ROBLOX Script on PasteBin? Because, i'll remake this!
2
3
local Plr = game.Players.LocalPlayer
4
local PChar = Plr.Character
5
6
wait(0.5)
7
8
local CharPart = Instance.new("Part", PChar)
9
CharPart.Size = Vector3.new(9.067, 12.97, 29.795)
10
CharPart.Rotation = Vector3.new(-180, 0, -180)
11
CharPart.Name = "Danky"
12
CharPart.CanCollide = true
13
local CharMesh = Instance.new("SpecialMesh", CharPart)
14
CharMesh.MeshId = "rbxassetid://431017802"
15
CharMesh.TextureId = "rbxassetid://431017809"
16
CharMesh.Scale = Vector3.new(0.03, 0.03, 0.03)
17
local CharWeld = Instance.new("Weld", PChar.Torso)
18
CharWeld.Part0 = CharPart
19
CharWeld.Part1 = PChar.Torso
20
CharWeld.C0 = CFrame.Angles(0, math.pi, 0)
21
CharWeld.Name = "DankyWeld"
22
local CharLight = Instance.new("SpotLight", CharPart)
23
CharLight.Face = "Back"
24
CharLight.Range = 60
25
26
local Humanoid = PChar:WaitForChild("Humanoid")
27
28
Humanoid.WalkSpeed = 100
29
30
local Music = Instance.new("Sound", CharPart)
31-
Music.SoundId = "rbxassetid://190141163"
31+
Music.SoundId = "rbxassetid://542331117"
32
Music.Volume = 1
33
Music.Looped = true
34
Music:Play()
35
36
CharPart.Touched:connect(function(ChildTouched)
37
	if ChildTouched.Parent:FindFirstChild("Humanoid") == nil then else
38
		if ChildTouched.Parent.Name == Plr.Name then return end
39
		local BomSFX = Instance.new("Sound", game.Workspace)
40
		BomSFX.SoundId = "rbxassetid://141679994"
41
		BomSFX.Volume = 1
42
		BomSFX:Play()
43
		ChildTouched.Parent:FindFirstChild("Humanoid").Health = 0
44
	end
45
end)
46
47
wait(0.5)